[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update 2.0.35 -> 2.0.38



Dwight Johnson wrote:
> > Would someone kindly help in understanding all those new files after
> > launching "make zImage"?
> 
> They are artifacts of the kernel compile and link.
> 
> > In /usr/src/linux/ a vmlinux exe file, ~1,2 MB large.
> > In /usr/src/linux/arch/i386/boot/ a zImage with -rw-.. and 0.5MB 'small'.
> 
> This file must be copied to /boot and edited into /etc/lilo.conf so that
> you can boot your new kernel.
> 
> > In /usr/src/linux/arch/i386/boot/compressed/ -
> >       vmlinux (executable, -rwx...) ,>0.5 MB small
> >       vmlinux.out (executable, -rwx...) and >0.5 MB small
> 
> > I'm quite pertubed about these files since I never had heard/read of
> > and noone seems to bother about them.
> 
> Quite understandable -- you didn't expect that a kernel compile would
> generate so much disk overhead. And the compile has generated many hundreds
> of other files that you have not mentioned. Better do a 'df' and see what
> disk space you have left.
> 
> I hope you have enough left to do 'make modules'. It generates a ton more.

The compile and installation procedure worked without a failure. What
are these "artifacts" for and why are they not removed by the make
script?



> Yes. You'll have to discuss the uselessness of these files with Linus
> (torvalds@transmeta.com).

Did you ever get a answer from Linus?



> After you are finished, 'make clean' will remove a lot of them.

I did so before compiling - make clean after installing the kernel in
the boot directory would not affect my system?



> > Additional - where does "dmesg" extract the messages out of? The files
> > mentioned in man dmesg are empty, so I guess they're in RAM?
> 
> They are in /var/log/messages.

Alec sent me a message to look into /var/log/dmesg. The messages are
indeed there but differ from var/log/messages by displaying only the
kernel related stuff. /var/log/messages additionaly seems to  include
the startup messages.



One question related to kernel compiling: I tried "make zdisk" in
mounting the floppy before compiling and the second time only
inserting the floppy into the slot. After make zdisk linux refused to
accept the floppy and trying a floppy-boot resulted in a periodicaly
printed hex table on screen with the device sounding like a mashine
gun!
How can I mount this disk to reformat?




Robert



Reply to: