Hi HPS,
Note: Does not happen on FreeBSD 10.1-Stable!
Complete back trace:
panic: Lock (sx) module subsystem sx lock not locked @
/usr/src/sys/kern/kern_module.c:219.
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe02376ae530
vpanic() at vpanic+0x182/frame 0xdbfffffe02376ae5b0
kassert_panic at kasset_panic+0x126/frame 0xfffffe02376ae620
witness_assert() at wintness_assert+0x346/frame 0xfffffe02376ae680
module_lookupbyname() atm odule_lookupbyname+0x2a/frame 0xfffffe02376ae6b0
soundcard_attach() at soundcard_attach+0x12/frame 0xfffffe023766d0
module_rgister_init() at module_rgister_init+0xb0/frame 0xfffffe02376ae700
linker_load_module() at linker_load_module+0xc8e/frame 0xfffffe02376aea30
kern_kldload() at sys_kldload+0xa7/frame 0xfffffe02376aea70
sys_kldload() at sys_kldload+0x5b/frame 0xfffffe02376aeaa0
amd64_syscall() at amd64_syscall+02db/frame 0xfffffe02376aebb0
xfast_syscall() at xfast_syscall+0fb/frame 0xfffffe02376aebb0
--- syscall (304, FreeBSD ELF64, sys_kldload, rip = 0x80086b6aa, rsp =
0x7fffffffe718, rbp = 0x7fffffffec30 ---
KDB: enter: panic
[ thread pid 1025 tid 100233 ]
Stopped at kdb_enter+0x3b: movq $0,kdb_why
/boot/modules
# cd /boot/modules
# ls -ltr
total 15008
-r-xr-xr-x 1 root wheel 80280 Nov 6 15:01 fuse.ko
-r-xr-xr-x 1 root wheel 1633464 Nov 6 15:02 radeonkms_port.ko
-r-xr-xr-x 1 root wheel 700232 Nov 6 15:02 i915kms_port.ko
-r-xr-xr-x 1 root wheel 421696 Nov 6 15:02 drm2_port.ko
-r-xr-xr-x 1 root wheel 26848 Dec 15 21:39 vboxnetflt.ko
-r-xr-xr-x 1 root wheel 9752 Dec 15 21:39 vboxnetadp.ko
-r-xr-xr-x 1 root wheel 356152 Dec 15 21:39 vboxdrv.ko
-r-xr-xr-x 1 root wheel 38632 Dec 16 07:05 cuse4bsd.ko
-r-xr-xr-x 1 root wheel 11926368 Dec 20 07:40 nvidia.ko
-rw-r--r-- 1 root wheel 1008 Dec 20 07:40 linker.hints
Thanks GQ
From: Hans Petter Selasky <[email protected]>
To: Greg Quinlan <[email protected]>; "[email protected]"
<[email protected]>
Sent: Wednesday, 10 February 2016, 21:07
Subject: Re: Open Sound System - OSS "soundon" command causes KERNEL PANIC
FreeBSD-11
On 02/10/16 10:51, Greg Quinlan wrote:
>
> Hi,
>
> I haven't seen a Kernel Panic like this for a long time... i.e. repeatable
> and due to a single command.
>
> I have compiled the port /usr/ports/audio/oss and installed it on FreeBSD11.
>
> A ran /usr/local/sbin/ossdetect which created the file
> /usr/local/lib/oss/etc/installed_drivers.
>
> Contents:
> Code:oss_hdaudio #Intel High Definition Audio (CPT)
>
> When i run /usr/local/sbin/soundon
>
> The system panics..
>
> Code:osscore.ac97_amplifier="0"
> panic: Lock (sx) module subsystem lock sx lock not locked 0
> /usr/src/sys/kern/kern_module.c:219
> cpu_id = 1
> :
>
Hi,
Do you have the complete backtrace for this panic?
Do you have any modules under /boot/modules, which are not up to date?
Does the same happen with audio/oss under 10.x ?
--HPS
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"