Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76132 - gentoo-dev-sources-2.6.10-r1 : udev 0.45 fails to create /dev/sound/*
Summary: gentoo-dev-sources-2.6.10-r1 : udev 0.45 fails to create /dev/sound/*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-30 05:22 UTC by Rodolphe Rocca
Modified: 2005-02-08 13:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodolphe Rocca 2004-12-30 05:22:59 UTC
I'm testing gentoo-dev-sources-2.6.10-r1 with the stable udev 0.45. Everything works except that /dev/sound/* are not created (it was with 2.6.9-r*)
I updated to udev 0.50 and it fixed the issue. I was not able to find any udev changelog to see if 2.6.10 support comes with a defined udev version. I have no issue with udev 0.50 (using gcc 3.4.3) at the moment.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-01-01 11:16:17 UTC
Greg, please mark 050 as stable when you feel it is ready, and close this bug. Thanks :)
Comment 2 Rodolphe Rocca 2005-01-06 07:18:47 UTC
Same issue, same solution on x86 (gentoo-dev-sources-2.6.10-r2) so I change the Hardware box to 'All'.
Comment 3 Duke 2005-01-11 08:59:06 UTC
I'm using kernel 2.6.10-gentoo-r4, and /dev/sound and /dev/snd/* get created, but the symlink for /dev/mixer does not.  I can reboot using kernel 2.6.9-gentoo-r9 and /dev/mixer will appear.

Any word on udev 0.50 going stable?
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-01-11 09:33:35 UTC
050 can't go stable as there is still some interactions with baselayout that
do not work well (but odds are that baselayout version is still not marked
stable.)

Hm, anyone care to just look into the rule file change that is needed to properly
fix this for 045 so I could just fix that for now?
Comment 5 Duke 2005-02-02 12:25:13 UTC
A couple interesting things.. first, with gentoo-dev-sources-2.6.10-r5, things were working again.  Now I've installed r6 of the same sources, and had the same problem as with r4.

So, I looked at the udev rules and noticed they all had the rule NAME="sound/%k" and I also noticed that /dev/sound was a device, not a directory.  So I changed all of the NAME="sound/%k" elements to NAME="snd/%k" and now I've got my mixer device back. :)

With my old udev config (using sound rather than snd) some of my devices were being created in /dev/snd/ despite having no udev rules to do that.  But with my updated rules everything (including the mixer) seems to be there.

I don't know why I've got a /dev/sound device.  There's no rule for it in my udev configs.  Maybe something lying around from devfsd?  I'm not using the device tarball at bootup, so I'm guessing my devices are recreated during each boot.

Anywho, that's what I did and I've got my sound back.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-02-02 14:36:13 UTC
Which major/minor number is assigned to /dev/sound?

ls -l /dev/sound
Comment 7 Duke 2005-02-02 14:39:44 UTC
crw-rw----  1 root root 116, 33 Feb  2 15:03 /dev/sound
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-02-08 13:39:13 UTC
Can you test 052?  This should be fixed there (will be released in a few hours...)