FW: [DRBD-user] Redhat EL #1 - 2.4.21-15 kernel fails to be recognized?

Alex Vrenios alex at DSRLab.com
Thu Feb 24 00:40:14 CET 2005

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


 Okay,

I may have answered my own question:

The DRBD docs say to rpm the kernel source, massage an appropriate redhat
config file, then continue to build the kernel locally, so these "missing
files" can be found.

I think that's it - worth a try, anyway...

Alex

> -----Original Message-----
> From: drbd-user-bounces at lists.linbit.com 
> [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Alex Vrenios
> Sent: Wednesday, February 23, 2005 4:33 PM
> To: drbd-user at lists.linbit.com
> Subject: [DRBD-user] Redhat EL #1 - 2.4.21-15 kernel fails to 
> be recognized?
> 
> Hello,
> 
> I am trying to build DRBD-0.7.4 on a Redhat Enterprise Linux 
> system (the
> 2.4.21-15 kernel) but the first "make" after the tar-zxvf 
> gives me a message about the 2.6 kernel and a failure to 
> configure drbd_config:
> 
> ---BEGIN---
>    .
>    .
>    .
> ls: /lib/modules/2.4.21-15.EL/build/include/linux/version.h: 
> No such file or directory
> ls: /lib/modules/2.4.21-15.EL/build/include/linux/sched.h: No 
> such file or directory
> ls: /lib/modules/2.4.21-15.EL/build/include/linux/list.h: No 
> such file or directory
> ls: /lib/modules/2.4.21-15.EL/build/include/linux/fs.h: No 
> such file or directory
> ls: /lib/modules/2.4.21-15.EL/build/include/asm/bitops.h: No 
> such file or directory
>         Sorry, automagic adjustment of drdb_config.h failed.
>         For well known 2.6. kernels, no adjustment to the 
> shipped drbd_config is necessary.
>         You need to verify it yourself.
> make[1]: [kbuild] Error 1 (ignored)
> make -C /lib/modules/2.4.21-15.EL/build 
> SUBDIRS=/usr/src/drbd-0.7.4/drbd modules
> make: Entering an unknown directory
> make: *** /lib/modules/2.4.21-15.EL/build: No such file or 
> directory.  Stop.
> make: Leaving an unknown directory
> make[1]: *** [kbuild] Error 2
> make[1]: Leaving directory `/usr/src/drbd-0.7.4/drbd'
> make: *** [all] Error 2
> ---END---
> 
> I'm heading over to the latest how-to at 
> http://wiki.linux-ha.org/DRBD_2fHowTo_2fInstall to see what I 
> can find on my own, but any/all suggestions are appreciiated.
> 
> --
> Alex 
> 
> 
> _______________________________________________
> 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