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 ...
- 06-16-2006 #1Just 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:
...and then I reconfigure lilo.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
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...
- 06-16-2006 #2Just Joined!
- Join Date
- Aug 2005
- Location
- China
- Posts
- 10
Did you select the suitable modules after
Besides, I think you will get all the modules in /lib/modules/2.4.31 afterCode:make menuconfig
Code:make modules_install
- 06-16-2006 #3Just Joined!
- Join Date
- Jun 2006
- Location
- West Lafayette, IN
- Posts
- 3
As before, yes, I did all that.
KPW
- 06-16-2006 #4Linux 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.
- 06-16-2006 #5Just 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...
- 06-17-2006 #6Linux 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


Reply With Quote