Ext3 is supported not well at 2.6.28 for external SD card removal

Peter Chen hzpeterchen at gmail.com
Mon Oct 19 04:29:03 EDT 2009


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



More information about the linux-arm-kernel mailing list