Find the answer to your Linux question:
Results 1 to 5 of 5
I'm running a system with CentOS 3.9 and a custom kernel module (USB driver). Every time I boot the system and attempt to use the USB functionality I have to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2007
    Posts
    106

    Load modules on boot


    I'm running a system with CentOS 3.9 and a custom kernel module (USB driver). Every time I boot the system and attempt to use the USB functionality I have to navigate to the relevant directory and do:

    insmod <driver name>

    I've heard I can edit /etc/modules.conf, but I don't know what changes to make.

    How can I set this driver to load on boot?

  2. #2
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3
    If you have the source code, include the source into kernel directory and compile there. This way you will have the driver as part of the kernel.

  3. #3
    Linux Newbie
    Join Date
    May 2007
    Posts
    106
    I'm afraid that's a bit over my head at this point. Is there a way to simply point the conf file to the module so that it will be loaded on boot?

  4. #4
    Just Joined!
    Join Date
    Dec 2007
    Posts
    29
    hi,
    check this,
    also try to search for "loading linux driver into kernel" not modules bcoz, since a module is general.

  5. #5
    Linux Newbie
    Join Date
    May 2007
    Posts
    106
    Quote Originally Posted by raedbenz View Post
    hi,
    check this,
    also try to search for "loading linux driver into kernel" not modules bcoz, since a module is general.
    Thanks for the link. It seems to be what I am looking for, I just need to figure out what syntax to append to the conf file. I'll look into it and post the results.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •