Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752260Ab2FMF0x (ORCPT ); Wed, 13 Jun 2012 01:26:53 -0400 Received: from na3sys009aog131.obsmtp.com ([74.125.149.247]:40767 "EHLO na3sys009aog131.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751940Ab2FMF0v (ORCPT ); Wed, 13 Jun 2012 01:26:51 -0400 MIME-Version: 1.0 In-Reply-To: References: From: "S, Venkatraman" Date: Wed, 13 Jun 2012 10:56:28 +0530 Message-ID: Subject: Re: MMC: commit dba3c29 ruins mmc card data on beagle-xm revB To: Ming Lei Cc: "T Krishnamoorthy, Balaji" , linux-mmc@vger.kernel.org, linux-arm-kernel , Linux Kernel Mailing List , Chris Ball Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1534 Lines: 42 On Mon, Jun 11, 2012 at 12:50 PM, Ming Lei wrote: > On Mon, Jun 11, 2012 at 2:21 PM, T Krishnamoorthy, Balaji > wrote: >> Hi Ming Lei, >> Can you let me know if you noticed any write/timeout errors ? > > Nothing error logs found during writing. > > Below is one of my test case. > > root@beagleboard:~# upk > updateing kernel... > flush storage... > root@beagleboard:~# cat bin/upk > #!/bin/sh > > echo "updateing kernel..." > cp -f /mnt/nfs/t/uImage /media/mmcblk0p1/ > > echo "flush storage..." > sync > root@beagleboard:~# diff /mnt/nfs/t/uImage /media/mmcblk0p1/uImage > Binary files /mnt/nfs/t/uImage and /media/mmcblk0p1/uImage differ > root@beagleboard:~# umount /media/mmcblk0p1 > root@beagleboard:~# mount -t vfat /dev/mmcblk0p1 /media/mmcblk0p1 > root@beagleboard:~# > root@beagleboard:~# > root@beagleboard:~# diff /mnt/nfs/t/uImage /media/mmcblk0p1/uImage > Binary files /mnt/nfs/t/uImage and /media/mmcblk0p1/uImage differ > Ming, Just to keep you posted, Balaji and myself are trying to reproduce the issue and haven't hit the problem yet. This patch was in use internaly for sometime before we sent it upstream. Meanwhile, is is possible for you to reproduce this problem with MMC_DEBUG enabled ? That would be helpful. ~Venkat. -- 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/