Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-17-2005, 05:45 AM   #1
Member (5 bit)
 
Join Date: Nov 2004
Posts: 30
how to make a module load at boot in udev

Hi all.

How do you make a module load at bootime with udev?

I've installed fuse and fusesmb on my pc running fedora 3. Everything works fine except, everytime I reboot, the fuse module never gets loaded. I always end up opening a console, and do a modprobe.

I've read a similar solution regarding this but with a different module ( it was the sonypi driver, which I used when I installed fedora on my notebook ).
The soloutions was to copy the device to /etc/udev/devices ( e.g. cp -a /dev/sonypi /etc/udev/devices) and add an alias to the sonypi driver module in modprobe.conf.

With the fuse module I don't know what to put in the modprobe.conf. So I've tried to do a copy of the fuse device to /etc/udev/devices ( e.g. cp -a /dev/fuse /etc/udev/devices ), but I did not add anything in the modprobe.conf. I did a reboot but the fuse module still does not get loaded.

Help.
earlboy2 is offline   Reply With Quote
Old 08-17-2005, 07:39 AM   #2
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
I"ve never played with Fedora, but in Debian I use modconf to load modules. Once I load them with modconf I never have to mess with it again.
ffreeloader is offline   Reply With Quote
Old 08-17-2005, 10:03 PM   #3
Member (5 bit)
 
Join Date: Nov 2004
Posts: 30
Fedora doesn't have a modconf command and I believe that Debian is using devfs instead of udev. In devfs, creating a device file in /dev directory for a module will load the module at boot, I believe this is one of the steps modconf does. I think udev works differently.

Anybody out there have any experience with udev?
earlboy2 is offline   Reply With Quote
Old 08-17-2005, 10:34 PM   #4
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Quote:
Fedora doesn't have a modconf command and I believe that Debian is using devfs instead of udev. In devfs, creating a device file in /dev directory for a module will load the module at boot, I believe this is one of the steps modconf does. I think udev works differently.
Woody used devfs. Sarge however uses udev and modconf works fine with it. Didn't know if Fedora used it or not. Just thought I'd throw it out there. Sorry I wasn't of help to you.
ffreeloader is offline   Reply With Quote
Old 08-18-2005, 06:26 PM   #5
Member (11 bit)
 
Join Date: Apr 2003
Posts: 1,525
The simplest hack is to edit /etc/rc.d/rc.local. Rc.local is the last init script to run and is often used in RH based distros to get around these kinds of problems. Just add this line at the end of rc.local:

modprobe (insert module name)

Since rc.local is the last init script to run, nothing else will change what is done there.
kilgoretrout is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2