NetBSD-Users archive

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

netbsd-10 uvm_fault() crash on i386 during reboot (possibly via mutex_enter() called from config_detach())



I've just updated my old bare-metal i386 (Dell PE2650) server to the
latest daily build of netbsd-10:

NetBSD once 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #0: Thu Aug  8 07:34:54 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386

During the reboot after doing etcupdate it crashed:

Aug 11 22:48:41 once shutdown: reboot by woods: reboot after etcupdate
Aug 11 22:48:49 once syslogd[553]: Exiting on signal 15
[ 1016.1591932] syncing disks... done
[ 1016.3193990] cd0: detached
[ 1016.3193990] pci5: detached
[ 1016.3294117] atapibus0: detached
[ 1016.3294117] uhub0: detached
[ 1016.3294117] com1: detached
[ 1016.3294117] ppb0: detached
[ 1016.3394258] uvm_fault(0xc65167c8, 0, 2) -> 0xe
[ 1016.3394258] fatal page fault in supervisor mode
[ 1016.3494376] trap type 6 code 0x2 eip 0xc01253cd cs 0x8 eflags 0x10246 cr2 0 ilevel 0 esp 0xc0277f76
[ 1016.3594511] curlwp 0xc7e33980 pid 20439 lid 20439 lowest kstack 0xe79a02c0
[ 1016.3594511] Skipping crash dump on recursive panic
[ 1016.3694643] panic: trap
[ 1016.3694643] cpu1: Begin traceback...
[ 1016.3694643] vpanic(c11887e4,e79a1ccc,e79a1d88,c012fee8,c11887e4,e79a1d94,e79a1d94,4fd7,e79a02c0,10246) at netbsd:vpanic+0x196
[ 1016.3894899] panic(c11887e4,e79a1d94,e79a1d94,4fd7,e79a02c0,10246,0,0,c0277f76,c65167c8) at netbsd:panic+0x18
[ 1016.3995039] trap() at netbsd:trap+0xd51
[ 1016.4095157] --- trap (number 6) ---
[ 1016.4195289] mutex_enter(c628dac0,4,b,c628dc80,c14c6900,c15833c4,c628dac0,c0ca67ba,1,4) at netbsd:mutex_enter+0xd
[ 1016.4295416] config_detach(c628dac0,4,17dc1e0,0,0,c14b05a0,e79a1e6c,c012d6ca,0,0) at netbsd:config_detach+0xec
[ 1016.4395559] config_detach_all(0,0,0,0,e79a1f68,0,0,c14b05a0,e79a1e88,c0c86ca7) at netbsd:config_detach_all+0xd3
[ 1016.4495680] cpu_reboot(0,0,c7e33980,0,e79a1f68,e79a1f38,c0c86d2e,0,0,0) at netbsd:cpu_reboot+0x1c7
[ 1016.4695939] kern_reboot(0,0,0,0,0,0,0,c0cd4079,c7e33980,e79a1ec0) at netbsd:kern_reboot+0x77
[ 1016.4796082] sys_reboot(c7e33980,e79a1f68,e79a1f60,dd664000,c6ec56c0,d0,e79a1f60,e79a1f68,0,0) at netbsd:sys_reboot+0x87
[ 1016.4996344] syscall() at netbsd:syscall+0x1d6
[ 1016.4996344] --- syscall (number 208) ---
[ 1016.5096473] b42b8df7:
[ 1016.5096473] cpu1: End traceback...
[ 1016.5096473] rebooting...


It's busy doing things again at the moment, but next time I get a moment
when it is not I'll reboot it again and see if this is reproducible.


One thing to note that may be relevant is this machine is a
usually-headless server with the console redirected to its serial port.
However it is configured to use the VGA device, and there's a KVM switch
attached with a USB mouse and keyboard.  However since that kernel had
booted it was not connected to the display or any USB device.


--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpLbNMlUcFLx.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index