CONFIG_SOUND_OSS_CORE_PRECLAIM kernel option prevents osspd from working

Bug #1366794 reported by Nikolay Pliashechnikov
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Committed
Medium
Unassigned
Utopic
Fix Committed
Medium
Unassigned
Vivid
Fix Committed
Medium
Unassigned
osspd (Ubuntu)
Confirmed
Undecided
Unassigned
Utopic
New
Undecided
Unassigned
Vivid
Confirmed
Undecided
Unassigned

Bug Description

After starting the osspd service, it crashes with no output.

I tried to start osspd manually:
user@server-lx:/dev#sudo osspd -f
osspd: OSS Proxy v1.3.2 (C) 2008-2010 by Tejun Heo <email address hidden>
osspd: Creating dsp (14:3), adsp (14:12), mixer (14:0)

It doesn't create any devices and exits.

I have created devices manually and set 666 mode to it. Now osspd exits with this error:
user@server-lx:/dev#sudo osspd -f
osspd: OSS Proxy v1.3.2 (C) 2008-2010 by Tejun Heo <email address hidden>
osspd: Creating dsp (14:3), adsp (14:12), mixer (14:0)
fuse: fuse_remove_signal_handlers: unknown session

different logging levels don't get any other information.
cuse module is loaded.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in osspd (Ubuntu):
status: New → Confirmed
Revision history for this message
Mathieu Comandon (strycore) wrote :

I'm noticing this exact same bug on Utopic, it worked properly on Trusty

Revision history for this message
Mathieu Comandon (strycore) wrote :

After some reading, this bug seems to be present because the kernel is compiled with CONFIG_SOUND_OSS_CORE_PRECLAIM

$ grep CONFIG_SOUND_OSS_CORE_PRECLAIM /boot/config-$(uname -r)
CONFIG_SOUND_OSS_CORE_PRECLAIM=y

Source:
http://sourceforge.net/p/osspd<email address hidden>/
https://bugs.archlinux.org/task/20359
http://superuser.com/questions/491822/how-to-run-oss-dependent-application-dev-dsp

Revision history for this message
Mathieu Comandon (strycore) wrote :

Confirming that recompiling the kernel with CONFIG_SOUND_OSS_CORE_PRECLAIM disabled fixes this bug.

summary: - osspd doesn't work in Trusty amd64
+ CONFIG_SOUND_OSS_CORE_PRECLAIM kernel option prevents osspd from working
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1366794

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Mathieu Comandon (strycore) wrote : apport information

ApportVersion: 2.14.7-0ubuntu6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: strider 6141 F.... pulseaudio
 /dev/snd/controlC0: strider 6141 F.... pulseaudio
CurrentDesktop: Unity
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
DistroRelease: Ubuntu 14.10
InstallationDate: Installed on 2014-02-13 (243 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: Gigabyte Technology Co., Ltd. EP45-UD3R
NonfreeKernelModules: nvidia
Package: osspd 1.3.2-6
PackageArchitecture: amd64
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-22-generic root=UUID=7b1e0236-a11a-41b1-a6ed-03209c9c697a ro quiet splash nomodeset noresume iommu=noaperture clocksource=hpet
ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
RfKill:

Tags: utopic utopic
Uname: Linux 3.16.0-22-generic x86_64
UpgradeStatus: Upgraded to utopic on 2014-09-28 (16 days ago)
UserGroups: libvirtd sudo
WifiSyslog:

_MarkForUpload: True
dmi.bios.date: 01/25/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F12
dmi.board.name: EP45-UD3R
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF12:bd01/25/2010:svnGigabyteTechnologyCo.,Ltd.:pnEP45-UD3R:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnEP45-UD3R:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: EP45-UD3R
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

tags: added: apport-collected utopic
Revision history for this message
Mathieu Comandon (strycore) wrote : AlsaInfo.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : CRDA.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : Dependencies.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : HookError_source_linux.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : IwConfig.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : Lspci.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : Lsusb.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : ProcEnviron.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : ProcModules.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : PulseList.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : UdevDb.txt

apport information

Revision history for this message
Mathieu Comandon (strycore) wrote : UdevLog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Rob Fargher (fargher-gmail) wrote :

In /var/log/syslog,

Oct 24 15:05:07 hyla osspd: OSS Proxy v1.3.2 (C) 2008-2010 by Tejun Heo <email address hidden>
Oct 24 15:05:07 hyla osspd: Creating dsp (14:3), adsp (14:12), mixer (14:0)
Oct 24 15:05:07 hyla kernel: [ 227.591742] CUSE: failed to register chrdev region
Oct 24 15:05:07 hyla kernel: [ 227.591878] CUSE: failed to register chrdev region
Oct 24 15:05:07 hyla kernel: [ 227.591928] CUSE: failed to register chrdev region

This is a regression from Trusty.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a Utopic test kernel with CONFIG_SOUND_OSS_CORE_PRECLAIM disabled.

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1366794/

Can you test this kernel and see if it resolves this bug?

Revision history for this message
Rob Fargher (fargher-gmail) wrote : Re: [Bug 1366794] Re: CONFIG_SOUND_OSS_CORE_PRECLAIM kernel option prevents osspd from working

On 2014-10-29 01:17 PM, Joseph Salisbury wrote:
> I built a Utopic test kernel with CONFIG_SOUND_OSS_CORE_PRECLAIM
> disabled.
>
> The test kernel can be downloaded from:
> http://kernel.ubuntu.com/~jsalisbury/lp1366794/
>
> Can you test this kernel and see if it resolves this bug?

   Thank you for this. Yes, it does: osspd runs now and provides /dev/dsp.

--
Cheers,
Rob Fargher

Revision history for this message
Mathieu Comandon (strycore) wrote :

I also confirm that this kernel fixes this bug, sound ok in OSS applications

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for testing the test kernel. This issue was fixed in bug 1385510 . I'll mark this bug as a duplicate.

Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Changed in linux (Ubuntu Utopic):
status: New → Fix Committed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.