Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 323771

Summary: no sound when playing media with realplayer
Product: Red Hat Enterprise Linux 5 Reporter: Cameron Meadors <cmeadors>
Component: kernelAssignee: Brian Maly <bmaly>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: low    
Version: 5.1CC: jfeeney, peterm, zaitcev
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0959 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 20:05:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cameron Meadors 2007-10-08 20:38:27 UTC
Description of problem:

When I play a stream or file with Realplayer I do not get any sound.

Version-Release number of selected component (if applicable):

RealPlayer-10.0.9-3.el5
alsa-lib-1.0.14-1.rc4.el5
kernel-2.6.18-51.el5

How reproducible:

Always

Steps to Reproduce:
1. Go to a website that has Real content
2. Play the content
3.
  
Actual results:

Video plays with not sound.  There are no errors.

Expected results:

Video with sound

Additional info:

It looks like /dev/dsp does not exist.  lsof shows that realplayer never opens a
sound device.

Comment 1 Jonathan Blandford 2007-10-09 14:18:53 UTC
If /dev/dsp doesn't exist, this is more likely to be a udev or kernel bug. 
Certainly not a RealPlayer bug, anyway

Comment 2 Tim Burke 2007-10-09 14:29:54 UTC
followup info requested:
- did this work in RHEL5GA (ie, is it a regression)
- what hardware does this work on and what does it fail on
- does sound work on those boxes for other apps?


Comment 3 Tim Burke 2007-10-09 14:32:43 UTC
RHEL5 daily release readiness discussion:
Unsure if this is really a blocker.  Can't tell yet due to needed info.  Ongoing
investigation needed. Followup promised by QE, jrb, pgraner.


Comment 4 Pete Graner 2007-10-09 15:37:14 UTC
Had a conf call with the Desktop (alsa) team, udev maintainer, current thoughts
are that udev is not at fault and the issue lies in asla/kernel.

RHEL5 GA has /dev/dsp as confirmed by kreilly

Comment 5 Pete Graner 2007-10-09 15:39:01 UTC
jrb is following up with alsa maintainer

Comment 6 Martin Stransky 2007-10-09 16:11:54 UTC
/dev/dsp and /dev/adsp are created by snd_pcm_oss module, you can load/unload it
and see if there the devices are present. 

That issue is not related to ALSA user-space packages, /dev/ entries are created
w/o them and the udev rules there are used only for restoring a volume.

Comment 7 Cameron Meadors 2007-10-09 16:56:12 UTC
Unloading and reloading snd_pcm_oss produces this error four times:

  device_create does not work yet for NULL parents

Of course, still no devices. Creating the devices by hand does not work.  Not
that I expected it to.

Comment 8 Jonathan Blandford 2007-10-09 17:34:59 UTC
Reassigning.

Comment 9 John Feeney 2007-10-09 19:31:37 UTC
I'm following the reported error with device_create(). It looks to me 
as though the large alsa patch switched from class_device_create() to
device_create() while still passing a NULL as the value to the parent
argument. Well, that works with class_device_create() but not with
device_create(). Upstream I see where device_create() no longer checks
for a NULL parent so the patch may work if RHEL5.1 had the same code.
I'm checking this now. 
See 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=64bb5d2c116478dba7501d2acf078ed74ba30c1f

Comment 10 John Feeney 2007-10-09 19:43:32 UTC
After applying the upstream patch, building, and rebooting, I have a /dev/dsp
and there is no "device_create does not work yet for NULL parents" message.


Comment 11 John Feeney 2007-10-09 20:36:20 UTC
Brian tested the patch with RealPlayer and it worked.

Comment 15 Don Zickus 2007-10-11 15:14:34 UTC
in 2.6.18-53.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 18 errata-xmlrpc 2007-11-07 20:05:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0959.html