LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-08-2004, 06:02 AM   #1
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

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


Hey

When booting, I get following error:
Code:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
As far as I know, I do not have any scsi devices, though I do have a cd-rw set as sr0 if that matters. I have no idea what this is about and I'm hoping anyone can tell me.
Thanks.

Regards.
 
Old 08-08-2004, 06:21 AM   #2
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Rep: Reputation: 15
i've same problem not only with scsi_hostadapter, but also with parport_lowlevel

and after googling, many people said that just harmness error messages from kmod which try to load a module

i think it's because the kernel compiled without scsi support
thats why there is no module for scsi (some)

even tough thats annoying to see that error messages every booting,
i wish someone can give an answer how to avoid that error messages
 
Old 08-08-2004, 06:35 AM   #3
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks.
 
Old 08-08-2004, 07:46 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Try to put scsi_hostadapter in /etc/hotplug/blacklist, if it works...Also I think error 2 means module not found.

[edit]

from /usr/src/linux/include/asm-generic/errno-base.h :
Code:
#define ENOENT       2  /* No such file or directory */
So in this case the module is not found

Last edited by Cedrik; 08-08-2004 at 07:50 AM.
 
Old 08-08-2004, 01:06 PM   #5
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Hey.

I appreciate your replies but it didn't work. I'm still getting the error messages.

Regards.
 
Old 08-08-2004, 01:10 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Have you any output with this :

cat /etc/rc.d/rc.modules | grep -vr ^# | grep scsi
 
Old 08-08-2004, 01:26 PM   #7
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Hey.

output is:
Code:
/sbin/modprobe ide-scsi
Regards.
 
Old 09-17-2004, 06:19 AM   #8
Corto Maltese
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
Hello,



try to add to the file /etc/conf.modules the line:

alias scsi_hostadapter ide-scsi



my guess is that kmod is trying to load the module: scsi_hostadapter

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


when he should be loading the (scsi adapter module): ide-scsi



Hope that will help
 
Old 09-17-2004, 06:56 AM   #9
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Hey.

No change. Thanks anyway.

Regards.

Last edited by YBA^[x]; 09-18-2004 at 03:16 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kmod failed to modprobe scsi_hostadapter jrdioko Linux - Software 1 08-14-2005 10:25 PM
Failed to exec /sbin/modprobe scrawper Slackware 3 10-25-2004 05:05 AM
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
kmod : Failed to exec /sbin/modprobe urzumph Linux - General 3 03-23-2004 09:18 PM
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 da_kidd_er Linux - General 2 04-24-2003 06:55 AM


All times are GMT -5. The time now is 01:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration