[DRBD-user] 8.0.6 SLES9 .244 kzalloc undefined

Andre Konopka andre.konopka at presse-data.de
Thu Sep 13 11:39:12 CEST 2007

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


additional information:

mmh.. I see that there is some code to use kmalloc instead of kzalloc

make enable the 'backport' of kzalloc but obviously without success


Adjusted drbd_config.h:
   --- ./linux/drbd_config.h     2007-08-31 13:06:43.000000000 +0200
   +++ ./linux/drbd_config.h.new 2007-09-13 13:14:28.556145688 +0200
   @@ -57 +57 @@
   -#define KERNEL_HAS_GFP_T
   +//#define KERNEL_HAS_GFP_T
   @@ -61 +61 @@
   -//#define NEED_BACKPORT_OF_ATOMIC_ADD
   +#define NEED_BACKPORT_OF_ATOMIC_ADD
   @@ -66 +66 @@
   -//#define USE_KMEM_CACHE_S
   +#define USE_KMEM_CACHE_S
   @@ -70 +70 @@
   -//#define DEFINE_SOCK_CREATE_KERN
   +#define DEFINE_SOCK_CREATE_KERN
   @@ -74 +74 @@
   -//#define DRBD_NL_DST_GROUPS
   +#define DRBD_NL_DST_GROUPS
   @@ -77 +77 @@
   -//#define NEED_BACKPORT_OF_KZALLOC
   +#define NEED_BACKPORT_OF_KZALLOC


[snip]

  LD [M]  /usr/src/drbd-8.0.6/drbd/drbd.o
   Building modules, stage 2.
   MODPOST
*** Warning: "kzalloc" [/usr/src/drbd-8.0.6/drbd/drbd.ko] undefined!





Andre Konopka wrote:
> 
> 
> Hi,
> 
> after succesfully compiling drbd-8.06 on my SLES9 box I tried to 
> "modprobe" it...
> 
> # modprobe drbd
> FATAL: Error inserting drbd 
> (/lib/modules/2.6.5-7.244-smp/kernel/drivers/block/drbd.ko): Unknown 
> symbol in module, or unknown parameter (see dmesg)
> 
> # dmesg | tail
> 
> drbd: Unknown symbol kzalloc
> 
> 
> Any idea???
> 
> 
> Best regards
> 
> Andre
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 


-- 
Mit freundlichen Grüßen


Andre Konopka
Media-Anwendungen

RB Presse-Data GmbH
40196 Düsseldorf
Hausadresse:
Zülpicher Str. 8a                         Tel:  0211 / 5697- 379
40549 Düsseldorf                           Fax: 0211 / 5697- 352
E-Mail: Andre.Konopka at Presse-Data.de

Geschäftsführer: Dr. Kay Holzkamp
Sitz Düsseldorf - Amtsgericht Düsseldorf HRB 1944



More information about the drbd-user mailing list