Find the answer to your Linux question:
Results 1 to 8 of 8
I can upgrade the kernel (2.4.24 to 2.6.8.1) just fine, but I have a problem with modules. Do I have to edit all the rc files to insert the right ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Location
    Piscataway, NJ
    Posts
    27

    Upgrading the kernel


    I can upgrade the kernel (2.4.24 to 2.6.8.1) just fine, but I have a problem with modules. Do I have to edit all the rc files to insert the right modules in and stop the now unnecessary modules from inserting?

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    You just have to edit your /etc/modules.autoload.d/kernel-2.6 to stop it from autoloading modules that you don't want it to load, or to load modules automatically. This file is read at boot, by the way.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Mar 2004
    Location
    Piscataway, NJ
    Posts
    27
    Thank you for your reply, but it appears that I have no file of that name in my filesystem. I don't even have the /etc/modules.autoload.d/ folder. Do I have to create it? I probably should make it clear that it's a fresh install of Slackware 10.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Do you have a /etc/modules.autoload?

    Slack is really throwing me some curveballs tonight.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #5
    Just Joined!
    Join Date
    Mar 2004
    Location
    Piscataway, NJ
    Posts
    27
    I think I do. I'm gonna check in about two minutes. Does that file deal with stopping modules from inserting too though? For instance, in some of the rc files in the /etc/rc.d/ directory, modules from the 2.4.22 module folder are added. It seems like the only way to make sure everything is running smoothly is to edit out all the modprobe statements in ALL the rc files.

  7. #6
    Linux Newbie
    Join Date
    Jul 2004
    Location
    Oklahoma City, OK
    Posts
    232
    No /etc/modules.autoload in Slack.
    OH NOOOOO!!!!!! You did it the way I said?

  8. #7
    Just Joined!
    Join Date
    Oct 2004
    Posts
    1
    this is a little old but i use to use slackware 10 you want to go to /etc/rc.d/rc.modules and maybe even rc.local slackware uses bsd stile bootscripts thats y its like that

  9. #8
    Just Joined!
    Join Date
    Nov 2004
    Location
    Orlando, FL
    Posts
    1
    The folder you're looking for in Slack is actually /etc/rc.d, if this helps.

Posting Permissions

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