Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.6.10, alpha, "Relocation overflows"
@ 2005-03-22 14:26 davidm
  2005-03-22 14:49 ` 2.6.10, alpha, "Relocation overflows" - .data.percpu ? davidm
  2005-03-22 18:23 ` 2.6.10, alpha, "Relocation overflows" Jay.Estabrook
  0 siblings, 2 replies; 9+ messages in thread
From: davidm @ 2005-03-22 14:26 UTC (permalink / raw)


Hi,

ok I know this isn't specifically redhat related, but hey there aren't 
many active alpha lists out there!

I'm trying to get kernel.org 2.6.10 running on my SMP ds20 alpha system. 
Kernel compiles fine, but _some_ modules fail to load once running, in 
particular the ipv6 and scsi ones (there may be more, but those are the 
ones I'm noticing).

The error is "Relocation overflow vs section 25" for ipv6 (scsi_mod says 
section 27 instead). Adding a few printks, it seems that its always the 
R_ALPHA_GPRELHIGH case (line 265 of arch/alpha/kernel/module.c), and as 
far as I can tell, the problem is that "value" is more than 0x8000 less 
than "gp" which results in a negative value... The weird thing is, it 
doesn't appear to happen for UP-compiled kernels, only SMP ones!

This is using gcc version 3.3.5 (Debian 1:3.3.5-8). I tried using gcc 
2.95 (gcc version 2.95.4 20011002 (Debian prerelease)), but that gets a 
parse error on line 55 of arch/alpha/kernel/traps.c. (What compiler 
_should_ I be using? The documentation seems to indicate gcc 2.95.3, but 
I'm finding that hard to believe).

I can't go forward to 2.6.11 because thats missing _raw_read_trylock for 
alpha, and there doesn't appear to be a patch for that yet. 2.6.8 UP 
works, but SMP just hangs when probing the DAC960 raid controller. Is 
SMP alpha just not very well tested at the moment?

Cheers,

     David



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

end of thread, other threads:[~2005-03-24 10:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 14:26 2.6.10, alpha, "Relocation overflows" davidm
2005-03-22 14:49 ` 2.6.10, alpha, "Relocation overflows" - .data.percpu ? davidm
2005-03-22 16:54   ` ayoung
2005-03-23  9:29     ` davidm
2005-03-23 22:01     ` davidm
2005-03-23 22:41       ` ayoung
2005-03-23 22:51       ` Jay.Estabrook
2005-03-24 10:22         ` davidm
2005-03-22 18:23 ` 2.6.10, alpha, "Relocation overflows" Jay.Estabrook

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