Subject: port-i386/11132: NetBSD dropped me into ddb when I was switching consoles
To: None <gnats-bugs@gnats.netbsd.org>
From: None <zuntum@eik.pl>
List: netbsd-bugs
Date: 10/04/2000 13:52:12
>Number:         11132
>Category:       port-i386
>Synopsis:       NetBSD dropped me into ddb when I was switching consoles
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 04 13:52:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5_ALPHA2/i386
>Organization:
	Lublin BSD Users Group (LGUB)
	http://www.freebsd.lublin.pl
>Environment:
	
System: NetBSD zunpc 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (GENERIC) #2: Mon Aug 21 19:17:53 MEST 2000 fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC i386

dmesg:

NetBSD 1.5_ALPHA2 (GENERIC) #2: Mon Aug 21 19:17:53 MEST 2000
    fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (Celeron) (686-class)
total memory = 65088 KB
avail memory = 55276 KB
using 839 buffers containing 3356 KB of memory
BIOS32 rev. 0 found at 0xfb370
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
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: Nvidia Corporation RIVA TNT2 Model 64 (rev. 0x11)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 0: <ASUS CD-S400, , V1.20> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
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
ne2 at pci0 dev 13 function 0: RealTek 8029 Ethernet
ne2: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne2: Ethernet address 00:c0:df:ed:b8:ad
ne2: interrupting at irq 11
eap0 at pci0 dev 15 function 0: Ensoniq AudioPCI 97 (rev. 0x08)
eap0: interrupting at irq 10
eap0: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
pciide1 at pci0 dev 19 function 0: Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
pciide1: bus-master DMA support present
pciide1: primary channel wired to native-PCI mode
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST330630A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 29188 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 59777640 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0(pciide1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (using DMA data transfers)
pciide2 at pci0 dev 19 function 1: Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
pciide2: bus-master DMA support present
pciide2: primary channel wired to native-PCI mode
pciide2: using irq 11 for native-PCI interrupt
isa0 at pcib0
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi1 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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask eb65 netmask eb65 ttymask fbe7
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)
wsmux1: connecting to wsdisplay0

savecore log:

Oct  4 23:16:26 zunpc savecore: reboot
Oct  4 23:16:26 zunpc savecore: /var/crash/bounds: No such file or directory
Oct  4 23:16:26 zunpc savecore: writing compressed core to /var/crash/netbsd.0.core.Z
Oct  4 23:16:59 zunpc savecore: writing compressed kernel to /var/crash/netbsd.0.Z
O

and gdb on the core:

(gdb) target kcore netbsd.0.core
#0  0xc04b3f88 in db_last_command ()
(gdb) bt
#0  0xc04b3f88 in db_last_command ()
#1  0x12c7000 in ?? ()
#2  0xc02e8a27 in cpu_reboot ()
#3  0xc01886cd in db_sync_cmd ()
#4  0xc01882F4 in db_command ()
#5  0xc0188496 in db_command_loop ()
#6  0xc018b22a in db_trap ()
#7  0xc02e6764 in kdb_trap ()
#8  0xc02f03e4 in trap ()
#9  0xc0100f0d in calltrap ()
#10 0xc03817b8 in internal_command ()
#11 0xc03818d8 in wskbd_translate ()
#12 0xc0380a2b in wskbd_input ()
#13 0xc0384226 in pckbd_input ()
#14 0xc0163912 in pckbcintr ()
#15 0xc01011e4 in Xintr1 ()

>Description:
	I was switching consoles and got dropped into ddb.
	Hope that core dump will help.

	Coredumps are on my WWW if somebody could take a look:

	http://zuntum.eik.pl/netbsd/netbsd.0.Z 		[3MB]
	http://zuntum.eik.pl/netbsd/netbsd.0.core.Z	[33MB]

>How-To-Repeat:
	No idea.
>Fix:
	unknown
>Release-Note:
>Audit-Trail:
>Unformatted: