Reply
Thread Tools
Posts: 45 | Thanked: 36 times | Joined on Feb 2013 @ Krasnodar, Russia
#21
My syslog after reboot, attach USB to a PC, detach it.
Attached Files
File Type: gz syslog.gz (19.1 KB, 176 views)
 
Il_Principe's Avatar
Posts: 34 | Thanked: 26 times | Joined on May 2011
#22
Added a new syslog to previous post: http://talk.maemo.org/showpost.php?p...4&postcount=20
 
Posts: 45 | Thanked: 36 times | Joined on Feb 2013 @ Krasnodar, Russia
#23
As a temporary solution I suggest (under root):

ln -s /media/mmc1 /media/mmc1p1
 

The Following User Says Thank You to dvb For This Useful Post:
Posts: 45 | Thanked: 36 times | Joined on Feb 2013 @ Krasnodar, Russia
#24
Well, is there any bugfix for the bug with mmc1p1 mount location?
 

The Following User Says Thank You to dvb For This Useful Post:
Il_Principe's Avatar
Posts: 34 | Thanked: 26 times | Joined on May 2011
#25
Until this time no bugfix...
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#26
@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
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 45 | Thanked: 36 times | Joined on Feb 2013 @ Krasnodar, Russia
#27
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.
Attached Files
File Type: gz syslog.tar.gz (21.0 KB, 154 views)
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#28
@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.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 45 | Thanked: 36 times | Joined on Feb 2013 @ Krasnodar, Russia
#29
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)
 

The Following 2 Users Say Thank You to dvb For This Useful Post:
Posts: 45 | Thanked: 36 times | Joined on Feb 2013 @ Krasnodar, Russia
#30
2Pali: So, any else info I could tell you to fix the bug?
 
Reply

Tags
ext2/3/4, maemo, mounting, partition, sdcard


 
Forum Jump


All times are GMT. The time now is 12:12.