[DRBD-user] DRBD8-2 GIT Compile ?

Robert reg at elconas.de
Fri Oct 10 11:30:31 CEST 2008

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


Solved (should have tried reading the source first, luke  ... :)

The Makefile in drbd/ calls
    git-diff --name-only HEAD

to find files that are modified. Because my mulding machine has no 
internet connection, I download the repo somewhere else, rsync it over 
to the build machine and then the output of this command is a list of 
ALL files. So to avoid this failure I now do the following:

DownloadMachine: git clone git://....
DownloadMachine: rsync repo BuildMachine:/path/to/repo
BuildMachine (/path/to/repo): git-update-index --refresh

Then the Build is ok.

I have to rebuild the Debian package (dpkg-buildpackage afterwards)

Regards,
Robert

Robert schrieb:
> Hello list,
>
> I try to build DRBD-8.2 git HEAD on Debian etch (2.6.26.5 x86_64) with 
> module assistant, which is successful.
>
> Performance is great (auto TCP tuning for medium latency networks).
>
> However I have one question:
>
> 1) the /proc/drbd output contains:
> cat /proc/drbd:
> version: 8.2.7~rc1 (api:88/proto:86-88)
> GIT-hash: a53833ed70d8415c0e22a8a3404e1bf85079d446 .gitignore COPYING 
> ChangeLog INSTALL Makefile README ROADMAP benchmark/Makefile 
> benchmark/README benchmark/dm.c benchmark/io-latency-test.c 
> debian/README.Debian debian/TODO debian/changelog debian/compat 
> debian/control debian/control.modules.in debian/copyright 
> debian/drbd8-module-_KVERS_.postinst.modules.in 
> debian/drbd8-module-_KVERS_.postrm.modules.in 
> debian/drbd8-module-_KVERS_.preinst.modules.in 
> debian/drbd8-module-source.dirs debian/drbd8-utils.dirs 
> debian/drbd8-utils.postinst debian/drbd8-utils.postrm 
> debian/drbd8-utils.prerm debian/modass.drbd8-module-source 
> debian/rules debian/substvars documentation/Makefile 
> documentation/Makefile.lang documentation/drbd.conf.sgml 
> documentation/drbd.sgml documentation/drbdadm.sgml 
> documentation/drbddisk.sgml documentation/drbdmeta.sgml 
> documentation/drbdsetup.sgml drbd.spec.in drbd/Kconfig drbd/Makefile 
> drbd/Makefile-2.6 drbd/cn_queue.c drbd/connector.c drbd/drbd_actlog.c 
> drbd/drbd_bitmap.c drbd/drbd_int.h drbd/drbd_main.c drbd/drbd_nl.c 
> drbd/drbd_proc.c drbd/drbd_receiver.c drbd/drbd_req.c drbd/drbd_req.h 
> drbd/drbd_strings.c drbd/drbd_worker.c drbd/drbd_wrappers.h 
> drbd/linux/connector.h drbd/linux/drbd.h drbd/linux/drbd_config.h 
> drbd/linux/drbd_limits.h drbd/linux/drbd_nl.h 
> drbd/linux/drbd_tag_magic.h drbd/linux/hardirq.h drbd/linux/mutex.h 
> drbd/lru_cache.c drbd/lru_cache.h scripts/Makefile scripts/README 
> scripts/adjust_drbd_config_h.sh scripts/block-drbd scripts/drbd 
> scripts/drbd-overview.pl scripts/drbd.conf scripts/drbd.gentoo 
> scripts/drbdadm.bash_completion scripts/drbddisk 
> scripts/get_uts_release.sh scripts/notify.sh scripts/outdate-peer.sh 
> scripts/patch-kernel scripts/pretty-proc-drbd.sh 
> scripts/snapshot-resync-target-lvm.sh 
> scripts/unsnapshot-resync-target-lvm.sh user/Makefile 
> user/drbd_endian.h user/drbdadm.h user/drbdadm_adjust.c 
> user/drbdadm_main.c user/drbdadm_minor_table.c user/drbdadm_parser.c 
> user/drbdadm_parser.h user/drbdadm_scanner.fl user/drbdadm_usage_cnt.c 
> user/drbdmeta.c user/drbdmeta_parser.h user/drbdmeta_scanner.fl 
> user/drbdsetup.c user/drbdtool_common.c user/drbdtool_common.h build 
> by root at host, 2008-10-10 10:49:36
> 0: cs:WFConnection st:Secondary/Unknown ds:UpToDate/DUnknown C r---
>    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
>
> What's this output ? Build failure ?
>
> Regards,
> Robert
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list