PDA

View Full Version : ext2-mmc stops working after usb-connection


schmolch
10-04-2006, 02:21 PM
I load the ext2-module and mount /media/mmc1 via the minircS and everything works fine after a fresh boot, but after using the usb-connection it fails to remount the card and complains about a damaged card/fs.

Jaffa from #maemo told me to "find the scripts which present /media/mmc1 to the USB host when the USB cable's plugged in, and disable them (or twiddle them, at least)", has anybody ever done that?

aflegg
10-04-2006, 02:37 PM
In particular, I meant:


/usr/sbin/osso-mmc-mount.sh
/usr/sbin/osso-mmc-unmount.sh


Sorry I didn't dig them out on IRC.

HTH,

Andrew

BanditRider
10-04-2006, 02:50 PM
What I do is partition my MMC with a 128MB FAT32 that gets mounted at /media/mmc1 and a large ext2 partition that I mount at /media/mmc2.
I have no problems at all.

schmolch
10-04-2006, 03:24 PM
sorry, i dont understand what to do with those scripts.
If i disable (move) them i cannot use the usb-connection anymore.

I also dont want to create a fat partition additionally.

schmolch
10-04-2006, 04:00 PM
I got it, i had to change mount -t vfat to -t auto in /usr/sbin/mmc-mount