Actually, I didn't compile them in, I turned off support. (at least that is what I understand answering "n" in menuconfig means. I did leave ide and floppy support compiled in, along with the ext2 and fat/vfat file systems. So it isn't a completely bare bones kernel. And yes, this is mostly just an academic exercise to see if it is possible to build a usable kernel with zImage, and try to answer the question, if not, why is the option still there? Ray Anders Dahlqvist wrote:
If you build everything possible as modules and omit the things you don't have on your computer you should be able to get a 400 kb (-) kernel. Mine is 380,2 kb with support for various file-systems. When you say you turned off most of the modules I interpret that as that you actually built those features into the kernel. That's why you get a bigger kernel than the stock kernel. Regards
Anders
>>>>>>>>>>>>> Ursprungligt meddelande <<<<<<<<<<<<<<<<<<
"Ole Kofoed Hansen"
skrev 2000-01-29, kl. 09.03.17 angående ämnet Re: [SLE] Kernel size?: Raymond C. Maple
wrote: Just for fun I tried to build a kernel (from sources on the 6.2 CD) using make zImage. I paired the configuration down to what I felt was a bare minimum, leaving IDE, floppy, minimal networking, and basic file systems. I even turned off most of the modules. (I tried to turn off the multiple device support, but I got an unresolved reference error, and didn't have time to track it down, so I left that on.) But after all that, make errors out saying the kernel is too large and to do a make bzImage. Looking at the size of the resulting vmlinuz, it is almost twice as big as the copy in /boot. (the stock 6.2 image) What do I have to do to get a kernel that is "small enough?"
As I understand it, you are simply playing around now, and just trying to see if it is possible to make a very small kernel, right? (Otherwise, try 'make bzImage' instead of 'make zImage')
I managed to get the 6.1 kernel compiled with zImage. I think I left everything possible as modules, leaving only the ext2 filesystem inside the kernel.
Regards
Ole
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/