This is my first post on this forum - so here goes:
I am currently using FreeBSD as a desktop system. My sound card is an ASUS Xonar D2X, which is only supported by audio/oss. I made a fresh install of FreeBSD 13.1-RELEASE and I compiled a custom kernel without any sound support before installing the oss package. I put
in /etc/rc.conf and rebooted. This setup did provide me with sound, but one annoying issue popped up: whenever I tried to shut down the computer, it would reboot instead after a kernel panic. I have attached the info file and dmesg output from that boot.
After some digging I found that the cause of the kernel panic is that the Oss Sound system shuts down before the mixer(8) utility does. I came up with the following fix: adding
near the other requirements and keywords for rcorder(8) in /etc/rc.d/mixer. With this addition, mixer shuts down before oss and the kernel panics are no more.
Although this fix worked - I did not find any other post about this issue, which makes me doubt if I did something else wrong - is there some setting I'm overlooking?
I am currently using FreeBSD as a desktop system. My sound card is an ASUS Xonar D2X, which is only supported by audio/oss. I made a fresh install of FreeBSD 13.1-RELEASE and I compiled a custom kernel without any sound support before installing the oss package. I put
Code:
oss_enable="YES"
After some digging I found that the cause of the kernel panic is that the Oss Sound system shuts down before the mixer(8) utility does. I came up with the following fix: adding
Code:
# REQUIRE: oss
Although this fix worked - I did not find any other post about this issue, which makes me doubt if I did something else wrong - is there some setting I'm overlooking?