* [Drbd-dev] DRBD svn and 2.6.16
@ 2006-02-14 21:09 Joe Ammond
0 siblings, 0 replies; only message in thread
From: Joe Ammond @ 2006-02-14 21:09 UTC (permalink / raw)
To: drbd-dev
I've been using the latest SVN code of DRBD under Xen-unstable
for the past couple of months with good results. However, the
Xen tree recently switched kernels to 2.6.16-rc2, which appears
to have introduced incompatibilities with DRBD. When compiling,
drbd_receiver.c fails:
[root@rc-xen0-04 drbd]# make
Calling toplevel makefile of kernel source tree, which I believe is
in
KDIR=/lib/modules/2.6.16-rc2-xen/build
make -C /lib/modules/2.6.16-rc2-xen/build SUBDIRS=/root/drbd/trunk/drbd
modules
make[1]: Entering directory `/xen/xen-unstable.hg/linux-2.6.16-rc2-xen'
CC [M] /root/drbd/trunk/drbd/drbd_buildtag.o
CC [M] /root/drbd/trunk/drbd/drbd_receiver.o
/root/drbd/trunk/drbd/drbd_receiver.c: In function
‘drbd_setup_order_type’:
/root/drbd/trunk/drbd/drbd_receiver.c:1793: error: ‘QUEUE_ORDERED_FLUSH’
undeclared (first use in this function)
/root/drbd/trunk/drbd/drbd_receiver.c:1793: error: (Each undeclared
identifier is reported only once
/root/drbd/trunk/drbd/drbd_receiver.c:1793: error: for each function it
appears in.)
/root/drbd/trunk/drbd/drbd_receiver.c:1793: error: array index in
initializer not of integer type
/root/drbd/trunk/drbd/drbd_receiver.c:1793: error: (near initialization
for ‘order_txt’)
/root/drbd/trunk/drbd/drbd_receiver.c:1814: error: too few arguments to
function ‘blk_queue_ordered’
/root/drbd/trunk/drbd/drbd_receiver.c: In function
‘warn_if_differ_considerably’:
/root/drbd/trunk/drbd/drbd_receiver.c:1822: warning: ISO C90 forbids
mixed declarations and code
make[2]: *** [/root/drbd/trunk/drbd/drbd_receiver.o] Error 1
make[1]: *** [_module_/root/drbd/trunk/drbd] Error 2
make[1]: Leaving directory `/xen/xen-unstable.hg/linux-2.6.16-rc2-xen'
make: *** [kbuild] Error 2
From the little debugging I've done, it appears to be related
to the I/O barriers changes. Before I dig into the code, are
there any patches already to support this?
ja.
--
Joe Ammond joe.ammond@edwardjones.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-14 21:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 21:09 [Drbd-dev] DRBD svn and 2.6.16 Joe Ammond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox