Find the answer to your Linux question:
Results 1 to 6 of 6
Slackware 10.2, 2.4.31 kernel recompile. I'm following the typical slackbook procedure for recompiling a 2.4.x kernel, which is to say specifically: Code: % su - # cd /usr/src/linux # make ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Location
    West Lafayette, IN
    Posts
    3

    Can't Find Modules after Kernel Recompile


    Slackware 10.2, 2.4.31 kernel recompile.

    I'm following the typical slackbook procedure for recompiling a 2.4.x kernel, which is to say specifically:

    Code:
    % su -
    # cd /usr/src/linux
    
    # make mrproper
    # make menuconfig     
    
    # make dep
    # make clean
    
    # make bzImage
    # make modules
    
    # mv /boot/vmlinuz /boot/vmlinuz.old
    # cat arch/i386/boot/bzImage > /vmlinuz
    # mv /boot/System.map /boot/System.map.old
    # cp System.map /boot/System.map
    
    # make modules_install
    ...and then I reconfigure lilo.

    I've actually done it a couple times, and each time the modules just aren't there in /lib/modules. I've set my graphics adapter, sound and network cards to all be modular for the kernel. Naturally, a lot of my peripherals aren't working as a result. modprobe can't find them and neither can I. My modutils is up to date, and I double-checked all the minimum software version requirements in /usr/src/linux/Documentation/Changes and my system fit the bill, so what gives?

    Thanks in advance...

  2. #2
    Just Joined!
    Join Date
    Aug 2005
    Location
    China
    Posts
    10
    Did you select the suitable modules after
    Code:
    make menuconfig
    Besides, I think you will get all the modules in /lib/modules/2.4.31 after
    Code:
    make modules_install

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Location
    West Lafayette, IN
    Posts
    3
    As before, yes, I did all that.

    KPW

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    whats in /lib/modules/ ?

    also, is there a specific reason you need to compile 2.4? the packages offer a lot of modules and offer an easy upgrade scheme as they get upgraded automatically with no building of your own taking place.

    obviously, if theres a specific reason why you can't use pats kernel packages, then compile your own, I'm not sure why you have no modules though

    make sure you have all the development tools on to be able to compile the kernel and modules, I had a problem once where I didnt install perl, and it caused the modules not to build.

  6. #5
    Just Joined!
    Join Date
    Jun 2006
    Location
    West Lafayette, IN
    Posts
    3
    /lib/modules/2.x.x is where modprobe looks for modules, as stated in its manpage.

    This is where I'm not seeing the modules I told the config file to make for the kernel...

  7. #6
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    so what exactly happens if you type

    "make modules_install"

    does it complete fine? the modules must be being installed somewhere

Posting Permissions

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