Re: File corruption when using kernels 2.6.18+

From: Neil Romig
Date: Wed Oct 03 2007 - 14:41:09 EST


Pekka Enberg wrote:
Hi Neil,

On 10/3/07, Neil Romig <neil@xxxxxxxxxxxxxxxxx> wrote:
Thanks for your help on this. I have narrowed it down to commit
"c22ce143d15eb288543fe9873e1c5ac1c01b69a1 x86: cache pollution aware
__copy_from_user_ll()". This fits with the errors I'm getting, so now I need
to find out if I can safely ignore this patch, or does it have to be modified?
This is my first Linux bug in many years of simply using it, so I'm a little
nervous!

Just to make sure, if you disable CONFIG_X86_INTEL_USERCOPY, the
corruption goes away?

It took some fiddling to disable (edit arch/i386/Kconfig.cpu) but that has fixed it. Many thanks!

Does this need to be reported as a bug? Or should the kernel config scripts be changed to enable this option to be easily turned off?

Neil.
-
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/