Re: kernel Image Size.

1999-03-13 Thread Pedro Guerreiro
On Thu, Mar 11, 1999 at 11:04:21AM -0500, Person, Roderick wrote:

 What FF is the larges size a Kernel can be to get mounted!! My smallest
 kernel so far is 808,536 in size. My largest was over a Meg. Help ! All I
 maked was to hear Window Maker! That's all

Try installing the kernel-package and using make-kpkg to compile the kernel.
It's the _right_ way to do it under Debian, and I've _never_ and any problems
with it.

BTW, my kernel (2.2.3) is 664Kb compiled with egcs. Under gcc it was only
652Kb.

-- 
Pedro Guerreiro (aka digito)([EMAIL PROTECTED])
 
Diplomacy: the art of letting someone have your own way.


kernel Image Size.

1999-03-11 Thread Person, Roderick
Ok,

I finally got a kernel to compile!! Now, it telling me it too large to
mount!!! So I remade it, making as much stuff as possible as modules. Still
too large. So I tried to make bzImage - STILL TOO LARGE!!

What FF is the larges size a Kernel can be to get mounted!! My smallest
kernel so far is 808,536 in size. My largest was over a Meg. Help ! All I
maked was to hear Window Maker! That's all

Roderick P. Person
?
454-2616
[EMAIL PROTECTED]


Re: kernel Image Size.

1999-03-11 Thread Justin Akehurst
On Thu, 11 Mar 1999, Person, Roderick wrote:

 Ok,
 
 I finally got a kernel to compile!! Now, it telling me it too large to
 mount!!! So I remade it, making as much stuff as possible as modules. Still
 too large. So I tried to make bzImage - STILL TOO LARGE!!
 
 What FF is the larges size a Kernel can be to get mounted!! My smallest
 kernel so far is 808,536 in size. My largest was over a Meg. Help ! All I
 maked was to hear Window Maker! That's all

make menuconfig; 
make dep; 
make clean; 
make zImage; 

And if you use modules...

make modules; 
make modules_install

Those are the steps you have to take to make a kernel.  make zImage will
compress the kernel image so that it can fit in memory.

-Justin Akehurst


Re: kernel Image Size.

1999-03-11 Thread Gary L. Hennigan
Justin Akehurst [EMAIL PROTECTED] writes:
| On Thu, 11 Mar 1999, Person, Roderick wrote:
| 
|  Ok,
|  
|  I finally got a kernel to compile!! Now, it telling me it too large to
|  mount!!! So I remade it, making as much stuff as possible as modules. Still
|  too large. So I tried to make bzImage - STILL TOO LARGE!!
|  
|  What FF is the larges size a Kernel can be to get mounted!! My smallest
|  kernel so far is 808,536 in size. My largest was over a Meg. Help ! All I
|  maked was to hear Window Maker! That's all
| 
| make menuconfig; 
| make dep; 
| make clean; 
| make zImage; 
| 
| And if you use modules...
| 
| make modules; 
| make modules_install
| 
| Those are the steps you have to take to make a kernel.  make zImage will
| compress the kernel image so that it can fit in memory.

Or, you can bypass all this crud with the make-kpkg Debian utility. It
does all these steps for you, and it puts together a nice
kernel-image*.deb file which you can install manually with 
dpkg -i. Not only is it just nicer to use, it's also the way it's
supposed to be done under Debian, i.e., it's the Debian Way (TM).

Gary


Re: kernel Image Size.

1999-03-11 Thread Andrei Ivanov
What are you putting in that kernel?
I have my 2.0.34 compiled with vfat/dos/iso9660 support, SB16, some other
options, and it's 360K only, in the bzImage format.
GO through the kernel and unmark all the stuff you don't need. 
I think the kernel size limitation is in the docs. If my memory serves me
well, it's
somewhere in 500M range for compressed kernel.

Andrew
---
 Andrei S. Ivanov  
 [EMAIL PROTECTED]   
 UIN 12402354  
 http://members.tripod.com/AnSIv   --Little things for Linux.


Re: kernel image size...

1998-08-10 Thread Michael Beattie
On Sun, 9 Aug 1998, Alan Su wrote:

 just out of curiousity, if i do 'make clean ; make zImage' in
 /usr/src/linux repeatedly and compare the size of
 /usr/src/linux/arch/i386/boot/zImage, should i expect to get the same
 size image?

pass :)
 
 -rw-r--r--   1 root root   46 Aug  8 21:11 zImage.4
 -rw-r--r--   1 root root   46 Aug  8 21:17 zImage.5
 -rw-r--r--   1 root root   46 Aug  8 21:23 zImage.6

Excuse the butting in, but I am right by saying these are 6 minute
compiles? phew... I wish I had a PII :)


   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with pgpkey as subject.
 -
 WinErr: 001 Windows loaded - System in danger
 -
Debian GNU/Linux  Ooohh You are missing out!



kernel image size...

1998-08-09 Thread Alan Su
just out of curiousity, if i do 'make clean ; make zImage' in
/usr/src/linux repeatedly and compare the size of
/usr/src/linux/arch/i386/boot/zImage, should i expect to get the same
size image?

i'm currently burning in a computer by sticking it in such a loop, and
i'm saving the images, just to tax the filesystem a bit.  this is a
partial listing of the images i've saved:

-rw-r--r--   1 root root   45 Aug  8 23:25 zImage.26
-rw-r--r--   1 root root   45 Aug  8 23:31 zImage.27
-rw-r--r--   1 root root   45 Aug  8 23:37 zImage.28
-rw-r--r--   1 root root   44 Aug  8 23:43 zImage.29
-rw-r--r--   1 root root   45 Aug  8 21:05 zImage.3
-rw-r--r--   1 root root   44 Aug  8 23:49 zImage.30
-rw-r--r--   1 root root   45 Aug  8 23:55 zImage.31
-rw-r--r--   1 root root   45 Aug  9 00:01 zImage.32
-rw-r--r--   1 root root   48 Aug  9 00:07 zImage.33
-rw-r--r--   1 root root   411120 Aug  9 00:14 zImage.34
-rw-r--r--   1 root root   411121 Aug  9 00:20 zImage.35
-rw-r--r--   1 root root   47 Aug  9 00:26 zImage.36
-rw-r--r--   1 root root   411122 Aug  9 00:32 zImage.37
-rw-r--r--   1 root root   49 Aug  9 00:38 zImage.38
-rw-r--r--   1 root root   411121 Aug  9 00:44 zImage.39
-rw-r--r--   1 root root   46 Aug  8 21:11 zImage.4
-rw-r--r--   1 root root   411121 Aug  9 00:50 zImage.40
-rw-r--r--   1 root root   46 Aug  8 21:17 zImage.5
-rw-r--r--   1 root root   46 Aug  8 21:23 zImage.6

the file sizes are pretty close, but the're not identical.  of course,
i haven't actually tried any of these, but i have no reason to suspect
that they won't work.  am i right, or should i conclude that this
machine has problems?  thanks.

-alan


Re: kernel image size...

1998-08-09 Thread Hamish Moffatt
On Sun, Aug 09, 1998 at 01:00:46AM -0700, Alan Su wrote:
 just out of curiousity, if i do 'make clean ; make zImage' in
 /usr/src/linux repeatedly and compare the size of
 /usr/src/linux/arch/i386/boot/zImage, should i expect to get the same
 size image?
 
 i'm currently burning in a computer by sticking it in such a loop, and
 i'm saving the images, just to tax the filesystem a bit.  this is a
 partial listing of the images i've saved:
 
 -rw-r--r--   1 root root   45 Aug  8 23:25 zImage.26

 the file sizes are pretty close, but the're not identical.  of course,
 i haven't actually tried any of these, but i have no reason to suspect
 that they won't work.  am i right, or should i conclude that this
 machine has problems?  thanks.

The kernel image contains the date/time of compilation, and they're
also compressed. It's possible that due to small changes in the
data to be compressed (the date is the only thing that will change I think)
the compression algorithm produces a result of different size.


Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org