6.2-STABLE Hard Freeze while using RAID1 on Adaptec 1210SA

2007-05-23 Thread Gheorghe Ardelean

Hi,

I am trying to use two SATA II disks over an Adaptec 1210SA PCI SATA
Controller (based on SiI 3112 SATA150 chip).

While trying to use the disks I get shortly the following message and the
system is hard freezing soon after that.

May 14 15:47:32 noname kernel: ad6: TIMEOUT - WRITE_DMA retrying (1 retry
left) LBA=238231007

If I move the HDD's in a computer with VIA SATA150 on board or nVIDIA
SATA150 the RAID system is working without problems with the same version
of FreeBSD.

Are there any known problems with this Adaptec controller or is the
combination controller SATA150 and HDD SATA300 not well supported?
Is there a way to fix this?

The system is installed on a 3rd disk (IDE).

Regrads,

Johny.

Here is the dmesg taken on the system with Adaptec controller:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE-200704 #0: Sun Apr  1 11:05:41 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (999.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x686  Stepping = 6
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 1073659904 (1023 MB)
avail memory = 1041649664 (993 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: ASUS CUV4X_EA on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 82C691 (Apollo Pro) host to PCI bridge mem 0xfc00-0xfdff at 
device 0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686B UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 4.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 11 at device 4.2 on 
pci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd000-0xd01f irq 11 at device 4.3 on 
pci0
uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
atapci1: SiI 3112 SATA150 controller port 
0xb800-0xb807,0xb400-0xb403,0xb000-0xb007,0xa800-0xa803,0xa400-0xa40f mem 
0xf800-0xf80001ff irq 10 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xa000-0xa07f mem 
0xf780-0xf780007f irq 11 at device 10.0 on pci0
miibus0: MII bus on xl0
xlphy0: 3c905C 10/100 internal PHY on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:02:fa:01:a1
fdc0: floppy drive controller port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on 
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 
0xc-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcc7ff on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 999720598 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 19623MB IBM DTLA-305020 TW2OA60A at ata0-master UDMA100
acd0: CDROM TOSHIBA CD-ROM XM-6702B/1007 at ata1-master UDMA33
ad4: 157066MB Hitachi HDS721616PLA380 P22OA70A at ata2-master SATA150
ad6: 157066MB Hitachi HDS721616PLA380 P22OA70A at ata3-master SATA150
ar0: 157066MB Adaptec 

FreeBSD-5.4R-p1 problems with lnc device and AT-1500FT PnP card

2005-06-04 Thread Gheorghe Ardelean

Hi,

I am trying to make a network card work with lnc(4) device.
The card is an AT-1500 PnP Ethernet Adapter based on PCnet(TM)-ISA II
chip from AMD (AM79C961AKC) which is supposed to be supported under lnc(4)
driver. The card has both a 10BaseFL (ST) and 10BaseT port.

After adding the card's pnp id to the lnc_pnp_ids[] structure I am getting
the card recognized and attached but the chip and MAC address are wrongly
detected.

Any help will be appreciated!

#uname -a
FreeBSD test 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #4: Sun Jun  5
00:18:56 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/TEST  i386

#dmesg
...
lnc1: ATI AT-1500 Ethernet Network Adapter at port 0x220-0x237 irq 9 drq 3 on 
isa0
lnc1: Attaching ATI AT-1500 Ethernet Network Adapter
lnc1: Ethernet address: cf:bf:ff:ef:00:ff --wrong (tested against DOS setup 
program)
lnc1: if_start running deferred for Giant
lnc1: Unknown   - (chip id 0!)
...

A diff to if_lnc_isa:
=

--- sys/dev/lnc/if_lnc_isa.c.orig   Sun Jan 30 01:59:53 2005
+++ sys/dev/lnc/if_lnc_isa.cSun Jun  5 00:16:19 2005
@@ -54,6 +54,8 @@
 #include dev/lnc/if_lncreg.h

 static struct isa_pnp_id lnc_pnp_ids[] = {
+{0x00158b06,   NULL},  /* ATK1500 - ATI AT-1500 Ethernet Network 
Adapter */
+{0x8c82d041,   AMD PCNet Family Cards}, /* PNP828C */
{0, NULL}
 };

=

the information added to if_lnc_isa.c was obtained with pnpinfo(8).

Regards,

G. Ardelean

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID 1 with Adaptec SATA 1210SA + FreeBSD 5.4 + ata mkIII OK

2005-05-09 Thread Gheorghe Ardelean
Hi Soeren,
I have to thank you for the work you put in the ata driver.
After patching the 5.4 sources with the new ata mkIII
(http://people.freebsd.org/~sos/ATA)
I am able to use the RAID 1 with my Adaptec SATA 1210SA.
The dmesg (the Adaptec is recognized as Sil 3112 SATA150):
FreeBSD 5.4-RELEASE #2: Mon May  9 12:07:51 EEST 2005
ardelean at quasar.physics.uvt.ro:/usr/obj/usr/src/sys/QUASAR
...
atapci1: Promise PDC20267 UDMA100 controller port 
0xa400-0xa43f,0xa000-0xa003,0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407 mem 0
d510-0xd511 irq 10 at device 9.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
... 
atapci2: SiI 3112 SATA150 controller port 
0xbc00-0xbc0f,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac07 mem 
0xd512100-0xd51211ff irq 5 at device 13.0 on pci0
ata4: ATA channel 0 on atapci2
ata4: SATA connect ready time=0ms
ata5: ATA channel 1 on atapci2
ata5: SATA connect ready time=0ms
...
ad4: 38166MB Seagate ST340014A 3.04 at ata2-master UDMA100
ad6: 38166MB Seagate ST340014A 3.04 at ata3-master UDMA100
ad8: 190782MB SAMSUNG SP2004C VM100-31 at ata4-master SATA150
ad10: 190782MB SAMSUNG SP2004C VM100-31 at ata5-master SATA150
Waiting 5 seconds for SCSI devices to settle
ATA PseudoRAID loaded
ar0: 38166MB Promise Fasttrak RAID1 array status: READY
ar0: disk0 READY (master) using ad6 at ata3-master
ar0: disk1 READY (mirror) using ad4 at ata2-master
ar1: 190782MB Adaptec HostRAID RAID1 array status: READY
ar1: disk0 READY (master) using ad8 at ata4-master
ar1: disk1 READY (mirror) using ad10 at ata5-master
Mounting root from ufs:/dev/ar0s1a

Is it possible to MFC the ata mkIII from -current to 5-STABLE ?
Once again thank you!
G. Ardelean
West Univ. Of Timisoara
Dept. of Theoretical and Computational Physics
V. Parvan No.4, Ro-300223, Timisoara, ROMANIA
Tel: +40-(0)256-494068 Ext. 203, 201, 108 | Fax: +40-(0)256-496088
Email: ardelean at physics.uvt.ro
Copyright 1999-2005 Gheorghe Ardelean.  All rights reserved.
Duplication and redistribution prohibited without consent of the author.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]