Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th April 2010, 02:11 PM
NetEngineer Offline
Registered User
 
Join Date: Apr 2010
Posts: 1
windows_7ie
Help installing DRBD on Fedora 12

I'm trying to build a Fedora 12 cluster to run DHCP on top of two servers using pacemaker and drbd. The pacemaker runs great but i'm having the hardest time getting DRBD installed.

My kernel version is

2.6.32.11-99.fc12.i686.PAE

First i tried to

[root@dhcp-primary drbd]#yum install drbd

this doesn't give me everything because apparently the kernel module for DRBD must be built from source.

so i unpacked drbd-8.3.6.tar.gz and tried :

[root@dhcp-primary drbd]# make

Calling toplevel makefile of kernel source tree, which I believe is in
KDIR=/lib/modules/2.6.32.11-99.fc12.i686.PAE/source

SORRY, kernel makefile not found. You need to tell me a correct KDIR!


Then I tried :

[root@dhcp-primary drbd]#make 'KDIR=/usr/src/kernels/2.6.32.11-99.fc12.i686/'

Calling toplevel makefile of kernel source tree, which I believe is in
KDIR=/usr/src/kernels/2.6.32.11-99.fc12.i686/

test -f ../scripts/adjust_drbd_config_h.sh && \
KDIR=/usr/src/kernels/2.6.32.11-99.fc12.i686/ O= /bin/bash ../scripts/adjust_drbd_config_h.sh
/usr/src/kernels/2.6.32.11-99.fc12.i686 /drbd-8.3.6/drbd /drbd-8.3.6/drbd

Using unmodified drbd_config.h

make -C /usr/src/kernels/2.6.32.11-99.fc12.i686/ SUBDIRS=/drbd-8.3.6/drbd modules
make[1]: Entering directory `/usr/src/kernels/2.6.32.11-99.fc12.i686'
CC [M] /drbd-8.3.6/drbd/drbd_buildtag.o
CC [M] /drbd-8.3.6/drbd/drbd_req.o
/drbd-8.3.6/drbd/drbd_req.c: In function ‘_drbd_start_io_acct’:
/drbd-8.3.6/drbd/drbd_req.c:64: error: lvalue required as increment operand
/drbd-8.3.6/drbd/drbd_req.c: In function ‘_drbd_end_io_acct’:
/drbd-8.3.6/drbd/drbd_req.c:86: error: lvalue required as decrement operand
make[2]: *** [/drbd-8.3.6/drbd/drbd_req.o] Error 1
make[1]: *** [_module_/drbd-8.3.6/drbd] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32.11-99.fc12.i686'
make: *** [kbuild] Error 2


Which gives me errors. I tried updating the linux kernel and the kernel headers and devel with no success.


I'm not very experienced in compiling from source....i'd love to make an rpm for this but after scouring the web and trying different install methods, I am still at a loss. Any ideas would be very much appreciated.
Reply With Quote
  #2  
Old 5th May 2010, 08:03 PM
Draciron Offline
Registered User
 
Join Date: Jan 2007
Location: Texas
Posts: 117
linuxfirefox
Re: Help installing DRBD on Fedora 12

I'd contact the drbd folks. Though one quick thought. Are you trying to compile a 64 bit version of drbd on a 32 FC12 distro?
__________________
Registered Linux user #275865
Reply With Quote
  #3  
Old 9th June 2010, 05:13 PM
MGaspar Offline
Registered User
 
Join Date: Jun 2010
Posts: 7
linuxsafari
Re: Help installing DRBD on Fedora 12

Hi,

I Have the same problem with 2.6.32.12-115.fc12.x86_64 kernel.
Do you hve a solution?

Thanks
Reply With Quote
Reply

Tags
drbd, fedora, installing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing kde from fedora 10 DVD qwertyjustin Using Fedora 1 10th May 2009 07:02 AM
What's happening with Fedora? Last time installing Fedora, and switching to CentOS? hans21 Fedora Focus 17 7th January 2009 09:18 PM
DRBD misbehaving kupo Servers & Networking 0 21st April 2008 09:03 AM
kernel update and drbd and heartbeat dp7885 Using Fedora 2 6th May 2006 05:31 PM


Current GMT-time: 07:54 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat