I've just encountered this panic on an armv7 sabre lite board while
playing around with a CURRENT snapshot from Aug, 17th. The panic
occurred for a single time at system shutdown via ``halt''. I couldn't
reproduce it yet.
login: boot: howto=00000008 curproc=0xca2c99c8
syncing disks... panic: unmount: dangling vnode
Stopped at $d: ldrb r15, [r15, r15, ror r15]!
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*42015 42015 0 0x3 0 0 halt
panic+0x18
scp=0xc03c6890 rlv=0xc03f48c8 ($d)
rsp=0xcc468e94 rfp=0xcc468eb8
dounmount+0xc
scp=0xc03f475c rlv=0xc03f0028 (vfs_unmountall+0x74)
rsp=0xcc468ebc rfp=0xcc468ee0
r8=0xc0705abc r7=0x00000001 r6=0x00000000 r5=0xc5504c00
r4=0xc5504800
vfs_unmountall+0xc
scp=0xc03effc0 rlv=0xc03f0110 (vfs_shutdown+0x78)
rsp=0xcc468ee4 rfp=0xcc468ef4
r8=0x00000037 r7=0xca2c99c8 r6=0xcc468fb0 r5=0xc06a0660
r4=0x00000008
vfs_shutdown+0xc
scp=0xc03f00a4 rlv=0xc0531940 (bootsync+0x3c)
rsp=0xcc468ef8 rfp=0xcc468f0c
bootsync+0x10
scp=0xc0531914 rlv=0xc053cebc (boot+0xf0)
rsp=0xcc468f10 rfp=0xcc468f20
r4=0x00000008
boot+0x10
scp=0xc053cddc rlv=0xc03b9c08 (reboot+0x2c)
rsp=0xcc468f24 rfp=0xcc468f34
reboot+0x10
scp=0xc03b9bec rlv=0xc03b9c54 (sysctl_hwperfpolicy)
rsp=0xcc468f38 rfp=0xcc468f4c
sys_reboot+0xc
scp=0xc03b9c34 rlv=0xc05311e8 (swi_handler+0x174)
rsp=0xcc468f50 rfp=0xcc468fac
r4=0xcc468fb4
swi_handler+0xc
scp=0xc0531080 rlv=0xc0533754 (swi_entry+0x28)
rsp=0xcc468fb0 rfp=0xbfff271c
r10=0x00000000 r9=0x00000000 r8=0x0004da28 r7=0x00000000
r6=0x00000008 r5=0x00000001 r4=0x00000000
ddb> show uvm
Current UVM status:
pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
255078 VM pages: 127 active, 2376 inactive, 0 wired, 244200 free
(30522 zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
pages 0 anon, 0 vnode, 0 vtext
freemin=8502, free-target=11336, inactive-target=0, wired-max=85026
faults=71510, traps=128865, intrs=0, ctxswitch=16229 fpuswitch=0
softint=10733, syscalls=122247, kmapent=22
fault counts:
noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
ok relocks(total)=3301(3301), anget(retries)=35576(0), amapcopy=35597
neighbor anon/obj pg=1898/30651, gets(lock/unlock)=13718/3301
cases: anon=28870, anoncow=6706, obj=12544, prcopy=1174, przero=22216
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=1, nanon=0, nanonneeded=0 nfreeanon=0
swpages=327679, swpginuse=0, swpgonly=0 paging=0
kernel pointers:
objs(kern)=0xc06dda34
ddb> show bcstats
Current Buffer Cache status:
numbufs 1692 busymapped 0, delwri 5
kvaslots 409 avail kva slots 409
bufpages 6720, dirtypages 20
pendingreads 0, pendingwrites 0
ddb> ps
TID PPID PGRP UID S FLAGS WAIT COMMAND
*42015 1 42015 0 7 0x3 halt
4697 0 0 0 2 0x14200 zerothread
51247 0 0 0 3 0x14200 aiodoned aiodoned
71675 0 0 0 3 0x14200 syncer update
6617 0 0 0 3 0x14200 cleaner cleaner
5960 0 0 0 3 0x14200 reaper reaper
23257 0 0 0 3 0x14200 pgdaemon pagedaemon
99170 0 0 0 3 0x14200 bored crynlk
67974 0 0 0 3 0x14200 bored crypto
6664 0 0 0 3 0x14200 pftm pfpurge
37024 0 0 0 3 0x14200 mmctsk sdmmc1
11066 0 0 0 3 0x14200 mmctsk sdmmc0
22963 0 0 0 3 0x14200 usbtsk usbtask
61880 0 0 0 3 0x14200 usbatsk usbatsk
4551 0 0 0 3 0x14200 bored sensors
44508 0 0 0 3 0x14200 bored softnet
89762 0 0 0 3 0x14200 bored systqmp
51826 0 0 0 3 0x14200 bored systq
88293 0 0 0 3 0x40014200 idle0
58927 0 0 0 3 0x14200 kmalloc kmthread
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
From the live system:
# mount
/dev/sd0a on / type ffs (local, noatime, softdep)
/dev/sd0l on /home type ffs (local, noatime, nodev, nosuid, softdep)
/dev/sd0d on /tmp type ffs (local, noatime, nodev, nosuid, softdep)
/dev/sd0f on /usr type ffs (local, noatime, nodev, softdep)
/dev/sd0g on /usr/X11R6 type ffs (local, noatime, nodev, softdep)
/dev/sd0h on /usr/local type ffs (local, noatime, nodev, wxallowed, softdep)
/dev/sd0k on /usr/obj type ffs (local, noatime, nodev, nosuid, softdep)
/dev/sd0j on /usr/src type ffs (local, noatime, nodev, nosuid, softdep)
/dev/sd0e on /var type ffs (local, noatime, nodev, nosuid, softdep)
OpenBSD 6.0-current (GENERIC) #22: Wed Aug 17 07:47:03 MDT 2016
dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1044475904 (996MB)
mainbus0 at root: Freescale i.MX6 Quad SABRE Lite Board
cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cachx0 at
mainbus0
amptimer0 at cortex0: tick rate 396000 KHz
armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
imx0 at mainbus0
imxccm0 at imx0: imx6 rev 1.2 CPU freq: 792 MHz
imxiomuxc0 at imx0
imxocotp0 at imx0
simplebus0 at mainbus0: "soc"
ampintc0 at simplebus0 nirq 160
simplebus1 at simplebus0: "aips-bus"
simplebus2 at simplebus1: "spba-bus"
imxuart0 at simplebus2
imxgpio0 at simplebus1
imxgpio1 at simplebus1
imxgpio2 at simplebus1
imxgpio3 at simplebus1
imxgpio4 at simplebus1
imxgpio5 at simplebus1
imxgpio6 at simplebus1
imxdog0 at simplebus1
imxtemp0 at simplebus1
imxgpc0 at simplebus1
simplebus3 at simplebus0: "aips-bus"
imxehci0 at simplebus3
usb0 at imxehci0: USB revision 2.0
uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
imxehci1 at simplebus3
usb1 at imxehci1: USB revision 2.0
uhub1 at usb1 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
fec0 at simplebus3delayed
fec0: address 00:00:00:00:00:00
ukphy0 at fec0 phy 6: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000885, model 0x0021
imxesdhc0 at simplebus3
imxesdhc0: 198 MHz base clock
sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma
imxesdhc1 at simplebus3
imxesdhc1: 198 MHz base clock
sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma
imxiic0 at simplebus3
iic0 at imxiic0
"fsl,sgtl5000" at iic0 addr 0xa not configured
imxiic1 at simplebus3
iic1 at imxiic1
imxiic2 at simplebus3
iic2 at imxiic2
imxuart1 at simplebus3: console
imxahci0 at simplebus0: AHCI 1.3
scsibus0 at imxahci0: 32 targets
simplebus4 at mainbus0: "regulators"
scsibus1 at sdmmc1: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SD/MMC, SU32G, 0080> SCSI2 0/direct fixed
sd0: 30436MB, 512 bytes/sector, 62333952 sectors
uhub2 at uhub1 port 1 "Standard Microsystems Hub" rev 2.00/b.b3 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
boot device: sd0
root on sd0a (5e09050d4d021ac8.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/sd0a (5e09050d4d021ac8.a): file system is clean; not checking
/dev/sd0l (5e09050d4d021ac8.l): file system is clean; not checking
/dev/sd0d (5e09050d4d021ac8.d): file system is clean; not checking
/dev/sd0f (5e09050d4d021ac8.f): file system is clean; not checking
/dev/sd0g (5e09050d4d021ac8.g): file system is clean; not checking
/dev/sd0h (5e09050d4d021ac8.h): file system is clean; not checking
/dev/sd0k (5e09050d4d021ac8.k): file system is clean; not checking
/dev/sd0j (5e09050d4d021ac8.j): file system is clean; not checking
/dev/sd0e (5e09050d4d021ac8.e): file system is clean; not checking
setting tty flags
pf enabled
starting network
reordering libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: cron.