[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] GFS and vanilla kernel



Hi

On Mon, Nov 29, 2004 at 09:28:49PM +0000, Graham Wood wrote:
> On Mon, Nov 29, 2004 at 07:02:48PM +0300, Anatoly Pugachev wrote:
> > Hello!
> > 
> > Any chance to install GFS over vanilla kernel ?
> > Installation guide will be usefull too.
> > 
> > Thanks.
> 
> If you're looking at the CVS, the instructions in
> 
> http://sources.redhat.com/cluster/doc/usage.txt
> 
> are the steps you need to take.
> 
> To summarise:
> 
> use cvs to download latest source.

help.  i'm stuck on the first stage compiling kernel.
here's my problem description:
(using http://sources.redhat.com/cluster/gfs/ as guide)

$ cvs -d :pserver:cvs sources redhat com:/cvs/cluster login cvs
$ cvs -d :pserver:cvs sources redhat com:/cvs/cluster checkout cluster/gfs
$ cvs -d :pserver:cvs sources redhat com:/cvs/cluster checkout cluster/gfs-kernel

gfs kernel patch sources in $HOME/cluster now.

$ cd /usr/src/v2.6.10-rc3
$ find ~/cluster -name *.patch | xargs cat | patch -p1
patching file fs/Kconfig
Hunk #1 succeeded at 1800 with fuzz 2 (offset 4 lines).
can't find file to patch at input line 21
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN -p linux-2.6.9/fs/gfs_locking/Makefile linux/fs/gfs_locking/Makefile
|--- linux-2.6.9/fs/gfs_locking/Makefile        2004-10-27 02:12:05.867100243 -0500
|+++ linux/fs/gfs_locking/Makefile      2004-10-27 02:12:05.878097148 -0500
--------------------------
File to patch:


this what i get trying to apply cvs gfs kernel patches to kernel sources from
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.10-rc3.tar.bz2
same with 2.6.9 kernel sources.

It seems to me that this cvs patches are from already someway altered/patched
kernel.  If you will make simple test case, how work 'diff -urN dir1 dir2 > code.patch' 
first nonexistant file from dir1, in code.patch will be with time 1 Jan 1970, 
and as shown above with fs/gfs_locking/Makefile 2004-10-27 02:12:05.867100243 -0500

Anyone to clear situation? Please help.

> run configure in the relevant directories - telling it where the kernel source is.
> Run make install
> Create /etc/cluster/cluster.conf
> startup cluster
> create filesystems
> mount filesystems.
> 
> I rebuilt mine a few days ago - from start to finish (including debian sarge install) it was a couple of hours from start to finish.

-- 
Anatoly P. Pugachev

Attachment: pgp00003.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]