LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 06-22-2003, 01:54 PM   #1
florestan
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Rep: Reputation: 0
kernel too big? WTF?


Running redhat 6.0 on a P166 (go ahead, laugh). Recompiling the 2.2 kernel, but when I run lilo after adding my new kernel image to /etc/lilo.conf, it says: 'kernel /boot/newlinux too big'. This new kernel is about 1M smaller than the stock kernel, which obviously is okay. Anybody seen this before?
 
Old 06-22-2003, 01:56 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It might say a bit more after that, like "Too big for floppy". Which is possible if you built more into this kernel than the stock one had.

Cool
 
Old 06-22-2003, 02:03 PM   #3
florestan
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
nope! the size of the image is about 465k That should fit on a floppy. Like I said, it's about 1M smaller than the stock kernel; the only thing I added was apm support, which is not included in the Redhat 6.0 kernel by default.

Then I just did 'make dep clean modules modules_install zImage' and then copied my zImage over into /boot/newlinux.

There were no errors during compilation.
 
Old 06-22-2003, 02:06 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
At the end of compilation it didn't send out a message about kernel size might be too big for floppy?

Instead of zImage try bzImage, it might compress better.

Also, might I ask why a RH6 when that's a good, what, 3 years old?

Cool
 
Old 06-22-2003, 02:19 PM   #5
florestan
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
It's a P166. Tried installing redhat 9 on it earlier and installation had unexplained problems. RH6 runs fine, although X is a little slow. The big reasons for getting a newer version of an OS is 1) a kernel that has drivers for new hardware, and 2)Better, more elaborate WM. I don't have any new hardware, and I'm pushing it right now as far as KDE or enlightenment is concerned, anyway. It's running on a small lab network that's not connected to the Internet, so I don't even need to worry about the latest security fix for Apache, or whatever. I'm just trying to make the kernel a little tighter.

Once again, my compiled zImage is only 465k, which shouldn't have any problems fitting on a floppy, and it's strictly smaller than the stock kernel. If the stock kernel is not too big and lilo doesn't have any problems adding it, why should it have problems adding my new kernel?
 
Old 06-22-2003, 02:24 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
That's a good question I cannot see any reason other than maybe the stock kernel wasn't reporting correctly...

Hopefully one of the more experienced users on the forum will know and reply. In the meantime, I'd give a go at bzImage just to see if that does the trick (it might have to do with how lilo uncompresses a kernel).

Cool
 
Old 06-22-2003, 02:38 PM   #7
florestan
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
thx anyway, cool,

btw, (unrelated) how did you pull all of that shit off of the Windows desktop? (saw yer screenshot) I'm running a dual boot at home between W2k and Mandrake; it'd be nice to be able to clean up my W2k desktop like that.
 
Old 06-22-2003, 03:49 PM   #8
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: 50
I don't know what version of LILO you are using, but you might consider upgrading that and the kernel. Even if you are using an older distribution, you should still keep up with the boot loader and kernel upgrades.
 
Old 06-22-2003, 04:24 PM   #9
florestan
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
that's probably the answer, moses. I probably will. The real pain is that this PC is in a lab in the data center of the company I work for. The wee bas'ards won't let me connect it to the Internet, and I don't have a burner handy here. So if I wanna download something larger than 1.44M, I gotta go home and burn it. I'll go see if I can find that RH9, and install stuff from the source RPMs, I guess. Maybe it's a bug, but I'd sure would like to know for sure that I'm not doing anything wrong (other than using a crappy PC with an outdated distro). that's all!

thanks,
florestan
 
Old 06-23-2003, 01:19 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by florestan
thx anyway, cool,

btw, (unrelated) how did you pull all of that shit off of the Windows desktop? (saw yer screenshot) I'm running a dual boot at home between W2k and Mandrake; it'd be nice to be able to clean up my W2k desktop like that.
I don't remember. It's been a while, but I think that if you remove the icons to a directory on the desktop, that you then make a System directory, you can "hide" system directories but they will appear in the Taskbar "Desktop" link

I don't really remember though...

Cool
 
Old 06-23-2003, 02:18 AM   #11
greenhornet
Member
 
Registered: Mar 2002
Location: Sydney, Australia
Distribution: RHEL, Fedora, Yellow Dog
Posts: 43

Rep: Reputation: 15
This might be a stupid post but thought I'd chuck it in anyway.

Is your /boot directory on a separate partition, and if so is it large enough to hold two kernels (the running one and the one you are trying to compile) ?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Just upgraded my kernel, and lost my sound... WTF TheCowboy Linux - Hardware 1 02-24-2005 08:26 PM
WTF, Kernel Compiled but wont install!! Devboy *BSD 10 08-09-2004 02:18 PM
Unsupported custom kernel...wtf? six6 Fedora 1 07-09-2004 08:16 AM
Kernel too big? DragonDon Linux - Newbie 3 03-17-2004 03:16 PM
WTF!?!, linux just bombed big time saturn_vk Linux - General 3 02-27-2003 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:23 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
Open Source Consulting | Domain Registration