Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-11 Thread Ulf Hansson
On 9 August 2014 06:03, John Stultz wrote: > On Fri, Aug 8, 2014 at 5:32 PM, Theodore Ts'o wrote: >> On Fri, Aug 08, 2014 at 05:17:54PM -0700, John Stultz wrote: >>> On 08/08/2014 05:15 PM, Kees Cook wrote: >>> > On Fri, Aug 8, 2014 at 2:14 PM, John Stultz >>> > wrote: >>> >> I sunk a couple

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-11 Thread Ulf Hansson
On 9 August 2014 06:03, John Stultz john.stu...@linaro.org wrote: On Fri, Aug 8, 2014 at 5:32 PM, Theodore Ts'o ty...@mit.edu wrote: On Fri, Aug 08, 2014 at 05:17:54PM -0700, John Stultz wrote: On 08/08/2014 05:15 PM, Kees Cook wrote: On Fri, Aug 8, 2014 at 2:14 PM, John Stultz

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread John Stultz
On Fri, Aug 8, 2014 at 5:32 PM, Theodore Ts'o wrote: > On Fri, Aug 08, 2014 at 05:17:54PM -0700, John Stultz wrote: >> On 08/08/2014 05:15 PM, Kees Cook wrote: >> > On Fri, Aug 8, 2014 at 2:14 PM, John Stultz wrote: >> >> I sunk a couple of weeks bisecting to try to narrow down the more >> >>

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread Theodore Ts'o
On Fri, Aug 08, 2014 at 05:17:54PM -0700, John Stultz wrote: > On 08/08/2014 05:15 PM, Kees Cook wrote: > > On Fri, Aug 8, 2014 at 2:14 PM, John Stultz wrote: > >> I sunk a couple of weeks bisecting to try to narrow down the more > >> sporadic issue, but was unsuccessful past the initial commit

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread John Stultz
On 08/08/2014 05:15 PM, Kees Cook wrote: > On Fri, Aug 8, 2014 at 2:14 PM, John Stultz wrote: >> I sunk a couple of weeks bisecting to try to narrow down the more >> sporadic issue, but was unsuccessful past the initial commit above. >> Since then I've been far too swamped to spend any more time

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread Kees Cook
On Fri, Aug 8, 2014 at 2:14 PM, John Stultz wrote: > On 06/11/2014 10:35 PM, John Stultz wrote: >> I've been seeing some ext4 corruption with recent kernels under >> qemu-system-arm. >> >> This issue seems to crop up after shutting down uncleanly (terminating >> qemu), shortly after booting

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread John Stultz
On 06/11/2014 10:35 PM, John Stultz wrote: > I've been seeing some ext4 corruption with recent kernels under > qemu-system-arm. > > This issue seems to crop up after shutting down uncleanly (terminating > qemu), shortly after booting about 50% of the time. > > ext4/mmc related dmesg details are:

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread John Stultz
On 06/11/2014 10:35 PM, John Stultz wrote: I've been seeing some ext4 corruption with recent kernels under qemu-system-arm. This issue seems to crop up after shutting down uncleanly (terminating qemu), shortly after booting about 50% of the time. ext4/mmc related dmesg details are: [

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread Kees Cook
On Fri, Aug 8, 2014 at 2:14 PM, John Stultz john.stu...@linaro.org wrote: On 06/11/2014 10:35 PM, John Stultz wrote: I've been seeing some ext4 corruption with recent kernels under qemu-system-arm. This issue seems to crop up after shutting down uncleanly (terminating qemu), shortly after

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread John Stultz
On 08/08/2014 05:15 PM, Kees Cook wrote: On Fri, Aug 8, 2014 at 2:14 PM, John Stultz john.stu...@linaro.org wrote: I sunk a couple of weeks bisecting to try to narrow down the more sporadic issue, but was unsuccessful past the initial commit above. Since then I've been far too swamped to spend

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread Theodore Ts'o
On Fri, Aug 08, 2014 at 05:17:54PM -0700, John Stultz wrote: On 08/08/2014 05:15 PM, Kees Cook wrote: On Fri, Aug 8, 2014 at 2:14 PM, John Stultz john.stu...@linaro.org wrote: I sunk a couple of weeks bisecting to try to narrow down the more sporadic issue, but was unsuccessful past the

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-08-08 Thread John Stultz
On Fri, Aug 8, 2014 at 5:32 PM, Theodore Ts'o ty...@mit.edu wrote: On Fri, Aug 08, 2014 at 05:17:54PM -0700, John Stultz wrote: On 08/08/2014 05:15 PM, Kees Cook wrote: On Fri, Aug 8, 2014 at 2:14 PM, John Stultz john.stu...@linaro.org wrote: I sunk a couple of weeks bisecting to try to

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-16 Thread Ulf Hansson
On 16 June 2014 09:22, Jeff Chua wrote: > On Fri, Jun 13, 2014 at 8:28 PM, Ulf Hansson wrote: >> On 13 June 2014 01:51, John Stultz wrote: >>> On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org> wrote: > >> I have quickly implemented my proposal 1). I am testing them on real

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-16 Thread Jeff Chua
On Fri, Jun 13, 2014 at 8:28 PM, Ulf Hansson wrote: > On 13 June 2014 01:51, John Stultz wrote: >> On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org> wrote: > I have quickly implemented my proposal 1). I am testing them on real > HW now, will post the patches as soon as I can

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-16 Thread Jeff Chua
On Fri, Jun 13, 2014 at 8:28 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 13 June 2014 01:51, John Stultz john.stu...@linaro.org wrote: On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org wrote: I have quickly implemented my proposal 1). I am testing them on real HW now,

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-16 Thread Ulf Hansson
On 16 June 2014 09:22, Jeff Chua jeff.chua.li...@gmail.com wrote: On Fri, Jun 13, 2014 at 8:28 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 13 June 2014 01:51, John Stultz john.stu...@linaro.org wrote: On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org wrote: I have

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-13 Thread Ulf Hansson
On 13 June 2014 01:51, John Stultz wrote: > On Wed, Jun 11, 2014 at 10:35 PM, John Stultz wrote: >> Bisecting this points to: e7f3d22289e4307b3071cc18b1d8ecc6598c0be4 >> (mmc: mmci: Handle CMD irq before DATA irq). Which I guess shouldn't >> be surprising, as I saw problems with that patch

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-13 Thread Ulf Hansson
On 12 June 2014 14:15, Peter Maydell wrote: > On 12 June 2014 13:09, Ulf Hansson wrote: >> A simple fix; for the arm_variant, go back to use the old behaviour. >> >> A quite simple fix; Invent a new primecell-periphid and a new >> corresponding variant and use the old behaviour for this variant.

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-13 Thread Ulf Hansson
On 12 June 2014 14:15, Peter Maydell peter.mayd...@linaro.org wrote: On 12 June 2014 13:09, Ulf Hansson ulf.hans...@linaro.org wrote: A simple fix; for the arm_variant, go back to use the old behaviour. A quite simple fix; Invent a new primecell-periphid and a new corresponding variant and

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-13 Thread Ulf Hansson
On 13 June 2014 01:51, John Stultz john.stu...@linaro.org wrote: On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org wrote: Bisecting this points to: e7f3d22289e4307b3071cc18b1d8ecc6598c0be4 (mmc: mmci: Handle CMD irq before DATA irq). Which I guess shouldn't be surprising, as

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-12 Thread John Stultz
On Wed, Jun 11, 2014 at 10:35 PM, John Stultz wrote: > Bisecting this points to: e7f3d22289e4307b3071cc18b1d8ecc6598c0be4 > (mmc: mmci: Handle CMD irq before DATA irq). Which I guess shouldn't > be surprising, as I saw problems with that patch earlier in the > 3.15-rc cycle: >

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-12 Thread Peter Maydell
On 12 June 2014 13:09, Ulf Hansson wrote: > A simple fix; for the arm_variant, go back to use the old behaviour. > > A quite simple fix; Invent a new primecell-periphid and a new > corresponding variant and use the old behaviour for this variant. The > new primecell-periphid then needs to be

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-12 Thread Ulf Hansson
On 12 June 2014 07:35, John Stultz wrote: > I've been seeing some ext4 corruption with recent kernels under > qemu-system-arm. > > This issue seems to crop up after shutting down uncleanly (terminating > qemu), shortly after booting about 50% of the time. > > ext4/mmc related dmesg details are:

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-12 Thread Ulf Hansson
On 12 June 2014 07:35, John Stultz john.stu...@linaro.org wrote: I've been seeing some ext4 corruption with recent kernels under qemu-system-arm. This issue seems to crop up after shutting down uncleanly (terminating qemu), shortly after booting about 50% of the time. ext4/mmc related

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-12 Thread Peter Maydell
On 12 June 2014 13:09, Ulf Hansson ulf.hans...@linaro.org wrote: A simple fix; for the arm_variant, go back to use the old behaviour. A quite simple fix; Invent a new primecell-periphid and a new corresponding variant and use the old behaviour for this variant. The new primecell-periphid then

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-12 Thread John Stultz
On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org wrote: Bisecting this points to: e7f3d22289e4307b3071cc18b1d8ecc6598c0be4 (mmc: mmci: Handle CMD irq before DATA irq). Which I guess shouldn't be surprising, as I saw problems with that patch earlier in the 3.15-rc cycle:

[Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-11 Thread John Stultz
I've been seeing some ext4 corruption with recent kernels under qemu-system-arm. This issue seems to crop up after shutting down uncleanly (terminating qemu), shortly after booting about 50% of the time. ext4/mmc related dmesg details are: [3.206809] mmci-pl18x mb:mmci: mmc0: PL181 manf 41

[Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-11 Thread John Stultz
I've been seeing some ext4 corruption with recent kernels under qemu-system-arm. This issue seems to crop up after shutting down uncleanly (terminating qemu), shortly after booting about 50% of the time. ext4/mmc related dmesg details are: [3.206809] mmci-pl18x mb:mmci: mmc0: PL181 manf 41