NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/55208: crash in bge_stop() during shutdown



>Number:         55208
>Category:       kern
>Synopsis:       crash in bge_stop() during shutdown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 26 00:50:00 +0000 2020
>Originator:     Greg A. Woods
>Release:        NetBSD 9.0
>Organization:
Planix, Inc.; Kelowna, BC; Canada
>Environment:
	
	
System: NetBSD once.local 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

	I had just completed a stock 9.0 install on a Dell PE2650 (i386)
        then this happened after selecting the "Reboot the computer"
        option from the sysinst menu...

[ 2698.5484213] wsmouse0: detached
[ 2698.5484213] ums0: detached
[ 2698.5484213] uhidev0: detached
[ 2698.5591461] uhidev0: at uhub0 port 1 (addr 2) disconnected
[ 2698.6084390] wskbd0: detached
[ 2698.6084390] ukbd0: detached
[ 2698.6084390] uhidev1: detached
[ 2698.6084390] uhidev1: at uhub0 port 2 (addr 3) disconnected
[ 2747.7939525] uhidev0 at uhub0 port 1 configuration 1 interface 0
[ 2747.8042991] uhidev0: vendor 04f3 (0x4f3) USB+PS/2 Optical Mouse (0x230), rev 1.10/24.58, addr 2, iclass 3/1
[ 2747.8166895] ums0 at uhidev0: 3 buttons and Z dir
[ 2747.8265259] wsmouse0 at ums0 mux 0
[ 2749.0744007] uhub0: device problem, disabling port 2
[ 2749.0744007] wsmouse0: detached
[ 2749.0744007] ums0: detached
[ 2749.0851669] uhidev0: detached
[ 2749.0851669] uhidev0: at uhub0 port 1 (addr 2) disconnected
[ 2787.8169348] syncing disks... done
[ 2787.8369401] cd0: detached
[ 2787.8369401] pci5: detached
[ 2787.8369401] brgphy1: detached
[ 2787.8469433] brgphy0: detached
[ 2787.8469433] atapibus0: detached
[ 2787.8469433] uhub0: detached
[ 2787.8569451] com1: detached
[ 2787.8569451] ppb0: detached
[ 2787.8569451] uvm_fault(0xc60a7d64, 0x3000, 2) -> 0xe
[ 2787.8669484] fatal page fault in supervisor mode
[ 2787.8669484] trap type 6 code 0x2 eip 0xc026ff15 cs 0x8 eflags 0x10202 cr2 0x3614 ilevel 0x6 esp 0xc0ce466c
[ 2787.8769510] curlwp 0xc6cb2020 pid 9201 lid 1 lowest kstack 0xe6f362c0
kernel: supervisor trap page fault, code=0
Stopped in pid 9201.1 (reboot) at       netbsd:bge_stop+0x1f:   movl    $0x1,361
4(%ebx)
db{3}> bt
bge_stop(c5512004,1,c136ebc2,c592b7c0,c136a1e0,c1318980,e6f37e4c,c0887992,c592b7
c0,4) at netbsd:bge_stop+0x1f
bge_detach(c592b7c0,4,c592b7c0,c592bc40,e6f37e4c,c08891c2,c592b7c0,c592b7c0,4,1)
 at netbsd:bge_detach+0x37
config_detach(c592b7c0,4,0,0,0,e6f37e8c,c011ab72,0,0,0) at netbsd:config_detach+
0x62
config_detach_all(0,0,0,c6cb2020,e6f37f68,0,c135aac0,e6f37f38,c086b04e,0) at net
bsd:config_detach_all+0x8f
cpu_reboot(0,0,0,0,0,0,80713,1000,0,80000) at netbsd:cpu_reboot+0x1b4
sys_reboot(c6cb2020,e6f37f68,e6f37f60,e6f36080,c7be246c,e6f37f60,d0,e6f37f68,0,0
) at netbsd:sys_reboot+0x8e
syscall() at netbsd:syscall+0x127
--- syscall (number 208) ---
816b7c7:
db{3}> reboot

	Note bge0 was configured (ipv4) during the install and was used
	to fetch the install sets.  The kernel running at the time was
	of course the netbsd-INSTALL kernel from the 9.0 distribution.

	For reference here is the dmesg after booting multi-user:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018, 2019, 2020 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 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020
        mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC
total memory = 3839 MB
avail memory = 3756 MB
rnd: seeded with 256 bits
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Dell Computer Corporation PowerEdge 2650             
mainbus0 (root)
ACPI: RSDP 0x00000000000FDC40 000014 (v00 DELL  )
ACPI: RSDT 0x00000000000FDC54 000030 (v01 DELL   PE2650   00000001 MSFT 0100000A)
ACPI: FACP 0x00000000000FDC84 000074 (v01 DELL   PE2650   00000001 MSFT 0100000A)
ACPI: DSDT 0x00000000EFFE0000 00346A (v01 DELL   PE2650   00000001 MSFT 0100000A)
ACPI: FACS 0x00000000EFFEFC00 000040
ACPI: APIC 0x00000000000FDCF8 000088 (v01 DELL   PE2650   00000001 MSFT 0100000A)
ACPI: SPCR 0x00000000000FDD80 000050 (v01 DELL   PE2650   00000001 MSFT 0100000A)
ACPI: 1 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 8: pa 0xfec00000, version 0x11, 16 pins
ioapic1 at mainbus0 apid 9: pa 0xfec01000, version 0x11, 16 pins
ioapic2 at mainbus0 apid 10: pa 0xfec02000, version 0x11, 16 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Xeon(TM) CPU 2.40GHz, id 0xf27
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 6
cpu1: Intel(R) Xeon(TM) CPU 2.40GHz, id 0xf27
cpu1: package 3, core 0, smt 0
cpu2 at mainbus0 apid 1
cpu2: Intel(R) Xeon(TM) CPU 2.40GHz, id 0xf27
cpu2: package 0, core 0, smt 1
cpu3 at mainbus0 apid 7
cpu3: Intel(R) Xeon(TM) CPU 2.40GHz, id 0xf27
cpu3: package 3, core 0, smt 1
acpi0 at mainbus0: Intel ACPICA 20190405
acpi0: X/RSDT: OemId <DELL  ,PE2650  ,00000001>, AslId <MSFT,0100000a>
LUSB: ACPI: Found matching pin for 0.15.INTA at func 2: 5
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
FPU (PNP0C04) at acpi0 not configured
pcppi1 at acpi0 (SPK, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x5f irq 0
FDC (PNP0700) at acpi0 not configured
COMA (PNP0501) at acpi0 not configured
COMB (PNP0501) at acpi0 not configured
MBIO (PNP0C01) at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 1 GPEs in block 20 to 3F
attimer1: attached to pcppi1
ipmi0 at mainbus0
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: vendor 1166 product 0012 (rev. 0x13)
pchb1 at pci0 dev 0 function 1: vendor 1166 product 0012 (rev. 0x00)
pci1 at pchb1 bus 3
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
bge0 at pci1 dev 6 function 0: Broadcom BCM5701 Gigabit Ethernet
bge0: interrupting at ioapic1 pin 12
bge0: HW config 00000019, 00000000, 00000000, 00000000 00000000
bge0: ASIC BCM5701 B5 (0x105), Ethernet address 00:06:5b:ed:e2:d1
brgphy0 at bge0 phy 1: BCM5701 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge1 at pci1 dev 8 function 0: Broadcom BCM5701 Gigabit Ethernet
bge1: interrupting at ioapic1 pin 13
bge1: HW config 00000019, 00000000, 00000000, 00000000 00000000
bge1: ASIC BCM5701 B5 (0x105), Ethernet address 00:06:5b:ed:e2:d2
brgphy1 at bge1 phy 1: BCM5701 1000BASE-T media interface, rev. 0
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
pchb2 at pci0 dev 0 function 2: vendor 1166 product 0000 (rev. 0x00)
pchb2: autoconfiguration error: unknown ServerWorks chip ID 0x0000; trying to attach PCI buses behind it
pci2 at pchb2 bus 1
pci2: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
aac0 at pci2 dev 6 function 0: HP NetRAID-4M
aac0: interrupting at ioapic1 pin 0
aac0: GETCOMMPREF appears untrustworthy.  Ignoring.
aac0: autoconfiguration error: FATAL: selftest failed
vendor 1028 product 000c (undefined, subclass 0x00) at pci0 dev 4 function 0 not configured
vendor 1028 product 0008 (undefined, subclass 0x00) at pci0 dev 4 function 1 not configured
vendor 1028 product 000d (undefined, subclass 0x00) at pci0 dev 4 function 2 not configured
vga0 at pci0 dev 14 function 0: vendor 1002 product 4752 (rev. 0x27)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
piixpm0 at pci0 dev 15 function 0: vendor 1166 product 0201 (rev. 0x93)
piixpm0: interrupting at SMI, 
iic0 at piixpm0 port 0: I2C bus
rccide0 at pci0 dev 15 function 1: ServerWorks CSB5 IDE Controller (rev. 0x93)
rccide0: bus-master DMA support present
rccide0: primary channel configured to compatibility mode
rccide0: primary channel interrupting at ioapic0 pin 14
atabus0 at rccide0 channel 0
rccide0: secondary channel wired to compatibility mode
rccide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at rccide0 channel 1
ohci0 at pci0 dev 15 function 2: vendor 1166 product 0220 (rev. 0x05)
ohci0: interrupting at ioapic0 pin 5
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
pcib0 at pci0 dev 15 function 3: vendor 1166 product 0225 (rev. 0x00)
pchb3 at pci0 dev 16 function 0: vendor 1166 product 0101 (rev. 0x03)
pci3 at pchb3 bus 3
pci3: i/o space, memory space enabled
bge2 at pci3 dev 6 function 0: Broadcom BCM5701 Gigabit Ethernet
bge2: autoconfiguration error: can't find mem space
bge3 at pci3 dev 8 function 0: Broadcom BCM5701 Gigabit Ethernet
bge3: autoconfiguration error: can't find mem space
pchb4 at pci0 dev 16 function 2: vendor 1166 product 0101 (rev. 0x03)
pci4 at pchb4 bus 4
pci4: i/o space, memory space enabled
ppb0 at pci4 dev 8 function 0: vendor 8086 product 0309 (rev. 0x01)
pci5 at ppb0 bus 5
pci5: i/o space, memory space enabled
vendor 9005 product 00c5 (SCSI mass storage, revision 0x01) at pci5 dev 6 function 0 not configured
vendor 9005 product 00c5 (SCSI mass storage, revision 0x01) at pci5 dev 6 function 1 not configured
aac1 at pci4 dev 8 function 1: Dell PERC 3/Di
aac1: interrupting at ioapic1 pin 14
aac1: GETCOMMPREF appears untrustworthy.  Ignoring.
aac1: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
aac1: Kernel 2.7-1 [Build 3170], Monitor 2.7-1 [Build 3170], S/N A441D3
aac1: Controller supports: 0x75c<WCACHE,DATA64,HOSTTIME,WINDOW4GB,SOFTERR,NORECOND,SGMAP64>
ld0 at aac1 unit 0: RAID 5
ld0: 135 GB, 17700 cyl, 255 head, 63 sec, 512 bytes/sect x 284365824 sectors
pchb5 at pci0 dev 17 function 0: vendor 1166 product 0101 (rev. 0x03)
pci6 at pchb5 bus 1
pci6: i/o space, memory space enabled
aac2 at pci6 dev 6 function 0: HP NetRAID-4M
aac2: interrupting at ioapic1 pin 0
aac2: GETCOMMPREF appears untrustworthy.  Ignoring.
aac2: autoconfiguration error: FATAL: selftest failed
pchb6 at pci0 dev 17 function 2: vendor 1166 product 0101 (rev. 0x03)
pci7 at pchb6 bus 2
pci7: i/o space, memory space enabled
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu1 at cpu1: ACPI CPU
acpicpu2 at cpu2: ACPI CPU
acpicpu3 at cpu3: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
IPsec: Initialized Security Association Processing.
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: vendor 04f3 (0x4f3) USB+PS/2 Optical Mouse (0x230), rev 1.10/24.58, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SN-124, , N102> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(rccide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA)
uhidev1 at uhub0 port 2 configuration 1 interface 0
uhidev1: CHICONY (0x4b3) USB NetVista Full Width Keyboard (0x3025), rev 1.10/1.02, addr 3, iclass 3/1
ukbd0 at uhidev1
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
WARNING: 5 errors while detecting hardware; check system log.
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
kern.module.path=/stand/i386/9.0/modules
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)
ipmi0: version 1.0 interface SMIC iobase 0xecf4/0x3 spacing 1

>How-To-Repeat:

>Fix:

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index