LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can't Locate Sound Modules (https://www.linuxquestions.org/questions/linux-general-1/cant-locate-sound-modules-47883/)

Crashed_Again 03-02-2003 10:49 AM

Can't Locate Sound Modules
 
Every day I get these dam messages repeated over and over again in my log file:

Mar 2 11:21:01 domain modprobe: modprobe: Can't locate module sound-service-1-0
Mar 2 11:21:01 domain modprobe: modprobe: Can't locate module sound-slot-1

I'm running Linux on a laptop so I'm not surprised its having trouble. All the sound works fine though so thats not the problem.

Can I just give it what it wants and load these modules? If so where do I find them? This should probably go under the newbie forum because I don't know much about getting and installing modules.

<UPDATE>
Doing a little snooping around I found this directory:

/lib/modules/2.4.18-18.8.0/kernel/drivers/sound

In it there is a file called sound.o . Is this what I'm looking for?
</UPDATE>

arnold 03-02-2003 11:48 AM

try
man modules.conf

Crashed_Again 03-02-2003 12:23 PM

Okay I did:

man modules.conf

It works very well.:D Now what? What am I looking for in the man pages? How do I identify the modules that are being requested in my log files?

arnold 03-02-2003 03:57 PM

My man says ..modprobe.. can be modified by the (optional) configuration file /etc/modules.conf
Check if there is a sound(snd) entry in modules.conf - comment it out and reboot
also look in /etc/modules

Crashed_Again 03-02-2003 04:19 PM

I thought it wasn't necessary to reboot to install modules? I'm confused. Can you read over my original post and tell me how I can find these EXACT modules being reported in the log files.

Thank you.

MasterC 03-02-2003 04:39 PM

It's not. You can remove and add modules without rebooting. rmmod and modproble are usually the ones I use to that.

Those are more than likely entries in your /etc/modules.conf file. You can comment them out (#) so that the error will go away. Post up your modules.conf file if you need help determining what to comment.

Cool

Tinkster 03-02-2003 04:56 PM

Gidday ...

my educated guess is that you're probably
trying to load modules for something that's
compiled into your kernel (since you said
sound is working fine) and thus no modules
to load present ...

My solution would be to edit the file that
RH uses to load modules, and remove the
offending lines ;)

Cheers,
Tink

Crashed_Again 03-02-2003 05:10 PM

Here is /etc/modules.conf

alias parport_lowlevel parport_pc
alias eth0 eepro100
alias usb-controller usb-uhci
options ide-cd dma=1
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

Tinkster 03-02-2003 05:20 PM

Hmm :)

I'm not using "little red riding hood"
for my daily work, it's been ages since
I had my hands on, and the only box with
it I have access to is running 6.2 :}

But I am fairly certain that RH 8 uses
more than just one config file to actually
pull up the modules system ...

In the old version there's
Code:

-rw-r--r--    1 root    root          261 May 15  2002 modules
-rw-r--r--    1 root    root          96 May 16  2002 modules.conf
-rw-r--r--    1 root    root        3492 Mar 14  2002 modules.devfs

in /etc
and
Code:

-rwxr-xr-x    1 root    root          483 Mar 16  2002 rc.modules
in /etc/rc.d

Use the force, Luke!
Errrh, I mean the grep! :}

Cheers,
Tink

Crashed_Again 03-02-2003 05:31 PM

grep sound /etc/*

returns the modules.conf and other files that contain the string 'sound' but they are not module related files.

Tinkster 03-02-2003 05:40 PM

What if you try
Code:

grep -r sound-service /etc/*
?

Cheers,
Tink

Crashed_Again 03-02-2003 05:43 PM

It takes a while but it returns nothing.

Tinkster 03-02-2003 05:51 PM

*sigh*

Sorry mate, you're alone now :)
I always disliked the big distros with Sys V scripts ;)

As for your <UPDATE> ... I don't think it is...
But you certainly know that's a binary.

Cheers,
Tink

MasterC 03-02-2003 06:07 PM

Hmmm....

You could try looking at what point the error pops up. Then, go into your init scripts and find the area that most closely matches that string of startups. Then, look for what file it's calling on to probe your sound module, locate that file, comment out the line, and reboot to see if it worked (rebooting is just to see if the error comes up during bootup, not because you need to in order to remove/add the module).

Cool

arnold 03-02-2003 06:32 PM

i said boot because it is the booting process that is attempting to install the modules. The boot is driven from inittab which should have an entry si::sysinit:/etc/rc.d/rc.sysinit - run at boot time.
long story short - modprobe is run from startup scripts, uses modules.conf.

I may be wrong that modules.conf is the cause - only rebooting will tell for sure.

PS your modprobe messages in the log are harmless


All times are GMT -5. The time now is 02:21 AM.