Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
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.
Re: Re: Error Process Booting After Compiling Kernel 2.6.3
Quote:
Originally posted by Thetargos That is because some fundamental changes between the 2.4 kernels (which RH9 has by default) and the 2.6 kernel. For instance, in the 2.4 kernel you should load the mouse_dev.o and keyb_dev.o modules to have USB mice and keyboard functinality, in 2.6 this is no needed, you may still compile them, but as the Help tidbits in the kernel will tell you, this will only enable the HID interface minimalistically (just a boot set of options) and thus they don't recommend that. You may safely ignore that. About the IPtables errors, since RH 9 is compatible with both iptables and ipchains (the old firewall software), you may avoid these problems if you compiled everything as modules (included ipchains support) under packet filtering for IPv4, I've never had problems with that.
Unless the USB errors are getting you into trouble (not being able to use your mouse/keyboard) you may safely ignore these error, otherwise post back and I'll post a rather rude workaround.
Hi, Thetargos:
I would like to know your rude way to workaround the USB problem.
Before I post the workaround, please tell me if the problems you are having are related to a series of [ ERROR!! ] error messages when loading the USB devices and/or mounting the USB filesystem. I will have to look at my FC1 machine (virutally identical to RH9) to dig out the solution I came up with... In the mean time, please just confirm these (errors regarding mouse_dev and keyb_dev modules, plus general USB module problems)
Especially in RH 9 for some strange, and obscure reason, I've always had problems when I try to recompile their stock kernel source, however, in my case they usually seem to fail about the crypto libraries (a reason I always rebuild a stock RH9 source without those).
The Crypto libraries are algorithms to encrypt data, I don't know exactly how are they implemented at kernel level, maybe to provide some sort of speed up, but they're there, and RH kenrels (and FC's for that matter) usually include them.
sched.c may refer to the kernel's internal scheduler, an algorithm to asign precedence and priority to processes... Maybe what you have is a faulty gcc?? Or do you have your CPU overclocked? Overclocking may have quite adverse effects on compiling (when it is too high, or poorly done)
I don't see how my gcc can get corrupted, but maybe I'll reinstall it. Anyway, my cpu cannot have been overclocked, 'cause I tried doing it with no applications running and no X server too, but it still failed.
HAve you tried re-compiling a "pure" stock kernel, i.e without NTFS support? Another suggestion is to try out a plain vanilla kernel source tree, using your stock .config and then enabling NTFS on that... other than what I've already said, I really don't know what may be the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.