Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I'm just getting started with DRBD, and trying to get it running on Red Hat Enterprise Linux 3 ES. I've noticed 1-2 compile problems related to RHEL in the bug tracker with no messages. In this case, I'm trying to 'make rpm' but I get an error noting that I'm not running a kernel configured for LKM. I'm pretty sure I am though. I've also uncommented and edited the appropriate lines in drbd_config.h. Can anyone provide any quick insight from previous experience? thanks, cody -------------------- server info: -------------------- [root at carte1 drbd-0.6.11]# uname -a Linux carte1 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686 i386 GNU/Linux [root at carte1 drbd-0.6.11]# cat /etc/redhat-release Red Hat Enterprise Linux ES release 3 (Taroon Update 1) ------------------------- output from 'make rpm': ------------------------- make dep ... make[3]: Entering directory `/usr/src/linux-2.4.21-9.0.1.EL' make[4]: Entering directory `/usr/src/linux-2.4.21-9.0.1.EL' make[5]: Entering directory `/usr/local/src/drbd-0.6.11/dist/BUILD/drbd-0.6.11/drbd' make[5]: Leaving directory `/usr/local/src/drbd-0.6.11/dist/BUILD/drbd-0.6.11/drbd' make[4]: Leaving directory `/usr/src/linux-2.4.21-9.0.1.EL' make[3]: Leaving directory `/usr/src/linux-2.4.21-9.0.1.EL' done. make -C /lib/modules/2.4.21-9.0.1.ELsmp/build SUBDIRS=/usr/local/src/drbd-0.6.11/dist/BUILD/drbd-0.6.11/drbd modules make[3]: Entering directory `/usr/src/linux-2.4.21-9.0.1.EL' The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled. make[3]: *** [modules] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.21-9.0.1.EL' make[2]: *** [kbuild] Error 2 make[2]: Leaving directory `/usr/local/src/drbd-0.6.11/dist/BUILD/drbd-0.6.11/drbd' make[1]: *** [all] Error 1 make[1]: Leaving directory `/usr/local/src/drbd-0.6.11/dist/BUILD/drbd-0.6.11' error: Bad exit status from /var/tmp/rpm-tmp.51669 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.51669 (%build) make: *** [rpm] Error 1 -- cody collier ccollier at viawest.net