[maemo-users] [maemo-users] MMC partitions w/ ITOS2006

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Mon Jun 12 18:18:16 EEST 2006
On Mon, 2006-06-12 at 17:47, ext Frantisek Dufka wrote:
> Kimmo Hämäläinen wrote:
> > The same problem happens with multiple partitions as well, when the user
> > tries to remove the card. It has been solved by first checking whether
> > disabling swap is safe or not: if it's safe, it's disabled; if it's not
> > safe, a warning dialog pops up. (Same kind of mechanism is used to
> > handle the case when there is an open file on the MMC.)
> > 
> > BR; Kimmo
> True. Except with separate partition you can use usb storage while swap 
> is used. Anyway, just tried to open the door while swap is used and it 
> simply rebooted, no dialog. So this is bug, not feature? In older system

Yes, it definitely sounds like a bug :)

> opening door physically disabled mmc interface and device nodes were not 
> available i.e. you couldn't mount inserted card until door is closed.

That was caused by a kernel patch that disabled polling of the MMC until
the MMC cover is closed. (That makes sense to save power, but prevents
usage of full-size MMC.) I'm not sure if the same patch is coming to the
sales release.

> But just tried on IT2006 and current 2.6.16 kernel seems to allow this. 
> Great, looks like I can use normal sized MMC cards in emergency. Neat 
> for browsing photos from sd/mmc based camera :) And this warning dialog 
> before removing the card is possible too, very good :)

Hmm, I think the warning dialog could be quite annoying when the cover
is open and you use a full-size dialog :) (However, you can always do
'/etc/init.d/ke-recv stop' to disable all automounting logic.)

BR, Kimmo

> Frantisek

More information about the maemo-users mailing list