Subject: Problem with aic7899
To: None <port-i386@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: port-i386
Date: 02/10/2003 10:41:45
Dear NetBSDers

I set up RaidFrame mirroring last week one of our 
Supermicro 6012P-6B. The have an Adaptec aic7899
chipset onboard with two identical Seagate ST336607LC
disks on it.

Returned today, to find the machine dead an displayin:

-------------------------------------- 8< --------------------------------------
Feb  7 12:08:39 mx2 /netbsd: duplicate IP address 160.85.104.51 sent from link address 00:30:48:24:aa:48
Feb  9 03:15:54 mx2 /netbsd: ahc0: WARNING no command for scb 15 (cmdcmplt)
Feb  9 03:15:55 mx2 /netbsd: QOUTPOS = 172
Feb  9 03:15:55 mx2 /netbsd: ahc0: WARNING no command for scb 13 (cmdcmplt)
Feb  9 03:15:55 mx2 /netbsd: QOUTPOS = 189
Feb 10 11:17:11 mx2 /netbsd:  Aborting I/O operation.
Feb 10 11:17:11 mx2 /netbsd: Multiple disks failed in a single group!  Aborting I/O operation.
Feb 10 11:17:11 mx2 last message repeated 13 times
Feb 10 11:17:11 mx2 /netbsd: [Failed to create a DAG]
Feb 10 11:17:11 mx2 /netbsd: panic: raidframe error at line 458 file /usr/src/NetBSD-1.6/src/sys/arch/i386/compile/MX2/.  ./../../../dev/raidframe/rf_states.c
Feb 10 11:17:11 mx2 /netbsd: syncing disks... 
-------------------------------------- 8< --------------------------------------

The system came up and everything could be fixed. 

The release is 1.6.1_RC1, dmesg follows further down.

What could be the cause for such a panic?

Thanks
Chris


dmesg:
-------------------------------------- 8< --------------------------------------
    root@mx2:/usr/src/NetBSD-1.6/src/sys/arch/i386/compile/MX2
cpu0: Intel Pentium 4 (686-class), 2396.03 MHz
cpu0: D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: features 3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 3febfbff<PGE,MCA,CMOV,FGPAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febfbff<FXSR,SSE,SSE2,SS,HTT,TM>
total memory = 511 MB
avail memory = 472 MB
using 6144 buffers containing 26268 KB of memory
BIOS32 rev. 0 found at 0xfd6a0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel E7500 MCH Host (rev. 0x03)
Intel E7500 MCH DRAM Controller (undefined subclass 0x00, revision 0x03) at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 2 function 0: Intel E7500 MCH HI_B vppb 1 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Intel 82870P2 P64H2 IOxAPIC (interrupt system, interface 0x20, revision 0x03) at pci1 dev 28 function 0 not configured
ppb1 at pci1 dev 29 function 0: Intel 82870P2 P64H2 PCI-to-PCI Bridge (rev. 0x03)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
tlp0 at pci2 dev 1 function 0: DECchip 21143 Ethernet, pass 3.0
tlp0: interrupting at irq 5
tlp0: DEC DE500-BA, Ethernet address 00:00:f8:10:84:de
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Intel 82870P2 P64H2 IOxAPIC (interrupt system, interface 0x20, revision 0x03) at pci1 dev 30 function 0 not configured
ppb2 at pci1 dev 31 function 0: Intel 82870P2 P64H2 PCI-to-PCI Bridge (rev. 0x03)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
ahc0 at pci3 dev 2 function 0
ahc0: interrupting at irq 5
ahc0: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci3 dev 2 function 1
ahc1: interrupting at irq 5
ahc1: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc1: 16 targets, 8 luns per target
wm0 at pci3 dev 4 function 0: Intel i82544GC (LOM) 1000BASE-T Ethernet, rev. 2
wm0: interrupting at irq 5
wm0: Ethernet address 00:30:48:24:93:91
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
Intel 82801CA/CAM USB Controller (USB serial bus, revision 0x02) at pci0 dev 29 function 0 not configured
Intel 82801CA/CAM USB Controller (USB serial bus, revision 0x02) at pci0 dev 29 function 1 not configured
Intel 82801CA/CAM USB Controller (USB serial bus, revision 0x02) at pci0 dev 29 function 2 not configured
ppb3 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x42)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
vga1 at pci4 dev 1 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
fxp0 at pci4 dev 2 function 0: i82550 Ethernet, rev 13
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:30:48:24:93:92
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801CA LPC Interface (rev. 0x02)
pciide0 at pci0 dev 31 function 1: Intel 82801CA IDE Controller (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: disabling primary channel (no drives)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITA CR-177, , 7T0D> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
Intel 82801CA/CAM SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
lm0 at isa0 port 0x290-0x297: W83627HF
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
biomask f7ed netmask ffed ttymask ffef
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST336607LC, 0002> SCSI3 0/direct fixed
sd0: 35003 MB, 49855 cyl, 2 head, 718 sec, 512 bytes/sect x 71687372 sectors
sd0: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 2 lun 0: <SEAGATE, ST336607LC, 0002> SCSI3 0/direct fixed
sd1: 35003 MB, 49855 cyl, 2 head, 718 sec, 512 bytes/sect x 71687372 sectors
sd1: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
ahc0:A:6: Message reject for 8 -- ignored
probe(ahc0:0:6:0): Unexpected busfree in Message-in phase
SEQADDR == 0x165
probe(ahc0:0:6:0): generic HBA error
ses0 at scsibus0 target 6 lun 0: <SUPER, GEM318, 0> SCSI2 3/processor fixed
ses0: SAF-TE Compliant Device
ses0: async, 8-bit transfers
scsibus1: waiting 2 seconds for devices to settle...
Kernelized RAIDframe activated
RAID autoconfigure
Configuring raid0:
RAIDFRAME: protectedSectors is 64
RAIDFRAME: Configure (RAID Level 1): total number of sectors is 1048448 (511 MB)
RAIDFRAME(RAID Level 1): Using 6 floating recon bufs with no head sep limit
RAID autoconfigure
Configuring raid1:
RAIDFRAME: Configure (RAID Level 1): total number of sectors is 2097024 (1023 MB)
RAIDFRAME(RAID Level 1): Using 6 floating recon bufs with no head sep limit
RAID autoconfigure
Configuring raid2:
RAIDFRAME: Configure (RAID Level 1): total number of sectors is 20971392 (10239 MB)
RAIDFRAME(RAID Level 1): Using 6 floating recon bufs with no head sep limit
RAID autoconfigure
Configuring raid3:
RAIDFRAME: Configure (RAID Level 1): total number of sectors is 47566464 (23225 MB)
RAIDFRAME(RAID Level 1): Using 6 floating recon bufs with no head sep limit
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
-------------------------------------- 8< --------------------------------------

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------