Subject: kern/35313: piixpcib boot hang on 4.99.7 and 4.0_BETA2
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <szilagyi@alum.mit.edu>
List: netbsd-bugs
Date: 12/23/2006 04:15:01
>Number: 35313
>Category: kern
>Synopsis: piixpcib boot hang on 4.99.7 and 4.0_BETA2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 23 04:15:01 +0000 2006
>Originator: Peter Szilagyi
>Release: NetBSD 4.99.7 ca. 2006-12-22
>Organization:
none
>Environment:
NetBSD 4.99.7 (GENERIC) #1: Fri Dec 22 18:01:51 EST 2006
szilagyi@acer.szilagyi:/home/szilagyi/NetBSD/obj/4.99.7/i386/sys/arch/i386/compile/GENERIC
total memory = 127 MB
avail memory = 115 MB
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable piixpcib
[308] piixpcib* disabled
uc> exit
Continuing...
Calibrating TSC clock ... TSC clock: 331719970 Hz
BIOS32 rev. 0 found at 0xfd7a0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Mobile Pentium II (686-class), 331.72 MHz, id 0x66a
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 16 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 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Neomagic MagicMedia 256AV VGA (rev. 0x20)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 2 function 0
pcib0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x02)
piixide0 at pci0 dev 2 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 2 function 2: Intel 82371AB (PIIX4) USB Host Controller (rev. 0x01)
uhci0: interrupting at 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
piixpm0 at pci0 dev 2 function 3
piixpm0: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x02)
timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 900
piixpm0 24-bit timer
piixpm0: interrupting at SMI
iic0 at piixpm0: I2C bus
cbb0 at pci0 dev 3 function 0: Texas Instruments PCI1251 PCI-CardBus Bridge (rev. 0x01)
cbb1 at pci0 dev 3 function 1: Texas Instruments PCI1251 PCI-CardBus Bridge (rev. 0x01)
Lucent Technologies LTMODEM (miscellaneous communications, revision 0x01) at pci0 dev 6 function 0 not configured
eso0 at pci0 dev 7 function 0: ESS Solo-1 PCI AudioDrive ES1946 Revision E
eso0: interrupting at irq 5
eso0: mapping Audio 1 DMA using VC I/O space at 0xfc70
audio0 at eso0: full duplex, mmap, independent
opl0 at eso0: model OPL3
midi0 at opl0: ESO Yamaha OPL3 (CPU-intensive output)
mpu0 at eso0
midi1 at mpu0: ESO MPU-401 MIDI UART (CPU-intensive output)
joy0 at eso0
joy0: joystick not connected
isa0 at pcib0
lpt2 at isa0 port 0x3bc-0x3bf irq : polled
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi2 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
cbb0: interrupting at irq 11
cbb0: cacheline 0x0 lattimer 0x80
cbb0: bhlc 0x821000 lscp 0x80818100
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 129 cacheline 0x0, lattimer 0x80
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x0 lattimer 0x80
cbb1: bhlc 0x821000 lscp 0x80828200
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 130 cacheline 0x0, lattimer 0x80
pcmcia1 at cardslot1
timecounter: Timecounter "TSC" frequency 331719970 Hz quality -100
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
crypto: assign driver 0, flags 2
crypto: driver 0 registers alg 1 flags 0 maxoplen 0
crypto: driver 0 registers alg 2 flags 0 maxoplen 0
crypto: driver 0 registers alg 3 flags 0 maxoplen 0
crypto: driver 0 registers alg 4 flags 0 maxoplen 0
crypto: driver 0 registers alg 5 flags 0 maxoplen 0
crypto: driver 0 registers alg 17 flags 0 maxoplen 0
crypto: driver 0 registers alg 6 flags 0 maxoplen 0
crypto: driver 0 registers alg 7 flags 0 maxoplen 0
crypto: driver 0 registers alg 15 flags 0 maxoplen 0
crypto: driver 0 registers alg 8 flags 0 maxoplen 0
crypto: driver 0 registers alg 16 flags 0 maxoplen 0
crypto: driver 0 registers alg 9 flags 0 maxoplen 0
crypto: driver 0 registers alg 10 flags 0 maxoplen 0
crypto: driver 0 registers alg 13 flags 0 maxoplen 0
crypto: driver 0 registers alg 14 flags 0 maxoplen 0
crypto: driver 0 registers alg 11 flags 0 maxoplen 0
crypto: driver 0 registers alg 18 flags 0 maxoplen 0
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
ep0 at pcmcia1 function 0: <3Com, OfficeConnect 572B, B, 001>
ep0: address 00:00:86:61:1b:10, 64KB word-wide FIFO, 1:1 Rx:Tx split
tqphy0 at ep0 phy 0: 78Q2120 10/100 media interface, rev. 10
tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wd0 at atabus0 drive 0: <IBM-DARA-212000>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 11513 MB, 23392 cyl, 16 head, 63 sec, 512 bytes/sect x 23579136 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <CRN-8241B, 1999/09/07, 1.22a> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
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)
System: NetBSD 390e.szilagyi 4.99.7 NetBSD 4.99.7 (GENERIC) #1: Fri Dec 22 18:01:51 EST 2006 szilagyi@acer.szilagyi:/home/szilagyi/NetBSD/obj/4.99.7/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
After installing a local build of 4.0_BETA2 ca. 2006-12-21, my
IBM ThinkPad 390E would hang on boot, right after announcing
piixpcib. Disabling piixpcib with userconf fixed the problem.
I tried both GENERIC and GENERIC_LAPTOP, and alsoe tried
-current, all to the same effect. The INSTALL and
INSTALL_LAPTOP kernels did not have this problem.
My local releases enable GATEWAY, IPSEC, and ALTQ in the
GENERIC* kernels, relative to CVS. I'm happy to download and
boot a stock or snapshot kernel, but I don't what will give
the most information in this case. -current snapshot
DIAGNOSTIC, off ftp.netbsd.org, perhaps?
Google turned up some similar problems in the recent past:
http://mail-index.netbsd.org/current-users/2006/07/07/0018.html
http://mail-index.netbsd.org/tech-kern/2006/11/04/0007.html
http://mail-index.netbsd.org/current-users/2006/10/22/0006.html
Leading me towards this potentially related PR 33907:
http://mail-index.netbsd.org/netbsd-bugs/2006/07/03/0016.html
I tried hitting the power button, as described in PR
33907, but it had no effect in my case.
While I was at it, I tried only disabling isa0 at piixpcib?,
rather than piixpcib itself. But that didn't help.
>How-To-Repeat:
boot netsbd GENERIC or GENERIC_LAPTOP kernels from recent HEAD
or netbsd-4 branches on an IBM ThinkPad 390E.
>Fix:
workaround: boot -c; disable piixpcib (as shown above)