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

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Sat, 13 Feb 2016 08:55:51 +0100
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
Received on Sat Feb 13 2016 - 06:53:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC