* recompilation of kernel
1999-05-20 14:25 Ruffian bootup problem James Peret
@ 1999-05-20 16:13 ` T.Hval
1999-05-20 17:03 ` Doug Hunt
` (4 more replies)
0 siblings, 5 replies; 14+ messages in thread
From: T.Hval @ 1999-05-20 16:13 UTC (permalink / raw)
To: axp-list
Hello!
Being a novice in the Linux world I have little bit of difficoulties
recompiling the kernel(the one that ships with RH 6.0).
After doing:
make mrproper
make menuconfig (and doing (hopefully) sensible alterations)
make dep
I then try to do a make zImage (as the README file says), im then told
that there are no rules for making zImage,I also try bzImage and zdisk
and end up with same result. I end up doing just make, which apparently
does some compilation, I then end up with a kernel of approx 2.5Mb(thats
the vmlinux file in the /usr/src/linux directory), which
seems a bit big for a compressed kernel. And as far as I have understood,
the kernel is supposed to be compressed, so how can I end up with a
compressed kernel(or do I allready have one). And how can i choose which
kernels to boot, when I finally have got a new kernel.
Thanks
Tor
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 16:13 ` recompilation of kernel T.Hval
@ 1999-05-20 17:03 ` Doug Hunt
1999-05-20 17:52 ` Stefan Schroepfer
` (2 more replies)
1999-05-20 17:11 ` r
` (3 subsequent siblings)
4 siblings, 3 replies; 14+ messages in thread
From: Doug Hunt @ 1999-05-20 17:03 UTC (permalink / raw)
To: axp-list
>
> I then try to do a make zImage (as the README file says), im then told
> that there are no rules for making zImage,I also try bzImage and zdisk
> and end up with same result. I end up doing just make, which apparently
> does some compilation, I then end up with a kernel of approx 2.5Mb(thats
> the vmlinux file in the /usr/src/linux directory), which
> seems a bit big for a compressed kernel. And as far as I have understood,
> the kernel is supposed to be compressed, so how can I end up with a
> compressed kernel(or do I allready have one). And how can i choose which
> kernels to boot, when I finally have got a new kernel.
It has worked for me to just 'gzip' /usr/src/linux/vmlinux.
>
> Thanks
>
> Tor
Regards,
Doug Hunt
dhunt@ucar.edu
Software Engineer III
UCAR - COSMIC
Tel. (303) 497-2611
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 16:13 ` recompilation of kernel T.Hval
1999-05-20 17:03 ` Doug Hunt
@ 1999-05-20 17:11 ` r
1999-05-20 19:46 ` Jeff DeMaagd
1999-05-20 17:12 ` r
` (2 subsequent siblings)
4 siblings, 1 reply; 14+ messages in thread
From: r @ 1999-05-20 17:11 UTC (permalink / raw)
To: axp-list
just type "make"
then after the kernel is built "make install"
On Thu, 20 May 1999, T.Hval
rambled: > Hello!
> Being a novice in the Linux world I have little bit of difficoulties
> recompiling the kernel(the one that ships with RH 6.0).
> After doing:
> make mrproper
> make menuconfig (and doing (hopefully) sensible alterations)
> make dep
>
> I then try to do a make zImage (as the README file says), im then told
> that there are no rules for making zImage,I also try bzImage and zdisk
> and end up with same result. I end up doing just make, which apparently
> does some compilation, I then end up with a kernel of approx 2.5Mb(thats
> the vmlinux file in the /usr/src/linux directory), which
> seems a bit big for a compressed kernel. And as far as I have understood,
> the kernel is supposed to be compressed, so how can I end up with a
> compressed kernel(or do I allready have one). And how can i choose which
> kernels to boot, when I finally have got a new kernel.
>
> Thanks
>
> Tor
>
> --
> 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] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 16:13 ` recompilation of kernel T.Hval
1999-05-20 17:03 ` Doug Hunt
1999-05-20 17:11 ` r
@ 1999-05-20 17:12 ` r
1999-05-20 17:27 ` Charles Taylor
1999-05-20 17:44 ` ppetrakis
4 siblings, 0 replies; 14+ messages in thread
From: r @ 1999-05-20 17:12 UTC (permalink / raw)
To: axp-list
Oops.. I meant "make boot"
hey, I was working on my intel box when I responded.
On Thu, 20 May 1999, T.Hval
rambled: > Hello!
> Being a novice in the Linux world I have little bit of difficoulties
> recompiling the kernel(the one that ships with RH 6.0).
> After doing:
> make mrproper
> make menuconfig (and doing (hopefully) sensible alterations)
> make dep
>
> I then try to do a make zImage (as the README file says), im then told
> that there are no rules for making zImage,I also try bzImage and zdisk
> and end up with same result. I end up doing just make, which apparently
> does some compilation, I then end up with a kernel of approx 2.5Mb(thats
> the vmlinux file in the /usr/src/linux directory), which
> seems a bit big for a compressed kernel. And as far as I have understood,
> the kernel is supposed to be compressed, so how can I end up with a
> compressed kernel(or do I allready have one). And how can i choose which
> kernels to boot, when I finally have got a new kernel.
>
> Thanks
>
> Tor
>
> --
> 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] 14+ messages in thread
* Re: recompilation of kernel
@ 1999-05-20 17:24 Jon D. Breen
0 siblings, 0 replies; 14+ messages in thread
From: Jon D. Breen @ 1999-05-20 17:24 UTC (permalink / raw)
To: axp-list
[-- Attachment #1.1: Type: text/plain, Size: 1216 bytes --]
'make boot'
-Jon
-----Original Message-----
From: T.Hval <th1@ukc.ac.uk>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Thursday, May 20, 1999 11:47 AM
Subject: recompilation of kernel
>Hello!
>Being a novice in the Linux world I have little bit of difficoulties
>recompiling the kernel(the one that ships with RH 6.0).
>After doing:
>make mrproper
>make menuconfig (and doing (hopefully) sensible alterations)
>make dep
>
>I then try to do a make zImage (as the README file says), im then told
>that there are no rules for making zImage,I also try bzImage and zdisk
>and end up with same result. I end up doing just make, which apparently
>does some compilation, I then end up with a kernel of approx 2.5Mb(thats
>the vmlinux file in the /usr/src/linux directory), which
>seems a bit big for a compressed kernel. And as far as I have understood,
>the kernel is supposed to be compressed, so how can I end up with a
>compressed kernel(or do I allready have one). And how can i choose which
>kernels to boot, when I finally have got a new kernel.
>
>Thanks
>
>Tor
>
>--
>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
>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: Jon D. Breen.vcf --]
[-- Type: text/x-vcard; name="Jon D. Breen.vcf", Size: 1112 bytes --]
BEGIN:VCARD
VERSION:2.1
N:Breen;Jon;D.
FN:Jon D. Breen
ORG:BreKo,L.L.C.
NOTE;ENCODING=QUOTED-PRINTABLE:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=0D=0AJon D. Breen =
| BreKo, L.L.C.=0D=0A(jonbreen@swbell.net ) | 17222 Stone Hedge Court=
=0D=0APhone:918-343-5776 | 316 N. Missourri=0D=0AFax:918-341-1249 =
| Claremore, Okla. 74017=0D=0A=0D=0A****************************************=
************************************
TEL;WORK;VOICE:918-343-5776
TEL;HOME;VOICE:918-341-1249
TEL;WORK;FAX:918-341-1249
TEL;HOME;FAX:918-341-1249
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;316 N. Missourri=0D=0A=0D=0A;Claremore;Oklahoma;74017;United States
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:316 N. Missourri=0D=0A=0D=0A=0D=0AClaremore, Oklahoma 74017=0D=0AUnited Stat=
es
ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;17222 Stone Hedge Court=0D=0A=0D=0A;Claremore;Oklahoma;74017;United States
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:17222 Stone Hedge Court=0D=0A=0D=0A=0D=0AClaremore, Oklahoma 74017=0D=0AUnit=
ed States
EMAIL;PREF;INTERNET:jonbreen@swbell.net
REV:19990520T172426Z
END:VCARD
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3167 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 16:13 ` recompilation of kernel T.Hval
` (2 preceding siblings ...)
1999-05-20 17:12 ` r
@ 1999-05-20 17:27 ` Charles Taylor
1999-05-20 17:44 ` ppetrakis
4 siblings, 0 replies; 14+ messages in thread
From: Charles Taylor @ 1999-05-20 17:27 UTC (permalink / raw)
To: axp-list
> I then try to do a make zImage (as the README file says), im then told
> that there are no rules for making zImage,I also try bzImage and zdisk
> and end up with same result. I end up doing just make, which apparently
> does some compilation, I then end up with a kernel of approx 2.5Mb(thats
> the vmlinux file in the /usr/src/linux directory), which
> seems a bit big for a compressed kernel. And as far as I have understood,
> the kernel is supposed to be compressed, so how can I end up with a
> compressed kernel(or do I allready have one). And how can i choose which
> kernels to boot, when I finally have got a new kernel.
"make boot" is the typical command you'd type to make a kernel on an
Alpha. And don't forget make modules;make modules_install if you want
to use kernel modules. By the way, be careful of make menuconfig and
make xconfig on Alphas. They may give you a broken configuration (the
last time I compiled a kernel - both 2.0 series and 2.2 series, the
only way I could get a workable configuration was to use the old make
config - your experience may differ)
How you actually *boot* the new kernel depends, of course, on how
you're booting the system in the first place.
--
Charles E. "Rick" Taylor, IV <charlet@clemson.edu>
http://orangesherbert.ces.clemson.edu
"We got the MRxL, and you got none!"
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 16:13 ` recompilation of kernel T.Hval
` (3 preceding siblings ...)
1999-05-20 17:27 ` Charles Taylor
@ 1999-05-20 17:44 ` ppetrakis
4 siblings, 0 replies; 14+ messages in thread
From: ppetrakis @ 1999-05-20 17:44 UTC (permalink / raw)
To: axp-list
> I then try to do a make zImage (as the README file says), im then told
> that there are no rules for making zImage,I also try bzImage and zdisk
> and end up with same result. I end up doing just make, which apparently
First check this out http://www.alphalinux.org/docs/kernel.shtml
> compressed kernel(or do I allready have one). And how can i choose which
> kernels to boot, when I finally have got a new kernel.
make dep
make clean
make boot
Use make boot instead of the Zimage stuff. Then just copy the kernel from
/usr/src/linux/arch/alpha/boot to either / or /boot . RH 6.0 keeps your
kernel in /boot so I suggest you put it there but don't destroy the
existing kernel, rename it or something. Then reboot and tell milo to boot
that kernel.
There's some System.map stuff that I'm not so sure how to resolve. Does
anyone know what you be linked to what in /boot?
Peter
--
www.alphalinux.org
Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 17:03 ` Doug Hunt
@ 1999-05-20 17:52 ` Stefan Schroepfer
1999-05-20 17:53 ` Jeff Garzik
1999-05-20 22:44 ` Joakim Roubert
2 siblings, 0 replies; 14+ messages in thread
From: Stefan Schroepfer @ 1999-05-20 17:52 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
Doug Hunt wrote:
>
> >
> > I then try to do a make zImage (as the README file says), [...]
>
> It has worked for me to just 'gzip' /usr/src/linux/vmlinux.
The regular way to build a kernel is to issue
`make boot' (instead of `make zImage' as mentioned
in the kernel README. You will find the compressed
kernel image in the arch/alpha/boot/ subdirectory.
Stefan Schroepfer
scr@iis.fhg.de
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 17:03 ` Doug Hunt
1999-05-20 17:52 ` Stefan Schroepfer
@ 1999-05-20 17:53 ` Jeff Garzik
1999-05-21 9:14 ` T.Hval
1999-05-20 22:44 ` Joakim Roubert
2 siblings, 1 reply; 14+ messages in thread
From: Jeff Garzik @ 1999-05-20 17:53 UTC (permalink / raw)
To: axp-list
> > I then try to do a make zImage (as the README file says), im then told
> > that there are no rules for making zImage,I also try bzImage and zdisk
> > and end up with same result. I end up doing just make, which apparently
> > does some compilation, I then end up with a kernel of approx 2.5Mb(thats
> > the vmlinux file in the /usr/src/linux directory), which
> > seems a bit big for a compressed kernel. And as far as I have understood,
> > the kernel is supposed to be compressed, so how can I end up with a
> > compressed kernel(or do I allready have one). And how can i choose which
> > kernels to boot, when I finally have got a new kernel.
Just do a "make boot"
Jeff
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 17:11 ` r
@ 1999-05-20 19:46 ` Jeff DeMaagd
0 siblings, 0 replies; 14+ messages in thread
From: Jeff DeMaagd @ 1999-05-20 19:46 UTC (permalink / raw)
To: axp-list
No one mentioned modules, so if anyone is confused on those, something
like:
make (old|menu|)config
make dep
make boot
make modules
make modules_install
should do the trick. Make sure that ELF, ext2fs and your boot devices
/ busses are built into the kernel, not modular, as those are REQUIRED to
boot, run and mount on a typical system.
Jeff DeMaagd
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 17:03 ` Doug Hunt
1999-05-20 17:52 ` Stefan Schroepfer
1999-05-20 17:53 ` Jeff Garzik
@ 1999-05-20 22:44 ` Joakim Roubert
2 siblings, 0 replies; 14+ messages in thread
From: Joakim Roubert @ 1999-05-20 22:44 UTC (permalink / raw)
To: axp-list
On Thu, 20 May 1999, Doug Hunt wrote:
> It has worked for me to just 'gzip' /usr/src/linux/vmlinux.
Use /usr/src/linux/arch/alpha/boot/vmlinux.gz
/Jokke tmw.
···
http://www.efd.lth.se/~d97jro/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: recompilation of kernel
1999-05-20 17:53 ` Jeff Garzik
@ 1999-05-21 9:14 ` T.Hval
0 siblings, 0 replies; 14+ messages in thread
From: T.Hval @ 1999-05-21 9:14 UTC (permalink / raw)
To: axp-list
Thanks for the advice for recompilation of the kernel, managed to get it
done , and the recompiled kernel seemed to be working properly.
Tor
BTW:
There wouldn't happend to be a program that can measure the
performance on the system? Comparing the compilation times of the
kernel does not really make sense since different configuration files is
used.
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: recompilation of kernel
@ 1999-05-21 13:32 Ray Kiesbrink (ETM)
1999-05-21 18:16 ` Nayyar Sualehi
0 siblings, 1 reply; 14+ messages in thread
From: Ray Kiesbrink (ETM) @ 1999-05-21 13:32 UTC (permalink / raw)
To: 'axp-list@redhat.com'
as a workaround you could 'make vmlinux' then gzip the mother resulting in a 1.x MB vmlinux.gz
many ways to Rome... :)
> -----Original Message-----
> From: T.Hval [SMTP:th1@ukc.ac.uk]
> Sent: Thursday, May 20, 1999 18:14
> To: axp-list@redhat.com
> Subject: recompilation of kernel
>
> Hello!
> Being a novice in the Linux world I have little bit of difficoulties
> recompiling the kernel(the one that ships with RH 6.0).
> After doing:
> make mrproper
> make menuconfig (and doing (hopefully) sensible alterations)
> make dep
>
> I then try to do a make zImage (as the README file says), im then told
> that there are no rules for making zImage,I also try bzImage and zdisk
> and end up with same result. I end up doing just make, which apparently
> does some compilation, I then end up with a kernel of approx 2.5Mb(thats
> the vmlinux file in the /usr/src/linux directory), which
> seems a bit big for a compressed kernel. And as far as I have understood,
> the kernel is supposed to be compressed, so how can I end up with a
> compressed kernel(or do I allready have one). And how can i choose which
> kernels to boot, when I finally have got a new kernel.
>
> Thanks
>
> Tor
>
> --
> 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] 14+ messages in thread
* Re: recompilation of kernel
1999-05-21 13:32 Ray Kiesbrink (ETM)
@ 1999-05-21 18:16 ` Nayyar Sualehi
0 siblings, 0 replies; 14+ messages in thread
From: Nayyar Sualehi @ 1999-05-21 18:16 UTC (permalink / raw)
To: axp-list
For Alpha it is "make boot"
Nayyar
"Ray Kiesbrink (ETM)" wrote:
>
> as a workaround you could 'make vmlinux' then gzip the mother resulting in a 1.x MB vmlinux.gz
>
> many ways to Rome... :)
>
> > -----Original Message-----
> > From: T.Hval [SMTP:th1@ukc.ac.uk]
> > Sent: Thursday, May 20, 1999 18:14
> > To: axp-list@redhat.com
> > Subject: recompilation of kernel
> >
> > Hello!
> > Being a novice in the Linux world I have little bit of difficoulties
> > recompiling the kernel(the one that ships with RH 6.0).
> > After doing:
> > make mrproper
> > make menuconfig (and doing (hopefully) sensible alterations)
> > make dep
> >
> > I then try to do a make zImage (as the README file says), im then told
> > that there are no rules for making zImage,I also try bzImage and zdisk
> > and end up with same result. I end up doing just make, which apparently
> > does some compilation, I then end up with a kernel of approx 2.5Mb(thats
> > the vmlinux file in the /usr/src/linux directory), which
> > seems a bit big for a compressed kernel. And as far as I have understood,
> > the kernel is supposed to be compressed, so how can I end up with a
> > compressed kernel(or do I allready have one). And how can i choose which
> > kernels to boot, when I finally have got a new kernel.
> >
> > Thanks
> >
> > Tor
> >
> > --
> > 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] 14+ messages in thread
end of thread, other threads:[~1999-05-21 19:02 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-20 17:24 recompilation of kernel Jon D. Breen
-- strict thread matches above, loose matches on Subject: below --
1999-05-21 13:32 Ray Kiesbrink (ETM)
1999-05-21 18:16 ` Nayyar Sualehi
1999-05-20 14:25 Ruffian bootup problem James Peret
1999-05-20 16:13 ` recompilation of kernel T.Hval
1999-05-20 17:03 ` Doug Hunt
1999-05-20 17:52 ` Stefan Schroepfer
1999-05-20 17:53 ` Jeff Garzik
1999-05-21 9:14 ` T.Hval
1999-05-20 22:44 ` Joakim Roubert
1999-05-20 17:11 ` r
1999-05-20 19:46 ` Jeff DeMaagd
1999-05-20 17:12 ` r
1999-05-20 17:27 ` Charles Taylor
1999-05-20 17:44 ` ppetrakis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox