Hi Guys, I was wondering if anyone has got drbd working with 2.6.24? I am going to try again with the latest ubuntu kernel, but its buggy as hell. I build my own 2.6.24 kernel with ovz5 and it works great, and I even got the IBCS patch working in a VE just great. Only problem is now that DBRD doesn't work. I have tried build drbd-8.2.6.tar.gz and it doesnt work. Enabling drbd after patching vanilla 2.6.24 and building gives this error: CC [M] drivers/block/drbd/drbd_buildtag.o CC [M] drivers/block/drbd/drbd_bitmap.o In file included from drivers/block/drbd/drbd_bitmap.c:34: drivers/block/drbd/drbd_int.h:751:1: warning: "BIT" redefined In file included from drivers/block/drbd/drbd_bitmap.c:27: include/linux/bitops.h:6:1: warning: this is the location of the previous definition In file included from drivers/block/drbd/drbd_int.h:1159, from drivers/block/drbd/drbd_bitmap.c:34: drivers/block/drbd/drbd_compat_wrappers.h: In function ‘drbd_generic_make_request’: drivers/block/drbd/drbd_compat_wrappers.h:130: error: too many arguments to function ‘bio_endio’ drivers/block/drbd/drbd_compat_wrappers.h:135: error: too many arguments to function ‘bio_endio’ drivers/block/drbd/drbd_bitmap.c: In function ‘drbd_bm_page_io_async’: drivers/block/drbd/drbd_bitmap.c:656: warning: assignment from incompatible pointer type drivers/block/drbd/drbd_bitmap.c:660: error: too many arguments to function ‘bio_endio’ make[4]: *** [drivers/block/drbd/drbd_bitmap.o] Error 1 make[3]: *** [drivers/block/drbd] Error 2 make[2]: *** [drivers/block] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/home/sol1/linux-2.6.24' make: *** [debian/stamp-build-kernel] Error 2 any suggestions or should I go for 2.6.18? dave
any comments? I need to know today so I can either fix it or go back to 2.6.18? thanks dave
we rebuilt with drbd not as a module, but compiled in and it seems to work ok. Not sure why, but its working ok.
Hi, there are some functions changed in 2.6.24 so that the drbd does not compile against it "as is" ... I tried to patch out all things I found not working and at least DRBD now compiles. It still has warnings, maybe I'll look a little deeper into that later. I attach the patch to this posting, maybe someone likes to help me testing if it works. I'll start testing tonight and I'll keep you informed ... hopefully about success Best regards Dusty
we found that if you compile it into the kernel and not as a module it seemed to be fine production level testing indicates its ok. though I got some worrying cpu soft lockup problems I am still trying to investigate