LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   kmod error = 2 in slackware 9.1 at bootup.... (https://www.linuxquestions.org/questions/slackware-14/kmod-error-%3D-2-in-slackware-9-1-at-bootup-103168/)

mipia 10-12-2003 04:31 PM

kmod error = 2 in slackware 9.1 at bootup....
 
I have run into a problem I havent encountered yet. For some reason modules dont load on boot.
I noticed this right off when I realized there wasnt any sound.
I used slackware 9 a bit, but the modules where automaticly configed during the installation therefore no trouble in the past.
This is the error I found in dmesg:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

I have a feeling that the line above has nothing to do with the soundcard (scsi_hostadapter?, probably the scsi emu for my cd r/w drive).
I guess the question is this..
How do I get sound going again?
Its a new slackware 9.1 install that hasnt really been touched yet, so there isnt anything that has been changed yet.

Sorry if this was all a bit confusing, just want to get the modules setup and get the sound going.
Its a Yamaha (Audio Phantom?) Ide sound card. The audio phantom part I remember from the driver cd-rom case.

Thanks for any help or suggestions you might have
Mike

dzt 10-12-2003 08:50 PM

I am having the same errror msg...

i guess the parameter hdc=ide-scsimight be causing it..
but it was not the case with previous versions...

and for sound use the alsa configurator... it should work out for you.

nirvanix 10-13-2003 06:16 AM

I'm pretty sure the message:

kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

comes from having scsi emulation on your cd-rw. The system thinks that because you've got a scsi device, it needs to load the scsi adapter module. I get the same message - I don't believe it cause any problems.
As for sound, Slackware 9.1 uses the ALSA sound modules abd tries to automatically detect your card and install the correct modules. If you do an 'lsmod' command from a console, do you see any sound kernel modules loaded? You should see stuff like:

snd-pcm-oss 37252 0
snd-mixer-oss 11992 0 [snd-pcm-oss]
snd-via82xx 11712 0
snd-pcm 55904 0 [snd-pcm-oss snd-via82xx]
snd-timer 13252 0 [snd-pcm]
snd-ac97-codec 37240 0 [snd-via82xx]
snd-page-alloc 6004 0 [snd-via82xx snd-pcm]
snd-mpu401-uart 3136 0 [snd-via82xx]
snd-rawmidi 12512 0 [snd-mpu401-uart]
snd-seq-device 3920 0 [snd-rawmidi]
snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3332 4 [snd]

but instead of the via82xx you should see some module relevent to your sound card. If you don't see anything like this, maybe ALSA doesn't support you sound card? You can check the supported hardware list on the www.alsa-project.org website.
If you do see these modules then - have you turned up the volume? It's off by default.
Run 'alsamixer' from the command line to set volumes and then 'alsactl store' to save the sound volumes.

mipia 10-13-2003 07:45 AM

After messing wity alsa and poking around for the correct module to load, I got sound working. As far as the scsi emu trying to load at boot with a err =2, yes, it was my atapi/ide cdrw drive.
Thanks for the help


All times are GMT -5. The time now is 10:39 PM.