Re: Compiling the Kernel

Scott D. Webster (scottw@frontier.wilpaterson.edu)
Fri, 26 Jul 1996 11:16:57 -0400 (EDT)


On Thu, 25 Jul 1996, Woodstock wrote:

> Okay... I received my alpha preinstalled with RedHat 3.0.3 on it. I was
> wondering a few things.
>
> 1) Why won't the default disk images (kernels) boot under MILO?
>
> 2) none of my kernels the I compile myself will work. The gzipped
> vmlinux is also 200K bigger than the one that came shipped with my
> machine... What could I be doing wrong?
> Is this the correct procedure for making the kernel (seeing as there's no
> Alpha-kernel HOWTO):
>
> make config (menuconfig); make dep; make clean; make vmlinux; make
> modules; make modules_install
>
> Or am I missing something?
> Thanks...

I went through all that this week, so it's fresh in my mind. If
you do a "make boot", a compressed kernel (vmlinux.gz) will be put in
arch/alpha/boot. That one should work. If you want to do it manually,
you do a "make vmlinux", then a "strip vmlinux" then a "gzip -fv vmlinux".

Your MILO and your kernel must also be the same version (or at
least close). If you're playing w/ 2.0.X kernels that might bite you.
Also MILO finds your kernel by /path/filename, so if you're letting it
boot automatically and you've changed the name of the kernel that might
give you problems.

Well, I hope this helps.

Scott D. Webster I had far rather walk, as I do, in daily terror
Senior, Computer Science of eternity, than feel that this was only a
William Paterson College children's game in which all of the contestants
http://www.wilpaterson.edu would get equally worthless prizes in the end.
/home/students/webster/index.htm - T. S. Elliot