Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196784 - alsa breakage after upgrading to sys-apps-module-init-tools-3.4
Summary: alsa breakage after upgrading to sys-apps-module-init-tools-3.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 10:43 UTC by Petteri Räty (RETIRED)
Modified: 2008-03-16 08:53 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 Petteri Räty (RETIRED) gentoo-dev 2007-10-23 10:43:23 UTC
pena portage # /etc/init.d/alsasound restart
alsasound     | * Storing ALSA Mixer Levels ...                                                                                                                                                        [ ok ]
alsasound     | * Killing processes using ALSA ...                                                                                                                                                     [ ok ]
alsasound     | * Unloading ALSA modules ...                                                                                                                                                           [ ok ]
alsasound     | * Loading ALSA modules ...
alsasound     | *   Loading: snd-card-0 ...
alsasound     |FATAL: Module snd_card_0 not found.                                                                                                                                                     [ !! ]
alsasound     | *   Loading: snd-seq ...                                                                                                                                                               [ ok ]
alsasound     | *   ERROR: Failed to load necessary drivers                                                                                                                                            [ ok ]
alsasound     | * Restoring Mixer Levels ...
alsasound     |alsactl: unrecognized option `---'
alsasound     |Usage: alsactl <options> command
alsasound     |
alsasound     |Available options:
alsasound     |  -h,--help        this help
alsasound     |  -f,--file #      configuration file (default /etc/asound.state or /etc/asound.names)
alsasound     |  -F,--force       try to restore the matching controls as much as possible
alsasound     |  -d,--debug       debug mode
alsasound     |  -v,--version     print version of this program
alsasound     |
alsasound     |Available commands:
alsasound     |  store   <card #> save current driver setup for one or each soundcards
alsasound     |                   to configuration file
alsasound     |  restore <card #> load current driver setup for one or each soundcards
alsasound     |                   from configuration file
alsasound     |  names   <card #> dump information about all the known present (sub-)devices
alsasound     |                   into configuration file (DEPRECATED)
alsasound     | * Errors while restoring defaults, ignoring                                                                                                                                            [ ok ]

Portage 2.1.3.15 (default-linux/x86/2006.1/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo i686)
=================================================================
System uname: 2.6.23-gentoo i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r2
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.18.1-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks fixpackages parallel-fetch sandbox sfperms sign strict unmerge-orphans userfetch userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="fi"
MAKEOPTS="-j2"
PKGDIR="/home/pkg/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse"
SYNC="rsync://192.168.150.1/portage"
USE="a52 aac acl acpi alsa audiofile bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss fam ffmpeg firefox gif gstreamer hal iconv isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libnotify logitech-mouse mad mikmod mjpeg mmx mp3 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre png ppds pppd qt3 quicktime readline real reflection rtc session spell spl sse sse2 ssl startup-notification subversion svg symlink theora threads truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-syntax vorbis x86 xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-10-24 09:59:23 UTC
I downgraded  back to 1.0.14 and it doesn't help. 

alsasound     | *   Loading: snd-card-0 ...
alsasound     |FATAL: Module snd_card_0 not found.                                                                                                                                                     [ !! ]

Could this be some kind of a udev issue?
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-10-24 10:00:13 UTC
(In reply to comment #1)
> 
> Could this be some kind of a udev issue?
> 

Meaning I upgraded from 115-r1 to 116-r1 on Monday.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-10-24 10:11:46 UTC
Ok. I found the problem.
I had this in /etc/modprobe.d/blacklist for udev
blacklist snd_hda_intel

But now this seems to go to modprobe.conf and there it means:

       blacklist modulename
              Modules can contain their own aliases: usually these are aliases describing the devices they support, such as "pci:123...".  These "internal" aliases can be overridden by
              normal "alias" keywords, but there are cases where two or more modules both support the same devices, or a module invalidly claims to support a device: the blacklist key-
              word indicates that all of that particular module's internal aliases are to be ignored.

So snd-card-0 does not work any more. So maybe this breakage was caused by:

Sat May 19 22:21:52 2007 >>> sys-apps/module-init-tools-3.2.2-r3
Mon Oct 22 21:39:10 2007 >>> sys-apps/module-init-tools-3.4
Comment 4 Markus Daeschler 2007-12-28 09:35:04 UTC
(In reply to comment #3)

> So snd-card-0 does not work any more. So maybe this breakage was caused by:
> 
> Sat May 19 22:21:52 2007 >>> sys-apps/module-init-tools-3.2.2-r3
> Mon Oct 22 21:39:10 2007 >>> sys-apps/module-init-tools-3.4

I had the same problem after that update. But after a downgrade the modprobe.conf was overwritten after some days, too. I got rid of the problem with deleting the blacklist stuff and moving the  /etc/modules.d/alsa file to /etc/modprobe.d/alsa. To get the modules loaded in the right order i additionally put those lines in the file:

install snd-ice1712 /sbin/modprobe snd-emu10k1; /sbin/modprobe snd_intel8x0; /sbin/modprobe --ignore-install snd-ice1712
install snd_intel8x0 /sbin/modprobe snd-emu10k1; /sbin/modprobe --ignore-install snd_intel8x0
install snd_usb_audio /sbin/modprobe snd-ice1712; /sbin/modprobe --ignore-install snd_usb_audio

After a update-modules -f all worked as i expected.
Comment 5 SpanKY gentoo-dev 2007-12-28 12:54:10 UTC
sounds to me like "blacklist snd_hda_intel" is doing exactly as it should ... thus the documented behavior is the behavior you're seeing and thus not a bug ?