Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Building a new kernel?
@ 1998-01-15  4:22 Steve Frampton
  0 siblings, 0 replies; 10+ messages in thread
From: Steve Frampton @ 1998-01-15  4:22 UTC (permalink / raw)


Hello:

What is the proper way of compiling a new kernel for RedHat 5.0 (Alpha)?

I downloaded linux-2.0.33.tar.gz, untarred it, made sure symlinks were
okay as per the README file, did a make mrproper ; make menuconfig ; chose
the appropriate system (XL), made sure all my options were building a
monolithic kernel as opposed to a modular one, exited and ran "make" (make
zImage, the command I use on Intel boxes wouldn't work).

After make finished, I copied the resultant "vmlinux" file into my
root partition and then gzipped it.  I then shutdown for a reboot...

The kernel started to boot, and then got to the message where it says
something like "Switching to virtual mode and jumping to the kernel"
(sorry, I am not in front of the machine right now) where everything
hangs.  :-(

Am I doing something wrong?

Thanks in advance.

P.S. I *did* change the architecture to "alpha" in the Makefile.  ;-)

--------------< LINUX: The choice of a GNU generation. >--------------
Steve Frampton  <3srf@qlink.queensu.ca>  http://qlink.queensu.ca/~3srf

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.LNX.3.96.980114231812.994A-100000@mail.flarc.edu.on.ca>
@ 1998-01-15  4:33 ` Chad Campbell
  1998-01-15  8:58 ` Joakim Roubert
  1 sibling, 0 replies; 10+ messages in thread
From: Chad Campbell @ 1998-01-15  4:33 UTC (permalink / raw)


> The kernel started to boot, and then got to the message where it says
> something like "Switching to virtual mode and jumping to the kernel"
> (sorry, I am not in front of the machine right now) where everything
> hangs.  :-(
> 
> Am I doing something wrong?
Use "make boot" instead of gzipping yourself.  This strips the kernel (I'm
not sure what that exactly entails, but I would have to guess it's like
changing a .exe file to a .com file on a PC) and gzips it into
/usr/src/linux/arch/alpha/boot/vmlinux.gz.

Chad

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.LNX.3.96.980114231812.994A-100000@mail.flarc.edu.on.ca>
  1998-01-15  4:33 ` Chad Campbell
@ 1998-01-15  8:58 ` Joakim Roubert
  1 sibling, 0 replies; 10+ messages in thread
From: Joakim Roubert @ 1998-01-15  8:58 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]

On Wed, 14 Jan 1998, Steve Frampton wrote:

> I downloaded linux-2.0.33.tar.gz, untarred it, made sure symlinks were
> okay as per the README file, did a make mrproper ; make menuconfig ; chose
> the appropriate system (XL), made sure all my options were building a
> monolithic kernel as opposed to a modular one, exited and ran "make" (make
> zImage, the command I use on Intel boxes wouldn't work).

make boot
And, did you patch it with an alpha-patch?

> After make finished, I copied the resultant "vmlinux" file into my
> root partition and then gzipped it.  I then shutdown for a reboot...

Don't!! When doing that yourself the kernel won't work. Use the kernel in
arch/alpha/boot/ (from your source directory).

> P.S. I *did* change the architecture to "alpha" in the Makefile.  ;-)

Ok. I also recommend the alpha-2.0.32-0.1.gz, which I patched my kernel
with; it works just fine afterwards.

/Jokke tmw.

---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
           Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.LNX.3.96.980115095529.218A-100000@octavia.wopr>
@ 1998-01-15  9:22 ` Alessandro Mirone
  1998-01-15 12:26 ` Steve Frampton
  1 sibling, 0 replies; 10+ messages in thread
From: Alessandro Mirone @ 1998-01-15  9:22 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

On Thu, 15 Jan 1998, Joakim Roubert wrote:

> 
> Ok. I also recommend the alpha-2.0.32-0.1.gz, which I patched my kernel
> with; it works just fine afterwards.

Hi,
 where may I find alpha-2.0.32-0.1.gz ?
thank you

> 
> /Jokke tmw.
> ---
>  * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
>            Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.SOL.3.91.980115102123.26594C-100000@greco2>
@ 1998-01-15 10:03 ` Ladislav Zejda
  1998-01-15 22:14 ` Joakim Roubert
  1 sibling, 0 replies; 10+ messages in thread
From: Ladislav Zejda @ 1998-01-15 10:03 UTC (permalink / raw)


> Hi,
>  where may I find alpha-2.0.32-0.1.gz ?
> thank you
> 

At

ftp://gatekeeper.dec.com/pub/DEC/Linux-Alpha/Kernels/

Cheers,
         Ladislav Zejda

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.LNX.3.96.980115095529.218A-100000@octavia.wopr>
  1998-01-15  9:22 ` Building a new kernel? Alessandro Mirone
@ 1998-01-15 12:26 ` Steve Frampton
  1 sibling, 0 replies; 10+ messages in thread
From: Steve Frampton @ 1998-01-15 12:26 UTC (permalink / raw)


Hello!

On Thu, 15 Jan 1998, Joakim Roubert wrote:

> make boot

Ah, okay.  :-)

> And, did you patch it with an alpha-patch?

Can you please bear with my ignorance and tell me where to find this
patch?

> Ok. I also recommend the alpha-2.0.32-0.1.gz, which I patched my kernel
> with; it works just fine afterwards.

Even applied to a 2.0.33 kernel?

I'm not in front of my machine until this afternoon and then I will
try it again.

Thanks for the tips.

--------------< LINUX: The choice of a GNU generation. >--------------
Steve Frampton  <3srf@qlink.queensu.ca>  http://qlink.queensu.ca/~3srf

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.LNX.3.96.980115072512.1634A-100000@mail.flarc.edu.on.ca>
@ 1998-01-15 15:01 ` Joakim Roubert
  0 siblings, 0 replies; 10+ messages in thread
From: Joakim Roubert @ 1998-01-15 15:01 UTC (permalink / raw)


On Thu, 15 Jan 1998, Steve Frampton wrote:

> > And, did you patch it with an alpha-patch?
> Can you please bear with my ignorance and tell me where to find this
> patch?

Hmm.. I thought I sent it to you... Hmm.. I think you can get it at
ftp.digital.com/pub/DEC/Linux-Alpha/Kernels/alpha-patches-2.0.32-0.1.gz.

> > Ok. I also recommend the alpha-2.0.32-0.1.gz, which I patched my kernel
> > with; it works just fine afterwards.
> Even applied to a 2.0.33 kernel?

Yup.

> I'm not in front of my machine until this afternoon and then I will
> try it again.
> Thanks for the tips.

It worked for my DEC AlphaStation 4/166, at least. I hope you get
successful too.

/Jokke tmw.

---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.LNX.3.96.980115131753.3402A-100000@mail.flarc.edu.on.ca>
@ 1998-01-15 18:48 ` Steve Frampton
  0 siblings, 0 replies; 10+ messages in thread
From: Steve Frampton @ 1998-01-15 18:48 UTC (permalink / raw)


Hello:

Thanks for sending the patch.  However, I was wondering how to apply
it?  I tried "patch < alpha-2.0.32-0.1" after I gunzipped it, but it
didn't work.  :-(

I looked on the Digital site for a readme file, but there wasn't one.

Thanks in advance.

--------------< LINUX: The choice of a GNU generation. >--------------
Steve Frampton  <3srf@qlink.queensu.ca>  http://qlink.queensu.ca/~3srf

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.LNX.3.96.980115134809.3637A-100000@mail.flarc.edu.on.ca>
@ 1998-01-15 19:06 ` Michael Larocque
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Larocque @ 1998-01-15 19:06 UTC (permalink / raw)


On Thu, 15 Jan 1998, Steve Frampton wrote:

> Hello:
> 
> Thanks for sending the patch.  However, I was wondering how to apply
> it?  I tried "patch < alpha-2.0.32-0.1" after I gunzipped it, but it
> didn't work.  :-(

cd /usr/src
tar xzf linux-2.0.33.tar.gz
cd linux
zcat ../alpha-patches-2.0.32-0.1.gz | patch -p1 -E >& ../patch.log

(replace any version numbers as appropriate)

Mike

<*> Michael Larocque - mlarocque@shaw.wave.ca <*>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzLc/0oAAAEEAJ6qHzuY7KUAE19EksW+EaH0gR1Z53BjeFx1z/fWoMmHlrUS
NavWTvXQbP5bnFzdjXU6hy28aRtv9umBDw8RSimZvrvF4g68rM331+w6X0ZKxMWB
JIZnfcowxxtdEe883bQYLFyNV0reQQbHHvLLGi6QwuAROqy4WZjKIrVKuYC5AAUR
tCRNaWNoYWVsIFIuIExhcm9jcXVlIDxtcmxAcmlzY2FuLmNvbT4=
=CCsD
- -----END PGP PUBLIC KEY BLOCK-----

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Building a new kernel?
       [not found] <Pine.SOL.3.91.980115102123.26594C-100000@greco2>
  1998-01-15 10:03 ` Ladislav Zejda
@ 1998-01-15 22:14 ` Joakim Roubert
  1 sibling, 0 replies; 10+ messages in thread
From: Joakim Roubert @ 1998-01-15 22:14 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]

On Thu, 15 Jan 1998, Alessandro Mirone wrote:

>  where may I find alpha-2.0.32-0.1.gz ?

ftp.digital.com/pub/DEC/Linux-Alpha/kernel

/Jokke tmw.

---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
           Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

end of thread, other threads:[~1998-01-15 22:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.96.980115095529.218A-100000@octavia.wopr>
1998-01-15  9:22 ` Building a new kernel? Alessandro Mirone
1998-01-15 12:26 ` Steve Frampton
     [not found] <Pine.SOL.3.91.980115102123.26594C-100000@greco2>
1998-01-15 10:03 ` Ladislav Zejda
1998-01-15 22:14 ` Joakim Roubert
     [not found] <Pine.LNX.3.96.980115134809.3637A-100000@mail.flarc.edu.on.ca>
1998-01-15 19:06 ` Michael Larocque
     [not found] <Pine.LNX.3.96.980115131753.3402A-100000@mail.flarc.edu.on.ca>
1998-01-15 18:48 ` Steve Frampton
     [not found] <Pine.LNX.3.96.980115072512.1634A-100000@mail.flarc.edu.on.ca>
1998-01-15 15:01 ` Joakim Roubert
     [not found] <Pine.LNX.3.96.980114231812.994A-100000@mail.flarc.edu.on.ca>
1998-01-15  4:33 ` Chad Campbell
1998-01-15  8:58 ` Joakim Roubert
1998-01-15  4:22 Steve Frampton

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