[DRBD-user] Problem building and installing drbd

Francesco De Rose fdr at nic-nac-project.de
Fri Apr 29 11:58:06 CEST 2005

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


Hello to everybody!

I am a student experimenting a little with drbd for a project basically
consisting of building a ha cluster working as a fileserver.

I have built drbd 0.7.10 from the tarball, but encountered this problem:
drbd.ko  gets installed in /lib/modules/2.6.10/block/ instead of
in /lib/modules/2.6.10-5-386/kernel/drivers/block/ where it is needed.

Actually this remind me of something i had read in INSTALL (yes I did
read it!) ...

                If you do not run a selfcompiled kernel, but the binary
                shipped distro kernel, and after "make install" the drbd
                module ends up in the wrong place (e.g.
                "/lib/modules/2.4.20custom/", when you want it in
                "/lib/modules/2.4.20/" ), edit the top-level Makefile of
                your kernel source tree and remove "custom" from the
                EXTRAVERSION.  Make sure you copied in the .config
                corresponding to the kernel you use.
                
Well, it seems my problem is exactly the other way round. :-)
Can anybody please help me in solving it? Yes, I know that a simple cp
to the right location makes it (actually that is what I've done *grin*)
but I wanted to end up with a clean make. What is the "top-level
Makefile of your kernel source tree" ?  I am using ubuntu 5.04 with
kernel 2.6.10-5-386.

Thank you in advance,

Francesco




More information about the drbd-user mailing list