Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Did you install linux-2.4.20-30.9.um.2 and reboot? I am useing drbd-0.6.12 on Redhat8. Did you do anything else like this? (RH9 may a little different from RH8) //Upgrade kernel # rpm -Uvh kernel-2.4.* kernel-source-2.4.* //Edit EXTRAVERSION like this.(Delete "custum") #vi /usr/src/linux-2.4/Makefile EXTRAVERSION = -30.9.um.2 --->save and exit #cd /usr/src/linux-2.4/ #make mrproper #make menuconfig --->save and exit #make dep //Uncompress drbd # tar -zxvf drbd-0.6.12.tar.gz # cd drbd-0.6.12 //Edit Makefile.vars.(Add "-DMODVERSIONS -DCONFIG_MODVERSIONS") #vi Makefile.vars USERFLAGS := -Wall $(DEBUGFLAGS) -DMODVERSIONS -DCONFIG_MODVERSIONS //drbd compile. # cd /root/rpm/drbd-0.6.12/ # make rpm FORCE=1 # cd ./dist/i386/ # rpm -Uvh drbd-* Preston Terrell <preston_terrell at yahoo.com> wrote: > Lars, thanks for the help. > > I did the ln -l, and it pointed me to, > /usr/src/linux-2.4.20-30.9.um.2 > > So I did a > make > # make KDIR=/usr/src/linux-2.4.20-30.9.um.2 > > Although it gave me pretty much the same thing. > Output below. The only things I have really done for > the kernel so far is a couple VPN addons and I chaned > it for HA support. > > Any ideas? > > make: *** /usr/src/linux-2.4.20-30.9.um.2: No such > file or directory. Stop. > make: Leaving an unknown directory > I'll ignore this error, but this can cause > inconsistencies! > done. > make -C /usr/src/linux-2.4.20-30.9.um.2 > SUBDIRS=/home/drbd-0.6.12/drbd modules > make: Entering an unknown directory > make: *** /usr/src/linux-2.4.20-30.9.um.2: No such > file or directory. Stop. > make: Leaving an unknown directory > make: *** [kbuild] Error 2 > > > > > > --- Lars Ellenberg <Lars.Ellenberg at linbit.com> wrote: > > / 2004-06-15 11:37:16 -0700 > > \ Preston Terrell: > > > I am running Redhat9 with kernel 2.4.20-30.9.um.2, > > I > > > can not seem to do the kernel aspects of the drbd > > > installation correctly. I have read the FAQs and > > the > > > INSTALL, but I just can't seem to get it right. > > > > > > Anybody have a step by step or could point me in > > the > > > right direction. > > > > > > > > > This is my error: > > > make dep ... > > > make: Entering an unknown directory > > > make: *** /lib/modules/2.4.20-30.9.um.2/build: No > > such > > > > seems to be an uml kernel. > > typically /lib/module/`uname -r`/build is a link to > > the sources (or at least headers) of that kernel. > > ls -l /lib/modules/2.4.20-30.9.um.2/build and see > > where it points to... > > > > if the "best guess" by make is not good enough, you > > can always give an > > explicit KDIR=/some/where parameter, _telling_ make > > were your kernel > > sources reside. > > > > > > lge > > _______________________________________________ > > drbd-user mailing list > > drbd-user at lists.linbit.com > > http://lists.linbit.com/mailman/listinfo/drbd-user > > > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user