Re: [uml-user] How to setup UML cluster and use ocfs2?

2007-07-16 Thread Linux Lover

On 7/16/07, Jeff Dike <[EMAIL PROTECTED]> wrote:


On Mon, Jul 16, 2007 at 10:29:43AM +0800, Linux Lover wrote:
> Let me  say it a little clearly.
> Both nodes can start up.
> The first node can mount the ocfs2 volume right, but when the second
node
> try to mount the ocfs2 volume also, it freezes.
> These two nodes work fine with the last released kernel of 21(2.6.21.6),
so
> there should be some bug with the new 2.6.22.x series.

Can you check with 2.6.21?  If that's OK, can you do a git bisect to
figure out which change broke things?



2.6.21.6 is OK, so can I deduce that 2.6.21 is OK also? I am a newbie in
kernel development, so sorry for the silly question.
git bisect? OK, I will try to learn how to use git and git bisect. Wish I
could output something helpful.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] How to setup UML cluster and use ocfs2?

2007-07-16 Thread Jeff Dike
On Mon, Jul 16, 2007 at 04:42:01PM +0800, Linux Lover wrote:
> 2.6.21.6 is OK, so can I deduce that 2.6.21 is OK also? I am a newbie in
> kernel development, so sorry for the silly question.

You downloaded 2.6.21.6 from kernel.org, right?  Just get 2.6.21 the
same way instead and try that.

> git bisect? OK, I will try to learn how to use git and git bisect. Wish I
> could output something helpful.

Linus described how to do this here:

http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/af2a2d1151270a01/cdcaf2d55bb2f5e2?lnk=st&q=Linus+git-bisect+good&rnum=2&hl=en#cdcaf2d55bb2f5e2

Once you're you've got git going, git-bisect is a very simple, mechanical
procedure.

git is also a convenient way to get 2.6.21 if you feel like installing
git before grabbing another tarball from kernel.org

Jeff

-- 
Work email - jdike at linux dot intel dot com

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] How to setup UML cluster and use ocfs2?

2007-07-16 Thread Linux Lover

On 7/17/07, Jeff Dike <[EMAIL PROTECTED]> wrote:


You downloaded 2.6.21.6 from kernel.org, right?  Just get 2.6.21 the
same way instead and try that.



Yes, I have downloaded 2.6.21, and it works OK.


git bisect? OK, I will try to learn how to use git and git bisect. Wish I
> could output something helpful.

Linus described how to do this here:


http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/af2a2d1151270a01/cdcaf2d55bb2f5e2?lnk=st&q=Linus+git-bisect+good&rnum=2&hl=en#cdcaf2d55bb2f5e2

Once you're you've got git going, git-bisect is a very simple, mechanical
procedure.



I have followed the step described by Linus.
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
*$git bisect **good* v2.6.21
*$git bisect* bad v2.6.22

$git bisect
The output is:
Bisecting: 3420 revisions left to test after this
[58936d8d944e27b75c99b1c59cfeea3f253b03cb] Char: cyclades, create
cy_pci_probe

but when I do the following steps:
$cp arch/um/defconfig .config
$make menuconfig ARCH=um and select to build ocfs2 in kernel.
$make linux ARCH=um
The build is broken.
The error message is:
 SYMLINK arch/um/include/kern_constants.h
 SYMLINK arch/um/include/sysdep
make[1]: `arch/um/sys-i386/user-offsets.s' is up to date.
 CHK include/linux/version.h
 CHK include/linux/utsrelease.h
 CC  arch/um/kernel/asm-offsets.s
In file included from include/asm/cpufeature.h:4,
from include/asm/arch/system.h:6,
from include/asm/system-generic.h:4,
from include/asm/system.h:4,
from include/linux/spinlock.h:57,
from include/linux/capability.h:45,
from include/linux/sched.h:46,
from arch/um/include/sysdep/kernel-offsets.h:2,
from arch/um/kernel/asm-offsets.c:1:
include/asm/arch/cpufeature.h:13:35: asm/required-features.h: No such file
or directory
make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

So what is wrong with the build process?
I did the same step with the package I downloaded from kernel.org, and it
works OK.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user