[DRBD-user] DRBD 8.2.6 kernel patch fails with 2.6.26 and 2.6.27

Paul surgpm at gmail.com
Mon Oct 20 11:34:30 CEST 2008

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


I've tried to patch DRBD support into kernels 2.6.26 and 2.6.27 with DRBD 
8.2.6 and I get the following error :

drivers/block/drbd/drbd_main.c: In function 'drbd_cleanup':
drivers/block/drbd/drbd_main.c:2567: error: 'proc_root' undeclared (first use 
in this function)
drivers/block/drbd/drbd_main.c:2567: error: (Each undeclared identifier is 
reported only once
drivers/block/drbd/drbd_main.c:2567: error: for each function it appears in.)
drivers/block/drbd/drbd_main.c: In function 'drbd_new_device':
drivers/block/drbd/drbd_main.c:2700: warning: passing argument 2 of 
'blk_queue_merge_bvec' from incompatible pointer type
drivers/block/drbd/drbd_main.c: In function 'drbd_init':
drivers/block/drbd/drbd_main.c:2789: error: 'proc_root' undeclared (first use 
in this function)
make[3]: *** [drivers/block/drbd/drbd_main.o] Error 1
make[2]: *** [drivers/block/drbd] Error 2
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2

Is there a fix for this problem?

I also tried DRBD 8.2.5 and 8.2.4 and they both had a missing 
drbd_compat_wrappers.h problem.

Thanks
Paul




More information about the drbd-user mailing list