drbd 8.0.2/3 doesn't load under kernel 2.6.21

From: Maurice Volaski
Date: Tue Jun 12 2007 - 17:09:20 EST


On a 64-bit Gentoo system with Gentoo's 2.6.21 kernel, drbd 8.0.2/3 complains when I try to load the module:

[ 134.141363] drbd: Unknown symbol cn_fini
[ 134.141399] drbd: Unknown symbol cn_init

It works fine when I compile it and load in the previous kernel version, 2.6.20 and the symbols are present in the map file

./System.map-genkernel-x86_64-2.6.21-gentoo-r2:ffffffff802935aa t cn_fini
./System.map-genkernel-x86_64-2.6.21-gentoo-r2:ffffffff8029362a t cn_init

I am c'cing the kernel mailing list because this appears to be a problem with how any module accesses symbols in the kernel, not just drbd. Source was compiled with Gentoo gcc-4.1.2, glibc-2.5-r3.
--

Maurice Volaski, mvolaski@xxxxxxxxxxxx
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University
-
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/