Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK, I've downloaded the patches 2.4.9 through to 2.4.17. I'm currently running on the Mandrake 8.1 default modultils, so will I have to download an upgrade for these aswell?
Clean kernel definitely the way to go, patching .9 to .17 will take longer than doing it from scratch, unless you have problems with the download.
The modutils for 2.4 anything are OK with .17 I haven't upgraded mine since I moved to 2.4.2
Jim
Last edited by drjimstuckinwin; 01-14-2002 at 02:00 PM.
On my old computer, I would. I'd got it down to a tee. But on my new Abit, for some reason everytime I've tried doing clean kernel installs, it goes all wonkey eyed on me. The most common problem I've had:
Do new kernel install.
Rebooted into Linux.
New kernel springs up all sorts of errors about incompatible executables. Something to do with elfs and a.outs.
Boot from good-ol-trusty default-installed kernel, and guess what! It too also now comes up with the same types of error!
It seems that I can't get new kernels to work. So my idea was: If I can't go straight to the new one, I'll try patching it so that I keep the current kernel's configs, but have the new bit installed!
PS The Mandrake 8.1 default kernel is patched-to-hell with 3rd party updates, and I can't find their sources (origins).
So you need to compile with support for aout and elf executables. Its in the general setup I think, and would be wiped out by a make mrproper.
Soz if I'm insulting your intelligence.
Jim
I don't admit to being the worlds greatest kernel guru, so if I'm not entirely sure about something, I normally go with the default suggestion. If memory serves me, the help thingy for aout/elf selection says that aout is being phased out and you should probably go with elf binaries only. If this is the case, then why are Mandrake shipping a distro which is aimed at people with little or no Linux experience, using aout binaries? (btw, that wasn't a question, that we me ranting on in rhetoric again).
When I get the chance I'll try doing a completely new kernel install on 2.4.17. (Unfortuantely I haven't got enough time to fart at the moment, too many bloody courseworks due in at one - and as usual, I've not got them done yet ). One of the main reasons that I wanted it is because the ext3 support is not a patch or 3rd party patch anymore, it's part of the general kernel tree now.
Cheers for the advice, I'll try building with support for both.
As some additional food for thought, you might try this suggestion if you still have trouble later. I seem to have been having a hell of a time myself with compiling the dreaded kernel.
Whenever I compiled from scratch, I always got errors upon bootup, from missing mods, to hardware issues, you name it, I got it. I finally took a suggestion from another user and it seems to work great.
When you bring up your xconfig (or menuconfig) to compile your kernel, load the saved configuration from your original kernel out of your old /etc/src/linux-2.4.x directory. Sometimes the filenames aren't readily apparent. In RedHat 7.2, they distribute their kernel configs into a directory called 'configs'. But, that is not the rule. Mandrake 8.1 I gave up on looking for a saved config ... but only because I was having other major problems.
Once I brought up xconfig and loaded their (distirbutors) config, I changed nothing, and compiled the kernel. Upon reboot, everything worked great like it was supposed too. Nothing changed except for my kernel version (you should of seen my dumb #@# running around the room).
True, this does include more modules than you'll probably ever need, BUT it does not affect anything except maybe more hard drive space. It has been my experience so far, in compiling kernels, if you're not SURE it should be there, include it in a module, I never say no, unless I am 100% sure (like SMP).
Anyway, hope this helps you. I know the frustration all too well.
I also do what ryan did. The kernel config is a .config and thus is a hidden file, if you copy the original one to the new kernel source and run "make menuconfig" it will load all the defaults from the stock distro kernel, you can then go through and check out whats enabled as modules and whats built in. I do it this way because I have my kernels tuned already so all I do with a new one is "make config" unless there is a new feature/hardware I want to add in, then I do the menuconfig thing.
Also you may want to go through it slowly and read the help on each option as you go.
Not a bad idea to take some notes on what works as well.
slack has a good approach to the kernel config. mine came with just about everything as a module. this allows you to try modules until everything works. make note of the loaded modules, then go back and change them to kernel support.
and then you can remove unneeded support if you wish.
If you are keeping the system for a while it will be worth the trouble.
it will take a few tries but you should end up with a good working system and you will know what's in it.
Aha! So Mandy 8.1 does save a list of what options have which selection? Am I right in thinking it's called .config? Yipee! I've actually been looking for this for ages. It never occured to me to check for hidden files!
Cheers guys. As soon as I have my stupid courseworks done, me thinks I'll try this!
well, it's nothign to do with mandy. all source packages have .config files if they need them. the old kernel configs are normally in /boot tho, which does come in very handy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.