public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel size
@ 2001-10-09 14:16 VDA
  2001-10-09 13:26 ` [solid]
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: VDA @ 2001-10-09 14:16 UTC (permalink / raw)
  To: linux-kernel

Hi folks

I recompiled my kernel with GCC 3.0.1 (was 2.95.x)
and guess what - it got bigger...
Somehow, I hoped in linux world software gets better
with time, not worse...

Maybe that's my fault (misconfigured GCC etc) ?
What do you see?

Being curious, I looked into vmlinux (uncompressed kernel).
I saw swatches of zero bytes in places, large repeateable
patterns etc. You may look there too in your spare time.

Especially informative are two pages (my console:100x40)
filled with "GCC: (GNU) 3.0.1". Does this gets into
unswappable memory when kernel loads?
-- 
Best regards, VDA
mailto:VDA@port.imtp.ilyichevsk.odessa.ua



^ permalink raw reply	[flat|nested] 21+ messages in thread
* Kernel size
@ 2001-12-13  4:38 rohit prasad
  0 siblings, 0 replies; 21+ messages in thread
From: rohit prasad @ 2001-12-13  4:38 UTC (permalink / raw)
  To: linux-kernel

Hi, 

I re-compiled linux from the /usr/src/linux-2.4.x directory and included only the NTFS support read only to the newly compiled kernel the remaining defaults were untouched and created and installed as modules using make modules and make modules_install. 

But whatever bzImage that I got and moved to /boot and updated the lilo.conf for this new image and ran lilo I got a warning "Fatal kernel too big " 

I am unable to debug this problem . 
After compilation and final image is generated the make returns following comments , 
What do they mean, 
Root Device (3, 5) 
system 1137KB 
setup is 4648kB 
after bzImage is created. 

My system has 20gb of partition space. 
Do let me know pls, 
Thanks, 
Rohit 

___________________________________________________________________________
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.


^ permalink raw reply	[flat|nested] 21+ messages in thread
* kernel size
@ 2001-12-07  8:53 rohit prasad
  2001-12-07 16:46 ` Eli Carter
  0 siblings, 1 reply; 21+ messages in thread
From: rohit prasad @ 2001-12-07  8:53 UTC (permalink / raw)
  To: linux-kernel


Hi, 

 I have compiled a kernel on a machine with a partition size of 20GB and am running it there.

 I ftp'd this kernel to another machine with similar partition size of 20GB but when I run lilo there I get a message "Fatal: Size too Big"

Why is that.

Do enlighten me,
Rohit


___________________________________________________________________________
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: Security question: "Text file busy" overwriting executables but not shared libraries?
@ 2001-10-04 13:11 Eric W. Biederman
  2001-10-04 14:24 ` Kernel size Richard B. Johnson
  0 siblings, 1 reply; 21+ messages in thread
From: Eric W. Biederman @ 2001-10-04 13:11 UTC (permalink / raw)
  To: CaT; +Cc: linux-kernel

CaT <cat@zip.com.au> writes:

> On Thu, Oct 04, 2001 at 12:15:01AM -0600, Eric W. Biederman wrote:
> > I have days when I'm frustrated by the size of both glibc and the
> > linux kernel.  stripped both the linux kernel and glibc are comparable
> > in size.  Though I think the 400KB of compressed glibc-2.1.2 is
> > actually smaller than the kernel for the most part.  I have to strip
> > off practically everthing to get a useable bzImage under 400KB.
> > 
> > So any good ideas on how to get the size of linux down?
> 
> Mind if I ask why you need a bzimage under 400kb? Just curious as I've
> never had the need. (And I can see needing it less then 1.4meg - are you
> trying to get a kernel AND a ramdisk on the one floppy?)

floppies have lots of room.

I'd like to get a kernel, ramdisk, and some hw initialization code all
on a 256KB ROM.  I have my ramdisk down to about 14KB compressed.  I
have my hw initialization code down to 32KB uncompressed (and I might
be able to reduce that further). So I want something like a 192KB
(compressed) linux kernel.   

If I had that some of the hard problems of with linuxBIOS would just
drop away.

Eric

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2001-12-13  4:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-09 14:16 kernel size VDA
2001-10-09 13:26 ` [solid]
2001-10-09 13:28 ` Nikita Danilov
2001-10-10  9:10   ` kernel size, kcore fun Helge Hafting
2001-10-09 14:16 ` kernel size Richard B. Johnson
2001-10-09 14:43   ` Ingo Oeser
2001-10-09 14:52     ` Richard B. Johnson
2001-10-09 15:43       ` Horst von Brand
2001-10-09 15:53         ` Richard B. Johnson
2001-10-10  1:29           ` Keith Owens
2001-10-10 13:00             ` Richard B. Johnson
2001-10-10 14:47               ` vda
2001-10-11 12:41                 ` vda
2001-10-10  1:30           ` Kenneth Johansson
2001-10-09 15:55         ` Jakub Jelinek
2001-10-10  1:27     ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2001-12-13  4:38 Kernel size rohit prasad
2001-12-07  8:53 kernel size rohit prasad
2001-12-07 16:46 ` Eli Carter
2001-10-04 13:11 Security question: "Text file busy" overwriting executables but not shared libraries? Eric W. Biederman
2001-10-04 14:24 ` Kernel size Richard B. Johnson
2001-10-13 20:35   ` Aaron Lehmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox