Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60709 - /etc/init.d/alsasound script fails with Linux-2.6.8
Summary: /etc/init.d/alsasound script fails with Linux-2.6.8
Status: RESOLVED DUPLICATE of bug 60687
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 13:10 UTC by Richard A Downing
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Richard A Downing 2004-08-17 13:10:34 UTC
alsasound greps /proc/asound/cards - this never returns.  If this is removed the same script fails with an awk command later.

Reproducible: Always
Steps to Reproduce:
1. Build Linux-2.6.8-gentoo from gentoo-dev-sources.  Configured with sound-card, but not alsa.
2. Boot this kernel and emerge alsa-driver-1.0.5a.  rc-update add alsasound boot.
3. Try /etc/init.d/alsasound start.  This never terminates.

Actual Results:  
The process is running grep on /proc/asound/cards.  This will never terminate. 
cat /proc/asound/cards also never terminates, it just repeats infinitely
outputting the same string over and over.

Expected Results:  
If Linux-2.6.8 is right (i.e. the change is deliberate) the the alsasound script
needs to access /proc/asound.cards in a different way.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-17 13:30:31 UTC

*** This bug has been marked as a duplicate of 60687 ***