[DRBD-user] make kernel-patch failure with 2.6.13 kernel

prosolutions at gmx.net prosolutions at gmx.net
Fri Sep 9 22:04:18 CEST 2005

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

Hi all,

Since I'm building a kernel for production machines on another system my
understanding is that this can only be done via the 'make KDIR=... kernel-patch' mechanism since 'make; make install' would obviously not make sense on the build system itself.  

But I am getting the following error when I try to compile the kernel-patch:

# make KDIR=/usr/src/linux-2.6.13 kernel-patch
make -C drbd drbd_buildtag.c
make[1]: Entering directory `/usr/local/src/drbd-0.7.13/drbd'
make[1]: Leaving directory `/usr/local/src/drbd-0.7.13/drbd'
set -o errexit; \
kbase=$(basename /usr/src/linux-2.6.13); \
d=patch-$kbase-drbd-0.7.13; \
test -e $d && cp -fav --backup=numbered $d $d; \
bash scripts/patch-kernel /usr/src/linux-2.6.13 . > $d
`patch-linux-2.6.13-drbd-0.7.13' -> `patch-linux-2.6.13-drbd-0.7.13.~1~'
cp: cannot stat `/usr/src/linux-2.6.13/arch/um/Kconfig_block': No such file or directory
make: *** [kernel-patch] Error 1

I have a target kernel in /usr/src/linux-2.6.13 which I've configure with 'make menuconfig'

More information about the drbd-user mailing list