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

From: richard -rw- weinberger
Date: Mon Oct 18 2010 - 05:16:17 EST


2010/10/18 Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>:
> 2010/10/18 Toralf Förster <toralf.foerster@xxxxxx>:
>> 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;
>>  };
>
> So it probably is accessing f_spare[4] somewhere...

fs/hostfs/hostfs_user.c does so.
I'll look at this when I'm at home.

Toralf, are you using hostfs?

> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>



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