Problem compiling kernel 2.6 on FC2

Timothy Murphy tim at birdsnest.maths.tcd.ie
Thu May 27 11:41:21 UTC 2004


Raúl Moratalla wrote:

> I have created the directory but it has no modules and fails during the
> boot process. I'm very frustrated with this version of Fedora, it has
> (in my opinion) this and other silly and important bugs. Should this be
> solved? What must I do for compile correctly the kernel and modules?

I've compiled linux-2.6.6 under Fedora-2 without any problems,
so I doubt if your difficulties are anything to do with FC-2.

I wasn't clear what you were doing.
The message seemed to be about a different /lib/modules/<version>
to the version you were compiling.
Do you have an /etc/modprobe.conf (used by 2.6 kernels)?
Did you compile a 2.6 kernel on your machine before you installed FC-2?
Maybe you need to install module-init-tools?
(You can get this from www.kernel.org .)

To compile the kernel I would get linux-2.6.6.tar.bz2
from http://www.kernel.org
un-tar it in /usr/src/linux-2.6.6
go to this directory and say
make oldconfig; make xconfig [or make menuconfig]
Make sure the settings are correct for your machine, and say
make bzImage; make modules
and then (as root)
make modules_install
make install



-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland





More information about the fedora-list mailing list