[DRBD-user] debianizing 0.7 (was: -pre9 (=rc2))

Helmut Wollmersdorfer helmut.wollmersdorfer at gmx.at
Fri Jul 2 14:50:52 CEST 2004

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


Bernd Schubert schrieb:

> To build a 0.7 debian package for our system, I modified Davids 
> 0.6.12-6 debian/sid drbd debian-binary-builder.

I did the same last weekend, but my version does not work at all.

> 1.) It can't yet decide if its a 2.6. or 2.4. kernel and so doesn't know which 
> module to install. This would be easy to fix

I changed this "hardcoded" just to step forward.

> 2.) I never compiled a kernel with make-kpkg and so have no experience with 
> building debian kernel modules packages at all. 

Try this mini-HOWTO:
http://wiki.trick.ca/linux-ha/DRBD_2fHowTo_2fPackageForDebian

But be aware, 2.6.6 needed nearly 3 hours to compile on my Celeron 600, 
2.4 needs only 1 hour.
It is not necessary to compile the kernel, if you install the matching 
kernel-source. You can compile the modules seperately with
   make-kpkg modules_image
but you should understand the steps before.

> So I have problems to test 
> this part. As far as I currently know (by setting the proper environmental 
> variables), building a kernel module with the current debian-source package 
> doesn't work at all, but as I didn't check with make-kpkg I'm not so sure.

My version of drbd/debian/ compiles the module, but fails to install it. 
  As the debian 2.6.6 kernel does not compile in my environment as it 
should (missing some links), I will set up a fresh sarge with vanilla 
2.6.6, to be sure, if I misconfigured something, or if debian 
kernel-source has a bug. But I have not enough time this week.

> http://www.pci.uni-heidelberg.de/tc/usr/bernd/downloads/drbd/debian.tar.gz

> David and all other debian users, could you please test it and what do you 
> think about including it?

Including a half working /debian in drbd-CVS would be better, than 
having a non working.

Sometimes next week I hopefully will have more time and try your 
version, merge it with mine etc. But if David provides a working one 
before, I will test his version, as I am totally unexperienced in packaging.

Helmut Wollmersdorfer





More information about the drbd-user mailing list