From: Joe Ammond <joe.ammond@edwardjones.com>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] DRBD svn and 2.6.16
Date: Tue, 14 Feb 2006 21:09:17 -0000 [thread overview]
Message-ID: <1139951315.8507.26.camel@localhost.localdomain> (raw)
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
reply other threads:[~2006-02-14 21:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1139951315.8507.26.camel@localhost.localdomain \
--to=joe.ammond@edwardjones.com \
--cc=drbd-dev@lists.linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox