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

Alex Vrenios alex at DSRLab.com
Thu Feb 24 00:33:17 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.


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 





More information about the drbd-user mailing list