Reply
Thread Tools
Posts: 54 | Thanked: 21 times | Joined on Jun 2012
#1
After installing KP51 and USB mode I cant get access to Internal memory as well to SDCard.

The file manager get a msg: " no files/folders".

Even as i removed USB mode it seems like there is no memory nor SD.

When I connect the device to a PC as mass storage, it recognize the device and the SD but ask to enter disc to it.

Removing the SD to another device let me get access to to file stored.

Setting--> Memory --> details: only 2.2 GB seems to be there.

when trying:

Code:
sudo gainroot
umount /dev/mmcblk0p1
I get an error: cannot umount /dev/mmcblk0p1: invalid argument.

any suggestion ?

Last edited by em28; 2012-08-18 at 09:36.
 
Community Council | Posts: 680 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#2
USB Mode/KP51 shouldn't do that. You likely have other problems. For now, how about showing us the output of
Code:
df -h

ls /dev/mmcblk*

cat /proc/mounts
 
Posts: 54 | Thanked: 21 times | Joined on Jun 2012
#3
TY.

df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.9M 166.8M 56.9M 75% /
ubi0:rootfs 227.9M 166.8M 56.9M 75% /
tmpfs 1.0M 68.0k 956.0k 7% /tmp
tmpfs 256.0k 92.0k 164.0k 36% /var/run
none 10.0M 72.0k 9.9M 1% /dev
tmpfs 64.0M 4.0k 64.0M 0% /dev/shm
/dev/mmcblk0p2 2.0G 1.1G 819.1M 57% /home
/home/opt 2.0G 1.1G 819.1M 57% /opt
/opt/pymaemo/usr/lib/python2.5
2.0G 1.1G 819.1M 57% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
2.0G 1.1G 819.1M 57% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
2.0G 1.1G 819.1M 57% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
2.0G 1.1G 819.1M 57% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
2.0G 1.1G 819.1M 57% /usr/lib/python-support
ls /dev/mmcblk*
/dev/mmcblk0 /dev/mmcblk0p2
/dev/mmcblk0p1 /dev/mmcblk0p3
cat /proc/mounts
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,bulk_read,no_chk_data_crc 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /tmp tmpfs rw,noatime,size=1024k 0 0
tmpfs /var/run tmpfs rw,nosuid,noatime,size=256k,mode=755 0 0
none /dev tmpfs rw,noatime,size=10240k,mode=755 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,noatime,size=65536k 0 0
/dev/mmcblk0p2 /home ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
/dev/mmcblk0p2 /opt ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
cgroup /dev/cgroup/cpu cgroup rw,memory,cpu,release_agent=/usr/sbin/cgroup_clean 0 0
nodev /sys/kernel/debug debugfs rw 0 0
/dev/mmcblk0p2 /usr/lib/python2.5 ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
/dev/mmcblk0p2 /usr/share/pyshared ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
/dev/mmcblk0p2 /usr/lib/pyshared ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
/dev/mmcblk0p2 /usr/share/python-support ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
/dev/mmcblk0p2 /usr/lib/python-support ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
 
Community Council | Posts: 680 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#4
all eMMC /dev nodes seem to be there. which is good.
/dev/mmcblk0p1 is your MyDocs, and /dev/mmcblk0p3 is swap

My advice would be to:
1) install BackupMenu from the repositories.
2) use it to backup rootfs and optfs to emmc or uSD (if it will succeed mounting them) OR
-- try to use Raw USB feature of BackupMenu, which will mount all the partitions onto your pc
3) After you've backed up your stuff (maybe more than once to different places), use BackupMenu (or PC) to run 'fsck' on the partitions.

If you're lucky, errors will be fixed and they should mount.

Obviously, the fastest way (but least desirable) is to reflash your device.
 
Posts: 54 | Thanked: 21 times | Joined on Jun 2012
#5
Oops, can not install BackupMenu.

There seem to be a recursive conflict with NITDroid instaler (which I never used)
and with Enhanced Boot Loader for maemo (which need by NITDroid instaler & kernel-power config for multiboot).

is there a way to do it from X-term ?

can I
 
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#6
Try checking the eMMC:
Code:
sudo gainroot
fsck /dev/mmcblk0p1
And then try mounting:
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs -t vfat -o noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir
 
Community Council | Posts: 680 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#7
Hah .. multiboot is another tough cookie, as far as i can gather. It is quite possible that you will never get a sane system until a reflash
 
Posts: 54 | Thanked: 21 times | Joined on Jun 2012
#8
Originally Posted by Zas View Post
Try checking the eMMC:
Code:
sudo gainroot
fsck /dev/mmcblk0p1
And then try mounting:
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs -t vfat -o noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir

fsck /dev/mmcblk0p1 output:
Code:
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
/dev/mmcblk0p1: 4319 files, 15369/442377 clusters
can i continue to the mount ?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#9
Looks good, give it try!
 
Posts: 54 | Thanked: 21 times | Joined on Jun 2012
#10
OK, there's a big progress.

File manager can see the device, but there seems to be something missing.
There are 27 GB on device memory, not 32G - but I can live with it.

File Manger still can not see the SD card, and PC cant see them both the internal & the external memory.

what shell i do next ?

Many thanks to all.
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:57.