Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Apr 2023 20:21:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270709] audio/oss Kernel panic at every shutdown after installing OSS
Message-ID:  <bug-270709-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270709

            Bug ID: 270709
           Summary: audio/oss Kernel panic at every shutdown after
                    installing OSS
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: crees@FreeBSD.org
          Reporter: martenvdberg@hotmail.com
          Assignee: crees@FreeBSD.org
             Flags: maintainer-feedback?(crees@FreeBSD.org)

Created attachment 241357
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241357&action=
=3Dedit
coredump

After installing the oss package, a kernel panic occurs every time the comp=
uter
is shut down.=20

Steps to reproduce:
- Fresh install of FreeBSD 13.1-RELEASE. Tested this with bot UFS and ZFS
filesystems which does not make a difference.
- Build and install a custom Kernel with all sound support removed as
instructed by the audio/oss port.
- Install the oss package
- set oss_enable=3D"YES" in /etc/rc.conf
- Reboot
- Then the kernel panic occurs after the shutdown command is give (core dump
attached)
- The kernel panic can also be provoked by first shutting down oss (# servi=
ce
oss stop) and then shutting down mixer(8) (#service mixer stop)

The sound card (ASUS Xonar D2X) does work with the oss drivers. dmesg() not=
es
that the Open Sound System is started. Only other message related with this
issue is "pci0:6:4:0: Device leaked IRQ resources".

Hardware in my setup:
Motherboard: Asus Z9PA-D8 motherboard
CPU:2x Intel Xeon E5-2697 v2 @ 2.70GHz
GPU: NVIDIA GeForce GTX 1080
ASUS Xonar D2X

Workaround:
Because the panic occurs whenever mixer(8) is shut down after oss is shut d=
own,
the following workaround will prevent the panic from occurring: add "# REQU=
IRE:
oss" to /etc/rc.d/mixer, which ensures mixer(8) shuts down before oss.

See also the forum thread discussing this
https://forums.freebsd.org/threads/kernel-panic-at-shutdown-after-installin=
g-oss-with-proposed-fix.88655/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270709-7788>