Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-04-2008, 09:15 AM   #16
LQ Newbie
Registered: Aug 2008
Posts: 20

Original Poster
Rep: Reputation: 0

>currently when the module is loaded and you run modprobe -a and then a modprobe -l |grep rr174x.ko does it still give you the FATAL: error?

No it reads:


>Also, what directory is the module you're loading located?

I compiled the source in a dir I created /drivers, which contained the source tree in a convoluted dir structure:


Here the config.c, Makefile, and .build/ are located. I ran Make to create rr174x.ko

from this directory I ran insmod. However later as stated in the OP, I cp the .ko file to the location above /lib/...

I will attempt the other commands later today after a conference call is planned to do some other pertinent work on this box. Feel free to IM me at the names provided in my email reply.

thanks again!
Old 09-04-2008, 09:37 AM   #17
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Does the module load fine manually and work? If so, I think you want to add the module to your initrd so that it is loaded as soon as you need it. Especially if your system partitions are on the raid controller.

Look at man "mkinitrd" for the --with=MODULE option.

Also, it this is a 2.6 kernel, try using modprobe instead of insmod.


I looked at one of the driver downloads. It contains a script that performs these two lines:
                /sbin/depmod -a ${kver} &&
                /sbin/mkinitrd --preload scsi_mod --preload sd_mod --with=${DRIVER} --builtin=sata_mv /boot/initrd-${kver}.img ${kver}

Last edited by jschiwal; 09-04-2008 at 09:49 AM.
Old 09-04-2008, 11:13 AM   #18
LQ Newbie
Registered: Aug 2008
Posts: 20

Original Poster
Rep: Reputation: 0
I will be attempting to use the mkinitrd option that misconfiguration suggested, I'm just wainting for an opportunity since the server is live.

The reason I'm using insmod instead of modprobe, is that modprobe doesn't work properly. again as stated in earlier posts, it gives a FATAL error unable to locate the module.

Also, the driver was compiled from source, so I'm not sure where that script was. It certainly wasn't in any of the docs included in the compile process as I followed them to the letter.

Old 09-04-2008, 01:42 PM   #19
LQ Newbie
Registered: Aug 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks to both misconfiguration and jschiwal for their help!

made a backup of kern.img in /boot

ran "mkinitrd -f --with=rr174x initrd-$(uname -r).img $(uname -r)"

made sure the entry in /etc/fstab was correct and rebooted


thanks again to all!!



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
modprobe and insmod not working navin_karnam Linux - General 8 08-01-2007 12:37 AM
modprobe or insmod? GT_Onizuka Linux - Newbie 7 04-10-2004 07:03 PM
modprobe or insmod agts Linux - Newbie 2 03-14-2004 02:18 PM
modprobe and insmod same modules, diff kernel ? qwijibow Linux - Software 1 11-06-2003 10:22 AM
insmod/modprobe Problem Compuholic Linux - General 19 12-24-2002 11:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 PM.

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