LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-12-2003, 04:31 PM   #1
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
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
 
Old 10-12-2003, 08:50 PM   #2
dzt
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 57

Rep: Reputation: 15
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.

Last edited by dzt; 10-12-2003 at 09:00 PM.
 
Old 10-13-2003, 06:16 AM   #3
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
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.
 
Old 10-13-2003, 07:45 AM   #4
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel KMOD Error Murdock1979 Slackware 1 07-28-2005 12:43 AM
L 99 bootup error react Linux - Newbie 2 03-30-2005 09:47 PM
bootup error :( kurrupt Debian 3 12-28-2004 09:20 PM
Compaq Evo N1000c w/Slackware 10.0 kmod:failed to exec /sbin/modprobe ... erno = 2 daniel_waddell Linux - Laptop and Netbook 0 07-29-2004 10:10 AM
really weird bootup error AlThor880 Linux - Newbie 1 01-13-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration