Click to See Complete Forum and Search --> : The Kernel


Dark Ninja
08-14-2001, 11:50 PM
Well, hey, now. I really don't like this whole "recompiling the kernel" thing. Every time I attempt to do it, I run into the minor problem of ABSOLUTELY NOTHING WORKING ON MY COMPUTER EXCEPT THE MONITOR. :mad:

I'm really not sure where I go wrong, except that I know that almost no modules are being compiled with the new kernel (this has happened to me under Mandrake and Slackware). I check the lib/modules/OLD_LINUX_KERNEL folder, and there are hundreds of different files. Then I check the lib/modules/NEW_LINUX_KERNEL and there are about 10 files. I'm guessing that is my problem. But, anyway, I'm just curious as to whether anybody has a solution. If not, I think I'll just patch (although, I'd really like to learn what I'm doing wrong - I've read all the kernel compilation texts that I could get my hands on, but nothing seems to help).


Dark Ninja

Malakin
08-15-2001, 12:09 AM
Don't compile your own kernel unless it's absolutely required or you enjoy doing it :)

If you really do need a newer kernel another solution if you're using mandrake is grabbing kernel binaries out of cooker.

If you do want help compiling a kernel it would help if you described the exact steps you're taking to do it, describe exactly why it's not working and what's not working and include a copy of your /usr/src/linux/.config file from the new kernel which lets us see what options you've chosen. Plus a description of all devices that aren't working with the new kernel.

Dark Ninja
08-15-2001, 12:37 AM
Heyyyy...great idea idealego! I've posted my exact steps one time before and I was told I was doing the steps correctly, but I never thought of posting my .config file (which is where I think my problems are coming from). Thanks. I'll do that as soon as I install all these patches. (I do want the new kernel. I'm just kind of weird like that.)

You'll be hearing back from me on this kernel issue.

Dark Ninja

armando86
08-15-2001, 12:55 AM
Originally posted by Dark Ninja:
<STRONG>
I'm really not sure where I go wrong, except that I know that almost no modules are being compiled with the new kernel (this has happened to me under Mandrake and Slackware). I check the lib/modules/OLD_LINUX_KERNEL folder, and there are hundreds of different files. Then I check the lib/modules/NEW_LINUX_KERNEL and there are about 10 files. I'm guessing that is my problem.</STRONG>

This is perfectly normal, remember that the whole point of recompiling your kernel is so that you only use what YOU need. Most Linux distros have to support a wide variety of hardware so of course there are going to be more modules on a distro's default kernel than on one you've built yourself. Most of the stuff in /lib/modules/OLD_KERNEL is probably stuff you don't really need, the stuff thats in /lib/modules/NEW_KERNEL are things that you really do need because you selected them. I hope this clears things up a bit. :)