[DRBD-user] RE: [DRBD-announce] drbd-8.0.8.tar.gz

Thomas Althoff thomas at mainloop.se
Tue Dec 11 11:11:55 CET 2007

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


Hi,

8.0.8 seems to have some kind of problem with RHEL/Centos 5.1 (eg.
2.6.18-53.1.4.el5).
8.0.[4-7] compiles fine.

8.0.8
=====

[root at cl-db2 drbd-8.0.8]# make
make -C drbd drbd_buildtag.c
make[1]: Entering directory `/home/build/drbd-8.0.8/drbd'
make[1]: Leaving directory `/home/build/drbd-8.0.8/drbd'
make[1]: Entering directory `/home/build/drbd-8.0.8/user'
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdadm_usage_cnt.o
drbdadm_usage_cnt.c
cp ../drbd/drbd_buildtag.c drbd_buildtag.c
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbd_buildtag.o drbd_buildtag.c
gcc -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o
drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o
gcc -g -O2 -c -W -Wall -I../drbd -fno-strict-aliasing   -c -o drbdmeta.o
drbdmeta.c
In file included from /usr/include/asm/types.h:5,
                 from drbdtool_common.h:4,
                 from drbdmeta.c:51:
/usr/include/asm-x86_64/types.h:23: error: conflicting types for
'uint64_t'
/usr/include/stdint.h:56: error: previous declaration of 'uint64_t' was
here
drbdmeta.c: In function 'v07_validate_md':
drbdmeta.c:496: warning: format '%lu' expects type 'long unsigned int',
but argument 4 has type 'uint64_t'
drbdmeta.c: In function 'v08_validate_md':
drbdmeta.c:634: warning: format '%lu' expects type 'long unsigned int',
but argument 4 has type 'uint64_t'
drbdmeta.c: In function 'printf_bm':
drbdmeta.c:872: warning: format '%016lX' expects type 'long unsigned
int', but argument 3 has type 'uint64_t'
drbdmeta.c:878: warning: format '%016lX' expects type 'long unsigned
int', but argument 2 has type 'uint64_t'
drbdmeta.c: In function 'md_initialize_common':
drbdmeta.c:1376: warning: format '%u' expects type 'unsigned int', but
argument 3 has type 'size_t'
drbdmeta.c: In function 'meta_dump_md':
drbdmeta.c:1750: warning: format '%016lX' expects type 'long unsigned
int', but argument 2 has type 'long long unsigned int'
drbdmeta.c:1758: warning: format '%lu' expects type 'long unsigned int',
but argument 2 has type 'uint64_t'
drbdmeta.c:1763: warning: format '%016lX' expects type 'long unsigned
int', but argument 2 has type 'uint64_t'
drbdmeta.c: In function 'check_for_existing_data':
drbdmeta.c:2211: warning: format '%lu' expects type 'long unsigned int',
but argument 2 has type 'uint64_t'
drbdmeta.c:2212: warning: format '%lu' expects type 'long unsigned int',
but argument 2 has type 'uint64_t'
drbdmeta.c: In function 'meta_read_dev_uuid':
drbdmeta.c:2441: warning: format '%016lX' expects type 'long unsigned
int', but argument 2 has type 'uint64_t'
make[1]: *** [drbdmeta.o] Error 1
make[1]: Leaving directory `/home/build/drbd-8.0.8/user'
make: *** [tools] Error 2

Suggestions ?

-Thomas



 

-----Original Message-----
From: drbd-announce-bounces at lists.linbit.com
[mailto:drbd-announce-bounces at lists.linbit.com] On Behalf Of Philipp
Reisner
Sent: den 9 december 2007 20:24
To: drbd-announce at lists.linbit.com
Subject: [DRBD-announce] drbd-8.0.8.tar.gz

Hi,

The usual number of bug fixes. The first item on the list is a bit
worrying. Although it has no known impact, it might be a good idea to
update to 8.0.8 since the possible effects are not exactly known.

8.0.8 (api:86/proto:86)
--------
 * Improvements to the bitmap code. (The old code might reenabled
   interrupts by accident)
 * Fixed a endian issue in the wirte protocol. C bit-fields are
   might by layed out differently on little/big endian machines.
 * Drbdadm's adjust forgot sometimes to adjust options values that
   where inherited from the common section, fixed that.
 * Removed dopd. It gets (and should be) shipped with heartbeat.
 * When peer authentication is enabled, you could trick drbd to send
   a state report packet before it authenticated itself. Fixed that.
 * Added robustness to resync pause/continue.
 * Drbdsetup should not report a random error if no netlink
   answer is received from the drbd module.
 * Fixes to error code pathes. ( drbd_drain_block() and lc_alloc() )
 * Fixed a possible OOPS in case one manages to loose disk and
   network concurrently. (iSCSI disk and network over same switch)
 * Fixed the broadcasting of state change events to userspace.

http://www.linbit.com/support/drbd-8.0.8/
http://oss.linbit.com/drbd/8.0/drbd-8.0.8.tar.gz

PS: This time it the tag in git is already there...

-Phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :
_______________________________________________
drbd-announce mailing list
drbd-announce at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-announce



More information about the drbd-user mailing list