Gentoo Archives: gentoo-amd64

From: "Michal Žeravík" <michalz@×××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] no sound of alsa dmix after emerge 2.6.15-gentoo-r7
Date: Tue, 07 Mar 2006 22:21:56
In Reply to: Re: [gentoo-amd64] no sound of alsa dmix after emerge 2.6.15-gentoo-r7 by "Michal Žeravík"
Michal Žeravík wrote:
> Bob Sanders wrote: >> Biru Ionut, mused, then expounded: >> >>> On 3/7/06, Michal Žeravík <michalz@×××××××.com> wrote: >>> >>>> Hi all, >>>> >>>> I have no sound and don't know how to debug it. >>>> >>>> Another strange problem is : >>>> # modules-update >>>> * Warning: could not generate /etc/modprobe.conf! >>>> >>>> >>> i have the same problem...i`m in the process to install gentoo 2006.0 >>> stage3, same kernel as yours..maybe there is a bug. if somebody have >>> the solution for this problem please send us a mail. >>> >>> >> >> I upgraded from 2.6.15-r3 to 2.6.16-r7 yesterday. I have sound - had to >> do an update-modules as welli. I have not seen either issue. But, Michal's >> problem with sound is probably because of the system not being able to >> generate /etc/modprobe.conf. >> > I've solved that by running /sbin/generate-modprobe.conf manually > (from modules-update) : > sudo /sbin/generate-modprobe.conf > modprobe: Invalid line 125 in /etc/modules.conf > modprobe > Failed to to run modprobe. Giving up. > well, I've removed that modprobe and it's working now. Might be my fault. > >> Perhaps deleting (move the original out of /etc) and re-trying it? >> >> Re-emerge - sys-apps/module-init-tools? >> > tried, didn't helped. I don't know why there wasn't an error with modprobe > command in /etc/modules.d/xxxx > >> Or perhaps - revdep-rebuild -p, is necessary? >> > no result. > >> And, the assumption is that both have done - etc-update or dispatch-conf? >> >> Bob > all done. > > My problem is alsa's dmix. As you could see from my first email, > I have two cards and everything is dmixed to hw:0,0, which is > Audiophile 2496. > It was worked before (gentoo-sources-2.6.15-gentoo-r5 and sooner), but > stops with r7. > > Michal
Ugh, this case is going to be very very weird. I've tried to boot up back to 2.6.15-r5 and dmix still doesn't work. It's listed in aplay -L but it's not working. How can I examine/debug where is the problem with alsa? Michal aplay ~/.sounds/WildEep.wav ALSA lib pcm_direct.c:812:(snd_pcm_direct_initialize_slave) requested or auto-format is not available ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave aplay: main:544: audio open error: Invalid argument