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

2007-06-20 Thread Linux Lover
Hi all, I am new guy to Use Mode Linux and I am trying to use UML to build up a 2-node cluster and ocfs2 for share storage. I have created 2 nodes and a shared file, and run the two kernel with the following commands: ./linux mem=256M ubda=root_fs_1 ubdb=ocfs2_fs eth0=mcast ./linux mem=256M ubd

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

2007-06-21 Thread Linux Lover
On 6/21/07, Jeff Dike <[EMAIL PROTECTED]> wrote: On Thu, Jun 21, 2007 at 10:28:32AM +0800, Linux Lover wrote: > Hi all, >I am new guy to Use Mode Linux and I am trying to use UML to build up a > 2-node cluster and ocfs2 for share storage. > I have created 2 nodes and a sh

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

2007-07-15 Thread Linux Lover
Hi Jeff, This works well in kernel 2.6.21.6, but today when I tried 2.6.22, the client uml is freezed. So is there any problem in 2.6.22? Thanks. On 6/21/07, Jeff Dike <[EMAIL PROTECTED]> wrote: On Thu, Jun 21, 2007 at 10:28:32AM +0800, Linux Lover wrote: > Hi all, >I am ne

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

2007-07-15 Thread Linux Lover
On 7/16/07, Linux Lover <[EMAIL PROTECTED]> wrote: Hi Jeff, This works well in kernel 2.6.21.6, but today when I tried 2.6.22, the client uml is freezed. So is there any problem in 2.6.22? Let me say it a little clearly. Both nodes can start up. The first node can mount the ocfs2

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 ocf

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 somet

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

2007-07-17 Thread Linux Lover
You hit a point where UML doesn't build. This happens occasionally, and it's usually fixed pretty quickly. In this case, apply this patch to it - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=1e0cb0c3bf04850fa6fb300293d9e85ba81b605f The kernel builds

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

2007-07-30 Thread Linux Lover
hich patch should I patch? On 7/26/07, Jeff Dike <[EMAIL PROTECTED]> wrote: > > On Wed, Jul 18, 2007 at 02:50:31PM +0800, Linux Lover wrote: > > The kernel builds OK, but when I run it, I meet with segmentation fault. > > After gdb, the error message is very strange. > &

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

2007-07-30 Thread Linux Lover
Hi Jeff, It seems that aio_reserved3 was removed from (struct iocb).. So I just removing it from the initialization code in uml. Am I wrong? ;) On 7/30/07, Linux Lover <[EMAIL PROTECTED]> wrote: > > Sorry for the late response. > I let this be a bug. And do "git bisect bad&q