resflash i386 / PCEngines alix2d13 OpenBSD 6.3 kernel panic on reboot - ALIX.2 v0.99m
My old router (runs before flashrd over years) dont like to reboot with OpenBSD / resflash. shutdown -r now works.
tinybios is latest afaik.
`OpenBSD 6.3-stable (GENERIC) #2 (closed): Sun Apr 22 00:39:58 UTC 2018
Welcome to OpenBSD: The proactively secure Unix-like operating system.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code. With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
You have mail.
reboot
resflash: Saving /etc files
syncing disks... panic: unmount: dangling vnode
Stopped at db_enter+0x4: popl %ebp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*355471 65038 0 0x3 0 0 reboot
db_enter() at db_enter+0x4
panic() at panic+0xcc
dounmount_leaf(d17db800,80000,f37b2704) at dounmount_leaf+0x128
dounmount(d17db800,80000,f37b2704) at dounmount+0xb6
vfs_unmountall() at vfs_unmountall+0x85
vfs_shutdown(f37b2704) at vfs_shutdown+0x34
boot(0) at boot+0x48
__stack_smash_handler(0,f35fe3ec) at __stack_smash_handler
sys_reboot(f37b2704,f35fe3b8,f35fe3b0) at sys_reboot+0x1e
syscall() at syscall+0x1a0
--- syscall (number -813791088) ---
end of kernel
0x7:
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb> trace
db_enter() at db_enter+0x4
panic() at panic+0xcc
dounmount_leaf(d17db800,80000,f37b2704) at dounmount_leaf+0x128
dounmount(d17db800,80000,f37b2704) at dounmount+0xb6
vfs_unmountall() at vfs_unmountall+0x85
vfs_shutdown(f37b2704) at vfs_shutdown+0x34
boot(0) at boot+0x48
__stack_smash_handler(0,f35fe3ec) at __stack_smash_handler
sys_reboot(f37b2704,f35fe3b8,f35fe3b0) at sys_reboot+0x1e
syscall() at syscall+0x1a0
--- syscall (number -813791088) ---
end of kernel
0x7:
ddb> show uvm
Current UVM status:
pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
61017 VM pages: 31 active, 0 inactive, 0 wired, 58603 free (6676 zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
pages 0 anon, 0 vnode, 0 vtext
freemin=2033, free-target=2710, inactive-target=0, wired-max=20339
faults=149112, traps=166948, intrs=16552, ctxswitch=48127 fpuswitch=29
softint=24716, syscalls=356100, kmapent=16
fault counts:
noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
ok relocks(total)=6547(6547), anget(retries)=46892(0), amapcopy=54893
neighbor anon/obj pg=2236/43905, gets(lock/unlock)=21193/6547
cases: anon=36583, anoncow=10309, obj=19426, prcopy=1767, przero=81027
daemon and swap counts:
woke=0, revs=0, scans=0, obscans=0, anscans=0
busy=0, freed=0, reactivate=0, deactivate=0
pageouts=0, pending=0, nswget=0
nswapdev=0, nanon=0, nanonneeded=0 nfreeanon=0
swpages=0, swpginuse=0, swpgonly=0 paging=0
kernel pointers:
objs(kern)=0xd0c30c84
ddb> show panic
unmount: dangling vnode `
`
ddb> boot reboot
rebooting...
PC Engines ALIX.2 v0.99m
640 KB Base Memory
261120 KB Extended Memory
01F0 Master 848A SanDisk SDCFHSNJC-004G
Phys C/H/S 7751/16/63 Log C/H/S 968/128/63
BIOS setup:
(9) 9600 baud (2) 19200 baud 3 38400 baud (5) 57600 baud (1) 115200 baud
(C) CHS mode L LBA mode (W) HDD wait (V) HDD slave U UDMA enable
(E) PXE boot enable
M Memory test
(P) late PCI init
R Serial console enable
(X) Xmodem upload
(Q) Quit
`