On Fri, Jun 10, 2011 at 8:51 PM, Klaus Brinkmann bbrink@uni-koblenz.de wrote:
For a long time i had sdcard--filesystem issues with my card in the seconds slot. After some research i found out the filesystem got inconsistend because the device was not correctly unmounted when rebooting the pandora. This again was caused by some bad scripting in /usr/pandora/scripts/pnd_run.sh as sometimes the command "losetup" is called where it would be cleaner to write "/sbin/losetup" (I think there are two places where /sbin/ is missing). So every time i ran a pnd, the loop-devices where not cleanly unmounted and still pointed at /dev/mmcblk1p1. And because of this umounting card2 failed. I'm not sure if this issue is one on an unmodified rootfs (booting from nand), but since it can be fixed quite easily, i probably should be changed with the next hotfix.
So just adding /sbin/ solved your problems? sebt3 is maintaining this script (or at least was), CCing him just in case.
While booting i had annoying messages about something like my sdcard-partitions not having correct fat32-format (i do not recall the exact phrase). Even e.g. /dev/mmcblk0 (without "p1" at the end) was mentioned. After some research i solved this by adding /dev/mmcblk0 and /dev/mmcblk1 to /etc/udev/mount.blacklist. So udev didn't automatically mount both cards on boot.
I'm not sure how this would affect partition-less cards, I think fake partition is created but maybe not always? If so some cards will no longer mount for some users..