MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
First, I must say that I am not new to compiling my own kernel. However, trying to compile a kernel on Mandrake 10 has left me feeling like a complete n00b.
Here are the steps I followed:
1. Installed the source for the current kernel with "urpmi kernel-source"
2. cd /usr/src/linux
3. make menuconfig
4. selected preemptible kernel to be built into the kernel
5. exited and saved the new config
7. make modules modules_install
8. make install
10. reboot, selecting the new custom kernel.
However, upon reboot, the system seems to think that half my hardware has been removed (mouse, cd-drive, etc) and most of the modules throw out errors as they are loaded.
What step(s) have I missed that is specific to compiling a kernel with Mandrake? I'm assuming that the .config that comes with the kernel-source package is the same one that was used to compile the kernel that is provided by the kernel package, so I doubt it is an issue with the actual kernel configuration.
Any help is greatly appreciated. Thanks in advance.
heema - With a 2.6 kernel, you "shouldn't" have to do a "make bzImage" anymore. However, I will give it a go later tonight when I try again. Also, a quick "make mrproper" before I start also might not be a bad idea.
Ph0enix2003 - I don't think that is the problem. The .config was provided with the rpm of the kernel source, and should be the same .config that was used to compile the kernel that I am actually running. All I simply did was add preemtible kernel, everything else was left as per the .config provided with the rpm.
Thanks for the suggestions so far, much appreciated.