LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can`t find sound module (https://www.linuxquestions.org/questions/slackware-14/can%60t-find-sound-module-136527/)

Aldebaran 01-19-2004 06:54 PM

can`t find sound module
 
here`s the problem:

i`ve just recompiled my kernel (2.4.22), adding acpi support. now i get an error when i try to compile my soundcard into the kernel:

:undefined reference to `pcigame_detach`
:undefined reference to `pcigame_attach`

then i tried to compile the soundcard as a module but then, on boot, i get the error:

can`t locate module snd_ali5451

i can`t see any errors when making the modules, so i assume the module must be somewhere??
i`ve tried modprobe, but i get the same error.
i`m totally lost here.

regards

reclusivemonkey 01-20-2004 01:21 PM

When you compiled your new kernel, did you save the old modules? They should work, so you can copy them across. If you didn't then read up on compiling a new kernel it could save you a few headaches ;-). Here's the crucial bit:-

mv /lib/modules/2.4.22 /lib/modules/2.4.22.old

Aldebaran 01-20-2004 03:00 PM

luckily i did make a copy of my old modules. so hopefully it will still work. i`ll get to it now.
but what causes the problem?? when i compile in acpi support, the soundcard module vanish.

regards

Aldebaran 01-20-2004 03:25 PM

well, it did not work. the computer finds the module for my soundcard and everything looks ok, but there is no sound. i get no errors, alsaconfig runs smooth.
is the acpi interfering with the sound in some way?

reclusivemonkey 01-20-2004 04:13 PM

I don't know anything specific about your problem here. What do you need acpi for? Unless you have a laptop I think most of the power functions are covered by APM. I may be totally wrong here but I seem to remember last time I looked ACPI was still "work in progress" so who knows what it might be. If you try a recompile with no ACPI and just APM and your sound modules, it should be ok.

Aldebaran 01-21-2004 04:26 AM

sorry, should have been more spesific about the problem. it is a laptop i`m trying to install slack 9.1 on. i`m very new to kernel compilation, so the problem hav resulted i a lot of reading.

actually the problem was solved when i followed reclusivemonkeys advice to compile the 2.4.24 kernel without acpi and soundcard as a module, saved the modules and recompiled the kernel with acpi support, and finally copied inn the first compiled modules. i tried with the 2.4.22 kernel and it would not work, reason unknown, probably some error done by me...

regards

Texicle 01-21-2004 01:31 PM

I know you said you ran alsaconf, but did you afterwards run alsamixer then alsactl store as root? Alsamixer will allow you change the volume levels as well as mute/unmute the various channels (type M to mute/unmute).

Does sound not work at all or only for root? If only for root, check the permissions of /dev/dsp, /dev/dsp0, and /dev/audio. If it doesn't work for root either, the alsamixer should work well for you. Hopet his helps. :)

Aldebaran 01-22-2004 04:25 AM

actually i find the problem kind of strange. i have a compaq presario 2100, and when i installed slack 9.1 everything, except acpi, worked with the bare.i kernel from the cdrom. then i used the make menuconfig to implement acpi, the only things i altered were adding acpi and specifying the athlon processor. then it started.
it could not find the module for the soundcard. thanks to reclusivemonkeys answer i was able to compile the 2.4.24 kernel with acpi, and then adding the backed up modules.
so my problem is that i cannot compile a kernel with both acpi and getting the soundcard. but then again i`m quite new to this, so there may be a million things i do wrong.

regards

WH16 01-25-2004 07:55 AM

http://www.uwsg.iu.edu/hypermail/lin...05.1/0655.html

Aldebaran 01-25-2004 03:21 PM

thanks so much. i`d almost given that one up. you definently saved my month.


All times are GMT -5. The time now is 11:53 AM.