2.6.10, alpha, "Relocation overflows"

From: David Monro
Date: Sun Mar 20 2005 - 10:26:56 EST


Hi,

I'm trying to get 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...

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/