Bug 203352 - KDB: stack backtrace: /usr/src/sys/kern/vfs_mount.c:1224
Summary: KDB: stack backtrace: /usr/src/sys/kern/vfs_mount.c:1224
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-25 20:04 UTC by Andreas Beck
Modified: 2015-12-30 17:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Beck 2015-09-25 20:04:30 UTC
Hardware:
AMD AM1 Athlon 5350 (Kabini)
Mainboard MSI AM1M
8GB DDR3 RAM

Hi,

it was be necessary, to change from 10.2 to 11-CURRENT, Xorg wasnt working with vesa driver. In 11-Current now it works with vesa. The radeonkms module isnt ready for my APU with radeon 8400hd, so vesa.
11-Current is working without systemcrashes, but i get hints in dmesg and reboot like this:
lock order reversal:
 1st 0xfffff800317f85f0 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1224
 2nd 0xfffff800317bc068 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2367
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe021442c520
witness_checkorder() at witness_checkorder+0xe7a/frame 0xfffffe021442c5a0
__lockmgr_args() at __lockmgr_args+0xa5c/frame 0xfffffe021442c6d0
vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe021442c6f0
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xfc/frame 0xfffffe021442c720
_vn_lock() at _vn_lock+0x9a/frame 0xfffffe021442c790
vputx() at vputx+0x26d/frame 0xfffffe021442c7f0
dounmount() at dounmount+0x40b/frame 0xfffffe021442c870
sys_unmount() at sys_unmount+0x3c0/frame 0xfffffe021442c9a0
amd64_syscall() at amd64_syscall+0x2e1/frame 0xfffffe021442cab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe021442cab0
--- syscall (22, FreeBSD ELF64, sys_unmount), rip = 0x80086c97a, rsp = 0x7fffffffe258, rbp = 0x7fffffffe370 ---
lock order reversal:
 1st 0xfffff800317f85f0 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1224
 2nd 0xfffff800317e39a0 devfs (devfs) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1375
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe021442c4a0
witness_checkorder() at witness_checkorder+0xe7a/frame 0xfffffe021442c520
__lockmgr_args() at __lockmgr_args+0xa5c/frame 0xfffffe021442c650
vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe021442c670
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xfc/frame 0xfffffe021442c6a0
_vn_lock() at _vn_lock+0x9a/frame 0xfffffe021442c710
ffs_flushfiles() at ffs_flushfiles+0x140/frame 0xfffffe021442c780
ffs_unmount() at ffs_unmount+0x97/frame 0xfffffe021442c7f0
dounmount() at dounmount+0x529/frame 0xfffffe021442c870
sys_unmount() at sys_unmount+0x3c0/frame 0xfffffe021442c9a0
amd64_syscall() at amd64_syscall+0x2e1/frame 0xfffffe021442cab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe021442cab0
--- syscall (22, FreeBSD ELF64, sys_unmount), rip = 0x80086c97a, rsp = 0x7fffffffe258, rbp = 0x7fffffffe370 ---

Good day,
Andreas Beck
Comment 1 Oliver Pinter freebsd_committer freebsd_triage 2015-12-30 17:41:54 UTC
And the same LOR at shutdown time on 11-CURRENT:

Dec 30 18:38:32 11-stable syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 done
All buffers synced.
lock order reversal:
 1st 0xfffff80003cc1418 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1224
 2nd 0xfffff80003d9a240 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2473
stack backtrace:
#0 0xffffffff80a7f6c0 at witness_debugger+0x70
#1 0xffffffff80a7f5c1 at witness_checkorder+0xe71
#2 0xffffffff80a02b6b at __lockmgr_args+0xd3b
#3 0xffffffff80ac582c at vop_stdlock+0x3c
#4 0xffffffff80fc2ef0 at VOP_LOCK1_APV+0x100
#5 0xffffffff80ae61ca at _vn_lock+0x9a
#6 0xffffffff80ad6bf3 at vget+0x63
#7 0xffffffff808f666d at devfs_allocv+0xcd
#8 0xffffffff808f6133 at devfs_root+0x43
#9 0xffffffff80acf20f at dounmount+0x44f
#10 0xffffffff80ad89e4 at vfs_unmountall+0xc4
#11 0xffffffff80ab9e99 at bufshutdown+0x3b9
#12 0xffffffff80a25689 at kern_reboot+0x189
#13 0xffffffff80a254a3 at sys_reboot+0x3e3
#14 0xffffffff80e70fdb at amd64_syscall+0x2db
#15 0xffffffff80e50feb at Xfast_syscall+0xfb
Uptime: 25m55s
acpi0: Powering system off