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

From: Greg Quinlan <gwq_uk_at_yahoo.com>
Date: Fri, 12 Feb 2016 00:04:52 +0000 (UTC)
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


_______________________________________________
freebsd-current_at_freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

   

  
Received on Thu Feb 11 2016 - 23:07:09 UTC

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