Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65407 - Latest drbd ebuild available is 0.6.x, which does not run on 2.6.x kernels (they need drbd 0.7.x)
Summary: Latest drbd ebuild available is 0.6.x, which does not run on 2.6.x kernels (t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Cluster Team
URL: http://www.drbd.org/releases.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 08:15 UTC by Luca Lesinigo
Modified: 2010-09-10 19:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
drbd-0.7.5.ebuild (drbd-0.7.5.ebuild,2.05 KB, text/plain)
2004-10-02 11:44 UTC, Brian Jackson (RETIRED)
Details
testrun of .07.5 ebuild + init + conf files (drbd.log,4.62 KB, text/plain)
2004-10-14 01:40 UTC, joram agten
Details
drbd-0.7.7.ebuild (drbd-0.7.7.ebuild,904 bytes, text/plain)
2005-01-13 01:02 UTC, INODE64 Sistemas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Lesinigo 2004-09-26 08:15:55 UTC
Latest available ebuild of drbd is 0.6.x, and it does not compile against 2.6.x kernels (as stated in drbd documentation).
We need drbd 0.7.x for that.

This also blocks any upgrade from 2.4.x to 2.6.x on machines using drbd, or blocks using drbd on 2.6.x machines...

Reproducible: Always
Steps to Reproduce:
1. emerge development-sources -or- gentoo-dev-sources -or- any other 2.6.x kernel
2. configure it
3. try to use drbd 0.6.x
Actual Results:  
drbd did not compile.

Expected Results:  
drbd 0.7 would work well
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2004-10-02 11:44:51 UTC
Created attachment 40930 [details]
drbd-0.7.5.ebuild
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2004-10-02 11:46:35 UTC
can someone try this? also if someone could try this on 2.4, that would help
since I don't have any 2.4 kernels to test on

you'll need to copy the init and conf.d scripts to 0.7.5-*
Comment 3 joram agten 2004-10-14 01:40:31 UTC
Created attachment 41792 [details]
testrun of .07.5 ebuild + init + conf files

I tested this ebuild on 2.6.7-mm4
the file /etc/conf.d/drbd has wrong info (line 89 in my log)
after removing the init from the ebuild everything seems to work fine
loading as a module with 4 resources
Comment 4 Jason Pincin 2004-11-17 14:27:26 UTC
I just used this ebuild to emerge drbd-0.7.5 on a Gentoo system running gentoo-sources-2.4.26-r9.  The module installed fine, though I did need to use FEATURES="-sandbox" as I got access violations.  The module loads and unloads fine via modprobe/rmmod.  I do not have drbd actually running any drives at the moment on these two systems, but will soon.
Comment 5 INODE64 Sistemas 2005-01-13 01:02:04 UTC
Created attachment 48373 [details]
drbd-0.7.7.ebuild

Update the ebuild, now is more simple
Remove deps to heartbeat, isnot necessary
use inherit linux-mod
use init.d and drbd.conf from original 

This version compile ok with kernel 2.6.10
Comment 6 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-13 17:55:59 UTC
the is a new ebuild in portage, please test it.
Comment 7 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-13 17:56:52 UTC
a little typo :)

s/the/there/g
Comment 8 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-19 10:40:16 UTC
drbd-0.7.7 in the portage works fine with the 2.6.x series
Comment 9 INODE64 Sistemas 2005-01-24 08:28:14 UTC
In the final ebuild dont remove:

        # needed by drbd startup script
        keepdir /var/lib/drbd

In 0.7.x is not necesited

and add:

dodoc upgrade_0.6.x_to_0.7.0.txt upgrade_0.7.0_to_0.7.1.txt
Comment 10 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-24 08:52:54 UTC
upgrade_0.6.x_to_0.7.0.txt upgrade_0.7.0_to_0.7.1.txt added in cvs.

I plan to delete the old ebuild when drbd-0.7.x will be marked stable.