Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] Fix for patch-kernl in scripts directory
@ 2009-07-31 20:33 Anthony D'Ambrosio
  2009-08-18 20:50 ` Philipp Reisner
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony D'Ambrosio @ 2009-07-31 20:33 UTC (permalink / raw)
  To: drbd-dev

Hi,

I have been using DRBD for about 5 years now and think you folks have  
done some great work.  We recently have been working an a new base  
distribution of our OS and I ran into a problem while trying to build  
DRBD into a kernel.

We patch our kernel and I wanted to run some tests with the latest  
DRDB and the Linux 2.6.30 kernel.  We found an error trying to  
generate the patch file for the kernel:

root@appbuild2:/root/drbd-8.3.2 >make KDIR=/root/linux-2.6.30 kernel- 
patch
make -C drbd drbd_buildtag.c
make[1]: Entering directory `/root/drbd-8.3.2/drbd'
make[1]: Leaving directory `/root/drbd-8.3.2/drbd'
set -o errexit; \
         kbase=$(basename /root/linux-2.6.30); \
         d=patch-$kbase-drbd-8.3.2; \
         test -e $d && cp -fav --backup=numbered $d $d; \
         bash scripts/patch-kernel /root/linux-2.6.30 . > $d
cp: cannot stat `/root/drbd-8.3.2/drbd/lru_cache.h': No such file or  
directory
make: *** [kernel-patch] Error 1

After looking at the error, and an older version of DRBD it appears  
that the lru_cache.h file has moved.  I have created a patch for our  
build process:

root@appbuild2:/root/drbd-8.3.2 >cat ../patch-kernel_8.3.2.patch
97c97
<       lru_cache.c"
---
 >       lru_cache.c lru_cache.h"
113,114d112
< cp -a $DRBD/drbd/linux/lru_cache.h    $DRBD_SUB
<

Please tell me if you need more, or if I should supply this type of  
information in the future in some other manner.

Thanks for the excellent software - it works like a champ for us!

A. D'Ambrosio
BT Diamond IP

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] Fix for patch-kernl in scripts directory
  2009-07-31 20:33 [Drbd-dev] Fix for patch-kernl in scripts directory Anthony D'Ambrosio
@ 2009-08-18 20:50 ` Philipp Reisner
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Reisner @ 2009-08-18 20:50 UTC (permalink / raw)
  To: drbd-dev; +Cc: Anthony D'Ambrosio

Am Freitag, 31. Juli 2009 22:33:33 schrieb Anthony D'Ambrosio:
> Hi,
>
> I have been using DRBD for about 5 years now and think you folks have
> done some great work.  We recently have been working an a new base
> distribution of our OS and I ran into a problem while trying to build
> DRBD into a kernel.
[...]
> Please tell me if you need more, or if I should supply this type of
> information in the future in some other manner.
>
> Thanks for the excellent software - it works like a champ for us!
>

Hi Anthony,

Sorry about the unresponsiveness on drbd-dev. There is such so
low traffic on the list...

That patch-kernel method came out of focus. We aim to get
DRBD merged to Linux upstream with the 2.6.32 release.
You can track out integration work from here:

git://git.drbd.org/linux-2.6-drbd.git

-Phil

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-18 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31 20:33 [Drbd-dev] Fix for patch-kernl in scripts directory Anthony D'Ambrosio
2009-08-18 20:50 ` Philipp Reisner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox