I've got linux-2.6.4-gentoo with all alsa components built as modules, alsa-lib 0.9.8 and alsa-utils 0.9.8 I've got an Asus A7S-333 with integrated CMI8738 audio card. this is my /etc/modules.d/alsa: # Alsa 0.9.X kernel modules' configuration file. # $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $ # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion alias snd-card-0 snd-cmipci ## alias snd-card-1 snd-ens1371 ## OSS/Free portion alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. options snd cards_limit=1 I've got alsasound running as a boot service (setting it as a default service doesn't change anything). Randomly, alsa fails to initialize at boot, without giving any error message; simply applications fail to open it as the modules where unloaded (but they ARE loaded). all tests are done with programs directly using alsa, not OSS emulation. I've experienced this with all 2.6.x kernel, both vanilla and gentoo. Workaround: /etc/init.d/alsasound restart and it will work perfectly until next reboot.
try updating to >=alsa-{lib,utils,oss)-1.0.3
done. I'll make you know if it continues happening.
It still happens.
try changing alias snd-card-0 snd-cmipci to alias snd-card-0 snd_cmipci 2.6.x names them with a _, and it's probably working for you with thte restart because hotplug loads the module... but I thought that it worked with the old names for backwards compatibility... let me know if that fixes it, and I'll update the template...
I really don't like the "randomly" bit... can you try to figure out a deterministic way to cause this to happen? Also, try using media-sound/alsa-driver-1.0.3 instead of the in-kernel drivers... maybe that'll fix it up...
1)I switch the power on ;) 2)login as normal user, always the same user 3)startx 4)sometimes arts says "no alsa found", more often everything goes well. However, since I changed modules.d/alsa as you said, it hasn't happened anymore. I'll make you know if it happens again. If I don't post in a couple of weeks feel free to set it as "FIXED".
It has NOT been fixed. It happened again today :(
God, I have no clue then =( This smells like an upstream issue, so could you make a bug on the alsa bug tracker and provide a link to it here. Sorry =(
is this the same bug as bug #44940 perhaps?
*** Bug 47286 has been marked as a duplicate of this bug. ***
I meant to say is it the same as bug #39345
No, bug #39345 is a completely different one. I get no error messages and it happens randomly (quite often).
I really don't know what to say here, then... you're going to have to ho upstream and file a bug on alsa-project.org's bug tracker... please report the bug number here so i can track it.
I'm going to close this as it is an upstream bug, please report the bug # of the upstream bug and reopen when a resolution is found.
I've changed audio card and mounted a Live! 512; I'll make you know if it still happens.
Still happens with my new audio card (the old one has been completely disabled using a BIOS switch). I really don't think that it's upstream since it happens with a very-well supported card IMHO....
i really have no clue what is going on here... you'll have better luck working with a kernel driver hacker upstream, sorry =(