[DRBD-user] FC3 - Fedora Kernel Sources

Diego Julian Remolina diego.remolina at ibb.gatech.edu
Mon Apr 3 17:21:01 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.


> 
> Calling toplevel makefile of kernel source tree, which I believe is in
>    KDIR=/lib/modules/2.6.16-1.2069_FC4/build
> 
This is wrong. /lib/modules is where already compiled kernel modules are located, not the kernel 
sources.  It should look like:

Single processor:
make rpm KDIR=/usr/src/kernels/2.6.9-34.EL-x86_64

SMP kernel:
make rpm KDIR=/usr/src/kernels/2.6.9-34.EL-smp-x86_64

Since you are using FC4 use the "make rpm" command which will create drbd rpms for you in: 
/usr/src/drbd-0.7.17/dist/RPMS/{arch}/

Here is an update guide that I use on RHEL4 systems:

https://services.ibb.gatech.edu/wiki/index.php/Howto:Updates:DRBD

Diego


>    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.
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list