Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread Toralf Förster
Christoph Hellwig wrote at 22:18:37 > I really can't see any relation to the patch. Can you try the some > things in the following order, please: ... > (4) re-apply the include/linux/statfs.h changes and see if it still > boots The first half of step 4 was it (I did not apply the "Definit

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread richard -rw- weinberger
2010/10/18 Toralf Förster : > > Christoph Hellwig wrote at 22:18:37 >> I really can't see any relation to the patch.  Can you try the some >> things in the following order, please: > ... >>  (4) re-apply the include/linux/statfs.h changes and see if it still >>       boots > > The first half of ste

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread Toralf Förster
Well, in addition to my last mail the following patch isn't a fix, but it might point to the culprit. If I apply this patch against latest tree, then the crash doesn't occur : diff --git a/include/linux/statfs.h b/include/linux/statfs.h index 0166d32..e336e70 100644 --- a/include/linux/statfs.h +

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread Geert Uytterhoeven
2010/10/18 Toralf Förster : > > Christoph Hellwig wrote at 22:18:37 >> I really can't see any relation to the patch.  Can you try the some >> things in the following order, please: > ... >>  (4) re-apply the include/linux/statfs.h changes and see if it still >>       boots > > The first half of ste

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread Geert Uytterhoeven
2010/10/18 Toralf Förster : > Well, in addition to my last mail the following patch isn't a fix, but it > might point to the culprit. > If I apply this patch against latest tree, then the crash doesn't occur : > > diff --git a/include/linux/statfs.h b/include/linux/statfs.h > index 0166d32..e336e70

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread richard -rw- weinberger
2010/10/18 Geert Uytterhoeven : > 2010/10/18 Toralf Förster : >> Well, in addition to my last mail the following patch isn't a fix, but it >> might point to the culprit. >> If I apply this patch against latest tree, then the crash doesn't occur : >> >> diff --git a/include/linux/statfs.h b/include/

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread richard -rw- weinberger
2010/10/18 Toralf Förster : > Well, in addition to my last mail the following patch isn't a fix, but it > might point to the culprit. > If I apply this patch against latest tree, then the crash doesn't occur : > > diff --git a/include/linux/statfs.h b/include/linux/statfs.h > index 0166d32..e336e70

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread Toralf Förster
richard -rw- weinberger wrote at 11:31:31 > Does this help? > > --- linux-2.6.36-rc8/fs/hostfs/hostfs_user.c.orig 2010-10-18 > 11:24:33.844592000 +0200 > +++ linux-2.6.36-rc8/fs/hostfs/hostfs_user.c2010-10-18 > 11:24:44.594679000 +0200 > @@ -388,6 +388,6 @@ > spare_out[1] = buf.

Re: [uml-devel] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

2010-10-18 Thread Richard Weinberger
On Mon, 18 Oct 2010 13:14:26 +0200, Toralf Förster wrote: > richard -rw- weinberger wrote at 11:31:31 >> Does this help? >> >> --- linux-2.6.36-rc8/fs/hostfs/hostfs_user.c.orig 2010-10-18 >> 11:24:33.844592000 +0200 >> +++ linux-2.6.36-rc8/fs/hostfs/hostfs_user.c2010-10-18 >> 11:24:44.59

[uml-devel] [PATCH 1/1] hostfs: fix UML crash

2010-10-18 Thread Richard Weinberger
365b1818 resized f_spare within struct statfs. hostfs accesses f_spare directly and needs an update. Signed-off-by: Richard Weinberger Reported-by: Toralf Förster Tested-by: Toralf Förster --- fs/hostfs/hostfs_user.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/

Re: [uml-devel] [PATCH 1/1] hostfs: fix UML crash

2010-10-18 Thread Andrew Morton
On Mon, 18 Oct 2010 18:36:54 +0200 Richard Weinberger wrote: > 365b1818 resized f_spare within struct statfs. > hostfs accesses f_spare directly and needs an update. > > Signed-off-by: Richard Weinberger > Reported-by: Toralf F__rster > Tested-by: Toralf F__rster > --- > fs/hostfs/hostfs_use

Re: [uml-devel] [PATCH 1/1] hostfs: fix UML crash

2010-10-18 Thread Geert Uytterhoeven
On Mon, Oct 18, 2010 at 20:40, Andrew Morton wrote: > On Mon, 18 Oct 2010 18:36:54 +0200 Richard Weinberger wrote: >> 365b1818 resized f_spare within struct statfs. >> hostfs accesses f_spare directly and needs an update. >> >> Signed-off-by: Richard Weinberger >> Reported-by: Toralf F__rster >

Re: [uml-devel] [PATCH 1/1] hostfs: fix UML crash

2010-10-18 Thread Geert Uytterhoeven
On Mon, Oct 18, 2010 at 21:31, Richard Weinberger wrote: > Am Montag 18 Oktober 2010, 21:22:31 schrieb Geert Uytterhoeven: >> On Mon, Oct 18, 2010 at 20:40, Andrew Morton > wrote: >> > On Mon, 18 Oct 2010 18:36:54 +0200 Richard Weinberger > wrote: >> >> 365b1818 resized f_spare within struct sta

Re: [uml-devel] [PATCH 1/1] hostfs: fix UML crash

2010-10-18 Thread Andrew Morton
On Mon, 18 Oct 2010 20:53:58 +0200 Richard Weinberger wrote: > Am Montag 18 Oktober 2010, 20:40:39 schrieb Andrew Morton: > > On Mon, 18 Oct 2010 18:36:54 +0200 Richard Weinberger > wrote: > > > 365b1818 resized f_spare within struct statfs. > > > hostfs accesses f_spare directly and needs an u

[uml-devel] USB in UML

2010-10-18 Thread Chris Frey
Hi, On the following page: http://user-mode-linux.sourceforge.net/old/projects.html There is a link to a patch by Johan Verrept that adds some USB support to UML: http://user-mode-linux.sourceforge.net/old/patches/uml-hcd-2.4.3.patch Unfortunately, this is from 2001, and is for

Re: [uml-devel] [PATCH 1/1] hostfs: fix UML crash

2010-10-18 Thread Christoph Hellwig
On Mon, Oct 18, 2010 at 01:02:08PM -0700, Andrew Morton wrote: > > > > > > Is there any reason for hostfs to be playing with the f_spare field at > > > all? No, there is no reason at all. do_statfs is only called by hostfs_statfs, which is the hostfs implementation of ->statfs. zeroing of the