lkml.org 
[lkml]   [2010]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Fwd: Re: UML kernel crash of v2.6.36-rcX kernel
Date
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
+++ b/include/linux/statfs.h
@@ -15,8 +15,8 @@ struct kstatfs {
__kernel_fsid_t f_fsid;
long f_namelen;
long f_frsize;
- long f_flags;
long f_spare[4];
+ long f_flags;
};


Christoph Hellwig wrote at 22:18:37
> On Sun, Oct 17, 2010 at 03:55:39PM +0200, Toralf F?rster wrote:
> > I bisected it again w/ a fixed test script, got the same bad commit
> > script and double checked, that this commit is really the culprit which
> > crashes a user mode linux kernel at my 32bix x86 stable Gentoo running
> > 2.6.35.6 vanilla kernel as host system and 2/ gcc version 4.4.3 (Gentoo
> > 4.4.3-r2 p1.2) and glibc-2.11.2-r1 in the tool chain.
>
> I really can't see any relation to the patch. Can you try the some
> things in the following order, please:
>
> (1) git-revert 365b18189789bfa1acd9939e6312b8a4b4577b28 on current
> Linus tree and see it it works.
> If it works try the next, else the bisect must have been a weird
> conicidence and I can't really help more.
> (2) re-apply only the changes to include/asm-generic/statfs.h from
> 365b18189789bfa1acd9939e6312b8a4b4577b28 and see if that still
> boots.
> (3) re-apply the arch/mips/include/asm/statfs.h and
> arch/s390/include/asm/statfs.h changes and see if it still boots
> (4) re-apply the include/linux/statfs.h changes and see if it still
> boots
> (5) re-apply the fs/statfs.c changes, and by now it really shouldn't
> boot anymore
> (6) verify the code really is the same again as in current Linus' tree


--
MfG/Kind regards
Toralf Förster

pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-10-18 11:07    [W:0.440 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site