Just to document here for the list what I was talking about: the PROVIDE error came from having two symbolic links in /mnt/.init.d/provide/alsa- modules One link points back to /etc/init.d/alsasound The second one which I erased pointed back to /etc/init.d/eraseme Eraseme is just a name I use when I copy a script to study it in an editor and don't want to change it. Somehow the 2 scripts got inserted into the startup script by rc-update. Don't know how this happened. But removing the eraseme link and rebooting showed that the PROVIDE error/warning doesn't occur any more.
> Thanks. I just thought it might be useful to know what PROVIDE is > complaining about *before* starting a fresh emerge of alsa-driver. > > > > Tom, > > > > Have you tried just starting fresh again? When I have sound issues a > > take it from the start again (start being the ALSA how to :) ) > > > > Doc > > > > On Tue, 2003-04-01 at 21:12, Tom Nicholson wrote: > > > After getting alsasound working, I broke it and I believe it's > > > because of how I answered etc-update. After an emerge, there was a > > > statement that I should run etc-update to resolve which config > > > file to use. I did, and I think that broke alsa probably because I > > > was guessing how to answer etc-update. > > > > > > I've unmerged alsa-driver and am still getting an error message at > > > boot up. It's early in the boot process and goes like this: > > > > > > Starting devfsd > > > Mounting tmpfs at /mnt/.init.d... > > > Caching service dependencies... > > > PROVIDE: it usually is not a good > > > idea to have more than one > > > service provide the same virtual > > > service (alsa-modules)! > > > Activating swap... > > > > > > Anyone got a clue what is going on here? Where I should look? > > > References to prev problem are below. Tom > > > > > > > > > _______________________________________ > > > Subject: [gentoo-user] SOLVED sound opinions? > > > X-Rcpt-To: <[EMAIL PROTECTED]> > > > X-Smite-CRC: > > > A$Xq3Rbw$0#1UX8c9V#1dFjL6V#egq32r$19gXA1p#gOh8b9#1i6Kmtp# > > > 1AIwBDj > > > Status: U > > > > > > Thanks to 'nealbirch' and Bret Holcomb for suggestions. > > > > > > The solution was that I needed to emerge the alsa-driver (as well > > > as rebuild kernel with only M support). I wanted to be sure there > > > wasn;t something overlooked before rebuilding kernel. The quirky > > > part is how I overlooked the distinction between alsa-driver and > > > whatever the other driver is that 'make modules modules_install' > > > makes. I had it in my head that the selection in 'make menuconfig' > > > built the 1 and only sound driver needed for the card and that > > > alsa was built on top of that so I just skipped the step in alsa > > > docs where it says env ALSA_CARDS='ens1371' emerge alsa-driver So > > > after doing that it plays beautifully. > > > > > > _________________________________ > > > > > > Can anyone suggest why my sound doesn't work or where to look for > > > further clues? > > > > > > I've built a gentoo box from older parts to learn with. I wanted > > > just command line stuff to study servers like apache, proftp, > > > samba, etc. so no gui. I remembered there's a sound card in the > > > system and I can't figure out how to make it work. I enabled sound > > > support and the soundcore.o and driver are built into the kernel > > > (rather than as modules). See snippet below from .conf file. > > > > > > I've followed the gentoo website directions on installing alsa and > > > done the emerges and conf file tweaks. alsamixer/amixer fails with > > > error message can't connect with sound_ctl() which I take to mean > > > it can't talk to the sound driver. The directions in the sound > > > howto say to try cat endoftheworld >/dev/dsp That fails; just sits > > > there like a hang, no sound. mpg123 seems to play, but no sound > > > output. > > > > > > The card and speakers worked when it was a winx so no reason to > > > suspect any problem there. > > > > > > Thanks, > > > Tom > > > > > > ------------ > > > snippet from kernel .config file: > > > > > > # > > > # Sound > > > # > > > CONFIG_SOUND=y > > > # CONFIG_SOUND_ALI5455 is not set > > > # CONFIG_SOUND_BT878 is not set > > > # CONFIG_SOUND_CMPCI is not set > > > # CONFIG_SOUND_EMU10K1 is not set > > > # CONFIG_MIDI_EMU10K1 is not set > > > # CONFIG_SOUND_FUSION is not set > > > # CONFIG_SOUND_CS4281 is not set > > > # CONFIG_SOUND_ES1370 is not set > > > CONFIG_SOUND_ES1371=y > > > # CONFIG_SOUND_ESSSOLO1 is not set > > > > > > --------------------- > > > relevant portion from dmesg: > > > > > > es1371: version v0.30 time 13:24:17 Mar 20 2003 > > > PCI: Found IRQ 5 for device 00:0a.0 > > > es1371: found chip, vendor id 0x1274 device id 0x1371 revision > > > 0x08 es1371: found es1371 rev 8 at io 0xe400 irq 5 es1371: > > > features: joystick 0x0 ac97_codec: AC97 Audio codec, id: > > > CRY19(Cirrus Logic CS4297A rev A) > > > > > > > > > > > > > > > -- > > > [EMAIL PROTECTED] mailing list > > > > > > > > > > > > -- > > [EMAIL PROTECTED] mailing list > > > > > > > -- > [EMAIL PROTECTED] mailing list > -- [EMAIL PROTECTED] mailing list
