[DRBD-user] RHEL4 / Kernel 2.6.9-11

Thomas Althoff thomas at mainloop.se
Sat Jun 11 19:46:39 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.


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?

My box is Dell PE2850 with a dual Xeon/EMT64 with 4GB of ram.
I running RHEL4(ES) x86_64 with a standard 2.6.9-11.Elsmp kernel.

-Thomas



More information about the drbd-user mailing list