View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jun 03, 2005 2:04 pm 
Offline
Joined: Fri Jun 03, 2005 1:56 pm
Posts: 2
Semi-noob question:

My brandy-new KnoppMyth server box is configured and working properly and is booting off a standard IDE disk.

The system includes an on-mobo RAID controller based upon an ITE chipset. I have obtained the driver source from ITE and built it, and the driver loads just fine using insmod and appears to work fine.

My simple question: how do I get the driver to load at boot time instead of having to manually do an insmod (or automate same by making an /etc/rc file)?

It's not critical that the driver get loaded VERY early, 'cuz I don't plan to use it for my boot disk -- it's just gonna be a RAID 0 array on which my MythTV shows will be stored.

I'm sure this is a simple thing to do, but I will admit that I don't know my way around Knoppix very well...

...and yes, I am running the 18.1 build of KnoppMyth, if that matters.

Thanks in advance for your help!


CD


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 2:14 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
put the modulename in /etc/modules

that file is basically a list of modules to load at boot time

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 2:56 pm 
Offline
Joined: Fri Jun 03, 2005 1:56 pm
Posts: 2
Thanks for the quick reply Xsecrets!

I have indeed added the module name (iteraid) to /etc/modules, but it's not being loaded...

The bigger question is: where does iteraid.o have to be placed in order for this to work? Also, if I simply copy the .o file into some particular location, do I have to "tell" the system using command(s) that a new driver has been added (beyond adding the entry to /etc/modules)?

Thanks again,


CD


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 3:09 pm 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
There is no 18.1 build of KnoppMyth.

Also, my understanding is that kernel modules under KnoppMyth end in the .ko extension. Why does yours end in .o?

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 4:35 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
the .o extention is indeed interesting, as 2.4 and older kernels used .o 2.6 which knoppmyth uses is .ko any source module should have a make install to put it where it's supposed to go. and if modprobe modulename works then putting it in /etc/modules should work. if however modprobe does not work you need to find out why and fix that. I know of no other way to load a module that fails with modprobe other than to creat a script and loat it with insmod, but I would suggest fixing the problem instead of going that route.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu