--- drbd8-8.3.2.orig/debian/changelog +++ drbd8-8.3.2/debian/changelog @@ -0,0 +1,868 @@ +drbd8 (2:8.3.2-3) unstable; urgency=low + + * Drop DKMS support for now, to get the package back into testing. + (closes: #537986, #539218, #539219) + + -- Norbert Tretkowski Sun, 16 Aug 2009 12:23:59 +0200 + +drbd8 (2:8.3.2-2) unstable; urgency=low + + * Switch to DKMS, patch from Ante Karamatić (Ubuntu). + + -- Norbert Tretkowski Tue, 21 Jul 2009 20:17:47 +0200 + +drbd8 (2:8.3.2-1) unstable; urgency=low + + * New upstream release. + * Section of drbd8-source is kernel. + + -- Norbert Tretkowski Mon, 06 Jul 2009 21:17:28 +0200 + +drbd8 (2:8.3.2~rc2-1) unstable; urgency=low + + * New upstream release candidate. + + -- Norbert Tretkowski Sat, 27 Jun 2009 16:28:20 +0200 + +drbd8 (2:8.3.2~rc1-1) unstable; urgency=low + + * New upstream release candidate. + + Make it compile on Linux 2.6.30. (closes: #533261, #533654) + * Update Standards-Version to 3.8.2, no changes required. + * Fix maintainer-script-ignores-errors lintian warning. + + -- Norbert Tretkowski Mon, 22 Jun 2009 20:52:22 +0200 + +drbd8 (2:8.3.1-2) unstable; urgency=medium + + * Added a new patch from Michael Prokop to fix build with kernel 2.6.28 and + older. (closes: #522891) + + -- Norbert Tretkowski Fri, 03 Apr 2009 19:54:44 +0200 + +drbd8 (2:8.3.1-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Fri, 27 Mar 2009 14:16:36 +0100 + +drbd8 (2:8.3.1~rc2-1) experimental; urgency=low + + * New upstream release candidate. + + -- Norbert Tretkowski Thu, 26 Mar 2009 10:52:06 +0100 + +drbd8 (2:8.3.1~rc1-1) experimental; urgency=low + + * New upstream release candidate. + * Drop patch 10_lsb-init-script.dpatch, merged upstream. + + -- Norbert Tretkowski Tue, 17 Mar 2009 16:38:52 +0100 + +drbd8 (2:8.3.0-3) unstable; urgency=low + + [ Martin G. Loschwitz ] + * Sigh. Remove SVN-Files from debian-diff file. + + -- Martin Loschwitz Wed, 11 Mar 2009 17:46:00 +0100 + +drbd8 (2:8.3.0-2) unstable; urgency=low + + [ Norbert Tretkowski ] + * Package is now team-maintained. + * Use dpatch for patch management. + * New patch 10_lsb-init-script.dpatch to make init-script a bit more LSB + compliant. + + [ Martin G. Loschwitz ] + * Add myself to the Uploaders:-Field. + + -- Martin Loschwitz Wed, 11 Mar 2009 16:45:00 +0100 + +drbd8 (2:8.3.0-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Wed, 24 Dec 2008 15:05:27 +0100 + +drbd8 (2:8.3.0~rc3-1) experimental; urgency=low + + * New upstream release candidate. + + -- Norbert Tretkowski Mon, 15 Dec 2008 10:14:37 +0100 + +drbd8 (2:8.3.0~rc2-1) experimental; urgency=low + + * New upstream release candidate. + + -- Norbert Tretkowski Sun, 07 Dec 2008 15:09:01 +0100 + +drbd8 (2:8.3.0~rc1-1) experimental; urgency=low + + * New upstream release candidate. + + -- Norbert Tretkowski Mon, 01 Dec 2008 16:19:08 +0100 + +drbd8 (2:8.2.7-2) experimental; urgency=low + + * Merge 2:8.0.14-2. + + -- Norbert Tretkowski Thu, 13 Nov 2008 12:47:22 +0100 + +drbd8 (2:8.2.7-1) experimental; urgency=low + + * New upstream release. + * Merge 2:8.0.14~rc1-1 and 2:8.0.14-1. + + -- Norbert Tretkowski Thu, 13 Nov 2008 10:55:02 +0100 + +drbd8 (2:8.2.7~rc2-1) experimental; urgency=low + + * New upstream release candidate. + + -- Norbert Tretkowski Wed, 29 Oct 2008 17:34:12 +0100 + +drbd8 (2:8.2.6-4) experimental; urgency=low + + * Fix kernel panic during verify. + + -- Norbert Tretkowski Thu, 23 Oct 2008 08:51:09 +0200 + +drbd8 (2:8.2.6-3) experimental; urgency=low + + * Merge 2:8.0.13-1 and 2:8.0.13-2. + + -- Norbert Tretkowski Thu, 09 Oct 2008 16:26:00 +0200 + +drbd8 (2:8.2.6-2) experimental; urgency=low + + * Fix build on Linux 2.6.26. + + -- Norbert Tretkowski Wed, 27 Aug 2008 11:40:53 +0200 + +drbd8 (2:8.2.6-1) experimental; urgency=low + + * New upstream release. + * Merge changes from 2:8.0.10-1, 2:8.0.11-1 and 2:8.0.12-1. + + -- Norbert Tretkowski Tue, 17 Jun 2008 14:28:39 +0200 + +drbd8 (2:8.2.4-1) experimental; urgency=low + + * New upstream release + * Upload for experimental + + -- Philipp Hug Mon, 21 Jan 2008 21:35:06 +0100 + +drbd8 (2:8.0.14-2) unstable; urgency=low + + * Drop dpatch build-dependency. + * Drop homepage from description. + * Don't ignore make clean errors. + + -- Norbert Tretkowski Thu, 13 Nov 2008 11:46:25 +0100 + +drbd8 (2:8.0.14-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Thu, 13 Nov 2008 10:50:27 +0100 + +drbd8 (2:8.0.14~rc1-1) unstable; urgency=low + + * New upstream release candidate. + * New maintainer. (closes: #500353) + + -- Norbert Tretkowski Wed, 29 Oct 2008 17:43:24 +0100 + +drbd8 (2:8.0.13-2) unstable; urgency=low + + * Run depmod from generated module package using dh_installmodules. + (closes: #496882) + + -- Norbert Tretkowski Wed, 03 Sep 2008 12:07:22 +0200 + +drbd8 (2:8.0.13-1) unstable; urgency=low + + * New upstream release. + + Make it compile on Linux 2.6.26. (closes: #493145) + + -- Norbert Tretkowski Mon, 04 Aug 2008 17:56:03 +0200 + +drbd8 (2:8.0.12-1) unstable; urgency=low + + * New upstream release. + + Make it compile on Linux 2.6.25. (closes: #480418, #481992, #483676) + * Add myself as co-maintainer. + + -- Norbert Tretkowski Tue, 17 Jun 2008 14:18:36 +0200 + +drbd8 (2:8.0.11-1) unstable; urgency=low + + * New upstream release + + -- Philipp Hug Wed, 13 Feb 2008 19:12:53 +0100 + +drbd8 (2:8.0.10-1) unstable; urgency=low + + * New upstream release + + -- Philipp Hug Tue, 12 Feb 2008 22:10:04 +0100 + +drbd8 (2:8.0.8-1) unstable; urgency=low + + * New upstream release + * Provide drbd8-module-source for compatibility + * Use EXTRA_CFLAGS (Closes: #461750) + + -- Philipp Hug Mon, 21 Jan 2008 21:23:02 +0100 + +drbd8 (2:8.0.7-1) unstable; urgency=low + + * New upstream release (Closes: #449241) + * Integrated NMU changes (Closes: #448876) + + -- Philipp Hug Sun, 04 Nov 2007 13:46:53 +0100 + +drbd8 (2:8.0.6-0.1) unstable; urgency=low + + * Non-Maintainer upload with permission of Philipp Hug. + * New upstream release (Closes: #438167) + * Switch to debhelper 5. + * Rename kernel module package from drbd8-module-source to + drbd8-source. + * Compress the module source tarball with bzip2. + * Provide modules/drbd8 to allow parallel installation with + drbd0.7-module-source, and remove obsolete Conflict header. + * Provide own Makefiles in the module tarball for automated building + within linux-modules-extra-2.6 (closes: #431771) + + -- Frederik Schüler Thu, 01 Nov 2007 15:13:29 +0100 + +drbd8 (2:8.0.4-1) unstable; urgency=low + + * New upstream release (Closes: #432104) + + -- Philipp Hug Sun, 08 Jul 2007 12:45:33 +0200 + +drbd8 (2:8.0.3-2) unstable; urgency=low + + * Updated Maintainer in control.modules.in + * Added documentation about how to install source package + + -- Philipp Hug Thu, 21 Jun 2007 18:05:16 +0100 + +drbd8 (2:8.0.3-1) unstable; urgency=low + + * New upstream release + * Added watch file + + -- Philipp Hug Tue, 22 May 2007 21:59:01 +0200 + +drbd8 (2:8.0.2-1) unstable; urgency=low + + * New upstream release + + -- Philipp Hug Sat, 14 Apr 2007 19:49:41 +0200 + +drbd8 (2:8.0.1-1) unstable; urgency=low + + * New upstream release + + -- Philipp Hug Thu, 8 Mar 2007 11:50:35 +0100 + +drbd8 (2:8.0.0-1) unstable; urgency=low + + * New upstream release + * debian/control: updated Maintainer and Uploaders fields to match + reality. + + -- Philipp Hug Sun, 18 Feb 2007 18:50:04 +0100 + +drbd8 (2:8.0pre5-1) unstable; urgency=low + + * New upstream release + * scripts/drbd: patch for LSB compliance, submitted the patch upstream. + * debian/rules: the documentation/Makefile 'clean' target as been + renamed to 'doc-clean' + + -- Cyril Bouthors Mon, 2 Oct 2006 13:48:33 +0300 + +drbd8 (8.0-pre4-3) unstable; urgency=low + + * debian/rules: applyied patch to fix building for x86_64 on i386 from + Guido Guenther and Philipp Hug . + + -- Cyril Bouthors Wed, 23 Aug 2006 00:13:22 +0300 + +drbd8 (8.0-pre4-2) unstable; urgency=low + + * debian/drbd8-module-_KVERS_.postinst.modules.in: take care of chroot + environments when calling depmod (closes: 381767). + + -- Cyril Bouthors Sun, 20 Aug 2006 22:13:01 +0300 + +drbd8 (8.0-pre4-1) unstable; urgency=low + + * New upstream release + * debian/control: updated standards version from 3.6.2.1 to 3.7.2 + * debian/drbd8-utils.prerm: use invoke-rc.d + + -- Cyril Bouthors Mon, 31 Jul 2006 18:01:22 +0300 + +drbd8 (8.0-pre3-1) unstable; urgency=low + + * New upstream release + * debian/control.modules.in: fixed "Source" field thanks to Guido + Guenther (closes #361957). + + -- Cyril Bouthors Wed, 26 Apr 2006 11:04:54 +0200 + +drbd8 (8.0-pre2-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Thu, 6 Apr 2006 19:08:52 +0200 + +drbd8 (8.0-pre1-2) unstable; urgency=low + + * Renamed source from drbd to drbd8 + + -- Cyril Bouthors Mon, 27 Mar 2006 00:14:03 +0200 + +drbd (8.0-pre1-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Wed, 22 Mar 2006 12:15:03 +0300 + +drbd (0.7.17-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Wed, 8 Mar 2006 17:26:36 +0300 + +drbd (0.7.16-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Tue, 14 Feb 2006 15:13:49 +0300 + +drbd (0.7.15-2) unstable; urgency=low + + * debian/control: removed hard-coded dependency on libc6 thanks to + Adeodato Simó (closes: #349927). + + -- Cyril Bouthors Tue, 31 Jan 2006 09:13:32 +0300 + +drbd (0.7.15-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Tue, 20 Dec 2005 17:55:40 +0300 + +drbd (0.7.14-3) unstable; urgency=low + + * debian/control: added explicit dependency on libc6 >= 2.3.5 + + -- Cyril Bouthors Sun, 18 Dec 2005 10:15:14 +0300 + +drbd (0.7.14-2) unstable; urgency=low + + * debian/control: depends on debconf or debconf-2.0 (closes: #331806). + + -- Cyril Bouthors Sat, 17 Dec 2005 10:43:22 +0300 + +drbd (0.7.14-1) unstable; urgency=low + + * New upstream release (closes: #310993, #338994). + * debian/control: added dependency to dpatch (closes: #338994). + + -- Cyril Bouthors Fri, 16 Dec 2005 13:10:25 +0300 + +drbd (0.7.12-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Sat, 27 Aug 2005 18:25:47 +0300 + +drbd (0.7.11-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Mon, 20 Jun 2005 15:49:40 +0300 + +drbd (0.7.10-4) unstable; urgency=low + + * debian/control: added missing dependency to dpatch for + drbd0.7-module-source (closes: #308295). + * debian/control: updated Maintainer and Uploaders fields to match + reality. + + -- Cyril Bouthors Mon, 30 May 2005 11:22:46 +0300 + +drbd (0.7.10-3) unstable; urgency=low + + * (Cyril Bouthors) + - scripts/drbd: explicit modprobe and rmmod pathnames + (initscript_explicit_pathname.patch) (closes: #303060, #302556). + + -- Cyril Bouthors Sun, 17 Apr 2005 18:08:30 +0300 + +drbd (0.7.10-2) unstable; urgency=low + + * (Cyril Bouthors) + - debian/drbd0.7-utils.prerm: silently ignore the initscript return + code if we remove or deconfigure the package or carefully pay + attention to it if we upgrade the package. (closes: #295533). + - debian/control: fixed drbd0.7-module-source description. + + -- Cyril Bouthors Wed, 16 Feb 2005 21:05:51 +0100 + +drbd (0.7.10-1) unstable; urgency=low + + * (Cyril Bouthors) + - New upstream release + + -- Cyril Bouthors Mon, 31 Jan 2005 17:29:27 +0300 + +drbd (0.7.9-2) unstable; urgency=low + + * (Cyril Bouthors) + - Applied patch from Lars Marowsky-Bree that fixes a + "severe [...] memory corruption bug [...]". + + -- Cyril Bouthors Thu, 27 Jan 2005 13:55:00 +0300 + +drbd (0.7.9-1) unstable; urgency=low + + * (Cyril Bouthors) + - New upstream release + + -- Cyril Bouthors Thu, 27 Jan 2005 11:35:19 +0300 + +drbd (0.7.8-1) unstable; urgency=low + + * (Cyril Bouthors) + - New upstream release + + -- Cyril Bouthors Mon, 17 Jan 2005 18:50:49 +0400 + +drbd (0.7.7-1) unstable; urgency=low + + * (Cyril Bouthors) + - New upstream release + + -- Cyril Bouthors Wed, 15 Dec 2004 17:15:35 +0300 + +drbd (0.7.6-2) unstable; urgency=low + + * (Cyril Bouthors) + - drbd0.7-module-source: Moved debhelper from Recommends to Depends + + -- Cyril Bouthors Thu, 9 Dec 2004 20:37:41 +0300 + +drbd (0.7.6-1) unstable; urgency=low + + * (Cyril Bouthors) + - New upstream release + - debian/control.modules.in: updated description + - debian/TODO: removed + + -- Cyril Bouthors Tue, 30 Nov 2004 19:43:27 +0300 + +drbd (0.7.5-2) unstable; urgency=low + + * (Philipp Hug) + - debian/control: Added Conflict with drbd-util and drbd-module-source + - debian/control.in.modules: Fixed description for kernel module + - debian/control.in.modules: Added Conflict line in kernel module package + - debian/control.in.modules: Change depends to drbd0.7-util + - debian/rules: don't use top-level makefile, to prevent re-creation of + drbd_buildtag.c + - call depmod in postinst of kernel module + - debian/rules: remove obsolete upstream ./debian/ files in clean target + - added module-assistant override file + - this version is ready for sarge (Closes: #277669) + + -- Philipp Hug Tue, 19 Oct 2004 20:50:49 +0200 + +drbd (0.7.5-1) unstable; urgency=low + + * (Cyril Bouthors) + - New upstream release (closes: #276640). + - debian/drbd0.7.dirs: removed usr/bin (closes: #276643). + - debian/control: changed Section from misc to admin. + - scripts/drbd: prevent the "stop" target from failing if drbd is not running + - debian/rules: call upstream Makefile targets instead of doing hardcoded stuff, clean. + - debian/drbd0.7.docs: added upgrade_0.6.x_to_0.7.0.txt and upgrade_0.7.0_to_0.7.1.txt. + - The package drbd as been renamed to drbd0.7-utils and drbd-source as + been renamed to drbd0.7-module-source. We'll introduce drbd0.6-* + and drbd*-module soon. + - Added myself as Uploader. + + * (Philipp Hug) + - Conflict with drbd and drbd-source + - Fixed description for kernel modules + - Added Conflict line in kernel-module package + - Added bison, flex to Build-Depends + - Call 'make clean' in drbd directory + - Upgraded to debian-policy 3.6.1 + - Rewritten debian/rules using module-assistant + - Change binary package name to drbd0.7 + - Added myself as Uploader + + -- Cyril Bouthors Sat, 16 Oct 2004 23:43:27 +0200 + +drbd (0.7.4-1) unstable; urgency=low + + * Fixed a critical bug with Linux-2.4.x and HIGHMEM! + * Fixed a bug that only showed up with the HIGHMEM problem on + Linux-2.4.x -> It caused the resync process to starve. + * The drbd.spec file now creates /dev/drbd in the post-install stage. + * Fixed support for more than 2TB storage. Now DRBD supports up to + 3.99TB storage. It will also tell you, that it is not supported if + you try to set up a bigger device. + * Debian's build rules file now knows about the adjust_drbd_config_h.sh + file. + * DRBD_DISABLE_SENDPAGE available in drbd_config.h + + -- Philipp Reisner Thu, 9 Sep 2004 19:50:00 +0200 + +drbd (0.7.3-2) unstable; urgency=low + + * Fixed debian/rules: Include adjust_drbd_config_h.sh in drbd-source + + -- Philipp Hug Tue, 31 Aug 2004 15:37:38 +0000 + +drbd (0.7.3-1) unstable; urgency=low + + * Fixed minor bugs in the handling of the generation counters. + * prevent possible in-kernel buffer overflow in drbd_proc.c + * Fixed debian's postinst script to create /dev/drbd? instead of /dev/nb? + * drbd status: + be nice to heartbeat, include "OK" in output. + * added FullSync meta data flag to read/write gc.pl + * make the RHEL3 happy (page_count no longer in mm.h, but in mm_inline.h) + * [Patch by Pavel Semerad]. Also use the drbd_devfs_name on Linux-2.4.x + * fix missing dependencies on drbd_config.h + + -- Philipp Reisner Fri, 27 Aug 2004 15:02:00 +0200 + +drbd (0.7.2-1) unstable; urgency=low + + * Proper handling of backing storage devices that occasionally fail + READA (=read ahead) requests. (E.g. LVM and MD) + * DRBD now fails READA requests itself, if a resynchronisation is running + and it would need to fetch the block from its peer. + * "drbdadm adjust" had a race, which caused random errors. ( Missing + waitpid() ). Fixed now. + * Proper subtract SyncPause times from the syncer performance numbers. + * Fix to the syncer progress bar in /proc/drbd. + * Fix to debian build rules. + + -- Philipp Reisner Fri, 6 Aug 2004 14:44:31 +0200 + +drbd (0.7.1-1) unstable; urgency=low + + * Upgrade instructions for 0.6.x -> 0.7.0 and 0.7.0 -> 0.7.1 + * Workaround for XFS' IO requests with page count of zero. + * Handle the human and the timeout count correctly in the new init script. + * The implementation of the incon-degr-cmd was missing, added. + * Fix for integer overflow in /proc/drbd syncer progress display + * Longer timeouts in drbdadm for drbdsetup commands witch operate on + meta data. + * New major number 147 (officially registered at lanana.org). + * Added a missing w_resume_next_wg() in case we stop syncing because + of connection loss. + * Fixed a Linux-2.2-ismus in recieve_data_tail(). Should considerably + speed up protocols A and B. + * Some work on vendor kernel compatibility + + -- Philipp Reisner Fri, 30 Jul 2004 13:50:33 +0200 + +drbd (0.7.0-1) unstable; urgency=low + + * s/WriteHint/UnplugRemote/g + * new module parameter major_nr to allow "arbitrary" major numbers + * adjusted CTH to cope with that + * fix copy'n'paste and conversion errors in initial bitmap handshake + * warning "please upgrade me" if peer speaks (PRO_VERSION+1) + * drbd_set_in_sync and drbd_set_out_of_sync are now macros + calling to __*, giving file and line information, + to be able to easily track causes of "strange state"s there. + * rs_total is now != 0 only if we actually ARE syncing. + it is reset + * when sync is done + * when connection is lost + * when storage is lost on either node + this way we can optimize and call drbd_set_in_sync only if rs_total != 0 + (and it feels somewhat more clean, too) + * makefile adjusted to recognize svn revision and date tags + * updates and fixes to the test helpers and bash test cases + + -- Philipp Reisner Fri, 16 Jul 2004 10:13:33 +0200 + +drbd (0.7_pre10-1) unstable; urgency=low + + * A fix to a generic bug in the bitmap code introduced with the -pre9 + release (with the 64 bit work) + * A fix to a bug in the bitmap code only relevant for 64 bit platforms. + * Better 2.4.x compatibility and compatibility to 2.4.x vendor kernels. + * Improvements in the way to deal with incompatible protocol releases. + * Added the "dialog-refresh" config option. + + changes up to -pre9: + * Re-enabled zero copy IO for protocols B and C. (Zero copy IO is not + used with protocol A) + * Implemented the unpopular user dialog in the boot process. + * Some fixes for Linux-2.4.x compatibility. + * drbd.conf man page updated + * Bugfixes for 64bit architectures + * Ensured protocol compatibility between hosts of different word sizes + (Tested with i386 and alpha) + * Support for meta-data on block devices with hardsect size != 512 Byte + (e.g. dasd on s390x) + * New debian subdir + + -- Lars Ellenberg Fri, 09 Jul 2004 20:00:19 +0200 + +drbd (0.7_pre8-2) unstable; urgency=low + + * fix up the modules source package + + -- Bernd Schubert Mon, 05 Jul 2004 00:57:38 -0100 + +drbd (0.7_pre8-1) unstable; urgency=low + + * initial 0.7 debian package + + -- Bernd Schubert Mon, 21 Jun 2004 19:57:38 -0400 + +drbd (0.6.12-5) unstable; urgency=low + + * Changed default drbd.conf file to set a negative inittimeout value and + updated the README.Debian file to reflect this change. + (Closes Bug#221751) + + -- David Krovich Tue, 25 May 2004 12:51:15 -0400 + +drbd (0.6.12-4) unstable; urgency=low + + * Refactored rules file in an attempt to use binary-arch and binary-indep + targets more wisely. This is an attempt to fix Bug#244392. + * Listed /etc/ha.d/resource.d/drbd in debian/conffiles. (Closes Bug#247606) + * Moved drbdsetup from /usr/bin/ to /usr/sbin. I think I introduced this + when I overhauled the debian directory in the 0.6.12-1 release. + (Closes Bug#247607) + + -- David Krovich Sun, 16 May 2004 15:20:59 -0400 + +drbd (0.6.12-3) unstable; urgency=low + + * After discussing with upstream, tweak /etc/init.d/drbd script so the + stop target works if the module is not loaded. (Closes: Bug#243417) + * Put the drbd script in the /etc/ha.d/resource.d directory. (Closes: Bug#245219) + + -- David Krovich Thu, 22 Apr 2004 18:12:47 -0400 + +drbd (0.6.12-2) unstable; urgency=low + + * Create /dev/nb[0-7] devices in postinst script. (Closes: Bug#221545) + + -- David Krovich Sat, 17 Apr 2004 15:18:29 -0400 + +drbd (0.6.12-1) unstable; urgency=low + + * new upstream release. (Closes: Bug#239804) + * Completely overhauled the debian/ directory. + * Changed sequence number in the runlevel to start at 70 and stop + at 08. drbd should start after things like ssh, but before + heartbeat. + + -- David Krovich Mon, 22 Mar 2004 00:04:35 -0500 + +drbd (0.6.10-3) unstable; urgency=low + * Added back the drbd.postinst, drbd.postrm, and drbd.prerm scripts until + I figure out why they aren't being handled by dh_installinit. + * As of drbd-0.6.9, The drbd module no longer builds against just the + kernel-headers package and now needs a full kernel-source tree. + + -- David Krovich Mon, 26 Jan 2004 00:32:49 -0500 + +drbd (0.6.10-2) unstable; urgency=low + + * noel: fixed lintian warning: + W: drbd: package-contains-CVS-dir usr/share/doc/drbd/HOWTO/CVS/ + W: drbd: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/drbd + + * Lintian/Linda fixes. + + * Tweaked the drbd-0.6.10.orig.tar.gz to not have a debian/ directory in it. + * Stopped tweaking the copyright notice on drbd_fs.c and drbd_receiver.c. + I'm not sure how that got there in the first place. + * Removed mystery report_to_html.pl.debdiff file. + * Put the datadisk in the correct location. (Closes: Bug#221544) + + * Removed drbd.postinst, drbd.postrm, and drbd.prerm as they are + being generated by dh_installinit during the build process and do not + need to part of the source package. + * removed dependancy on automake and autoconf + * Changed control.modules to require debhelper >= 4. + * Stop settting $KSRC in the rules file. + + * Removed conffiles, files, kernel-patch-wup.substvars as they are + unneccessary. + * Tightened the build dependancy on debhelper. >=4 + * Updated Debian packages up to newest upstream version. (Closes: Bug#197906) + * Updated Package descriptions. (Closes: Bug#209462) + * Verified support for devfs. (Closes: Bug#203552) + * I'd like to become a Debian Developer and take over maintenance for + this package. I'm working with Debian Devolpers on making this happen. + + -- David Krovich Tue, 20 Jan 2004 01:36:58 -0500 + +drbd (0.6.10-1) unstable; urgency=low + + * With 0.6.9 there was a bug introduced which prevented the sending + of ACK packets during resync. Fixed. + * A fix to drbdsetup's wait_connect command. + * Replaced all invocations of the sleep_on() family functions with the + invocations of the wait_event() macros. This removes lost wakup events + and race conditions. + * New implementation of drbd_wait_ee(). This makes the + "(BUG?) Moving bh=%p to done_ee" go away. + * Handle the case if vmalloc() of the bitmap fails. + + -- Philipp Reisner Thu, 12 Dec 2003 15:10:44 +0200 + +drbd (0.6.9-1) unstable; urgency=low + + * New module build system (using kernel source tree build system) + * New net section option 'ko-count'. It allows you to kick out a + secondary node which does no longer process data in acceptable time. + Its default value is 0 which disables this feature. + * Changing syncgroups while resync runs has shows now the correct behaviour. + * In case thread creations fails DRBD would deadlock on its own + semaphore. Fixed now. + * BKL is no longer used on Linux-2.4.x. + * Now you can stack mapping block devices like LVM2 (and maybe md) on + top of drbd (a one character fix). + * drbdsetup wait_connect on a StandAlone node looked like a timeout and + forced primary. fixed. + * if drbdsetup wait_* in fact did timeout this looked like a failed ioctl. + this bug was newly introduced in 0.6.8. fixed. + * A fix to a race in _drbd_alloc_ee(). You could trigger this race if + your filesystem uses a blocksize < 4K and your machine has multiple CPUs. + By Eric W. Biederman. + * A maybe bugfix regarding calls to free_page() by Eric W. Biederman. + * A cleanup patch to drbd_process_done_ee() by Eric W. Biederman. + + -- Philipp Reisner Thu, 27 Nov 2003 08:21:34 +0200 + +drbd (0.6.8-1) unstable; urgency=low + + * Two fixes to the sync-group functionality. + + -- Philipp Reisner Mon, 20 Oct 2003 11:45:33 +0200 + +drbd (0.6.7-1) unstable; urgency=low + + * A fix to a bug that could cause data corruption if you use a + other blocksize than 4k to access the DRBD device. + * A fix to a SMP race in the syncer code. The problem was tirggered + when using DRBD on QLogic fiber channel adapters. + * Replaced various calls to sleep_on() variants with the wait_event() + macros. -- This removes potential (, non-critical) SMP races. + * This release includes the sync-group option. + + -- Philipp Reisner Thu, 13 Oct 2003 11:17:27 +0200 + +drbd (0.6.6-1) unstable; urgency=low + + * In the 0.6.5 release the secondary_remote command was badly broken, + it succeeded when it should fail silently. This is fixed now. + * Probabely in all previous releases, the resyncer thread did not + exit properly if the secondary node goes away during resync. + This was not fatal sind the resyncher thread did exit at soon + as it gets a network error. This is fixed now. + * Some new switches to the drbd script. + + -- Philipp Reisner Mon, 28 Jul 2003 14:40:43 +0200 + +drbd (0.6.5-1) unstable; urgency=low + + * Improvements to the build system + * Now it is possible to tune the socket send buffer size via drbdsetup/ + drbd.conf. This is especially usefull for WAN mirroring / using + protocol A. + * Compatibility code to compile DRBD under RedHat 9.0 (RH's version of + Linux-2.4.20) + * Improved sample drbd.conf file + + -- Philipp Reisner Sun, 06 Jul 2003 13:35:00 +0100 + +drbd (0.6.4-1) unstable; urgency=low + + * Reworked build system (i.e. better Makefiles) + * SyncAll works forward instead of backwards. Improves performance on + some storage controlers. + * Reworked /etc/init.d/drbd script (i.e. better support of + different bash releases) + + -- Philipp Reisner Thu, 01 May 2003 21:00:00 +0100 + +drbd (0.6.3-1) unstable; urgency=low + + * Lockup of primary if secondary fails during resync. Fixed. (Stupid!) + * Probabely SMP only deadlock in the drop-conection code path. + * Improved connect code. (The old code could trap into a distributed + deadlock, resulting in an endless connect/disconnect loop.) + * The 'BitMap too small bug' was actually caused by a patch in + SuSE's distribution kernel. This patch makes DRBD 'more' compatible + with SuSE's kernel. + * Improved code to allocate buffers for the rsynchronisation process. + The old code allocated physical adjacent pages although the syncer + does not need them! The old code could fail under high memory pressure. + + -- Philipp Reisner Thu, 20 Mar 2003 20:23:40 +0100 + +drbd (0.6.2-1) unstable; urgency=low + + * SMP fix in drbd_dio_end_sec() + * /etc/init.d/drbd knows about returncodes of fsck + * SUSE style rcdrbd + * Fixes for uninstall Target of the Makefiles. + + -- Philipp Reisner Tue, 11 Feb 2003 15:58:49 +0100 + +drbd (0.6.1-1) unstable; urgency=low + + * Stable release + + -- Philipp Reisner Mon, 25 Nov 2002 14:51:39 +0100 + +drbd (0.6-1.pre16-0cvs20020909.1) unstable; urgency=low + + * changed the maintainer to jan@debian.org in agreement with + Ard who currently doesn't work on drbd. + * changed name of generated drbd-module-... package to include + the full version number of the kernel package + * place generated drbd-module-... package in $(KSRC)/.. + + -- Jan Niehusmann Fri, 13 Sep 2002 15:57:01 +0200 + +drbd (0.6-1.pre16-0cvs20020909) unstable; urgency=low + + * updated version + * strange version number because debian versioning doesn't handle + -pre versions sanely + * uploading to unstable. (Closes: Bug#130031) + + -- Jan Niehusmann Wed, 11 Sep 2002 13:10:03 +0200 + +drbd (cvs20010511-1) unstable; urgency=low + + * First deb-anized version + + -- Ard van Breemen Fri, 11 May 2001 11:59:53 +0200 --- drbd8-8.3.2.orig/debian/control +++ drbd8-8.3.2/debian/control @@ -0,0 +1,44 @@ +Source: drbd8 +Section: admin +Priority: extra +Maintainer: Debian DRBD Maintainers +Uploaders: Norbert Tretkowski , Martin Loschwitz , Philipp Hug +Build-Depends: debhelper (>= 5), debconf-utils, sp, docbook-utils, bison, flex, dpatch, bzip2, dpatch +Standards-Version: 3.8.2 +Homepage: http://www.drbd.org/ +Vcs-Browser: http://svn.debian.org/wsvn/debian-ha/drbd8/ +Vcs-Svn: svn://svn.debian.org/svn/debian-ha/drbd8/ + +Package: drbd8-utils +Architecture: any +Section: admin +Depends: debconf | debconf-2.0, ${shlibs:Depends} +Conflicts: drbd-utils +Provides: drbd-utils +Replaces: drbd-utils, drbd +Suggests: heartbeat +Description: RAID 1 over tcp/ip for Linux utilities + Drbd is a block device which is designed to build high availability + clusters by providing a virtual shared device which keeps disks in + nodes synchronised using TCP/IP. This simulates RAID 1 but avoiding + the use of uncommon hardware (shared SCSI buses or Fibre Channel). + It is currently limited to fail-over HA clusters. + . + This package contains the programs that will control the drbd kernel + module provided in drbd-source. You will need a clustering service + (such as heartbeat) to fully implement it. + +Package: drbd8-source +Architecture: all +Section: kernel +Depends: module-assistant, debhelper (>= 5), dpatch, bzip2 +Provides: drbd-module-source, drbd-source, drbd8-module-source +Recommends: dpkg-dev, kernel-package, debconf-utils +Description: RAID 1 over tcp/ip for Linux module source + Drbd is a block device which is designed to build high availability + clusters by providing a virtual shared device which keeps disks in + nodes synchronised using TCP/IP. This simulates RAID 1 but avoiding + the use of uncommon hardware (shared SCSI buses or Fibre Channel). + It is currently limited to fail-over HA clusters. + . + This package contains the source code for the drbd kernel module. --- drbd8-8.3.2.orig/debian/compat +++ drbd8-8.3.2/debian/compat @@ -0,0 +1 @@ +5 --- drbd8-8.3.2.orig/debian/rules +++ drbd8-8.3.2/debian/rules @@ -0,0 +1,181 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +PACKAGE=drbd8 +MA_DIR ?= /usr/share/modass +-include $(MA_DIR)/include/generic.make +-include $(MA_DIR)/include/common-rules.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# module-assistant stuff +MAJOR=$(shell echo $(KVERS) | sed -e 's/\(...\).*/\1/') +ifeq ($(MAJOR),2.6) +KO=k +endif + +ifeq ($(DEB_BUILD_ARCH),i386) +ifeq ($(KPKG_ARCH),amd64) +KBUILD_PARAMS := "CROSS_COMPILE=amd64-linux- ARCH=x86_64" +CC=amd64-linux-gcc +endif +endif + +kdist_clean: + dh_clean + $(MAKE) -C $(KSRC) M=$(CURDIR)/drbd/ clean + +# prep-deb-files rewrites the debian/ files as needed. See RATIONALE for +# details +kdist_config: prep-deb-files +# ... additional kernel specific things to configure... + +kdist_configure: kdist_config + +binary-modules: prep-deb-files + dh_testdir + dh_testroot + dh_clean -k + make -C $(KSRC) M=$(CURDIR)/drbd/ modules + install -m644 -b -D drbd/drbd.$(KO)o $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/extra/drbd.$(KO)o + # this is broken, dunno why: + #make -C $(KSRC) M=$(CURDIR)/drbd/ modules_install INSTALL_MOD_PATH=$(CURDIR)/debian/$(PKGNAME) INSTALL_MOD_DIR=extra/ + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installmodules + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: patch + dh_testdir + $(MAKE) -C user + $(MAKE) -C scripts + $(MAKE) -C benchmark + $(MAKE) -C documentation doc + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: + touch build-indep-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# +# remove these files from upstream tgz + rm -f debian/drbd8.* + #rm -f debian/drbd8-source.dirs + rm -f debian/kernel-patch-wup.kpatches debian/kernel-patch-wup.README.Debian debian/kernel-export-wup.patch + $(MAKE) -C user clean + $(MAKE) -C scripts clean + $(MAKE) -C benchmark clean + $(MAKE) -C documentation clean + $(MAKE) -C drbd clean + dh_clean + +install: install-arch install-indep +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + cp -a drbd/* debian/$(PACKAGE)-source/usr/src/modules/drbd8/drbd/ + rm debian/$(PACKAGE)-source/usr/src/modules/drbd8/drbd/Makefile \ + debian/$(PACKAGE)-source/usr/src/modules/drbd8/drbd/Makefile-2.6 + cp debian/drbd8-source.Makefile debian/$(PACKAGE)-source/usr/src/modules/drbd8/Makefile + cp debian/drbd8-source.drbd-Makefile debian/$(PACKAGE)-source/usr/src/modules/drbd8/drbd/Makefile + cp drbd/linux/drbd_config.h debian/$(PACKAGE)-source/usr/src/modules/drbd8 +# cp -a scripts/adjust_drbd_config_h.sh debian/$(PACKAGE)-source/usr/src/modules/drbd8/scripts/ + +# install debian/ files + mkdir -p debian/$(PACKAGE)-source/usr/src/modules/drbd8/debian/ + cd debian ; cp changelog control compat *.modules.in rules copyright $(PACKAGE)-source/usr/src/modules/drbd8/debian + +# tar the stuff + cd debian/$(PACKAGE)-source/usr/src/ ; tar cjpvf drbd8.tar.bz2 modules ; rm -rf modules + + install -m 755 $(CURDIR)/debian/modass.drbd8-source $(CURDIR)/debian/$(PACKAGE)-source/usr/share/modass/overrides/drbd8-source + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + $(MAKE) PREFIX=$(CURDIR)/debian/drbd8-utils/ -C user install + $(MAKE) PREFIX=$(CURDIR)/debian/drbd8-utils/ -C scripts install + $(MAKE) PREFIX=$(CURDIR)/debian/drbd8-utils/ -C benchmark install + $(MAKE) PREFIX=$(CURDIR)/debian/drbd8-utils/ -C documentation install + + dh_install -s +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch unpatch --- drbd8-8.3.2.orig/debian/drbd8-utils.postinst +++ drbd8-8.3.2/debian/drbd8-utils.postinst @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +if [ -x "/etc/init.d/drbd" ]; then + update-rc.d drbd defaults 70 8 >/dev/null +fi + +# Make sure /dev/nb[0-7] devices exist +# cd /dev; for a in `seq 0 7`; do MAKEDEV nb$a; done + +for i in `seq 0 15` ; do + test -b /dev/drbd$i || mknod -m 0660 /dev/drbd$i b 147 $i; +done + +#DEBHELPER# --- drbd8-8.3.2.orig/debian/drbd8-utils.postrm +++ drbd8-8.3.2/debian/drbd8-utils.postrm @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ] ; then + update-rc.d drbd remove >/dev/null +fi +#DEBHELPER# --- drbd8-8.3.2.orig/debian/drbd8-utils.prerm +++ drbd8-8.3.2/debian/drbd8-utils.prerm @@ -0,0 +1,30 @@ +#!/bin/sh + +# This script silently ignores the initscript return code if we remove +# or deconfigure the package or carefully pay attention to it if we +# upgrade the package. + +# Cyril Bouthors +# Wed Feb 16 21:01:11 CET 2005 + +set -e + +if [ -x "/etc/init.d/drbd" ] +then + case "$1" in + remove|deconfigure) + invoke-rc.d drbd stop || true + ;; + + upgrade|failed-upgrade) + invoke-rc.d drbd stop + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; + esac +fi + +#DEBHELPER# --- drbd8-8.3.2.orig/debian/modass.drbd8-source +++ drbd8-8.3.2/debian/modass.drbd8-source @@ -0,0 +1,16 @@ +#!/bin/sh +# +# (c) Eduard Bloch , 2003 +# generic maintainer script for module-assistant controled packages +# to be sourced or copied as example code + +# autodetecting values. They may be overriden by the caller. + +MA_DIR=${MA_DIR:-/usr/share/modass} + +TARBALL=/usr/src/drbd8.tar.bz2 +BUILDDIR=${MODULE_LOC:-/usr/src/modules}/drbd8 + +. $MA_DIR/packages/generic.sh + +$1 "$@" --- drbd8-8.3.2.orig/debian/drbd8-source.drbd-Makefile +++ drbd8-8.3.2/debian/drbd8-source.drbd-Makefile @@ -0,0 +1,14 @@ +#CFLAGS_drbd_sizeof_sanity_check.o = -Wpadded # -Werror + +EXTRA_CFLAGS += -I$(src) + +obj-m := drbd.o + +drbd-objs := drbd_buildtag.o drbd_bitmap.o drbd_proc.o \ + drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o \ + lru_cache.o drbd_main.o drbd_strings.o drbd_nl.o + +ifndef CONFIG_CONNECTOR + drbd-objs += connector.o cn_queue.o +endif + --- drbd8-8.3.2.orig/debian/drbd8-source.Makefile +++ drbd8-8.3.2/debian/drbd8-source.Makefile @@ -0,0 +1 @@ +obj-m = drbd/ --- drbd8-8.3.2.orig/debian/control.modules.in +++ drbd8-8.3.2/debian/control.modules.in @@ -0,0 +1,30 @@ +Source: drbd8 +Section: misc +Priority: extra +Maintainer: Philipp Hug +Build-Depends: debhelper (>= 4), drbd8-source, bzip2 +Standards-Version: 3.6.1 + +Package: drbd8-_KVERS_ +Architecture: any +Depends: drbd8-utils +Conflicts: drbd-_KVERS_ +Provides: drbd-_KVERS_ +Replaces: drbd-_KVERS_ +Section: misc +Recommends: kernel-image-_KVERS_ +Description: RAID 1 over tcp/ip for Linux kernel module + Drbd is a block device which is designed to build high availability + clusters by providing a virtual shared device which keeps disks in nodes + synchronised using TCP/IP. This simulates RAID 1 but avoiding the + use of uncommon hardware (shared SCSI buses or Fibre Channel). + It is currently limited to fail-over HA clusters. + . + This package contains the DRBD kernel module for the kernel version + _KVERS_ + . + If you want to build DRBD against your another kernel, install the + drbd-source package and use module-assistant to create a new + module package. + . + Homepage: http://www.drbd.org --- drbd8-8.3.2.orig/debian/drbd8-source.dirs +++ drbd8-8.3.2/debian/drbd8-source.dirs @@ -0,0 +1,4 @@ +usr/src/modules/drbd8/debian +usr/src/modules/drbd8/drbd +usr/src/modules/drbd8/scripts/ +usr/share/modass/overrides --- drbd8-8.3.2.orig/debian/drbd8-utils.dirs +++ drbd8-8.3.2/debian/drbd8-utils.dirs @@ -0,0 +1,4 @@ +etc +etc/init.d +etc/ha.d/resource.d +etc/udev/rules.d --- drbd8-8.3.2.orig/debian/watch +++ drbd8-8.3.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://oss.linbit.com/drbd/ 8.0/drbd-(.*).tar.gz --- drbd8-8.3.2.orig/debian/copyright +++ drbd8-8.3.2/debian/copyright @@ -0,0 +1,20 @@ +David Krovich adopted the packages from Jan +Niehusman and updated them to sync back up with +upstream. + +Debianization of this package was started by Ard van Breemen . +Later, Jan Niehusmann finished the packaging and made the +initial upload. + +It was downloaded from http://www.linbit.com/en/article/articleview/34/1/11/ +More information can be found at http://www.drbd.org/ + +Drbd is free software; you can redistribute them and/or modify them under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. + + --- drbd8-8.3.2.orig/debian/drbd8-module-_KVERS_.postinst.modules.in +++ drbd8-8.3.2/debian/drbd8-module-_KVERS_.postinst.modules.in @@ -0,0 +1,14 @@ +#!/bin/sh +set -e + +SYSTEMMAP=/boot/System.map-_KVERS_ + +if [ -f $SYSTEMMAP ] +then + depmod -ae -F $SYSTEMMAP _KVERS_ +elif [ "`uname -r`" = "_KVERS_" ] +then + depmod -a & +fi + +#DEBHELPER# --- drbd8-8.3.2.orig/debian/drbd8-source.README.Debian +++ drbd8-8.3.2/debian/drbd8-source.README.Debian @@ -0,0 +1,17 @@ +drbd for Debian +--------------- + +The Debian drbd-source package can be used in several ways, + + - Using module-assistant(1) commands provided by the module-assistant Debian + package: + + # module-assistant auto-install drbd8 + + - Using the make-kpkg(1) command provided by the kernel-package Debian + package. See the "modules_image" section of the make-kpkg(1) man page. + + - Unpacking /usr/src/drbd*.tar.bz2 and installing the module on your own. + + -- Philipp Hug Thu, 21 Jun 2007 18:08:00 +0000 + --- drbd8-8.3.2.orig/debian/patches/00list +++ drbd8-8.3.2/debian/patches/00list @@ -0,0 +1 @@ +10_different-kernels.dpatch --- drbd8-8.3.2.orig/debian/patches/10_different-kernels.dpatch +++ drbd8-8.3.2/debian/patches/10_different-kernels.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_different-kernels.dpatch by Michael Prokop +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix build with older kernels + +@DPATCH@ +--- drbd8-8.3.2~rc2.orig/drbd/linux/drbd_config.h 2009-06-25 15:13:04.000000000 +0200 ++++ drbd8-8.3.2~rc2/drbd/linux/drbd_config.h 2009-06-26 09:59:46.000000000 +0200 +@@ -79,6 +79,10 @@ + + /* 2.6.29 and up no longer have swabb.h */ + //#define HAVE_LINUX_BYTEORDER_SWABB_H ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29) ++ #define HAVE_LINUX_BYTEORDER_SWABB_H ++#endif + + /* Some vendor kernels < 2.6.7 might define msleep in one or + * another way .. */