* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-15 23:20 ` Peter Petrakis
@ 1998-10-15 2:27 ` Ken Hansen
1998-10-16 2:29 ` Peter Petrakis
1998-10-16 2:36 ` Peter Petrakis
1998-10-15 23:36 ` Installing linux-2.1.123 - Wont Compile HELP! Paul Tomblin
1 sibling, 2 replies; 18+ messages in thread
From: Ken Hansen @ 1998-10-15 2:27 UTC (permalink / raw)
To: axp-list
Peter,
PLEASE fix your system clock - I have three emails from you with
timestamps like:
Sat, 8 Aug 48409 17:45:00 -0400
Surely, that can not be the correct year!
Ken
khansen@njcc.com
Peter Petrakis wrote:
>
> Easy fix . Don't use menu or X config, Just use make config. That feature has
> been broken for a while, Don't know why. After that do make dep, make clean,
> and make boot. If you have any modules do make modules then make
> modules_install .When you're all done compiling your kernel go to / and back up
> your old kernel and then cp /usr/local/linux/arch/alpha/boot/vmlinux.gz // and
> reboot. There's no Zimage in Alpha world, that's an intel only thing. ;) .
>
> Alpha Powered,
> Peter Petrakis
>
> >Hello everyone,
> >
> >I have a few questions for those of you who've been in this situation.
> >Firstly, I have an Alphastation 233.
> >
> >I'm trying to upgrade my kernel because I want to use my linux box as a
> >bridging firewall and also a few other things that I need a new kernel for.
> >Namely my 3com 905 NIC I need support for.
> >
> >I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
> >run make mrproper. Then Make menuconfig because I the menu way is faster
> >for me. I'll save the file and go on to run make dep.
> >
> >So far so good.
> >
> >Now I'll do a make zImage or make bzImage and it tells me there's no rule
> >for those. Well, the readme says there is. Looking in the Makefile, I saw
> >a rule for make boot, so I used that and it went for about half an hour.
> >When it finally finished, I have a weird, small file called vmlinux.lds in
> >the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
> >dir's. Is there something I need to do special before running make boot to
> >tell it this is an alpha or something?
> >
> >I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
> >put it on a floppy and then make that floppy bootable. I've never worked on
> >an alpha before, and making the kernel small enough to put on a floppy is
> >also worrying me.
> >
> >HELP ME!!! This thing is driving me crazy. I've tried for or five
> >different kernel's and just can't seem to make it work. What am I
> >missing??!!
> >
> >Thanks for all the help.
> >
> >Regards,
> >
> >Steve
> >
> >--
> >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] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-16 2:36 ` Peter Petrakis
@ 1998-10-15 2:54 ` Ken Hansen
1998-10-16 7:32 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
0 siblings, 1 reply; 18+ messages in thread
From: Ken Hansen @ 1998-10-15 2:54 UTC (permalink / raw)
To: axp-list
Got it again:
From: Peter Petrakis <peterpan@wn.net> Sat, 8 Aug 48409
21:06:05 -0400
Subject: Re: Installing linux-2.1.123 - Wont Compile HELP!
Resent-From: axp-list@redhat.com
To: axp-list@redhat.com
Ken
khansen@njcc.com
Peter Petrakis wrote:
>
> That can't be right. When I boot I have rdate get the time from another server.
> I just did a "date" and got Thu Oct 15 22:26:55 EDT 1998. Timetool says the
> same thing...
>
> >Peter,
> > PLEASE fix your system clock - I have three emails from you with
> >timestamps like:
> >
> > Sat, 8 Aug 48409 17:45:00 -0400
> >
> >Surely, that can not be the correct year!
> >
> >Ken
> >khansen@njcc.com
> >
> >Peter Petrakis wrote:
> >>
> >> Easy fix . Don't use menu or X config, Just use make config. That feature has
> >> been broken for a while, Don't know why. After that do make dep, make clean,
> >> and make boot. If you have any modules do make modules then make
> >> modules_install .When you're all done compiling your kernel go to / and back up
> >> your old kernel and then cp /usr/local/linux/arch/alpha/boot/vmlinux.gz // and
> >> reboot. There's no Zimage in Alpha world, that's an intel only thing. ;) .
> >>
> >> Alpha Powered,
> >> Peter Petrakis
> >>
> >> >Hello everyone,
> >> >
> >> >I have a few questions for those of you who've been in this situation.
> >> >Firstly, I have an Alphastation 233.
> >> >
> >> >I'm trying to upgrade my kernel because I want to use my linux box as a
> >> >bridging firewall and also a few other things that I need a new kernel for.
> >> >Namely my 3com 905 NIC I need support for.
> >> >
> >> >I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
> >> >run make mrproper. Then Make menuconfig because I the menu way is faster
> >> >for me. I'll save the file and go on to run make dep.
> >> >
> >> >So far so good.
> >> >
> >> >Now I'll do a make zImage or make bzImage and it tells me there's no rule
> >> >for those. Well, the readme says there is. Looking in the Makefile, I saw
> >> >a rule for make boot, so I used that and it went for about half an hour.
> >> >When it finally finished, I have a weird, small file called vmlinux.lds in
> >> >the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
> >> >dir's. Is there something I need to do special before running make boot to
> >> >tell it this is an alpha or something?
> >> >
> >> >I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
> >> >put it on a floppy and then make that floppy bootable. I've never worked on
> >> >an alpha before, and making the kernel small enough to put on a floppy is
> >> >also worrying me.
> >> >
> >> >HELP ME!!! This thing is driving me crazy. I've tried for or five
> >> >different kernel's and just can't seem to make it work. What am I
> >> >missing??!!
> >> >
> >> >Thanks for all the help.
> >> >
> >> >Regards,
> >> >
> >> >Steve
> >> >
> >> >--
> >> >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
> >
> >--
> >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] 18+ messages in thread
* Installing linux-2.1.123 - Wont Compile HELP!
@ 1998-10-15 23:06 Steve G
1998-10-15 23:20 ` Peter Petrakis
` (2 more replies)
0 siblings, 3 replies; 18+ messages in thread
From: Steve G @ 1998-10-15 23:06 UTC (permalink / raw)
To: axp-list
Hello everyone,
I have a few questions for those of you who've been in this situation.
Firstly, I have an Alphastation 233.
I'm trying to upgrade my kernel because I want to use my linux box as a
bridging firewall and also a few other things that I need a new kernel for.
Namely my 3com 905 NIC I need support for.
I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
run make mrproper. Then Make menuconfig because I the menu way is faster
for me. I'll save the file and go on to run make dep.
So far so good.
Now I'll do a make zImage or make bzImage and it tells me there's no rule
for those. Well, the readme says there is. Looking in the Makefile, I saw
a rule for make boot, so I used that and it went for about half an hour.
When it finally finished, I have a weird, small file called vmlinux.lds in
the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
dir's. Is there something I need to do special before running make boot to
tell it this is an alpha or something?
I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
put it on a floppy and then make that floppy bootable. I've never worked on
an alpha before, and making the kernel small enough to put on a floppy is
also worrying me.
HELP ME!!! This thing is driving me crazy. I've tried for or five
different kernel's and just can't seem to make it work. What am I
missing??!!
Thanks for all the help.
Regards,
Steve
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-15 23:06 Installing linux-2.1.123 - Wont Compile HELP! Steve G
@ 1998-10-15 23:20 ` Peter Petrakis
1998-10-15 2:27 ` Ken Hansen
1998-10-15 23:36 ` Installing linux-2.1.123 - Wont Compile HELP! Paul Tomblin
1998-10-16 1:41 ` Herman Z. Resto
1998-10-16 18:44 ` Craig Oettle
2 siblings, 2 replies; 18+ messages in thread
From: Peter Petrakis @ 1998-10-15 23:20 UTC (permalink / raw)
To: axp-list
Easy fix . Don't use menu or X config, Just use make config. That feature has
been broken for a while, Don't know why. After that do make dep, make clean,
and make boot. If you have any modules do make modules then make
modules_install .When you're all done compiling your kernel go to / and back up
your old kernel and then cp /usr/local/linux/arch/alpha/boot/vmlinux.gz // and
reboot. There's no Zimage in Alpha world, that's an intel only thing. ;) .
Alpha Powered,
Peter Petrakis
>Hello everyone,
>
>I have a few questions for those of you who've been in this situation.
>Firstly, I have an Alphastation 233.
>
>I'm trying to upgrade my kernel because I want to use my linux box as a
>bridging firewall and also a few other things that I need a new kernel for.
>Namely my 3com 905 NIC I need support for.
>
>I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
>run make mrproper. Then Make menuconfig because I the menu way is faster
>for me. I'll save the file and go on to run make dep.
>
>So far so good.
>
>Now I'll do a make zImage or make bzImage and it tells me there's no rule
>for those. Well, the readme says there is. Looking in the Makefile, I saw
>a rule for make boot, so I used that and it went for about half an hour.
>When it finally finished, I have a weird, small file called vmlinux.lds in
>the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
>dir's. Is there something I need to do special before running make boot to
>tell it this is an alpha or something?
>
>I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
>put it on a floppy and then make that floppy bootable. I've never worked on
>an alpha before, and making the kernel small enough to put on a floppy is
>also worrying me.
>
>HELP ME!!! This thing is driving me crazy. I've tried for or five
>different kernel's and just can't seem to make it work. What am I
>missing??!!
>
>Thanks for all the help.
>
>Regards,
>
>Steve
>
>--
>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] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-15 23:20 ` Peter Petrakis
1998-10-15 2:27 ` Ken Hansen
@ 1998-10-15 23:36 ` Paul Tomblin
1 sibling, 0 replies; 18+ messages in thread
From: Paul Tomblin @ 1998-10-15 23:36 UTC (permalink / raw)
To: axp-list
Quoting Peter Petrakis (peterpan@wn.net):
>
> Easy fix . Don't use menu or X config, Just use make config. That feature has
> been broken for a while, Don't know why. After that do make dep, make clean,
> and make boot. If you have any modules do make modules then make
> modules_install .When you're all done compiling your kernel go to / and back up
> your old kernel and then cp /usr/local/linux/arch/alpha/boot/vmlinux.gz // and
> reboot. There's no Zimage in Alpha world, that's an intel only thing. ;) .
One little hint - after you've done a regular make config, you can use make
xconfig for little things, although they may not be in the menu. Another
trick I use is to edit the .config file and delete the lines I think are
related to what I want to change, then do a "make oldconfig" which uses your
old config file and only prompts you about the lines you deleted.
--
Paul Tomblin, ptomblin@xcski.com.
"Oh my G'kwan, they killed Koshi!" - Citizen G'kyle, Babylon Park
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-15 23:06 Installing linux-2.1.123 - Wont Compile HELP! Steve G
1998-10-15 23:20 ` Peter Petrakis
@ 1998-10-16 1:41 ` Herman Z. Resto
1998-10-16 18:44 ` Craig Oettle
2 siblings, 0 replies; 18+ messages in thread
From: Herman Z. Resto @ 1998-10-16 1:41 UTC (permalink / raw)
To: axp-list
You should have a file called vmlinux.gz in the /usr/src/linux/arch/alpha/boot/
directory.
Steve G wrote:
> Hello everyone,
>
> I have a few questions for those of you who've been in this situation.
> Firstly, I have an Alphastation 233.
>
> I'm trying to upgrade my kernel because I want to use my linux box as a
> bridging firewall and also a few other things that I need a new kernel for.
> Namely my 3com 905 NIC I need support for.
>
> I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
> run make mrproper. Then Make menuconfig because I the menu way is faster
> for me. I'll save the file and go on to run make dep.
>
> So far so good.
>
> Now I'll do a make zImage or make bzImage and it tells me there's no rule
> for those. Well, the readme says there is. Looking in the Makefile, I saw
> a rule for make boot, so I used that and it went for about half an hour.
> When it finally finished, I have a weird, small file called vmlinux.lds in
> the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
> dir's. Is there something I need to do special before running make boot to
> tell it this is an alpha or something?
>
> I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
> put it on a floppy and then make that floppy bootable. I've never worked on
> an alpha before, and making the kernel small enough to put on a floppy is
> also worrying me.
>
> HELP ME!!! This thing is driving me crazy. I've tried for or five
> different kernel's and just can't seem to make it work. What am I
> missing??!!
>
> Thanks for all the help.
>
> Regards,
>
> Steve
>
> --
> 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] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-15 2:27 ` Ken Hansen
@ 1998-10-16 2:29 ` Peter Petrakis
1998-10-16 2:36 ` Peter Petrakis
1 sibling, 0 replies; 18+ messages in thread
From: Peter Petrakis @ 1998-10-16 2:29 UTC (permalink / raw)
To: Ken Hansen, axp-list
On Wed, 14 Oct 1998, Ken Hansen wrote:
I just took a second look and found that all the messages in my inbox have that
date format you showed. I use kmail, thats weird. I'll touch the file now.
>Peter,
> PLEASE fix your system clock - I have three emails from you with
>timestamps like:
>
> Sat, 8 Aug 48409 17:45:00 -0400
>
>Surely, that can not be the correct year!
>
>Ken
>khansen@njcc.com
>
>Peter Petrakis wrote:
>>
>> Easy fix . Don't use menu or X config, Just use make config. That feature has
>> been broken for a while, Don't know why. After that do make dep, make clean,
>> and make boot. If you have any modules do make modules then make
>> modules_install .When you're all done compiling your kernel go to / and back up
>> your old kernel and then cp /usr/local/linux/arch/alpha/boot/vmlinux.gz // and
>> reboot. There's no Zimage in Alpha world, that's an intel only thing. ;) .
>>
>> Alpha Powered,
>> Peter Petrakis
>>
>> >Hello everyone,
>> >
>> >I have a few questions for those of you who've been in this situation.
>> >Firstly, I have an Alphastation 233.
>> >
>> >I'm trying to upgrade my kernel because I want to use my linux box as a
>> >bridging firewall and also a few other things that I need a new kernel for.
>> >Namely my 3com 905 NIC I need support for.
>> >
>> >I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
>> >run make mrproper. Then Make menuconfig because I the menu way is faster
>> >for me. I'll save the file and go on to run make dep.
>> >
>> >So far so good.
>> >
>> >Now I'll do a make zImage or make bzImage and it tells me there's no rule
>> >for those. Well, the readme says there is. Looking in the Makefile, I saw
>> >a rule for make boot, so I used that and it went for about half an hour.
>> >When it finally finished, I have a weird, small file called vmlinux.lds in
>> >the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
>> >dir's. Is there something I need to do special before running make boot to
>> >tell it this is an alpha or something?
>> >
>> >I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
>> >put it on a floppy and then make that floppy bootable. I've never worked on
>> >an alpha before, and making the kernel small enough to put on a floppy is
>> >also worrying me.
>> >
>> >HELP ME!!! This thing is driving me crazy. I've tried for or five
>> >different kernel's and just can't seem to make it work. What am I
>> >missing??!!
>> >
>> >Thanks for all the help.
>> >
>> >Regards,
>> >
>> >Steve
>> >
>> >--
>> >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
>
>--
>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] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-15 2:27 ` Ken Hansen
1998-10-16 2:29 ` Peter Petrakis
@ 1998-10-16 2:36 ` Peter Petrakis
1998-10-15 2:54 ` Ken Hansen
1 sibling, 1 reply; 18+ messages in thread
From: Peter Petrakis @ 1998-10-16 2:36 UTC (permalink / raw)
To: axp-list
That can't be right. When I boot I have rdate get the time from another server.
I just did a "date" and got Thu Oct 15 22:26:55 EDT 1998. Timetool says the
same thing...
>Peter,
> PLEASE fix your system clock - I have three emails from you with
>timestamps like:
>
> Sat, 8 Aug 48409 17:45:00 -0400
>
>Surely, that can not be the correct year!
>
>Ken
>khansen@njcc.com
>
>Peter Petrakis wrote:
>>
>> Easy fix . Don't use menu or X config, Just use make config. That feature has
>> been broken for a while, Don't know why. After that do make dep, make clean,
>> and make boot. If you have any modules do make modules then make
>> modules_install .When you're all done compiling your kernel go to / and back up
>> your old kernel and then cp /usr/local/linux/arch/alpha/boot/vmlinux.gz // and
>> reboot. There's no Zimage in Alpha world, that's an intel only thing. ;) .
>>
>> Alpha Powered,
>> Peter Petrakis
>>
>> >Hello everyone,
>> >
>> >I have a few questions for those of you who've been in this situation.
>> >Firstly, I have an Alphastation 233.
>> >
>> >I'm trying to upgrade my kernel because I want to use my linux box as a
>> >bridging firewall and also a few other things that I need a new kernel for.
>> >Namely my 3com 905 NIC I need support for.
>> >
>> >I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
>> >run make mrproper. Then Make menuconfig because I the menu way is faster
>> >for me. I'll save the file and go on to run make dep.
>> >
>> >So far so good.
>> >
>> >Now I'll do a make zImage or make bzImage and it tells me there's no rule
>> >for those. Well, the readme says there is. Looking in the Makefile, I saw
>> >a rule for make boot, so I used that and it went for about half an hour.
>> >When it finally finished, I have a weird, small file called vmlinux.lds in
>> >the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
>> >dir's. Is there something I need to do special before running make boot to
>> >tell it this is an alpha or something?
>> >
>> >I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
>> >put it on a floppy and then make that floppy bootable. I've never worked on
>> >an alpha before, and making the kernel small enough to put on a floppy is
>> >also worrying me.
>> >
>> >HELP ME!!! This thing is driving me crazy. I've tried for or five
>> >different kernel's and just can't seem to make it work. What am I
>> >missing??!!
>> >
>> >Thanks for all the help.
>> >
>> >Regards,
>> >
>> >Steve
>> >
>> >--
>> >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
>
>--
>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] 18+ messages in thread
* RE: Installing linux-2.1.123 - Wont Compile HELP! #2
1998-10-15 2:54 ` Ken Hansen
@ 1998-10-16 7:32 ` Steve G
1998-10-16 15:27 ` Michal Jaegermann
0 siblings, 1 reply; 18+ messages in thread
From: Steve G @ 1998-10-16 7:32 UTC (permalink / raw)
To: axp-list; +Cc: peterpan, hresto
Ok, this is turning into a not-so-easy fix... I've d/l'ded 2.1.80, 100.
115, and 120 and I get similar messages at the end of the compile.. I ran
make config, and did not use any modules. Actually, it's a pretty slimmed
down kernel, based mainly toward firewalling and logging IP traffic. Then
make dep ; make clean. This is what happened (or very similar to) with
2.1.69, also. This screenshot is from 2.1.80
<screenshot>
make: *** Warning: Clock skew detected. Your build may be incomplete.
[root@hymen linux]# make boot
make: *** Warning: File `/usr/src/linux-2.0.34/.hdepend' has modification
time in the future
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o init/main.o init/main.c
In file included from init/main.c:17:
/usr/src/linux-2.0.34/include/linux/sched.h:107: parse error before
`tasklist_lock'
/usr/src/linux-2.0.34/include/linux/sched.h:107: warning: type defaults to
`int' in declaration of `tasklist_lock'
/usr/src/linux-2.0.34/include/linux/sched.h:107: warning: data definition
has no type or storage class
In file included from init/main.c:17:
/usr/src/linux-2.0.34/include/linux/sched.h:596: parse error before
`waitqueue_lock'
/usr/src/linux-2.0.34/include/linux/sched.h:596: warning: type defaults to
`int' in declaration of `waitqueue_lock'
/usr/src/linux-2.0.34/include/linux/sched.h:596: warning: data definition
has no type or storage class
/usr/src/linux-2.0.34/include/linux/sched.h: In function `add_wait_queue':
/usr/src/linux-2.0.34/include/linux/sched.h:602: warning: implicit
declaration of function `write_lock_irqsave'
/usr/src/linux-2.0.34/include/linux/sched.h:604: warning: implicit
declaration of function `write_unlock_irqrestore'
make: *** [init/main.o] Error 1
[root@hymen linux]#
I know that my clock is set wrong, so I understand the "clock skew detected"
warning. But what can I do about implicit declarations of stuff... Can I
go and find out which option is causing them and say "N" instead??? This is
always what gets me.
I'm using RH 5.1 if it helps.
Thanks for all the help. I know I'm almost there.
Regards,
Steve
> >Peter Petrakis wrote:
> >>
> >> Easy fix . Don't use menu or X config, Just use make config. That
feature has
> >> been broken for a while, Don't know why. After that do make dep, make
clean,
> >> and make boot. If you have any modules do make modules then make
> >> modules_install .When you're all done compiling your kernel go to / and
back up
> >> your old kernel and then cp /usr/local/linux/arch/alpha/boot/vmlinux.gz
// and
> >> reboot. There's no Zimage in Alpha world, that's an intel only thing.
;) .
> >>
> >> Alpha Powered,
> >> Peter Petrakis
> >>
> >> >Hello everyone,
> >> >
> >> >I have a few questions for those of you who've been in this situation.
> >> >Firstly, I have an Alphastation 233.
> >> >
> >> >I'm trying to upgrade my kernel because I want to use my linux box as
a
> >> >bridging firewall and also a few other things that I need a new kernel
for.
> >> >Namely my 3com 905 NIC I need support for.
> >> >
> >> >I will pull down the .tar.gz file, expand it into /usr/src/linux, and
then
> >> >run make mrproper. Then Make menuconfig because I the menu way is
faster
<snip>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP! #2
1998-10-16 7:32 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
@ 1998-10-16 15:27 ` Michal Jaegermann
1998-10-16 18:44 ` Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2) Peter Petrakis
1998-10-16 22:44 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
0 siblings, 2 replies; 18+ messages in thread
From: Michal Jaegermann @ 1998-10-16 15:27 UTC (permalink / raw)
To: axp-list
Steve G wrote:
>
> This screenshot is from 2.1.80
^^^^^^^
> <screenshot>
>
> make: *** Warning: Clock skew detected. Your build may be incomplete.
> [root@hymen linux]# make boot
> make: *** Warning: File `/usr/src/linux-2.0.34/.hdepend' has modification
^^^^^^^^^^
> time in the future
^^^^^^^^^
You have made a big mess from files from different times, versions,
and so on. It will be difficult to sort it out. It is much better to
clean it. In a directory in which you are compiling your new kernel do
the following:
- set your clock to a sane state
- save a copy of your .config file somewhere else
- run 'make mrproper' ("Mr. Proper" is a brand name of some cleaning
agent :-)
- run 'touch -R .'
- copy back a saved copy of of .config
- run 'make oldconfig'
- follow as usual
I do hope that you did not mix up Red Hat header files installed with
your system with a header files which came with your kernel sources.
If you did, then delete all that mess, use --force to rpm to reinstall
what you had installed previously under rpm control from kernel
sources/headers, change names/links not to clobber these again and
start with new kernel versions from scratch. 'mv' and 'ln -s' are
your friends.
>
> I know that my clock is set wrong, so I understand the "clock skew detected"
As long as your clock is wrong you can expect all kinds of nasty
surprises. 'make' depends on modification times of things on which
it looks. In general you cannot expect to see a sane compilation
if your system is in shambles.
Michal
^ permalink raw reply [flat|nested] 18+ messages in thread
* Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2)
1998-10-16 15:27 ` Michal Jaegermann
@ 1998-10-16 18:44 ` Peter Petrakis
1998-10-17 6:10 ` Bob McElrath
1998-10-16 22:44 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
1 sibling, 1 reply; 18+ messages in thread
From: Peter Petrakis @ 1998-10-16 18:44 UTC (permalink / raw)
To: axp-list
> ^^^^^^^^^^
>> time in the future
> ^^^^^^^^^
drop this in your /etc/profile
rdate -s sunsite.icm.edu.pl
it'll set your system time to what that server has at boot.
you replace that name with any unnix server that supports rdate.
I used to have the address to some atomic clock but I lost it when
my partitons got corrupted. check the ocober archives once they're posted.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP!
1998-10-15 23:06 Installing linux-2.1.123 - Wont Compile HELP! Steve G
1998-10-15 23:20 ` Peter Petrakis
1998-10-16 1:41 ` Herman Z. Resto
@ 1998-10-16 18:44 ` Craig Oettle
2 siblings, 0 replies; 18+ messages in thread
From: Craig Oettle @ 1998-10-16 18:44 UTC (permalink / raw)
To: axp-list
Steve G wrote:
>
> Hello everyone,
>
> I have a few questions for those of you who've been in this situation.
> Firstly, I have an Alphastation 233.
>
> I'm trying to upgrade my kernel because I want to use my linux box as a
> bridging firewall and also a few other things that I need a new kernel for.
> Namely my 3com 905 NIC I need support for.
>
> I will pull down the .tar.gz file, expand it into /usr/src/linux, and then
> run make mrproper. Then Make menuconfig because I the menu way is faster
> for me. I'll save the file and go on to run make dep.
>
> So far so good.
>
> Now I'll do a make zImage or make bzImage and it tells me there's no rule
> for those. Well, the readme says there is. Looking in the Makefile, I saw
> a rule for make boot, so I used that and it went for about half an hour.
> When it finally finished, I have a weird, small file called vmlinux.lds in
> the /usr/src/linux/arch/alpha dir. The same file is in all the other arch
> dir's. Is there something I need to do special before running make boot to
> tell it this is an alpha or something?
>
> I boot off of a floppy from an SRM (>>>) prompt. I need to create a kernel,
> put it on a floppy and then make that floppy bootable. I've never worked on
> an alpha before, and making the kernel small enough to put on a floppy is
> also worrying me.
>
> HELP ME!!! This thing is driving me crazy. I've tried for or five
> different kernel's and just can't seem to make it work. What am I
> missing??!!
>
> Thanks for all the help.
>
> Regards,
>
> Steve
>
> --
> 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
I read on this list a while back that "make menuconfig" can cause
problems. Try using "make config". Also you want to "make boot"
instead of "make Zimage". "make boot" will create a vmlinux.gz file
under arch/alpha/boot/
--
Craig Oettle
Environmental Control Specialists, Inc.
http://www.ecsinconline.com/
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: Installing linux-2.1.123 - Wont Compile HELP! #2
1998-10-16 15:27 ` Michal Jaegermann
1998-10-16 18:44 ` Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2) Peter Petrakis
@ 1998-10-16 22:44 ` Steve G
1998-10-16 22:54 ` Nils Faerber
` (2 more replies)
1 sibling, 3 replies; 18+ messages in thread
From: Steve G @ 1998-10-16 22:44 UTC (permalink / raw)
To: axp-list; +Cc: michal
THIS SUCKS!!! I did the below word for word. (except touch -r .*) Still no
go. Some facts:
1: Installed 5.1 on a blank disk from scratch
2: I un-tarr'ed all of the kernel's into the /usr/src dir. There is a
direcory /usr/src/linux-2.0.34 there. /usr/src/linux is a symbolic link to
that dir. All kernels unzippped into /usr/src/linux.
3: in the /usr/src/linux-2.0.34 directory, I rm -Rf * before I untarred the
source kernel.
After doing all that, and everything else I can think of, this is the output
I get from running make boot. (forgive the length of this)
make[1]: *** Warning: File `/usr/src/linux-2.0.34/include/linux/module.h'
has modification time in the future
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -DEXPORT_SYMTAB -c alpha_ksyms.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -D__ASSEMBLY__ -D__SMP__ -
traditional -c entry.S -o entry.o
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o traps.o traps.c
traps.c: In function `trap_init':
traps.c:891: warning: `gptr' might be used uninitialized in this function
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o process.o process.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o osf_sys.o osf_sys.c
osf_sys.c: In function `osf_sigstack':
osf_sys.c:774: warning: `oss_sp' might be used uninitialized in this
function
osf_sys.c:774: warning: `oss_os' might be used uninitialized in this
function
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o irq.o irq.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o signal.o signal.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o setup.o setup.c
setup.c: In function `get_cpuinfo':
setup.c:753: too many arguments to function `smp_info'
setup.c:753: warning: return makes integer from pointer without a cast
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.34/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2
[root@hymen linux]#
I know no one can tell me exactly what is causing this, but does anyone have
any ideas as to how to get a kernel compiled already??? I'm dying here.
I've never had a kernel crash out so many times. Is there a safe way to
compile a kernel??? I just don't get it....
Thanks for any help. I'm really getting tired of this alpha. It sure did
start out with a bang, though!!
Thanks again.
Steve
-----Original Message-----
From: Michal Jaegermann [mailto:michal@ellpspace.math.ualberta.ca]
Sent: Friday, October 16, 1998 10:28 AM
To: axp-list@redhat.com
Subject: Re: Installing linux-2.1.123 - Wont Compile HELP! #2
Steve G wrote:
>
> This screenshot is from 2.1.80
^^^^^^^
> <screenshot>
>
> make: *** Warning: Clock skew detected. Your build may be incomplete.
> [root@hymen linux]# make boot
> make: *** Warning: File `/usr/src/linux-2.0.34/.hdepend' has modification
^^^^^^^^^^
> time in the future
^^^^^^^^^
You have made a big mess from files from different times, versions,
and so on. It will be difficult to sort it out. It is much better to
clean it. In a directory in which you are compiling your new kernel do
the following:
- set your clock to a sane state
- save a copy of your .config file somewhere else
- run 'make mrproper' ("Mr. Proper" is a brand name of some cleaning
agent :-)
- run 'touch -R .'
- copy back a saved copy of of .config
- run 'make oldconfig'
- follow as usual
I do hope that you did not mix up Red Hat header files installed with
your system with a header files which came with your kernel sources.
If you did, then delete all that mess, use --force to rpm to reinstall
what you had installed previously under rpm control from kernel
sources/headers, change names/links not to clobber these again and
start with new kernel versions from scratch. 'mv' and 'ln -s' are
your friends.
>
> I know that my clock is set wrong, so I understand the "clock skew
detected"
As long as your clock is wrong you can expect all kinds of nasty
surprises. 'make' depends on modification times of things on which
it looks. In general you cannot expect to see a sane compilation
if your system is in shambles.
Michal
--
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] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP! #2
1998-10-16 22:44 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
@ 1998-10-16 22:54 ` Nils Faerber
1998-10-16 23:43 ` Michal Jaegermann
1998-10-17 10:41 ` Joakim Roubert
2 siblings, 0 replies; 18+ messages in thread
From: Nils Faerber @ 1998-10-16 22:54 UTC (permalink / raw)
To: axp-list
Hello!
> THIS SUCKS!!! I did the below word for word. (except touch -r .*) Still no
Hey ... calm down...
> go. Some facts:
> 1: Installed 5.1 on a blank disk from scratch
> 2: I un-tarr'ed all of the kernel's into the /usr/src dir. There is a
> direcory /usr/src/linux-2.0.34 there. /usr/src/linux is a symbolic link to
> that dir. All kernels unzippped into /usr/src/linux.
> 3: in the /usr/src/linux-2.0.34 directory, I rm -Rf * before I untarred the
> source kernel.
> After doing all that, and everything else I can think of, this is the output
> I get from running make boot. (forgive the length of this)
OK. So far so good.
> make[1]: *** Warning: File `/usr/src/linux-2.0.34/include/linux/module.h'
> has modification time in the future
Check the time of the file and your system's time. Some Alpha systems still
have some trouble with setting the correct time and date.
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
> O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
> p-regs -ffixed-8 -c -o setup.o setup.c
> setup.c: In function `get_cpuinfo':
> setup.c:753: too many arguments to function `smp_info'
> setup.c:753: warning: return makes integer from pointer without a cast
> make[1]: *** [setup.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.0.34/arch/alpha/kernel'
> make: *** [_dir_arch/alpha/kernel] Error 2
> [root@hymen linux]#
Edit the toplevel Makefile and comment out the SMP=1 line.
> I know no one can tell me exactly what is causing this, but does anyone have
> any ideas as to how to get a kernel compiled already??? I'm dying here.
You will succeed, promised ;)
> I've never had a kernel crash out so many times. Is there a safe way to
> compile a kernel??? I just don't get it....
The safest way is to use a recent version of egcs (latest is 1.1b AFAIK) and
a kernel > 2.1.121. Comment out SMP=1 in linux/Makefile do
make clean depend boot modules modules_install
and you should have a read-to-go kernel in linux/arch/alpha/boot.
> Thanks again.
> Steve
CU
nils
--
Nils Faerber (Linux Nils) eMail: nils@unix-ag.org
Student of computer science http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany
Siegen ... the arctic rain forest!
--
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Installing linux-2.1.123 - Wont Compile HELP! #2
1998-10-16 22:44 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
1998-10-16 22:54 ` Nils Faerber
@ 1998-10-16 23:43 ` Michal Jaegermann
1998-10-17 10:41 ` Joakim Roubert
2 siblings, 0 replies; 18+ messages in thread
From: Michal Jaegermann @ 1998-10-16 23:43 UTC (permalink / raw)
To: axp-list
Steve G wrote:
>
> 2: I un-tarr'ed all of the kernel's into the /usr/src dir. There is a
> direcory /usr/src/linux-2.0.34 there. /usr/src/linux is a symbolic link to
> that dir. All kernels unzippped into /usr/src/linux.
Like I wrote before - DON'T DO THAT!!! Change names and links to
keep things separately. In your way you drop sources, and **headers**
from different versions on one big pile. You need some experience
to later sort that out if at all possible.
> setup.c: In function `get_cpuinfo':
> setup.c:753: too many arguments to function `smp_info'
> setup.c:753: warning: return makes integer from pointer without a cast
The above really means, most likely, that you have 'get_cpuinfo()'
functions from one version and a header which declares it from another
and and two interfaces are **different**. Probably you have also
somewhere a correct 'get_cpuinfo()' declaration but a compiler found
a "wrong" one first. Count yourself lucky. If you would find here
a correct declaration but some other file, which is using it, found
a wrong one and if you would managed to compile things anyway then
you would end up with a spectacular kernel crash.
Michal
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2)
1998-10-16 18:44 ` Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2) Peter Petrakis
@ 1998-10-17 6:10 ` Bob McElrath
1998-10-17 6:23 ` Steve G
0 siblings, 1 reply; 18+ messages in thread
From: Bob McElrath @ 1998-10-17 6:10 UTC (permalink / raw)
To: axp-list
On Fri, 16 Oct 1998, Peter Petrakis wrote:
>
> > ^^^^^^^^^^
> >> time in the future
> > ^^^^^^^^^
>
> drop this in your /etc/profile
>
> rdate -s sunsite.icm.edu.pl
>
> it'll set your system time to what that server has at boot.
> you replace that name with any unnix server that supports rdate.
> I used to have the address to some atomic clock but I lost it when
> my partitons got corrupted. check the ocober archives once they're posted.
Couple of good time servers for ya':
time.gmt.org
time.nist.gov (Atomic clock at the National Institute of Standards in
Boulder, CO)
-- Bob
./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
/ Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \
| Linux, because everyone's work is mission critical. ANYTHING inside. |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
\.___________________________________________________________________./
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2)
1998-10-17 6:10 ` Bob McElrath
@ 1998-10-17 6:23 ` Steve G
0 siblings, 0 replies; 18+ messages in thread
From: Steve G @ 1998-10-17 6:23 UTC (permalink / raw)
To: axp-list
That rdate thing that Peter referred to is a Godsend. THANKS!!! I've never
seen an easier way to accurately set the clock. That actually fixed a whole
lot of problems...
Still working on the kernel compile, though... I'll let ya know!
Regards,
Steve
-----Original Message-----
From: Bob McElrath [mailto:mcelrath@draal.physics.wisc.edu]
Sent: Saturday, October 17, 1998 1:10 AM
To: axp-list@redhat.com
Subject: Re: Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP!
#2)
On Fri, 16 Oct 1998, Peter Petrakis wrote:
>
> > ^^^^^^^^^^
> >> time in the future
> > ^^^^^^^^^
>
> drop this in your /etc/profile
>
> rdate -s sunsite.icm.edu.pl
>
> it'll set your system time to what that server has at boot.
> you replace that name with any unnix server that supports rdate.
> I used to have the address to some atomic clock but I lost it when
> my partitons got corrupted. check the ocober archives once they're posted.
Couple of good time servers for ya':
time.gmt.org
time.nist.gov (Atomic clock at the National Institute of Standards in
Boulder, CO)
-- Bob
./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
/ Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \
| Linux, because everyone's work is mission critical. ANYTHING inside. |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
\.___________________________________________________________________./
--
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] 18+ messages in thread
* RE: Installing linux-2.1.123 - Wont Compile HELP! #2
1998-10-16 22:44 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
1998-10-16 22:54 ` Nils Faerber
1998-10-16 23:43 ` Michal Jaegermann
@ 1998-10-17 10:41 ` Joakim Roubert
2 siblings, 0 replies; 18+ messages in thread
From: Joakim Roubert @ 1998-10-17 10:41 UTC (permalink / raw)
To: axp-list; +Cc: michal
On Fri, 16 Oct 1998, Steve G wrote:
> setup.c:753: too many arguments to function `smp_info'
> setup.c:753: warning: return makes integer from pointer without a cast
> make[1]: *** [setup.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.0.34/arch/alpha/kernel'
> make: *** [_dir_arch/alpha/kernel] Error 2
> [root@hymen linux]#
Has this something with commenting/not commenting the SMP = 1 line in the
Makefile...?
/Jokke tmw.
···
http://www.efd.lth.se/~d97jro/
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~1998-10-17 10:48 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-15 23:06 Installing linux-2.1.123 - Wont Compile HELP! Steve G
1998-10-15 23:20 ` Peter Petrakis
1998-10-15 2:27 ` Ken Hansen
1998-10-16 2:29 ` Peter Petrakis
1998-10-16 2:36 ` Peter Petrakis
1998-10-15 2:54 ` Ken Hansen
1998-10-16 7:32 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
1998-10-16 15:27 ` Michal Jaegermann
1998-10-16 18:44 ` Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2) Peter Petrakis
1998-10-17 6:10 ` Bob McElrath
1998-10-17 6:23 ` Steve G
1998-10-16 22:44 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
1998-10-16 22:54 ` Nils Faerber
1998-10-16 23:43 ` Michal Jaegermann
1998-10-17 10:41 ` Joakim Roubert
1998-10-15 23:36 ` Installing linux-2.1.123 - Wont Compile HELP! Paul Tomblin
1998-10-16 1:41 ` Herman Z. Resto
1998-10-16 18:44 ` Craig Oettle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox