maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   solved | no files/folders issue (https://talk.maemo.org/showthread.php?t=85730)

em28 2012-07-27 18:08

solved | no files/folders issue
 
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". :confused:

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. :eek:

when trying:

Code:

sudo gainroot
umount /dev/mmcblk0p1

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

any suggestion ?

sicelo 2012-07-27 18:56

Re: no files/folders issue
 
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


em28 2012-07-27 19:18

Re: no files/folders issue
 
TY. :)

df -h
Quote:

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*
Quote:

/dev/mmcblk0 /dev/mmcblk0p2
/dev/mmcblk0p1 /dev/mmcblk0p3
cat /proc/mounts
Quote:

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

sicelo 2012-07-27 19:30

Re: no files/folders issue
 
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.

em28 2012-07-27 20:08

Re: no files/folders issue
 
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 2012-07-27 20:14

Re: no files/folders issue
 
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

sicelo 2012-07-27 20:16

Re: no files/folders issue
 
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

em28 2012-07-27 20:26

Re: no files/folders issue
 
Quote:

Originally Posted by Zas (Post 1243907)
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 ?

michaaa62 2012-07-27 20:33

Re: no files/folders issue
 
Looks good, give it try!

em28 2012-07-27 20:55

Re: no files/folders issue
 
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. :p

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.


All times are GMT. The time now is 13:19.

vBulletin® Version 3.8.8