This is a discussion on alsa problem within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi there I just succeded in installing gentoo, but there`s a problem with alsa. My card is a SBlive ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi there I just succeded in installing gentoo, but there`s a problem with alsa. My card is a SBlive platinum. I compiled the kernel with sound support and my emu10k1 driver as modules. I did as I was told by the gentoo-alsa-doc but it just doesn`t work. when starting alsa I got the message ------------------------------- * Initialising ALSA.... * Starting sound driver: snd-emu10k1 modprobe: Can't locate module snd-emu10k1 [ ok ] ------------------------------- so I changed /etc/modules.d/alsa as follows alias snd-card-0 emu10k1 instead of snd-emu10k1 then this worked. -------- bash-2.05b# /etc/init.d/alsasound start * Initialising ALSA.... [ ok ] * Starting sound driver: emu10k1 ------- BUT when I try to start amixer I get the message (like noted in the guide) ----------------------------------------- bash-2.05b# amixer amixer: Mixer attach default error: No such file or directory ----------------------------------------- my lsmod prints: ----------------------------------------------- >lsmod Module Size Used by Not tainted emu10k1 61608 0 sound 56012 0 [emu10k1] soundcore 4004 7 [emu10k1 sound] ac97_codec 9832 0 [emu10k1] ------------------------------------------------- snd-mixer-oss and snd-pcm-oss are not loaded. ---------------------------------------------- bash-2.05b# insmod snd-mixer-oss insmod: snd-mixer-oss: no module by that name found bash-2.05b# insmod snd-pcm-oss insmod: snd-pcm-oss: no module by that name found ------------------------------------------------- thanks for your help Alain Here`s my complete /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 options snd snd_major=116 snd_cards_limit=1 # 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 emu10k1 ## alias snd-card-0 snd-interwave ## 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 |
| |||
| oss was not amongst my USE flags.... but even now that I reemerged alsa-driver for emu10k1 it doesnßt work. what I get is the following: bash-2.05b# insmod snd-mixer-oss Using /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_card_file_a dd_Rsmp_341a0861 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_verbose_pri ntk_Rsmp_49d4e4d1 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_cards_Rsmp_ 68aa68da /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_iprintf_Rsm p_2f0b152f /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_kcalloc_Rsm p_4da9e78a /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_info_regist er_Rsmp_d8b5b4e1 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_info_get_li ne_Rsmp_0a6fd27b /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_register_os s_device_Rsmp_ca430979 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_ctl_find_id _Rsmp_feccd73f /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_card_file_r emove_Rsmp_bffb9dd3 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_info_get_st r_Rsmp_b213fe8b /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_info_free_e ntry_Rsmp_4e778220 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_ctl_notify_ Rsmp_2d686dce /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_oss_info_re gister_Rsmp_8df3789f /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_unregister_ oss_device_Rsmp_916ea0c0 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_kmalloc_str dup_Rsmp_5dd3bf69 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_mixer_oss_n otify_callback_Rsmp_2ecc060f /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_info_unregi ster_Rsmp_847a7de7 /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol snd_info_create _card_entry_Rsmp_699fb5fc Alain Brenzikofer wrote: > Hi there > > I just succeded in installing gentoo, but there`s a problem with alsa. > My card is a SBlive platinum. > I compiled the kernel with sound support and my emu10k1 driver as modules. > I did as I was told by the gentoo-alsa-doc but it just doesn`t work. > > when starting alsa I got the message > ------------------------------- > * Initialising ALSA.... > * Starting sound driver: snd-emu10k1 modprobe: Can't locate module > snd-emu10k1 [ ok ] > ------------------------------- > so I changed /etc/modules.d/alsa as follows > alias snd-card-0 emu10k1 > instead of snd-emu10k1 > > then this worked. > -------- > bash-2.05b# /etc/init.d/alsasound start > * Initialising ALSA.... > [ ok ] > * Starting sound driver: emu10k1 > ------- > BUT > when I try to start amixer I get the message (like noted in the guide) > ----------------------------------------- > bash-2.05b# amixer > amixer: Mixer attach default error: No such file or directory > ----------------------------------------- > my lsmod prints: > ----------------------------------------------- > >>lsmod > > Module Size Used by Not tainted > emu10k1 61608 0 > sound 56012 0 [emu10k1] > soundcore 4004 7 [emu10k1 sound] > ac97_codec 9832 0 [emu10k1] > ------------------------------------------------- > > snd-mixer-oss and snd-pcm-oss are not loaded. > ---------------------------------------------- > bash-2.05b# insmod snd-mixer-oss > insmod: snd-mixer-oss: no module by that name found > bash-2.05b# insmod snd-pcm-oss > insmod: snd-pcm-oss: no module by that name found > ------------------------------------------------- > > > thanks for your help > Alain > > > Here`s my complete /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 > options snd snd_major=116 snd_cards_limit=1 > # 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 emu10k1 > ## alias snd-card-0 snd-interwave > ## 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 > > > > > |
| |||
| Alain <brenzi@phaethon.ch> writes: > oss was not amongst my USE flags.... > > but even now that I reemerged alsa-driver for emu10k1 it doesn't work. > > what I get is the following: > > bash-2.05b# insmod snd-mixer-oss > Using /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o > /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: > unresolved symbol snd_card_file_a Do you have a symlink like this?: /usr/src/linux --> /usr/src/linux-2.4.20-gentoo-r6 alsa won't compile properly if that symlink is missing. The other very viable alternative these days is to upgrade to the latest 2.6-test kernel which has the alsa code built- in and I've had no problems with it. |
| ||||
| thanks, but I just found the problem. If I modprobe snd-mixer-oss it works (instead of insmod) ...I`ll think about 2.6 Kernel.... Alain walt wrote: > Alain <brenzi@phaethon.ch> writes: > > >>oss was not amongst my USE flags.... >> >>but even now that I reemerged alsa-driver for emu10k1 it doesn't work. >> >>what I get is the following: >> >>bash-2.05b# insmod snd-mixer-oss >>Using /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o >>/lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o: >>unresolved symbol snd_card_file_a > > > Do you have a symlink like this?: > > /usr/src/linux --> /usr/src/linux-2.4.20-gentoo-r6 > > alsa won't compile properly if that symlink is missing. > > > The other very viable alternative these days is to upgrade > to the latest 2.6-test kernel which has the alsa code built- > in and I've had no problems with it. |