Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Making and installing an alpha kernel  ( 2.2.14-6.0 )
@ 2001-03-09  0:36 John Beardmore
  2001-03-09 12:29 ` Pierre Asselin
  0 siblings, 1 reply; 3+ messages in thread
From: John Beardmore @ 2001-03-09  0:36 UTC (permalink / raw)


I've made a new kernel for my 2100 server.  I've not changed the kernel 
version, but I've build the ISDN subsystem and some ISDN drivers into 
it.

I did

     make clean                        to muck out any old stuff
     make proper                      to get a sensible default state
     make xconfig                     to select the new bits
     make dep
     make modules
     make modules_install
     make vmlinux
     make install

Did I goof ?

I was assuming that make install would stuff the thing into /boot along 
with any other kernel related files that need to be there, but what it 
seems to have done is left /boot alone and made me a

     /usr/src/linux/arch/alpha/boot/vmlinux.gz

file.


In /boot, I currently have vmlinuz linked to vmlinuz.VersionNumber, and 
also vmlinux.VersionNumber.


So, given that I have a new kernel in compressed and uncompressed form, 
what do I need to do to install it ?  Do I need to update any files 
other than the kernel itself, e.g. map files ?

What's the big deal with having compressed an uncompressed kernels ?  Do 
you need to actually have both in /boot ?

Is the last stage of kernel file copying / renaming automated anywhere ?

Is there an Alpha specific FAQ ?  The Intel "make bzImage" thing doesn't 
look to be supported under the Alpha Makefile.


Cheers, J/.
-- 
John Beardmore


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

* Re: Making and installing an alpha kernel  ( 2.2.14-6.0 )
  2001-03-09  0:36 Making and installing an alpha kernel ( 2.2.14-6.0 ) John Beardmore
@ 2001-03-09 12:29 ` Pierre Asselin
  2001-03-09 15:45   ` Joakim Roubert
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Asselin @ 2001-03-09 12:29 UTC (permalink / raw)


John Beardmore <wookie@wookie.demon.co.uk> wrote:

>      make clean                        to muck out any old stuff
>      make proper                      to get a sensible default state
>      make xconfig                     to select the new bits
>      make dep
>      make modules
>      make modules_install
>      make vmlinux
>      make install
> 
> Did I goof ?
> 
> I was assuming that make install would stuff the thing into /boot along 
> with any other kernel related files that need to be there, but what it 
> seems to have done is left /boot alone and made me a
> 
>      /usr/src/linux/arch/alpha/boot/vmlinux.gz
> 
> file.

My notes say to do a `make boot' after the make dep, which leaves
a compressed kernel in arch/alpha/boot/vmlinux.gz --as you say.
You got your kernel, so the `make modules' must have built it
through a dependency.  I copy the compressed kernel manually to my
boot partition, giving it a unique name like vmlinux-m.n.p.gz to
avoid clobbering older kernels.  I always boot manually from milo,
e.g.

    MILO> boot sdb1:vmlinux-m.n.p.gz root=/dev/sda3

The System.map has to do with modules and goes in /usr/src/linux .
If I remember correctly, failing to update it causes warnings during boot,
but the kernel still works.

-- 
Pierre Asselin
Westminster, Colorado


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

* Re: Making and installing an alpha kernel  ( 2.2.14-6.0 )
  2001-03-09 12:29 ` Pierre Asselin
@ 2001-03-09 15:45   ` Joakim Roubert
  0 siblings, 0 replies; 3+ messages in thread
From: Joakim Roubert @ 2001-03-09 15:45 UTC (permalink / raw)


On Fri, 09 Mar 2001 12:29:46 -0000 Pierre Asselin wrote:
>avoid clobbering older kernels.  I always boot manually from milo,
>e.g.
>
>    MILO> boot sdb1:vmlinux-m.n.p.gz root=/dev/sda3

Using ARC it's just to set OSLOADOPTIONS (I think it was that one, at least)
to the string boot sdb1:vmlinux-m.n.p.gz root=/dev/sda3 and it will work
automagically.

/Jokke tmw.
���
 http://www.efd.lth.se/~d97jro/


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

end of thread, other threads:[~2001-03-09 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-09  0:36 Making and installing an alpha kernel ( 2.2.14-6.0 ) John Beardmore
2001-03-09 12:29 ` Pierre Asselin
2001-03-09 15:45   ` Joakim Roubert

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