[DRBD-user] FC3 - Fedora Kernel Sources

David Branford david at davidbranford.net
Mon Apr 3 17:07:17 CEST 2006

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


Luciano Miguel Ferreira Rocha wrote:
> On Mon, Apr 03, 2006 at 01:33:39AM +0930, David Branford wrote:
>   
>> Luciano Miguel Ferreira Rocha wrote:
>>     
>>> On Tue, Feb 01, 2005 at 09:52:11AM +1030, Jon Soong wrote:
>>>  
>>>       
>>>> Just compiling DRBD 0.7.8 for FC3.
>>>>
>>>> According to the INSTALL document, you need the kernel-source RPM (e.g. 
>>>> kernel-sources-2.6.555.rpm),
>>>>    
>>>>         
>>> Not anymore. In FC3 the kernel package (kernel-2.6.10-1.741_FC3)
>>> contains all that's needed to compile modules for that kernel, including
>>> drbd.
>>>
>>> In FC4, that part of the package will be split to kernel-devel.
>>>
>>> Regards,
>>> Luciano Rocha
>>> _______________________________________________
>>> drbd-user mailing list
>>> drbd-user at lists.linbit.com
>>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>>  
>>>       
>> Sorry to pickup on what is really a rather old thread, but after hours 
>> of searching this seems to be the most exact match for my situation. I 
>> have FC4 and the latest kernel; i have updated the kernel-devel package 
>> (yum update kernel-devel) but when I do a 'make mrproper' in:
>>
>>     
>
> You shouldn't need to do a 'make mrproper'. Just a make install or make
> rpm in drbd's sources.
>
>
>   
Thanks Luciano,

When I try a "make" in /usr/src/drbd-0.7.17 (where I unpacked the 
archive) I get:

Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=/lib/modules/2.6.16-1.2069_FC4/build

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


However in /lib/modules I only have:

drwxr-xr-x   3 root root 4096 Dec 27 23:51 2.6.11-1.1369_FC4

I don't have a directory matching my currently running kernel, which is 
2.6.16-1.2069_FC4
I have installed and updated the kernel-devel package for fedora core 4 
("yum update kernel-devel") and downloaded 
kernel-2.6.16-1.2069_FC4.src.rpm and installed it ("rpm -Uvh 
kernel-2.6.16-1.2069_FC4.src.rpm") however neither of those packages 
provides it. Do you know which FC4 package provides the needed files here?


Thanks for your help,
David.



More information about the drbd-user mailing list