Subject: kern/27067: cpu stuck in atabus3 thread, kernel won't finish booting. 2.0F works, 2.0H and 2.0Beta do not.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ctribo@college.dtcc.edu>
List: netbsd-bugs
Date: 09/28/2004 19:26:46
>Number:         27067
>Category:       kern
>Synopsis:       cpu stuck in atabus3 thread, kernel won't finish booting. 2.0F works, 2.0H and 2.0Beta do not.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 28 19:27:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Chris Tribo
>Release:        2.0 Beta snapshot from releng 200409260000
>Organization:
>Environment:
Can't get it to boot so I can't put it in. It's netbsd-GENERIC.gz from the 200409260000 releng snapshot.
>Description:
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
Stopped in pid 8.1 (atabus3) at netbsd:cpu_Debugger+0x4: leave
db> bt
cpu_Debugger+0x4
internal_command+0x13c
wskbd_translate+0x6c
wskbd_input+0x137
pckbd_input+0x53
pckbportintr+0x3a
pckbcintr+0x94
Xintr_legacy1+0x4a
--- interrupt ---
DDB lost frame for netbsd:Xdoreti, trying 0xc9180c64
Xdoreti
--- interrupt ---
0x202:
db> reboot
syncing disks (wedge)

In the 2.0f dmesg below there's a pdcide0:1: bogus intr line that looks suspect.

NetBSD 2.0F (atlantis) #0: Wed Jun  2 21:26:13 EDT 2004
	root@atlantis.dtcc.edu:/m/obj/sys/arch/i386/compile/atlantis
total memory = 383 MB
avail memory = 371 MB
BIOS32 rev. 0 found at 0xfd790
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 498.88 MHz, id 0x672
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 512 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: 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 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xf4000000, 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
vga0 at pci1 dev 0 function 0: Nvidia Corporation GeForce3 Ti 500 (rev. 0xa3)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
piixide0 at pci0 dev 7 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 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 9
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
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured
ex0 at pci0 dev 13 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x34)
ex0: interrupting at irq 11
ex0: MAC address 00:50:04:62:e0:bf
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
emuxki0 at pci0 dev 14 function 0: Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x07)
emuxki0: ac97: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
emuxki0: ac97: ext id 200<AMAP>
audio0 at emuxki0: full duplex, mmap, independent
emuxki0: interrupting at irq 10
joy0 at pci0 dev 14 function 1: Creative Labs PCI Gameport Joystick (rev 0x07)
joy0: joystick not connected
pdcide0 at pci0 dev 15 function 0
pdcide0: Promise Ultra100/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using irq 3 for native-PCI interrupt
atabus2 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus3 at pdcide0 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
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
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
apm0 at mainbus0: Power Management spec V1.2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
vinum: loaded
IPsec: Initialized Security Association Processing.
atapibus0 at atabus0: 2 targets
sd0 at atapibus0 drive 0: <IOMEGA  ZIP 100       ATAPI, , 14.A> disk removable
sd0: drive offline
sd0: 32-bit data port
sd0(piixide0:0:0): using PIO mode 3
pdcide0:1: bogus intr
atapibus1 at atabus1: 2 targets
cd0 at atapibus1 drive 0: <TOSHIBA DVD-ROM SD-M1202, 2900909316, 1020> 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 data transfers)
wd0 at atabus2 drive 0: <MAXTOR 4K020H1>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19470 MB, 39560 cyl, 16 head, 63 sec, 512 bytes/sect x 39876480 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
atapibus2 at atabus3: 2 targets
cd1 at atapibus2 drive 0: <CW038D ATAPI CD-R/RW, NC000000Q0, V120c> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1(pdcide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
sd0(piixide0:0:0): not ready, data = 00 00 00 00 3a 00 00 00 00 00 ff fe 01 00 00 00 00 00
sd0(piixide0:0:0): not ready, data = 00 00 00 00 3a 00 00 00 00 00 ff fe 01 00 00 00 00 00
sd0(piixide0:0:0): not ready, data = 00 00 00 00 3a 00 00 00 00 00 ff fe 01 00 00 00 00 00
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)
lfs_mountfs: please consider increasing BUFPAGES to at least 0
XFree86 aperture driver version 2.0
Pentium Pro MTRR support enabled

>How-To-Repeat:
boot a kernel after 2.0F merges
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: