[DRBD-user] RH9 Installation of DRBD with Kernel mods

Preston Terrell preston_terrell at yahoo.com
Tue Jun 15 21:18:17 CEST 2004

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


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[1]: *** [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
> 




More information about the drbd-user mailing list