LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2003, 09:39 PM   #1
dragin33
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSE
Posts: 18

Rep: Reputation: 1
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.
 
Old 12-20-2003, 10:28 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 12-20-2003, 10:35 PM   #3
dragin33
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSE
Posts: 18

Original Poster
Rep: Reputation: 1
I ended up taking the /boot/initrd out of my lilo.conf file and it looks like it works. Is this an acceptable solution?
 
Old 12-20-2003, 10:37 PM   #4
dragin33
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSE
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
Old 12-21-2003, 01:06 AM   #5
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
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.
 
Old 12-21-2003, 10:07 AM   #6
delta9
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 66

Rep: Reputation: 15
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)
 
Old 12-21-2003, 11:31 PM   #7
dragin33
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSE
Posts: 18

Original Poster
Rep: Reputation: 1
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel too big error Palamides Slackware 3 09-17-2005 05:34 AM
error 'System is too big.' fatherg Linux - General 8 10-24-2004 07:27 AM
lilo error:linuxebda too big? saturn_vk Linux - General 3 02-23-2003 01:14 PM
Kernel compile error: System is too big for standalone boot from floppy... nutshell Linux - General 1 03-09-2002 11:11 AM
Update Kernel "too-big error" ? raz Linux - General 4 04-04-2001 04:18 AM


All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration