Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72849 - alsasound init-script of media-sound/alsa-utils-1.0.7 depends on modules support in kernel - should not be
Summary: alsasound init-script of media-sound/alsa-utils-1.0.7 depends on modules supp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-29 12:49 UTC by Martin Wegner
Modified: 2004-11-29 13:32 UTC (History)
1 user (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 Martin Wegner 2004-11-29 12:49:24 UTC
The /etc/init.d/alsasound script depends on module support to be activated in the kernel but alsa works perfectly without it, too.

I get the following messages:

# /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Unloading ALSA ...                                                     [ ok ]
 * Storing ALSA Mixer Levels                                              [ ok ]
 * Unloading modules
Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory                          [ ok ]
 * Loading ALSA drivers ...
FATAL: Could not load /lib/modules/2.6.9-ck3/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.9-ck3/modules.dep: No such file or directory                                                                       [ ok ]
 * Restoring Mixer Levels                                                 [ ok ]

The script is calling commands that only seem to work with module support enabled but those commands aren't needed since ALSA works even when they fail like above.

Reproducible: Always
Steps to Reproduce:
1. emerge =media-sound/alsa-utils-1.0.7
2. [kernel w/o module support]
3. /etc/init.d/alsasound restart

Actual Results:  
Getting error messages like above.

Expected Results:  
No error messages.

# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-ck3 i686)
=================================================================
System uname: 2.6.9-ck3 i686 AMD Duron(tm)
Gentoo Base System version 1.6.6
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.19,sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acl acpi acpi4linux alsa apache2 apm ared avi berkdb
bitmap-fonts blender-game bonobo bootspla bzlib cdparanoia cdr clanVoice crypt
cups dba dedicated dga divx4linux doc dvd encode escreen fam fbcon flac
foomaticdb fortran freetype gd gdbm gif gnome gpm gtk gtk2 imagemagick imlib
java jpeg libg++ libwww mad mailwrapper mbox mikmod mmx mmx2 motif mpeg mysql
ncurses net nls oggvorbis opengl oss pam pdflib perl png python quicktime radeon
readline rtc ruby samba sdl session silverxp slang sockets spell spl sse ssl
stencil-buffer svga tcltk tcpd tetex tiff tokenizer truetype usb userlocales
videos wxwindows x86 xchattext xfs xml xml2 xmms xpm xprint xsl xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-29 13:32:47 UTC
fixed in cvs, thanks.