[DRBD-user] howto build DRBD 7.0 kernel module on Red Hat with 2.4.18 kernel

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Jul 19 16:36:21 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.


/ 2004-07-19 17:08:26 +0300
\ drbd-user at kenyaweb.com:
> Hi,
> 
> I have tried applying the patches and each time I get simmilar errors:-
> 
> ---------
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: drbd_receiver.c
> |===================================================================
> |--- drbd_receiver.c (revision 1438)
> |+++ drbd_receiver.c (working copy)
> --------------------------
> 
> I will try the kernel upgrade path and let you know the outcome.


patch is relative to drbd/drbd, not to toplevel directory of the tgz.
so you go into the directory where ls shows you drbd_main.c etc.,
then you do "patch -p0 < that -patch-file"

	lge



More information about the drbd-user mailing list