Subject: kernel panic from piixide or something
To: None <netbsd-users@NetBSD.org>
From: Petter Lindqvist <pollen@astrakan.hig.se>
List: netbsd-users
Date: 03/22/2005 16:48:34
Hi!

Some problems here, and as the server is on remote location I couldn't 
see the exact console messages, but here's what's in /var/log/messages 
about the crash.

What I was doing was 'newds wd1e' then this showed up and the server died.

I'm not sure if it's a problem with driver, chipset or disk. So I ask 
here before I go yelling at the company who hires the server.
dmesg.boot included below crash log.

Mar 22 14:55:04 kundserver /netbsd: piixide0:1:1: lost interrupt
Mar 22 14:59:04 kundserver /netbsd:     type: ata tc_bcount: 65536 
tc_skip: 0
Mar 22 14:59:05 kundserver /netbsd: piixide0:1:1: bus-master DMA error: 
missing interrupt, status=0x61
Mar 22 14:59:05 kundserver /netbsd: piixide0:1:1: device timeout, 
c_bcount=65536, c_skip0
Mar 22 14:59:05 kundserver /netbsd: wd1: transfer error, downgrading to 
Ultra-DMA mode 2
Mar 22 14:59:05 kundserver /netbsd: wd0(piixide0:1:0): using PIO mode 4, 
Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
Mar 22 14:59:05 kundserver /netbsd: wd1(piixide0:1:1): using PIO mode 4, 
Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
Mar 22 14:59:05 kundserver /netbsd: wd1e: device timeout writing fsbn 
376192 of 376192-376319 (wd1 bn 376255; cn 373 tn 4 sn 19), retrying
Mar 22 14:59:05 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 14:59:05 kundserver /netbsd: piixide0:1:0: wait timed out
Mar 22 14:59:05 kundserver /netbsd: wd0a: device timeout writing fsbn 
2048352 of 2048352-2048367 (wd0 bn 2048415; cn 2032 tn 2 sn 33), retrying
Mar 22 14:59:05 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 14:59:05 kundserver /netbsd: piixide0:1:1: wait timed out
Mar 22 14:59:05 kundserver /netbsd: wd1e: device timeout writing fsbn 
376192 of 376192-376319 (wd1 bn 376255; cn 373 tn 4 sn 19), retrying
Mar 22 14:59:05 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 14:59:05 kundserver /netbsd: piixide0:1:0: wait timed out
Mar 22 14:59:05 kundserver /netbsd: wd0a: device timeout writing fsbn 
2048352 of 2048352-2048367 (wd0 bn 2048415; cn 2032 tn 2 sn 33), retrying
Mar 22 14:59:05 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 14:59:05 kundserver /netbsd: piixide0:1:1: wait timed out
Mar 22 14:59:05 kundserver /netbsd: wd1e: device timeout writing fsbn 
376192 of 376192-376319 (wd1 bn 376255; cn 373 tn 4 sn 19), retrying
Mar 22 14:59:05 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 14:59:05 kundserver /netbsd: piixide0:1:0: wait timed out
Mar 22 14:59:05 kundserver /netbsd: wd0a: device timeout writing fsbn 
2048352 of 2048352-2048367 (wd0 bn 2048415; cn 2032 tn 2 sn 33), retrying
Mar 22 14:59:05 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 14:59:05 kundserver /netbsd: wd1: soft error (corrected)
Mar 22 14:59:05 kundserver /netbsd: wd0: soft error (corrected)
Mar 22 15:00:00 kundserver /netbsd: piixide0:1:1: lost interrupt
Mar 22 15:00:50 kundserver /netbsd:     type: ata tc_bcount: 65536 
tc_skip: 0
Mar 22 15:00:50 kundserver /netbsd: piixide0:1:1: bus-master DMA error: 
missing interrupt, status=0x61
Mar 22 15:00:50 kundserver /netbsd: piixide0:1:1: device timeout, 
c_bcount=65536, c_skip0
Mar 22 15:00:50 kundserver /netbsd: wd1: transfer error, downgrading to 
Ultra-DMA mode 1
Mar 22 15:00:50 kundserver /netbsd: wd0(piixide0:1:0): using PIO mode 4, 
Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
Mar 22 15:00:50 kundserver /netbsd: wd1(piixide0:1:1): using PIO mode 4, 
Ultra-DMA mode 1 (using DMA data transfers)
Mar 22 15:00:50 kundserver /netbsd: wd1e: device timeout writing fsbn 
188192 of 188192-188319 (wd1 bn 188255; cn 186 tn 12 sn 11), retrying
Mar 22 15:00:50 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 15:00:50 kundserver /netbsd: piixide0:1:0: wait timed out
Mar 22 15:00:50 kundserver /netbsd: wd0g: device timeout writing fsbn 16 
of 16-19 (wd0 bn 40480623; cn 40159 tn 5 sn 36), retrying
Mar 22 15:00:50 kundserver /netbsd: wd1: soft error (corrected)
Mar 22 15:00:50 kundserver /netbsd: wd0: soft error (corrected)
Mar 22 15:01:00 kundserver /netbsd: piixide0:1:1: lost interrupt
Mar 22 15:01:46 kundserver /netbsd:     type: ata tc_bcount: 65536 
tc_skip: 0
Mar 22 15:01:46 kundserver /netbsd: piixide0:1:1: bus-master DMA error: 
missing interrupt, status=0x61
Mar 22 15:01:46 kundserver /netbsd: piixide0:1:1: device timeout, 
c_bcount=65536, c_skip0
Mar 22 15:01:46 kundserver /netbsd: wd1: transfer error, downgrading to 
DMA mode 2
Mar 22 15:01:46 kundserver /netbsd: wd0(piixide0:1:0): using PIO mode 4, 
Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
Mar 22 15:01:46 kundserver /netbsd: wd1(piixide0:1:1): using PIO mode 4, 
DMA mode 2 (using DMA data transfers)
Mar 22 15:01:46 kundserver /netbsd: wd1e: device timeout writing fsbn 
375136 of 375136-375263 (wd1 bn 375199; cn 372 tn 3 sn 34), retrying
Mar 22 15:01:46 kundserver /netbsd: piixide0 channel 1: reset failed for 
drive 0 drive 1
Mar 22 15:01:46 kundserver /netbsd: piixide0:1:0: wait timed out
Mar 22 15:01:46 kundserver /netbsd: wd0a: device timeout writing fsbn 
7634592 of 7634592-7634607 (wd0 bn 7634655; cn 7574 tn 1 sn 0), retrying
Mar 22 15:01:46 kundserver /netbsd: wd1: soft error (corrected)
Mar 22 15:01:46 kundserver /netbsd: wd0: soft error (corrected)
Mar 22 17:03:36 kundserver syslogd: restart

dmesg.boot
NetBSD 2.0 (GENERIC) #0: Wed Dec  1 10:58:25 UTC 2004
        
builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC
total memory = 1023 MB
avail memory = 994 MB
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel (686-class), 2800.18 MHz, id 0xf34
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way
cpu0: L2 cache 1 MB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 32 page colors
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 product 0x3592 (rev. 0x0c)
ppb0 at pci0 dev 2 function 0: Intel product 0x3595 (rev. 0x0c)
pci1 at ppb0 bus 1
pci1: memory space enabled, rd/line, wr/inv ok
ppb1 at pci1 dev 0 function 0: Intel product 0x0329 (rev. 0x09)
pci2 at ppb1 bus 3
pci2: memory space enabled, rd/line, wr/inv ok
ppb2 at pci1 dev 0 function 2: Intel product 0x032a (rev. 0x09)
pci3 at ppb2 bus 2
pci3: memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 3 function 0: Intel product 0x3596 (rev. 0x0c)
pci4 at ppb3 bus 4
pci4: memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 0: Intel product 0x25ae (rev. 0x02)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci5 dev 1 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 0
wm0: interrupting at irq 9
wm0: 32-bit 66MHz PCI bus
wm0: 65536 word (16 address bits) SPI EEPROM
wm0: Ethernet address 00:30:48:81:a5:5c
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
wm1 at pci5 dev 2 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 0
wm1: interrupting at irq 9
wm1: 32-bit 66MHz PCI bus
wm1: 64 word (6 address bits) MicroWire EEPROM
wm1: Ethernet address 00:30:48:81:a5:5d
igphy1 at wm1 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
uhci0 at pci0 dev 29 function 0: Intel product 0x25a9 (rev. 0x02)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel product 0x25aa (rev. 0x02)
uhci1: interrupting at irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
Intel product 0x25ab (miscellaneous system, revision 0x02) at pci0 dev 
29 function 4 not configured
Intel product 0x25ac (interrupt system, interface 0x20, revision 0x02) 
at pci0 dev 29 function 5 not configured
ehci0 at pci0 dev 29 function 7: Intel product 0x25ad (rev. 0x02)
ehci0: interrupting at irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ppb5 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x0a)
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled
vga1 at pci6 dev 2 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 31 function 0
pcib0: Intel product 0x25a1 (rev. 0x02)
piixide0 at pci0 dev 31 function 2
piixide0: Intel 6300ESB Serial ATA Controller (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
Intel product 0x25a4 (SMBus serial bus, revision 0x02) at pci0 dev 31 
function 3 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
wd0 at atabus1 drive 0: <HDS722580VLSA80>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 78533 MB, 159560 cyl, 16 head, 63 sec, 512 bytes/sect x 160836480 
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus1 drive 1: <HDS722580VLSA80>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 78533 MB, 159560 cyl, 16 head, 63 sec, 512 bytes/sect x 160836480 
sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using 
DMA data transfers)
wd1(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using 
DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)