Bug 44660 - sound problems in startup (really all platforms)
sound problems in startup (really all platforms)
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-06-14 22:09 EDT by Michal Jaegermann
Modified: 2014-03-16 22:21 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-05 15:49:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2001-06-14 22:09:25 EDT
rc.sysconfig make loading sound modules conditional with the following

# Load sound modules iff they need persistent DMA buffers
if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then

This is too rough.  This action will happen even if that line will be
commented out but changes in a white space, without affecting a modprobe
semantics, will kill that.  This should be

if modprobe -c | grep -q "options sound dmabuf=1" ; then

to resolve all these issues at once.

OTOH, because sound modules not always will be loaded in startup files,
then something like that seems to be needed in /etc/modules.conf or mixer
settings with autoloaded modules will be not kept.

if -f /etc/.aumixrc
	if -f /bin/aumix-minimal
		post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
if -f /bin/aumix-minimal
         pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S

On the top of it /etc/.aumixrc is a poor choice.  '/' can be mounted
read-only so this should be somewhere in /var/.

Comment 1 Bill Nottingham 2001-06-17 22:08:53 EDT
The post-install, etc. commands are already added any time sound is configured.
Comment 2 Glen Foster 2001-07-13 18:15:47 EDT
This defect considered SHOULD-FIX for Fairfax gold-release.
Comment 3 Bill Nottingham 2005-04-05 15:49:16 EDT
Closing bugs on older, no longer supported, releases. Apologies for any lack of

OSS is dead, so this code isn't included any more.

Note You need to log in before you can comment on or make changes to this bug.