[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] My Kernel's bigger than yours...
On Tue, 1 Dec 1998, Jay Banyer wrote:
> daedalus wrote:
> >
> > try 'make zImage' instead of 'make boot'.
>
> Okay, I did that, and it churned away for a while building the new
> kernel. However, just at the end of the process, I got an error,
> something like 'command: as86 not found'; I can't remember exactly.
erk. you need that program. I think it's the x86 assembler.
> I ended up with a new vmlinux (uncompressed) kernel in usr/src/linux,
> but no vmlinuz anywhere (I searched for it).
You don't actually end up with a vmlinuz file. The output goes into a
file called zImage if you did a 'make zImage'. It's located in
/usr/local/linux/arch/i386/boot on my system, so have a look there. A
good ol' `find /usr/local/linux -name 'zImage' -print` is also fun.
> 1. Any ideas why the compression step failed?
PATH settings? Not really sure without more complete error messages.
> 2. Can I compress the vmlinux I just built into a vmlinuz, so I don't
> have to recompile again?
No, because the compressed kernel image contains the code to uncompress
the kernel at boot time. You shouldn't have to recompile from scratch
though. If you do a 'make zImage' again, make knows that the compiled
code is up to date, so it will just traverse through all the directories
checking everything is ok until it gets the stage that failed. If you've
fixed whatever the problem is then it should continue the compilation
from the point it left off.
--
+---------------------------+-----------------------------------------+
| Justin Warren | justin.warren@nospam.its.maynick.com.au |
| Systems Administrator | daedalus@nospam.progsoc.uts.edu.au |
| Mayne Nickless Express IT | http://www.progsoc.uts.edu.au/~daedalus |
+---------------------------+-----------------------------------------+
| Just because you're paranoid doesn't mean they're NOT after you... |
+---------------------------------------------------------------------+
--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>