maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   SD card ext2/3/4 multiple partitions mount problem (https://talk.maemo.org/showthread.php?t=89619)

dvb 2013-04-08 11:59

Re: SD card ext2/3/4 multiple partitions mount problem
 
1 Attachment(s)
My syslog after reboot, attach USB to a PC, detach it.

Il_Principe 2013-04-08 12:26

Re: SD card ext2/3/4 multiple partitions mount problem
 
Added a new syslog to previous post: http://talk.maemo.org/showpost.php?p...4&postcount=20

dvb 2013-04-10 08:02

Re: SD card ext2/3/4 multiple partitions mount problem
 
As a temporary solution I suggest (under root):

ln -s /media/mmc1 /media/mmc1p1

dvb 2013-08-05 06:13

Re: SD card ext2/3/4 multiple partitions mount problem
 
Well, is there any bugfix for the bug with mmc1p1 mount location?

Il_Principe 2013-08-08 11:16

Re: SD card ext2/3/4 multiple partitions mount problem
 
Until this time no bugfix...:(

pali 2013-08-08 12:36

Re: SD card ext2/3/4 multiple partitions mount problem
 
@Il_Principe: I still do not know where can be problem. I compiled debug version of ke-recv with more debug messages. Can you try to use it and provide syslog after booting system (where partitions are OK) and after you unplug usb cable (when partitions are not OK)? I think this is only what I can do. Store ke-recv binary to /usr/sbin/ke-recv, make it executable and reboot phone. Link: http://atrey.karlin.mff.cuni.cz/~pali/ke-recv

dvb 2013-08-15 06:57

Re: SD card ext2/3/4 multiple partitions mount problem
 
1 Attachment(s)
Attaching my syslog. I rebooted, then plugged and unplugged the cable. It can be seen, that it uses new mountpoint because it thinks it can't unmount /media/mmc1 location due to missing gnome-mount executable.

pali 2013-08-15 07:40

Re: SD card ext2/3/4 multiple partitions mount problem
 
@dvb: no it is not because of missing gnome-mount executable.

At startup ke-recv detect one partition on your SD card. In this case when only one partition is there, it mount it directly to /media/mmc1.

When you inserted SD card again, it detected two partitions. In this case all partitions are mounted to /media/mmc1p<num> but if there is FAT partition it is mounted to /media/mmc.

So first I'd like to know how many partitions do you have on your SD card? In first or second case it badly detect number of partitions, so it does not work consistant.

And second, maybe ke-recv should mount first partition to /media/mmc1 if there is no FAT partition.

dvb 2013-08-15 12:44

Re: SD card ext2/3/4 multiple partitions mount problem
 
Code:

Nokia-N900:~# parted /dev/mmcblk1 unit b p
Model: SD SD32G (sd/mmc)
Disk /dev/mmcblk1: 32107397120B
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start        End          Size          Type    File system    Flags
 1      1048576B      29959913471B  29958864896B  primary  ext2
 2      29959913472B  32107397119B  2147483648B  primary  linux-swap(v1)


dvb 2013-08-22 10:02

Re: SD card ext2/3/4 multiple partitions mount problem
 
2Pali: So, any else info I could tell you to fix the bug?


All times are GMT. The time now is 08:52.

vBulletin® Version 3.8.8