From mboxrd@z Thu Jan 1 00:00:00 1970 From: hzpeterchen@gmail.com (Peter Chen) Date: Mon, 19 Oct 2009 16:29:03 +0800 Subject: Ext3 is supported not well at 2.6.28 for external SD card removal In-Reply-To: <20091019080128.GC11449@pengutronix.de> References: <4ADBFB5B.9030200@gmail.com> <200910190759.11591.marek.vasut@gmail.com> <4ADC1943.1090306@gmail.com> <20091019080128.GC11449@pengutronix.de> Message-ID: <4ADC234F.8070505@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Uwe Kleine-K?nig wrote: > Hello, > > On Mon, Oct 19, 2009 at 03:46:11PM +0800, Peter Chen wrote: >> Marek Vasut wrote: >>> Dne Po 19. ??jna 2009 07:38:35 Peter Chen napsal(a): >>> You popped the card out without unmounting the filesystem I guess ? >> We don't execute umount at 2.6.27/23 either, and it has little error: >> [ 32.541208] Buffer I/O error on device mmcblk1p1, logical block 0 >> [ 32.544784] lost page write due to I/O error on mmcblk1p1 >> >> Besides, the remove card is ok after suspend at 2.6.27 and 2.6.23. >> >> Usually, the remove card(ext3) without umount is forbiddon or not? > You shouldn't remove the card without unmounting first. And you should > unmount with .23 and .27, too. Just because these kernels don't wail it > doesn't mean you cannot loose data. > > Best regards > Uwe > I find the system still will be deadlock if i use sync before go to suspend. I wonder why system will go to deadlock even there is not card at slot. -- Best regards, Peter Chen