LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-21-2004, 09:34 PM   #1
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Rep: Reputation: 30
Modules at boot


I was looking to add a module at boot, so that I don't have to every time by hand. Now, it seems that when I mknod, that gets saved through boots, even if the module isn't loaded. So, what I need to do is get the machine to load the module at boot, I think. Now, I found a modules.conf file that was empty. Right next to it was modules.devfs, which when I read told me that if I wanted to add to it, DO NOT MODIFY ME, but change my buddy, modules.conf. So, modules.conf is empty, but if I add insmod Intel536.o, will it be loaded at the boot? Also, where are all these modules kept usually? I'm tired of keeping my Intel driver in my home directory.

I may also need to know if root needs to own the files to use it in the way I intend? Or if there's and other things I just don't know about.
 
Old 09-21-2004, 10:43 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
lets see -- slackware i think just put that command in
/etc/rc.d/rc.local
for it to start at boot

did you try doing 'make install' as root after you built the module and install failed
(it does that sometimes when it gets confused)

modules generally go in /lib/modules/current.running.kernel.version/kernel somewhere

since yours is working ok just stick it in somewhere and use the full path in the command

aught to work ??

but better to use 'make install' if you can there are some other files the installer puts in like
/etc/hamregistry.bin

and yes user root group root should own the module but that may not be so important cause root is using it ok as it is (root rules)
permissions should be 644 but i bet that's ok already too

Last edited by foo_bar_foo; 09-21-2004 at 10:48 PM.
 
Old 09-21-2004, 11:45 PM   #3
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
"make install" doesn't work, failed a couple times. Hence my doing it the hard way.

I added "insmod <path to driver>" to rc.local...

Let's see how it goes
 
Old 09-21-2004, 11:51 PM   #4
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Hmm, it worked. Those rc.* files are some powerful stuff.
 
  


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
Load modules at boot martincho Linux - Networking 2 11-27-2004 10:12 AM
Modules at boot vexer Slackware 1 06-07-2003 03:36 AM
Different BOOT Modules webartist Linux - Newbie 0 12-10-2002 07:34 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration