OpenVZ Forum


Home » General » Support » drbd with 2.6.24
drbd with 2.6.24 [message #31090] Wed, 18 June 2008 02:26 Go to previous message
davekempe is currently offline  davekempe
Messages: 12
Registered: March 2008
Junior Member
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WebVZ OpenVZ Management Tool
Next Topic: MZ mismatch on migration with Stock Kernels
Goto Forum:
  


Current Time: Sun Aug 11 15:38:28 GMT 2024

Total time taken to generate the page: 0.02926 seconds