Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Diego Julian Remolina wrote:
>>
>> 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:
>
On an FC system /lib/modules/`uname -r`/build is a soft link to where the
sources are for that kernel.
i.e. for 2.6.16-1.2069_FC4
$ ls -l /lib/modules/2.6.16-1.2069_FC4/build
lrwxrwxrwx 1 root root 47 Mar 28 09:12 /lib/modules/2.6.16-1.2069_FC4/build
-> ../../../usr/src/kernels/2.6.16-1.2069_FC4-i686
> 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
>
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter