[DRBD-user] RHEL4 / Kernel 2.6.9-11

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Jun 17 21:33:38 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2005-06-11 19:46:39 +0200
\ Thomas Althoff:
> Hi,
> 
> Redhat recently release a new kernel version 2.6.9-11.
> 
> Installing the new version gave me some nice problems, when i had to
> recompile drbd (0.7.11).
> Everything compiled nice and smooth (I have applied the #ifdef
> TASK_ZOMBIE in drbd_int.h patch earlier)
> 
> Loading the module resulted in 
> 
> Jun 11 17:00:10 b2 kernel: overflow in relocation type 10 val
> ffffffffa01b71c0
> Jun 11 17:00:10 b2 kernel: `drbd' likely not compiled with
> -mcmodel=kernel
> 
> Adding -mcmodel=kernel in Makefil and everything compiles nice and loads
> smooth again.
> 
> Is this the correct workaround?

looks like the "obvious solution".
correct? I can not say.
If it works, it works...

since we delegate to top level kernel source makefile,
I'd expect that to know the correct compiler flags.
If it does not... well, "redhat is different" (again).

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list