[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ahc



I am screwing around with the snapshot from 12/26/03 to see how well ahc is working. I slapped together a little box with a 2940U2 (7890) and a 39U160 (7899G chipset) with a few drives. The 39U160 has 2 drives on each channel and the 2940U2 has 3 drives and a CDROM attached to it.

I am running a tool that I wrote that creates a scratch file and then reads and writes to it. I have used this tool for years to stress filesystems and therefore I trust it's results. At the same time I am also running a few cp's to and from the drives and I am also running a SAMBA server that is copying stuff to the drives over the network. The hard drives are plugging away without problems. It has only ran for a few hours but it is surviving and happy. I'll run this overnight (if I can sleep through the noise of the drives!).

The only thing I saw was a soft error but I am expecting these since the drives are old and crappy.

When I get back to work, next year, I'll run this test with some SCSI enclosures so that I can run the HDD count in the thirties.

looking good :-)
/marco

[root_(_at_)_toonk root]# mount
/dev/sd0a on / type ffs (local)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid)
/dev/sd0f on /usr type ffs (local, nodev)
/dev/sd0e on /var type ffs (local, nodev, nosuid)
/dev/sd1a on /mnt/sd1 type ffs (local, softdep)
/dev/sd2a on /mnt/sd2 type ffs (local, softdep)
/dev/sd3a on /mnt/sd3 type ffs (local, softdep)
/dev/sd4a on /mnt/sd4 type ffs (local, softdep)
/dev/sd5a on /mnt/sd5 type ffs (local, softdep)
/dev/sd6a on /mnt/sd6 type ffs (local, softdep)

Crappy drive:
Dec 27 02:04:04 toonk /bsd: sd2(ahc2:0:0): Check Condition on opcode 0x28
Dec 27 02:04:04 toonk /bsd: SENSE KEY: Media Error
Dec 27 02:04:04 toonk /bsd: INFO FIELD: 5762492
Dec 27 02:04:04 toonk /bsd: COMMAND INFO: 315031874 (0x12c70142)
Dec 27 02:04:04 toonk /bsd: ASC/ASCQ: Uncorrected Read Error - Recommend Rewrite the Data
Dec 27 02:04:04 toonk /bsd: FRU CODE: 0x20
Dec 27 02:04:04 toonk /bsd: SKSV: Actual Retry Count: 160
Dec 27 02:04:07 toonk /bsd: sd2(ahc2:0:0): Check Condition on opcode 0x28
Dec 27 02:04:07 toonk /bsd: SENSE KEY: Soft Error
Dec 27 02:04:07 toonk /bsd: INFO FIELD: 5762492
Dec 27 02:04:07 toonk /bsd: COMMAND INFO: 315032386 (0x12c70342)
Dec 27 02:04:07 toonk /bsd: ASC/ASCQ: Recovered Data - Data Auto-Reallocated
Dec 27 02:04:07 toonk /bsd: FRU CODE: 0x20
Dec 27 02:04:07 toonk /bsd: SKSV: Actual Retry Count: 76


[root_(_at_)_toonk root]# dmesg
OpenBSD 3.4-current (GENERIC) #50: Fri Dec 26 11:09:43 MST 2003
deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 287 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
real mem = 133804032 (130668K)
avail mem = 118054912 (115288K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(a2) BIOS, date 07/23/98, BIOS32 rev. 0 @ 0xf73aa
pcibios0 at bios0: rev. 2.1 @ 0xf72c0/0x1160
pcibios0: PCI BIOS has 5 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 9 10 11 14
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x5600 0xcd800/0x5800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
"Intel 82375EB EISA" rev 0x15 at pci0 dev 13 function 0 not configured
ahc1 at pci0 dev 14 function 0 "Adaptec AHA-3960D U160" rev 0x01
ahc1: interrupting at irq 9
ahc1: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
scsibus0 at ahc1: 16 targets
sd0 at scsibus0 targ 0 lun 0: <HITACHI, DK32DJ-18MW, D4D4> SCSI3 0/direct fixed
ahc1: target 0 synchronous at 80.0MHz DT, offset = 0x64
sd0: 17366MB, 26866 cyl, 3 head, 441 sec, 512 bytes/sec, 35566478 sec total
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST336752LW, EE31> SCSI3 0/direct fixed
ahc1: target 1 synchronous at 80.0MHz DT, offset = 0x3f
sd1: 35003MB, 18496 cyl, 8 head, 484 sec, 512 bytes/sec, 71687369 sec total
ahc2 at pci0 dev 14 function 1 "Adaptec AHA-3960D U160" rev 0x01
ahc2: interrupting at irq 11
ahc2: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
scsibus1 at ahc2: 16 targets
sd2 at scsibus1 targ 0 lun 0: <QUANTUM, VIKING II 4.5WLS, 5520> SCSI2 0/direct fixed
ahc2: target 0 synchronous at 40.0MHz, offset = 0x1f
sd2: 4350MB, 8338 cyl, 5 head, 213 sec, 512 bytes/sec, 8910423 sec total
sd3 at scsibus1 targ 1 lun 0: <QUANTUM, ATLAS10K2-TY184J, DA40> SCSI3 0/direct fixed
ahc2: target 1 synchronous at 80.0MHz DT, offset = 0x7f
sd3: 17366MB, 17338 cyl, 5 head, 410 sec, 512 bytes/sec, 35566478 sec total
fxp0 at pci0 dev 16 function 0 "Intel 82557" rev 0x05: irq 14, address 00:90:27:71:9c:e8
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
ahc3 at pci0 dev 18 function 0 "Adaptec AHA-2940U2 U2" rev 0x00
ahc3: interrupting at irq 10
ahc3: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs
scsibus2 at ahc3: 16 targets
sd4 at scsibus2 targ 0 lun 0: <SEAGATE, ST19171W, 0024> SCSI2 0/direct fixed
ahc3: target 0 synchronous at 20.0MHz, offset = 0xf
sd4: 8683MB, 5268 cyl, 20 head, 168 sec, 512 bytes/sec, 17783112 sec total
sd5 at scsibus2 targ 1 lun 0: <SEAGATE, ST19171W, 2224> SCSI2 0/direct fixed
ahc3: target 1 synchronous at 20.0MHz, offset = 0xf
sd5: 8683MB, 5268 cyl, 20 head, 168 sec, 512 bytes/sec, 17783112 sec total
sd6 at scsibus2 targ 2 lun 0: <SEAGATE, ST19171W, 0023> SCSI2 0/direct fixed
ahc3: target 2 synchronous at 20.0MHz, offset = 0xf
sd6: 8683MB, 5268 cyl, 20 head, 168 sec, 512 bytes/sec, 17783112 sec total
ahc3: target 6 synchronous at 20.0MHz, offset = 0x10
cd0 at scsibus2 targ 6 lun 0: <NEC, CD-ROM DRIVE:464, 1.05> SCSI2 5/cdrom removable
vga1 at pci0 dev 20 function 0 "ATI Mach64 VT" rev 0x40
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
eisa0 at mainbus0
eisa0: can't map I/O space for slot 14
eisa0: can't map I/O space for slot 15
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask e40 netmask 4e40 ttymask 5ec2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
dkcsum: sd1 matched BIOS disk 81
dkcsum: sd2 matched BIOS disk 82
dkcsum: sd3 matched BIOS disk 83
dkcsum: sd4 matched BIOS disk 84
dkcsum: sd5 matched BIOS disk 85
ahc3: target 2 using asynchronous transfers
ahc3: target 2 synchronous at 20.0MHz, offset = 0xf
dkcsum: sd6 matched BIOS disk 86
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
On Dec 23, 2003, at 1:50 AM, Theo de Raadt wrote:


the new i386 snapshot going out now contains a replacement ahc(4)
driver.  it's not commited... but... it is in the snapshot.

perhaps some people can report how things work out for them.  bugs can
be reported to krw_(_at_)_openbsd_(_dot_)_org, but i like to see them too..