LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2002, 04:04 PM   #1
lopoetve
Member
 
Registered: Aug 2001
Distribution: Too many.
Posts: 102

Rep: Reputation: 15
Ballooning kernel, way too big...


Ok. So I'm trying to custom compile a kernel to enable web sharing/routing on my Redhat 7.1 box. Now, I haven't done this in ages (1.5 years) so I might have something way wrong... but...

Everytime I compile the kernel and try to get LILO to use it, it tells me that the system is too big. (Or kernel is too big, I'm away from the system at the moment). Now, I didn't change much. Took out some PCMCIA stuff I didn't need, and added a few network options, took out some un-needed sound stuff... Anyway...

I run

make mrproper
make menuconfig
make deps
make bzImage
make modules
make modules_install

right? Nothing there has changed, right?

Why in the world is the kernel too big then? I even tried disabling almost everything in the kernel (took it ALL out) and it's still too big. I'm still a bit of a but I've never had this much trouble before...

Kernel is 2.4.19 (If I remember right, it's the newest one RedHat has out as of a two weeks ago).
 
Old 10-23-2002, 11:24 PM   #2
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
does it say that after you compile the kernel, or when you run lilo?

It always tells me that when I compile.... but I think it's if you want to put it on a disk.
 
Old 10-24-2002, 02:48 PM   #3
lopoetve
Member
 
Registered: Aug 2001
Distribution: Too many.
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by adam_boz
does it say that after you compile the kernel, or when you run lilo?

It always tells me that when I compile.... but I think it's if you want to put it on a disk.
Lilo tells me the system image is too big.
 
Old 10-24-2002, 04:35 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,578

Rep: Reputation: 191Reputation: 191
Where are you booting from? From a hd or from a floppy (is LILO installed on floppy?)?
 
Old 10-25-2002, 12:18 AM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Which LILO version are you using?
I'm running 22.2 with linux kernel 2.4.19, no problems.

I assume you mean "make dep" rather than "make deps", though I don't
think it matters for this, since you probably wouldn't be able to go on to
make bzImage. . .

Before you do a make modules, check to see what the final output is
from make bzImage. If it says something about a large kernel, there is
something wrong with your kernel/options. If it doesn't say anything, it
might be a problem with LILO. . .
 
Old 10-25-2002, 01:52 AM   #6
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
shute....

MOSES:

I have been getting a warning about the kernel being too big when I do "make bzImage" in the 2.4.19 kernel. I have just been ignoring it..... Is there a problem?

I didn't get that message in the 2.4.18, but I also didn't get a couple of other messages that I can't remember at the moment (I don't think they were warnings.... just messages), so I just figured it was part of the new kernel.
 
Old 10-25-2002, 05:07 AM   #7
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
I almost never get a warning about my kernel being too big anymore. If I
do, I recompile and move something from kernel space to module space.

After doing a little bit more research, I think it's really only a problem if
you don't have a newer boot loader. I don't think the Makefile checks
for your LILO version, so it just assumes there is some hard limit
(based on an older LILO's limit), and tells you that your kernel is too big
when it may not be.

However, if LILO tells you your kernel is too big, then it's too big. Make
more modules, fewer built-ins.
 
Old 10-30-2002, 05:06 PM   #8
lopoetve
Member
 
Registered: Aug 2001
Distribution: Too many.
Posts: 102

Original Poster
Rep: Reputation: 15
Lilo is from the HD

As for the version... It's pretty new. I updated it recently.

And yes, I meant make dep. It works, anyway. And the comment about the system size comes from Lilo, not from make.

I'm going to try a few things tonight, but Lilo so far has complained about it being too big with a completely stripped kernel. I took out everything that was optional, it it still came out as too big. I'll get the exact error tonight.
 
Old 10-31-2002, 01:33 AM   #9
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Post your /etc/lilo.conf
 
  


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
Big O, Big Omega, and Big Theta oulevon Programming 7 05-26-2010 08:18 AM
Kernel too big? DragonDon Linux - Newbie 3 03-17-2004 03:16 PM
kernel is too big jogurt666 Linux - General 3 01-16-2004 04:05 AM
Kernel Compilation - Big Kernel Jamstah Slackware 2 11-13-2003 09:56 AM
how big is your kernel? bluecadet Linux - General 7 01-01-2002 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:01 AM.

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