* AlphaCore 2.0 vs. AlphaServer 4100
@ 2006-03-22 10:10 pawel.oleksiak
2006-03-22 11:24 ` tsv
` (2 more replies)
0 siblings, 3 replies; 18+ messages in thread
From: pawel.oleksiak @ 2006-03-22 10:10 UTC (permalink / raw)
Witam / Hello
I have AS 4100 and earlier I successfully installed AC1.0 (wih problems
with PAL - only text mode)
Now, I try install AC2.0 but it is problem during starting ... problem with
PAL is appear and even instalation is not possible to run. Also text mode
is not accessible (also PAL problem). I had graphics card S3 Trio, but I
changed to ATI VooDoo Rush and also I have the same problem (maybe another
error code during PAL problem).
My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
did it?
Pozdrawiam / Regards,
Pawe? Oleksiak
Rieber Foods Polska S.A.
IT Department
*****************************************************************************
This document should only be read by those persons to whom it is addressed
and is not intended to be relied upon by any persons without subsequent
written confirmation of its contents. Accordingly, Rieber & Son
disclaim all responsibility and accept no liability (including negligence)
for the consequences for any person acting, or refraining from acting, on
such information prior to the receipt by those persons of subsequent
written confirmation.
If you have received this E-mail message in error, please notify us
immediately by telephone. Please also destroy and delete the message from
your computer.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this E-mail message is strictly
prohibited.
Rieber & Son ASA
postmaster at rieberson.no
Bergen, Norway
*****************************************************************************
^ permalink raw reply [flat|nested] 18+ messages in thread
* AlphaCore 2.0 vs. AlphaServer 4100
2006-03-22 10:10 AlphaCore 2.0 vs. AlphaServer 4100 pawel.oleksiak
@ 2006-03-22 11:24 ` tsv
2006-03-23 10:47 ` Odp: " pawel.oleksiak
2006-03-23 14:29 ` Jay.Estabrook
2006-03-24 22:26 ` bob58523
2006-03-24 22:28 ` bob58523
2 siblings, 2 replies; 18+ messages in thread
From: tsv @ 2006-03-22 11:24 UTC (permalink / raw)
pawel.oleksiak at rieberson.no wrote:
>Witam / Hello
>
>I have AS 4100 and earlier I successfully installed AC1.0 (wih problems
>with PAL - only text mode)
>
>Now, I try install AC2.0 but it is problem during starting ... problem with
>PAL is appear and even instalation is not possible to run. Also text mode
>is not accessible (also PAL problem). I had graphics card S3 Trio, but I
>changed to ATI VooDoo Rush and also I have the same problem (maybe another
>error code during PAL problem).
>
>My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
>did it?
>
>
It seems that there is problem with AC2 on some AS4100s. The AC2 kernel
panics, we are trying to undertand
why. Any way you would have to install UP kernel (SMP kernel doen't
work) and then use updated SMP kernel from
AC2 update directory. You could download it and try to install in
parallel on AC1 and test it. If it work - everything else
could be updated from local yum repository.
Regards,
--
Sergey Tikhonov
Solvo Ltd.
Saint-Petersburg, Russia
tsv at solvo.ru
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-22 11:24 ` tsv
@ 2006-03-23 10:47 ` pawel.oleksiak
2006-03-23 17:06 ` tsv
2006-03-23 14:29 ` Jay.Estabrook
1 sibling, 1 reply; 18+ messages in thread
From: pawel.oleksiak @ 2006-03-23 10:47 UTC (permalink / raw)
Witam / Hello
I upgraded kernel into system to new one from AC2.0..... and my system is
dead :) kernel panic during booting :/
Does it mean that I'll not possible to use AC2.0 ? :(
Pozdrawiam / Regards,
Pawe? Oleksiak
Rieber Foods Polska S.A.
IT Department
Sergey Tikhonov
<tsv at solvo.ru>
Wys?ane przez: Do
axp-list-bounces@ Linux on Alpha processors
redhat.com <axp-list at redhat.com>
DW
22-03-2006 12:24 Temat
Re: AlphaCore 2.0 vs. AlphaServer
4100
Odpowiedz
u?ytkownikowi
Linux on Alpha
processors
<axp-list at redhat.
com>
pawel.oleksiak at rieberson.no wrote:
>Witam / Hello
>
>I have AS 4100 and earlier I successfully installed AC1.0 (wih problems
>with PAL - only text mode)
>
>Now, I try install AC2.0 but it is problem during starting ... problem
with
>PAL is appear and even instalation is not possible to run. Also text mode
>is not accessible (also PAL problem). I had graphics card S3 Trio, but I
>changed to ATI VooDoo Rush and also I have the same problem (maybe another
>error code during PAL problem).
>
>My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
>did it?
>
>
It seems that there is problem with AC2 on some AS4100s. The AC2 kernel
panics, we are trying to undertand
why. Any way you would have to install UP kernel (SMP kernel doen't
work) and then use updated SMP kernel from
AC2 update directory. You could download it and try to install in
parallel on AC1 and test it. If it work - everything else
could be updated from local yum repository.
Regards,
--
Sergey Tikhonov
Solvo Ltd.
Saint-Petersburg, Russia
tsv at solvo.ru
_______________________________________________
axp-list mailing list
axp-list at redhat.com
https://www.redhat.com/mailman/listinfo/axp-list
*****************************************************************************
This document should only be read by those persons to whom it is addressed
and is not intended to be relied upon by any persons without subsequent
written confirmation of its contents. Accordingly, Rieber & Son
disclaim all responsibility and accept no liability (including negligence)
for the consequences for any person acting, or refraining from acting, on
such information prior to the receipt by those persons of subsequent
written confirmation.
If you have received this E-mail message in error, please notify us
immediately by telephone. Please also destroy and delete the message from
your computer.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this E-mail message is strictly
prohibited.
Rieber & Son ASA
postmaster at rieberson.no
Bergen, Norway
*****************************************************************************
^ permalink raw reply [flat|nested] 18+ messages in thread
* AlphaCore 2.0 vs. AlphaServer 4100
2006-03-22 11:24 ` tsv
2006-03-23 10:47 ` Odp: " pawel.oleksiak
@ 2006-03-23 14:29 ` Jay.Estabrook
2006-03-23 21:07 ` tsv
1 sibling, 1 reply; 18+ messages in thread
From: Jay.Estabrook @ 2006-03-23 14:29 UTC (permalink / raw)
On Wed, Mar 22, 2006 at 02:24:05PM +0300, Sergey Tikhonov wrote:
> pawel.oleksiak at rieberson.no wrote:
>
> >My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
> >did it?
> >
> It seems that there is problem with AC2 on some AS4100s. The AC2 kernel
> panics, we are trying to undertand why.
Just so you know, this has been a problem on AS1200 as well.
But help is on the way! :-)
I was able to fix the problems yesterday, and successfully booted and
ran a UP kernel on both AS1200 and AS4100.
Now we have to figure out how best to package the new kernel: re-spin
the AC2 ISOs (hopefully not all), or come up with a "wrapper" style
install CD that, once booted, would use the normal AC2 ISOs for the
rest of the install.
So, be patient, grasshopper... ;-}
--Jay++
---------------------------------------------------------------
Jay A Estabrook HPTC - XC I & B
Hewlett-Packard Company - ZKO1-3/D-B.8 (603) 884-0301
110 Spit Brook Road, Nashua NH 03062 Jay.Estabrook at hp.com
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-23 10:47 ` Odp: " pawel.oleksiak
@ 2006-03-23 17:06 ` tsv
0 siblings, 0 replies; 18+ messages in thread
From: tsv @ 2006-03-23 17:06 UTC (permalink / raw)
pawel.oleksiak at rieberson.no wrote:
>Witam / Hello
>
>I upgraded kernel into system to new one from AC2.0..... and my system is
>dead :) kernel panic during booting :/
>
>Does it mean that I'll not possible to use AC2.0 ? :(
>
>
Please, what a little bit. :) A new kernel package that is know to boot
on AS4100/AS1200 is in the process of building...
I hope you kept old kernel package installed.\
Regards,
--
Sergey Tikhonov
Solvo Ltd.
Saint-Petersburg, Russia
tsv at solvo.ru
^ permalink raw reply [flat|nested] 18+ messages in thread
* AlphaCore 2.0 vs. AlphaServer 4100
2006-03-23 14:29 ` Jay.Estabrook
@ 2006-03-23 21:07 ` tsv
2006-03-24 9:58 ` Odp: " pawel.oleksiak
0 siblings, 1 reply; 18+ messages in thread
From: tsv @ 2006-03-23 21:07 UTC (permalink / raw)
Jay Estabrook wrote:
>On Wed, Mar 22, 2006 at 02:24:05PM +0300, Sergey Tikhonov wrote:
>
>
>>pawel.oleksiak at rieberson.no wrote:
>>
>>
>>
>>>My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
>>>did it?
>>>
>>>
>>>
>>It seems that there is problem with AC2 on some AS4100s. The AC2 kernel
>>panics, we are trying to undertand why.
>>
>>
>
>Just so you know, this has been a problem on AS1200 as well.
>
>But help is on the way! :-)
>
>I was able to fix the problems yesterday, and successfully booted and
>ran a UP kernel on both AS1200 and AS4100.
>
>
The new kernel packages are availabe at:
ftp://ftp.rdsor.ro/pub/Linux/Distributions/AlphaLinux/core/2.0/updates/
version 2.6.15-1.1831.3_FC4axp
They should work on AS4100.
Regards,
Sergey.
tsv at solvo.ru
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-23 21:07 ` tsv
@ 2006-03-24 9:58 ` pawel.oleksiak
2006-03-24 22:55 ` tsv
0 siblings, 1 reply; 18+ messages in thread
From: pawel.oleksiak @ 2006-03-24 9:58 UTC (permalink / raw)
Witam / Hello
Will you prepare ISO of AC2.0 with this update ?
Pozdrawiam / Regards,
Pawe? Oleksiak
Rieber Foods Polska S.A.
IT Department
Sergey Tikhonov
<tsv at solvo.ru>
Wys?ane przez: Do
axp-list-bounces@ Linux on Alpha processors
redhat.com <axp-list at redhat.com>
DW
23-03-2006 22:07 Temat
Re: AlphaCore 2.0 vs. AlphaServer
4100
Odpowiedz
u?ytkownikowi
Linux on Alpha
processors
<axp-list at redhat.
com>
Jay Estabrook wrote:
>On Wed, Mar 22, 2006 at 02:24:05PM +0300, Sergey Tikhonov wrote:
>
>
>>pawel.oleksiak at rieberson.no wrote:
>>
>>
>>
>>>My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
>>>did it?
>>>
>>>
>>>
>>It seems that there is problem with AC2 on some AS4100s. The AC2 kernel
>>panics, we are trying to undertand why.
>>
>>
>
>Just so you know, this has been a problem on AS1200 as well.
>
>But help is on the way! :-)
>
>I was able to fix the problems yesterday, and successfully booted and
>ran a UP kernel on both AS1200 and AS4100.
>
>
The new kernel packages are availabe at:
ftp://ftp.rdsor.ro/pub/Linux/Distributions/AlphaLinux/core/2.0/updates/
version 2.6.15-1.1831.3_FC4axp
They should work on AS4100.
Regards,
Sergey.
tsv at solvo.ru
_______________________________________________
axp-list mailing list
axp-list at redhat.com
https://www.redhat.com/mailman/listinfo/axp-list
*****************************************************************************
This document should only be read by those persons to whom it is addressed
and is not intended to be relied upon by any persons without subsequent
written confirmation of its contents. Accordingly, Rieber & Son
disclaim all responsibility and accept no liability (including negligence)
for the consequences for any person acting, or refraining from acting, on
such information prior to the receipt by those persons of subsequent
written confirmation.
If you have received this E-mail message in error, please notify us
immediately by telephone. Please also destroy and delete the message from
your computer.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this E-mail message is strictly
prohibited.
Rieber & Son ASA
postmaster at rieberson.no
Bergen, Norway
*****************************************************************************
^ permalink raw reply [flat|nested] 18+ messages in thread
* AlphaCore 2.0 vs. AlphaServer 4100
2006-03-22 10:10 AlphaCore 2.0 vs. AlphaServer 4100 pawel.oleksiak
2006-03-22 11:24 ` tsv
@ 2006-03-24 22:26 ` bob58523
2006-03-24 23:31 ` Jay.Estabrook
2006-03-24 22:28 ` bob58523
2 siblings, 1 reply; 18+ messages in thread
From: bob58523 @ 2006-03-24 22:26 UTC (permalink / raw)
I have a question, off-topic about your alphaserver. I have a AS4000 and have
tried on numerous occasions to install linux, I have tried different disros
and have never successfully installed it. I, to have a trio s3 video card.
You mentioned that you installed a different video card. Did you just use a
regular pc video card, and if so how did it work.
Thanks,
Bob
On Wednesday 22 March 2006 04:10, pawel.oleksiak at rieberson.no wrote:
> Witam / Hello
>
> I have AS 4100 and earlier I successfully installed AC1.0 (wih problems
> with PAL - only text mode)
>
> Now, I try install AC2.0 but it is problem during starting ... problem with
> PAL is appear and even instalation is not possible to run. Also text mode
> is not accessible (also PAL problem). I had graphics card S3 Trio, but I
> changed to ATI VooDoo Rush and also I have the same problem (maybe another
> error code during PAL problem).
>
> My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
> did it?
>
> Pozdrawiam / Regards,
>
> Pawe? Oleksiak
>
> Rieber Foods Polska S.A.
> IT Department
>
>
> ***************************************************************************
>** This document should only be read by those persons to whom it is
> addressed and is not intended to be relied upon by any persons without
> subsequent written confirmation of its contents. Accordingly, Rieber & Son
> disclaim all responsibility and accept no liability (including negligence)
> for the consequences for any person acting, or refraining from acting, on
> such information prior to the receipt by those persons of subsequent
> written confirmation.
>
> If you have received this E-mail message in error, please notify us
> immediately by telephone. Please also destroy and delete the message from
> your computer.
>
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and/or publication of this E-mail message is strictly
> prohibited.
>
> Rieber & Son ASA
> postmaster at rieberson.no
> Bergen, Norway
>
> ***************************************************************************
>**
>
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 18+ messages in thread
* AlphaCore 2.0 vs. AlphaServer 4100
2006-03-22 10:10 AlphaCore 2.0 vs. AlphaServer 4100 pawel.oleksiak
2006-03-22 11:24 ` tsv
2006-03-24 22:26 ` bob58523
@ 2006-03-24 22:28 ` bob58523
2 siblings, 0 replies; 18+ messages in thread
From: bob58523 @ 2006-03-24 22:28 UTC (permalink / raw)
I have a question, off-topic about your alphaserver. I have a AS4000 and have
tried on numerous occasions to install linux, I have tried different disros
and have never successfully installed it. I, to have a trio s3 video card.
You mentioned that you installed a different video card. Did you just use a
regular pc video card, and if so how did it work.
Thanks,
Bob
On Wednesday 22 March 2006 04:10, pawel.oleksiak at rieberson.no wrote:
> Witam / Hello
>
> I have AS 4100 and earlier I successfully installed AC1.0 (wih problems
> with PAL - only text mode)
>
> Now, I try install AC2.0 but it is problem during starting ... problem with
> PAL is appear and even instalation is not possible to run. Also text mode
> is not accessible (also PAL problem). I had graphics card S3 Trio, but I
> changed to ATI VooDoo Rush and also I have the same problem (maybe another
> error code during PAL problem).
>
> My question: Is it possible to install AC2.0 on AlphaServer 4100? Enyone
> did it?
>
> Pozdrawiam / Regards,
>
> Pawe? Oleksiak
>
> Rieber Foods Polska S.A.
> IT Department
>
>
> ***************************************************************************
>** This document should only be read by those persons to whom it is
> addressed and is not intended to be relied upon by any persons without
> subsequent written confirmation of its contents. Accordingly, Rieber & Son
> disclaim all responsibility and accept no liability (including negligence)
> for the consequences for any person acting, or refraining from acting, on
> such information prior to the receipt by those persons of subsequent
> written confirmation.
>
> If you have received this E-mail message in error, please notify us
> immediately by telephone. Please also destroy and delete the message from
> your computer.
>
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and/or publication of this E-mail message is strictly
> prohibited.
>
> Rieber & Son ASA
> postmaster at rieberson.no
> Bergen, Norway
>
> ***************************************************************************
>**
>
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 9:58 ` Odp: " pawel.oleksiak
@ 2006-03-24 22:55 ` tsv
2006-03-24 23:19 ` michal
2006-03-28 10:31 ` Odp: " pawel.oleksiak
0 siblings, 2 replies; 18+ messages in thread
From: tsv @ 2006-03-24 22:55 UTC (permalink / raw)
pawel.oleksiak at rieberson.no wrote:
>Witam / Hello
>
>Will you prepare ISO of AC2.0 with this update ?
>
>
Yes, as soon as I figure out what to do with famost "Relocation" problem
with modules on Alpha.
Have you tried new kernel packages?
Regards,
Sergey.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 22:55 ` tsv
@ 2006-03-24 23:19 ` michal
2006-03-24 23:27 ` Jay.Estabrook
2006-03-24 23:36 ` tsv
2006-03-28 10:31 ` Odp: " pawel.oleksiak
1 sibling, 2 replies; 18+ messages in thread
From: michal @ 2006-03-24 23:19 UTC (permalink / raw)
On Sat, Mar 25, 2006 at 01:55:32AM +0300, Sergey Tikhonov wrote:
> pawel.oleksiak at rieberson.no wrote:
>
> >Witam / Hello
> >
> >Will you prepare ISO of AC2.0 with this update ?
> >
> >
> Yes, as soon as I figure out what to do with famost "Relocation" problem
> with modules on Alpha.
By any chance this will not be the following (I got that a long
time ago with an obvious white-space damage so if this cast is
really missing then it has to be added with an editor)?
---------------------------
On Mon, Jan 05, 2004 at 02:21:37AM +0100, M??ns Rullg??rd wrote:
> I compiled Linux 2.6.0 for Alpha, and it mostly works, except the
> somewhat large modules. They fail to load with the message
> "Relocation overflow vs section 17", or some other section number.
This failure happens with GPRELHIGH relocation, which is *signed*
short, but relocation overflow check in module.c doesn't take into
account the sign extension.
Appended patch should help.
Ivan.
--- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003
+++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003
@@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
*(u64 *)location = value;
break;
case R_ALPHA_GPRELHIGH:
- value = (value - gp + 0x8000) >> 16;
+ value = (long)(value - gp + 0x8000) >> 16;
if ((short) value != value)
goto reloc_overflow;
*(u16 *)location = value;
---------------------------
I would think that this was applied a long time ago but maybe
not? I cannot check at this moment.
Another old change which could be relevant was also for kernel/module.c
but if you see there the following comment:
/* Skip relocations on non-allocated (ie. debug) sections */
then most likely it means that it is there.
Michal
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 23:19 ` michal
@ 2006-03-24 23:27 ` Jay.Estabrook
2006-03-24 23:46 ` michal
2006-03-24 23:36 ` tsv
1 sibling, 1 reply; 18+ messages in thread
From: Jay.Estabrook @ 2006-03-24 23:27 UTC (permalink / raw)
On Fri, Mar 24, 2006 at 04:19:39PM -0700, Michal Jaegermann wrote:
>
> --- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003
> +++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003
> @@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
> *(u64 *)location = value;
> break;
> case R_ALPHA_GPRELHIGH:
> - value = (value - gp + 0x8000) >> 16;
> + value = (long)(value - gp + 0x8000) >> 16;
> if ((short) value != value)
> goto reloc_overflow;
> *(u16 *)location = value;
>
> ---------------------------
>
> I would think that this was applied a long time ago but maybe
> not? I cannot check at this moment.
It is already in 2.6.15-1.1831_FC4axp.
> Another old change which could be relevant was also for kernel/module.c
> but if you see there the following comment:
>
> /* Skip relocations on non-allocated (ie. debug) sections */
This one is NOT in there.
--Jay++
---------------------------------------------------------------
Jay A Estabrook HPTC - XC I & B
Hewlett-Packard Company - ZKO1-3/D-B.8 (603) 884-0301
110 Spit Brook Road, Nashua NH 03062 Jay.Estabrook at hp.com
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 18+ messages in thread
* AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 22:26 ` bob58523
@ 2006-03-24 23:31 ` Jay.Estabrook
0 siblings, 0 replies; 18+ messages in thread
From: Jay.Estabrook @ 2006-03-24 23:31 UTC (permalink / raw)
On Fri, Mar 24, 2006 at 04:26:57PM -0600, Bob Schmidt wrote:
>
> I have a question, off-topic about your alphaserver. I have a AS4000
> and have tried on numerous occasions to install linux, I have tried
> different disros and have never successfully installed it. I, to
> have a trio s3 video card. You mentioned that you installed a
> different video card. Did you just use a regular pc video card, and
> if so how did it work.
One should be able to do a "text" mode install regardless of the make
of VGA present.
However, you may have better luck replacing the Trio with a Matrox
Millennium I or II, or some Permedia-2 based card, like ELSA Gloria
Synergy.
Good luck.
--Jay++
---------------------------------------------------------------
Jay A Estabrook HPTC - XC I & B
Hewlett-Packard Company - ZKO1-3/D-B.8 (603) 884-0301
110 Spit Brook Road, Nashua NH 03062 Jay.Estabrook at hp.com
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 23:19 ` michal
2006-03-24 23:27 ` Jay.Estabrook
@ 2006-03-24 23:36 ` tsv
2006-03-26 19:46 ` tsv
1 sibling, 1 reply; 18+ messages in thread
From: tsv @ 2006-03-24 23:36 UTC (permalink / raw)
Michal Jaegermann wrote:
>>Yes, as soon as I figure out what to do with famost "Relocation" problem
>>with modules on Alpha.
>>
>>
>
>By any chance this will not be the following (I got that a long
>time ago with an obvious white-space damage so if this cast is
>really missing then it has to be added with an editor)?
>
>---------------------------
>
>On Mon, Jan 05, 2004 at 02:21:37AM +0100, M??ns Rullg??rd wrote:
>
>
>>I compiled Linux 2.6.0 for Alpha, and it mostly works, except the
>>somewhat large modules. They fail to load with the message
>>"Relocation overflow vs section 17", or some other section number.
>>
>>
>
>This failure happens with GPRELHIGH relocation, which is *signed*
>short, but relocation overflow check in module.c doesn't take into
>account the sign extension.
>Appended patch should help.
>
>Ivan.
>
>--- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003
>+++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003
>@@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
>*(u64 *)location = value;
>break;
>case R_ALPHA_GPRELHIGH:
>- value = (value - gp + 0x8000) >> 16;
>+ value = (long)(value - gp + 0x8000) >> 16;
>if ((short) value != value)
>goto reloc_overflow;
>*(u16 *)location = value;
>
>---------------------------
>
>I would think that this was applied a long time ago but maybe
>not? I cannot check at this moment.
>
>
Yes, this one is applied.
There are other relocation problems related to "per_cpu data" reference
ipv6 module (this easily fixed by compiling module in).
Another one I got today while testing qboot3 iso image with recent fixes
to kernel. It is "cramfs" module and relocation type is
R_ALPHA_LITERAL. It seems it depens on size of .text and .data sections
plus where .got section is allocated. I am still trying
to understand all of this.
Regards,
Sergey.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 23:27 ` Jay.Estabrook
@ 2006-03-24 23:46 ` michal
0 siblings, 0 replies; 18+ messages in thread
From: michal @ 2006-03-24 23:46 UTC (permalink / raw)
On Fri, Mar 24, 2006 at 06:27:24PM -0500, Jay Estabrook wrote:
> On Fri, Mar 24, 2006 at 04:19:39PM -0700, Michal Jaegermann wrote:
>
> > Another old change which could be relevant was also for kernel/module.c
> > but if you see there the following comment:
> >
> > /* Skip relocations on non-allocated (ie. debug) sections */
>
> This one is NOT in there.
In that case here is an attached a _really_ old posting from Rusty
Russell. I cannot tell now if still applicable.
Michal
-------------- next part --------------
Date: Tue, 30 Dec 2003 14:57:36 +1100
From: Rusty Russell <rusty at rustcorp.com.au>
To: Richard Henderson <rth at twiddle.net>
Cc: linux-kernel at vger.kernel.org, Nathan Poznick <kraken at drunkmonkey.org>
Subject: Re: [PATCH] Handle R_ALPHA_REFLONG relocation on Alpha
(2.6.0-test11)
Message-Id: <20031230145736.4ce0ff59.rusty at rustcorp.com.au>
In-Reply-To: <20031218010203.GA13385 at twiddle.net>
References: <20031213003841.GA5213 at wang-fu.org>
<20031217121010.GA11062 at twiddle.net>
<20031217193124.GA4837 at wang-fu.org>
<20031218010203.GA13385 at twiddle.net>
X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: linux-kernel-owner at vger.kernel.org
Precedence: bulk
Status: RO
Content-Length: 2494
Lines: 54
On Wed, 17 Dec 2003 17:02:03 -0800
Richard Henderson <rth at twiddle.net> wrote:
> On Wed, Dec 17, 2003 at 01:31:24PM -0600, Nathan Poznick wrote:
> > my next question is if this is a known/intended side effect -- enabling
> > CONFIG_DEBUG_INFO means that modules cannot be used?
>
> No. This means there's a bug in the generic bits of the module
> loaders, that they're not discarding debugging sections.
Ah, my bad. We suck in the whole module, then copy SHF_ALLOC sections,
then apply relocations. We don't skip relocations on sections which
haven't been copied.
This patch works for me: Nathan, does it solve your problem?
Rusty.
--
there are those who do and those who hang on and you don't see too
many doers quoting their contemporaries. -- Larry McVoy
Name: Don't Apply Relocations To Sections We Haven't Copied
Author: Rusty Russell
Status: Tested on 2.6.0-bk1
D: The module code applies every relocation section given. Obviously, if
D: the section has not been copied into the module, there's no point.
D: In particular, Alpha has relocs which are only used on debug sections,
D: so they don't load with CONFIG_DEBUG_INFO enabled.
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .2481-linux-2.6.0-bk1/kernel/module.c .2481-linux-2.6.0-bk1.updated/kernel/module.c
--- .2481-linux-2.6.0-bk1/kernel/module.c 2003-11-24 15:42:33.000000000 +1100
+++ .2481-linux-2.6.0-bk1.updated/kernel/module.c 2003-12-30 14:08:40.000000000 +1100
@@ -1618,9 +1618,13 @@ static struct module *load_module(void _
/* Now do relocations. */
for (i = 1; i < hdr->e_shnum; i++) {
const char *strtab = (char *)sechdrs[strindex].sh_addr;
- if (sechdrs[i].sh_type == SHT_REL)
- err = apply_relocate(sechdrs, strtab, symindex, i,mod);
- else if (sechdrs[i].sh_type == SHT_RELA)
+
+ /* Skip relocations on non-allocated (ie. debug) sections */
+ if (sechdrs[i].sh_type == SHT_REL
+ && (sechdrs[sechdrs[i].sh_info].sh_flags & SHF_ALLOC))
+ err = apply_relocate(sechdrs, strtab, symindex,i, mod);
+ else if (sechdrs[i].sh_type == SHT_RELA
+ && (sechdrs[sechdrs[i].sh_info].sh_flags & SHF_ALLOC))
err = apply_relocate_add(sechdrs, strtab, symindex, i,
mod);
if (err < 0)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 23:36 ` tsv
@ 2006-03-26 19:46 ` tsv
0 siblings, 0 replies; 18+ messages in thread
From: tsv @ 2006-03-26 19:46 UTC (permalink / raw)
Sergey Tikhonov wrote:
> Michal Jaegermann wrote:
>
>>> Yes, as soon as I figure out what to do with famost "Relocation"
>>> problem with modules on Alpha.
>>>
>>
>>
>> By any chance this will not be the following (I got that a long
>> time ago with an obvious white-space damage so if this cast is
>> really missing then it has to be added with an editor)?
>>
>> ---------------------------
>>
>> On Mon, Jan 05, 2004 at 02:21:37AM +0100, M??ns Rullg??rd wrote:
>>
>>
>>> I compiled Linux 2.6.0 for Alpha, and it mostly works, except the
>>> somewhat large modules. They fail to load with the message
>>> "Relocation overflow vs section 17", or some other section number.
>>>
>>
>>
>> This failure happens with GPRELHIGH relocation, which is *signed*
>> short, but relocation overflow check in module.c doesn't take into
>> account the sign extension.
>> Appended patch should help.
>>
>> Ivan.
>>
>> --- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003
>> +++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003
>> @@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
>> *(u64 *)location = value;
>> break;
>> case R_ALPHA_GPRELHIGH:
>> - value = (value - gp + 0x8000) >> 16;
>> + value = (long)(value - gp + 0x8000) >> 16;
>> if ((short) value != value)
>> goto reloc_overflow;
>> *(u16 *)location = value;
>>
>> ---------------------------
>>
>> I would think that this was applied a long time ago but maybe
>> not? I cannot check at this moment.
>>
>>
> Yes, this one is applied.
> There are other relocation problems related to "per_cpu data"
> reference ipv6 module (this easily fixed by compiling module in).
> Another one I got today while testing qboot3 iso image with recent
> fixes to kernel. It is "cramfs" module and relocation type is
> R_ALPHA_LITERAL. It seems it depens on size of .text and .data
> sections plus where .got section is allocated. I am still trying
> to understand all of this.
Well, I got "relocation" problem in cramfs module fixed. As I suspected
it was due how different sections of module layouted in memory.
In general it was like this:
.text
.data
.got
.small data sections
.bss
The size of .got section was calculated during module loading (for all
symbols that required "literal" relocation), so the sections that followed
.got section were moved down. The arch specific module relocation logic
calculated value for GP register as start address of
core sections (text + all data sections) + their total size - 0x8000.
This allow to use GPRELLOW relocation (which is just 16 bit offset).
For "cramfs" module failure it couldn't calculate relocation from GP
pointer to the begining of .got section, because offset to .got section
was more
than 16 bit value. I think it happened because of size of .got section
was known in advance and during module loading it became big.
Actually, we need just first address of .got section - all other data in
it is addressed by index from first address. So, I just made module loading
logic to load .got section after the all data section and everything
started to work. :)
Now about "per_cpu" relocation problem. I have no idea how to fix it, so
may be someone has some idea.
Here what is going on. A module declare "per_cpu" data in special
per_cpu section. Since that section is available during
compilation and linking there is simple 32 relation is used to access
that data. The problem is that the real space for that data is reserved
in kernel address space and 32 bit offset is not enough to get to this
reserved space. :(
I am going to make another test of qboot3 disc on monday and if
everythink is fine - released to public to test on AS4100/AS1200 machines.
Regards,
Sergey.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-24 22:55 ` tsv
2006-03-24 23:19 ` michal
@ 2006-03-28 10:31 ` pawel.oleksiak
2006-03-28 10:49 ` tsv
1 sibling, 1 reply; 18+ messages in thread
From: pawel.oleksiak @ 2006-03-28 10:31 UTC (permalink / raw)
Witam / Hello
I didn't tested kernel packages cause first I had to reinstall my AC1.0
after dead :)
Today I tested your boot3 AC2.0 for AS4100... Now is ok, loadrer is loading
correctly and it is going to startx (I havged graphics card to Cirrus Logic
and I have X on my AS). Only one problem.... Startx started in high
resolution but my monitor show it cutted (only 2/3 of display is shown. It
is something wrong with my monitor/graphics card or this boot ISo is set to
high resolution? (AC1.0 started with 640x480 in startX and it is correctly
displayed)
Pozdrawiam / Regards,
Pawe? Oleksiak
Rieber Foods Polska S.A.
IT Department
Sergey Tikhonov
<tsv at solvo.ru>
Wys?ane przez: Do
axp-list-bounces@ Linux on Alpha processors
redhat.com <axp-list at redhat.com>
DW
24-03-2006 23:55 Temat
Re: Odp: Re: AlphaCore 2.0 vs.
AlphaServer 4100
Odpowiedz
u?ytkownikowi
Linux on Alpha
processors
<axp-list at redhat.
com>
pawel.oleksiak at rieberson.no wrote:
>Witam / Hello
>
>Will you prepare ISO of AC2.0 with this update ?
>
>
Yes, as soon as I figure out what to do with famost "Relocation" problem
with modules on Alpha.
Have you tried new kernel packages?
Regards,
Sergey.
_______________________________________________
axp-list mailing list
axp-list at redhat.com
https://www.redhat.com/mailman/listinfo/axp-list
*****************************************************************************
This document should only be read by those persons to whom it is addressed
and is not intended to be relied upon by any persons without subsequent
written confirmation of its contents. Accordingly, Rieber & Son
disclaim all responsibility and accept no liability (including negligence)
for the consequences for any person acting, or refraining from acting, on
such information prior to the receipt by those persons of subsequent
written confirmation.
If you have received this E-mail message in error, please notify us
immediately by telephone. Please also destroy and delete the message from
your computer.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this E-mail message is strictly
prohibited.
Rieber & Son ASA
postmaster at rieberson.no
Bergen, Norway
*****************************************************************************
^ permalink raw reply [flat|nested] 18+ messages in thread
* Odp: Re: Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
2006-03-28 10:31 ` Odp: " pawel.oleksiak
@ 2006-03-28 10:49 ` tsv
0 siblings, 0 replies; 18+ messages in thread
From: tsv @ 2006-03-28 10:49 UTC (permalink / raw)
pawel.oleksiak at rieberson.no wrote:
>Witam / Hello
>
>I didn't tested kernel packages cause first I had to reinstall my AC1.0
>after dead :)
>
>
Well, always INSTALL kernel packages not UPDATE :) - will always have
chance to recover. :)
>
>Today I tested your boot3 AC2.0 for AS4100... Now is ok, loadrer is loading
>correctly and it is going to startx (I havged graphics card to Cirrus Logic
>and I have X on my AS). Only one problem.... Startx started in high
>resolution but my monitor show it cutted (only 2/3 of display is shown. It
>is something wrong with my monitor/graphics card or this boot ISo is set to
>high resolution? (AC1.0 started with 640x480 in startX and it is correctly
>displayed)
>
>
I haven't done any X configuration during install. I guess it depends on
version of Xorg package. I guess you could
live with text install and do correct xorg config. :)
Have you tried to install AC2 using qboot3 test image? I described
possible install process in my other posting.
Regards,
--
Sergey Tikhonov
Solvo Ltd.
Saint-Petersburg, Russia
tsv at solvo.ru
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2006-03-28 10:49 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 10:10 AlphaCore 2.0 vs. AlphaServer 4100 pawel.oleksiak
2006-03-22 11:24 ` tsv
2006-03-23 10:47 ` Odp: " pawel.oleksiak
2006-03-23 17:06 ` tsv
2006-03-23 14:29 ` Jay.Estabrook
2006-03-23 21:07 ` tsv
2006-03-24 9:58 ` Odp: " pawel.oleksiak
2006-03-24 22:55 ` tsv
2006-03-24 23:19 ` michal
2006-03-24 23:27 ` Jay.Estabrook
2006-03-24 23:46 ` michal
2006-03-24 23:36 ` tsv
2006-03-26 19:46 ` tsv
2006-03-28 10:31 ` Odp: " pawel.oleksiak
2006-03-28 10:49 ` tsv
2006-03-24 22:26 ` bob58523
2006-03-24 23:31 ` Jay.Estabrook
2006-03-24 22:28 ` bob58523
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox