Open Sound System - OSS "soundon" command causes KERNEL PANIC FreeBSD-11

Hans Petter Selasky hps at selasky.org
Sat Feb 13 07:53:31 UTC 2016


On 02/12/16 01:04, Greg Quinlan wrote:
> Spoke too soon...
>
> I applied the patch (kern_module.diff - which was successful)
>
> # cd /usr/src# patch <kern_module.diffHmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |Index: sys/kern/kern_module.c
> |===================================================================
> |--- sys/kern/kern_module.c     (revision 295464)
> |+++ sys/kern/kern_module.c     (working copy)
> --------------------------
> Patching file sys/kern/kern_module.c using Plan A...
> Hunk #1 succeeded at 214.
> done
> # make buildkernel:
> # make installkernel:
> # shutdown -r now
> Logged in and ran# soundon
> No panic!!
>
> Thought the problem was fixed ... unfortunately, I assumed that the contents of /usr/local/lib/oss/etc/installed_drivers still contained
>          oss_hdaudio #Intel High Definition Audio (CPT)
> but somehow the file was empty
> I ran
>      # ossdetect    # soundon
>
> Another KERNEL PANIC...  this time it scrolled off the screen. I tried setting this (below) in /etc/rc.conf but there is nothing in /var/crash
>
> [entries in /etc/rc.conf]
>      dumpdev="AUTO"
>      dumpdir="/var/crash"
> I need help to recover the backtrace, please?
>
> Thanks
>
>        From: Greg Quinlan <gwq_uk at yahoo.com>
> To: Hans Petter Selasky <hps at selasky.org>; "freebsd-current at freebsd.org" <freebsd-current at freebsd.org>
>   Sent: Thursday, 11 February 2016, 22:19
>   Subject: Re: Open Sound System - OSS "soundon" command causes KERNEL PANIC FreeBSD-11
>
> Well done!!
> Fixed. Thanks!
>
>
>
>        From: Hans Petter Selasky <hps at selasky.org>
>   To: Greg Quinlan <gwq_uk at yahoo.com>; "freebsd-current at freebsd.org" <freebsd-current at freebsd.org>
>   Sent: Thursday, 11 February 2016, 17:54
>   Subject: Re: Open Sound System - OSS "soundon" command causes KERNEL PANIC FreeBSD-11
>
> On 02/11/16 03:02, Greg Quinlan wrote:
>> Hi HPS,
>> Note: Does not happen on FreeBSD 10.1-Stable!
>>
>
> Yes, that's because WITNESS is off in 10.x by default.
>
> Does the attached patch solve your problem?
>
> --HPS

Hi,

It might be that audio/oss is not compatible with 11-current if it 
crashes like that.

--HPS



More information about the freebsd-current mailing list