LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   2.6 Kernel Too Big Error (https://www.linuxquestions.org/questions/linux-software-2/2-6-kernel-too-big-error-127699/)

dragin33 12-20-2003 08:39 PM

2.6 Kernel Too Big Error
 
Hi. I've downloaded the new 2.6 kernel and attempted to compile it. The only options that i've chosen that are not default is to build in support for reiserfs (both built in and as a module) and adding TAP/TUN support built in. I compile it using make xconfig, make bzImage, make modules, and make modules_install. Then i copy the bzImage and the system.map to the /boot folder, change lilo and when i reboot i get "booting Linux-26 size too big" How big is too big and how can i get it to be any smaller. i need support for those things or using the 2.6 kernel is useless to me. Please help.

trickykid 12-20-2003 09:28 PM

You forgot to do the step of just 'make' before 'make bzImage'....

Boot using your old kernel and check the size of your newly compiled kernel? Tell us how big it is as I just compiled 2.6.0 and its just about 1.7 megs which is fairly larger than the older one's but is normal now as there is more code and such in the latest kernel.

dragin33 12-20-2003 09:35 PM

I ended up taking the /boot/initrd out of my lilo.conf file and it looks like it works. Is this an acceptable solution?

dragin33 12-20-2003 09:37 PM

It's about 1.7MB with the reiserfs as a module and 1.8MB with it built in. I did not do make because i was following this guide..
http://kerneltrap.org/node/view/799

Onemessedupjedi 12-21-2003 12:06 AM

Bah, too many guides for the same thing and none of them seem to be any good by themselves...

Anyways, although removing initrd seems weird because I thought you needed that to boot(shows you how much I know about boot-up) good job getting it working.

delta9 12-21-2003 09:07 AM

initrd is also an option in the kernel configuration I think, so if the compilation of the kernel didn't give you an initrd file or something like that alongside bzImage and system.map file, you shouldn't use an initrd in your lilo.conf (especially not one from a previous kernel compile)

dragin33 12-21-2003 10:31 PM

hrmm.. more problems. I kinda got it. It boots but there are some services that fail to start. First the loopback starts ok but my Eth0 and Eth1 fail to start. Also the following services failt to start with the new kernel
syslog,hotplug,resmgr,portmap,sshd,smpppd,atd,cron,nscd.

I'm compiling with SuSE 9.0 and i got the full source of the kernel from kernel.org. I'm using make xconfg; make bzImage; make modules; make modules_install

Can anyone help me figure out why this isn't working? Is there some "default kernel" setup that i'm missing?


All times are GMT -5. The time now is 09:27 AM.