Subject: Completely useless report on disk lockups
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 01/16/2007 21:59:12
Any hints on how to debug this would be appreciated, but I'm getting
fairly repeatable disk lockups with i386-current. With all the thread
changes I don't doubt that something odd is happening, but this is on
fairly new hardware that I'm not quite sure is working completely right.

Any hints on how to debug this would be appreciated. Sometimes it drops
into the debugger, sometimes it just plain hangs. The kernel I built
yesterday seems fine.

The dmesg from my machine is:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 4.99.8 (ERIKA) #16: Mon Jan 15 14:53:33 PST 2007
 	htodd@erika.i8u.org:/var/obj/sys/arch/i386/compile.i386/ERIKA
multiboot: Information structure flags: 0x000007e7
multiboot: Boot loader: GNU GRUB 0.97
multiboot: Command line: /onetbsd
multiboot: 639 KB lower memory, 2095744 KB upper memory
multiboot: Symbol table at 0xc0536498, length 222864 bytes
multiboot: String table at 0xc056cb28, length 219825 bytes
total memory = 2047 MB
avail memory = 2006 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (P5B                  )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Core 2 (Merom) (686-class), 2402.02 MHz, id 0x6f6
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: features2 e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu0: "Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 4 MB 64B/line 16-way
cpu0: using thermal monitor 1
cpu0: Enhanced SpeedStep (1340 mV) 2400 MHz
cpu0: unknown Enhanced SpeedStep CPU.
cpu0: using only highest and lowest power states.
cpu0: Enhanced SpeedStep frequencies available (MHz): 2400 2400
cpu0: calibrating local timer
cpu0: apic clock running at 266 MHz
cpu0: 64 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Core 2 (Merom) (686-class), 2401.92 MHz, id 0x6f6
cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2 e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu1: "Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz"
cpu1: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu1: L2 cache 4 MB 64B/line 16-way
cpu1: using thermal monitor 1
cpu1: Enhanced SpeedStep (1340 mV) 2400 MHz
cpu1: unknown Enhanced SpeedStep CPU.
cpu1: using only highest and lowest power states.
cpu1: Enhanced SpeedStep frequencies available (MHz): 2400 2400
mpbios: bus 0 is type PCI 
mpbios: bus 1 is type PCI 
mpbios: bus 2 is type PCI 
mpbios: bus 3 is type PCI 
mpbios: bus 4 is type PCI 
mpbios: bus 5 is type PCI 
mpbios: bus 6 is type ISA 
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
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 0x29a0 (rev. 0x02)
ppb0 at pci0 dev 1 function 0: Intel product 0x29a1 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 26 function 0: Intel 82801H USB UHCI Controller (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16 (irq 11)
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 26 function 1: Intel 82801H USB UHCI Controller (rev. 0x02)
uhci1: interrupting at ioapic0 pin 17 (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
ehci0 at pci0 dev 26 function 7: Intel 82801H USB EHCI Controller (rev. 0x02)
ehci0: interrupting at ioapic0 pin 18 (irq 15)
ehci0: BIOS has given up ownership
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
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 22 (irq 3)
azalia0: host: Intel 82801H High Definition Audio Controller (rev. 2)
azalia0: host: High Definition Audio rev. 1.0
ppb1 at pci0 dev 28 function 0: Intel 82801H PCI Express Port #1 (rev. 0x02)
pci2 at ppb1 bus 4
pci2: memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 3: Intel 82801H PCI Express Port #4 (rev. 0x02)
pci3 at ppb2 bus 3
pci3: memory space enabled, rd/line, wr/inv ok
unknown vendor 0x1969 product 0x1048 (ethernet network, revision 0xb0) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 4: Intel 82801H PCI Express Port #5 (rev. 0x02)
pci4 at ppb3 bus 2
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ahcisata0 at pci4 dev 0 function 0: unknown vendor 0x197b product 0x2363
ahcisata0: AHCI revision 1.0, 2 ports, 32 command slots, features 0xc722e000
ahcisata0: interrupting at ioapic0 pin 16 (irq 11)
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
pciide0 at pci4 dev 0 function 1
pciide0: unknown vendor 0x197b product 0x2363 (rev. 0x02)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to native-PCI mode
pciide0: using ioapic0 pin 17 (irq 0) for native-PCI interrupt
atabus2 at pciide0 channel 0
pciide0: secondary channel wired to native-PCI mode
atabus3 at pciide0 channel 1
uhci2 at pci0 dev 29 function 0: Intel 82801H USB UHCI Controller (rev. 0x02)
uhci2: interrupting at ioapic0 pin 23 (irq 14)
usb3 at uhci2: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 1: Intel 82801H USB UHCI Controller (rev. 0x02)
uhci3: interrupting at ioapic0 pin 19 (irq 10)
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 2: Intel 82801H USB UHCI Controller (rev. 0x02)
uhci4: interrupting at ioapic0 pin 18 (irq 15)
usb5 at uhci4: USB revision 1.0
uhub5 at usb5
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1 at pci0 dev 29 function 7: Intel 82801H USB EHCI Controller (rev. 0x02)
ehci1: interrupting at ioapic0 pin 23 (irq 14)
ehci1: BIOS refuses to give up ownership, using force
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4
usb6 at ehci1: USB revision 2.0
uhub6 at usb6
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
ppb4 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xf2)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled
vga0 at pci5 dev 0 function 0: ATI Technologies 3D Rage I/II (rev. 0x41)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
wm0 at pci5 dev 2 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 0
wm0: interrupting at ioapic0 pin 23 (irq 14)
wm0: 32-bit 33MHz PCI bus
wm0: 65536 word (16 address bits) SPI EEPROM
wm0: Ethernet address 00:e0:0c:01:f4:68
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
fwohci0 at pci5 dev 3 function 0: VIA Technologies VT6306 IEEE 1394 Host Controller (rev. 0x80)
fwohci0: interrupting at ioapic0 pin 21 (irq 11)
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:d8:00:00:e8:39:db
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801H LPC Interface Bridge (rev. 0x02)
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801H Serial ATA Controller (ICH8) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to native-PCI mode
piixide0: using ioapic0 pin 19 (irq 10) for native-PCI interrupt
atabus4 at piixide0 channel 0
piixide0: secondary channel configured to native-PCI mode
atabus5 at piixide0 channel 1
Intel 82801H SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
piixide1 at pci0 dev 31 function 5
piixide1: Intel 82801H Serial ATA Controller (ICH8) (rev. 0x02)
piixide1: bus-master DMA support present
piixide1: primary channel wired to native-PCI mode
piixide1: using ioapic0 pin 19 (irq 10) for native-PCI interrupt
atabus6 at piixide1 channel 0
piixide1: secondary channel wired to native-PCI mode
atabus7 at piixide1 channel 1
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcppi0: attached to attimer0
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: 0x11d4/0x1988 (rev. 4.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia0: playback: max channels=8, encodings=1<PCM>
azalia0: playback: PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0: recording: max channels=2, DIGITAL, encodings=5<AC3,PCM>
azalia0: recording: PCM formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
audio0 at azalia0: full duplex, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
umass0 at uhub2 port 3 configuration 1 interface 0
umass0: Genesys USB Reader, rev 2.00/93.17, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 2 luns per target
sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 9317> disk removable
sd0: drive offline
sd1 at scsibus0 target 0 lun 1: <Generic, STORAGE DEVICE, 9317> disk removable
sd1: drive offline
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1
ums0 at uhidev0: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd0 at atabus4 drive 0: <ST3250620AS>
wd0: quirks 2<FORCE_LBA48>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
uhidev1 at uhub4 port 2 configuration 1 interface 0
uhidev1: Microsoft Natural Keyboard Elite, rev 1.00/1.04, addr 3, iclass 3/1
ukbd0 at uhidev1
wskbd0 at ukbd0: console keyboard, using wsdisplay0
atapibus0 at atabus7: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON DVDRW SH-16A7S, , WS04> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(piixide1:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Medium Not Present

sd1(umass0:0:0:1):  Check Condition on CDB: 0x00 20 00 00 00 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Medium Not Present

sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Medium Not Present

sd1(umass0:0:0:1):  Check Condition on CDB: 0x00 20 00 00 00 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Medium Not Present

boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: CPU 1 running

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte