![]() |
[HELP] Application data - Not available in mass storage mode
1 Attachment(s)
I have a stange problem with my N9.
I can't install any apps, it says that there is no space left. (The device somehow thinks that it's in mass storage mode :confused: ) Even after flashing, after some time, I always get this error, even if it's not within mass storage mode!? Does anybody know what the problem might be? |
Re: [HELP] Application data - Not available in mass storage mode
did u flash the emmc.bin? flashed today got same error...reflashing with emmc.bin also now...will give u feed bCk once im done
|
Re: [HELP] Application data - Not available in mass storage mode
flasher -f -F main.bin --erase-user-data=secure
flasher -f -F main.bin -F emmc.bin --flash-only=mmc |
Re: [HELP] Application data - Not available in mass storage mode
When this happens, have you tried connecting it to a computer in mass storage mode, and then disconnecting and checking if it can get out of export mode?
What does it say about mmcblk0p1 when you check the mountpointts or fo a "df -h" ? |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
$ df -h Filesystem Size Used Available Use% Mounted on /dev/root 3.9G 1.9G 1.9G 50% / devtmpfs 10.0M 248.0K 9.8M 2% /dev tmpfs 4.0M 64.0K 3.9M 2% /tmp tmpfs 512.0K 148.0K 364.0K 29% /var/run none 10.0M 248.0K 9.8M 2% /dev tmpfs 64.0M 380.0K 63.6M 1% /dev/shm /dev/mmcblk0p1 8.8G 7.2G 1.6G 82% /home/user/MyDocs aegisfs 3.9G 1.9G 1.9G 50% /var/run/applauncherd aegisfs 3.9G 1.9G 1.9G 50% /home/user/.facebook/private aegisfs 3.9G 1.9G 1.9G 50% /home/user/.odnp-fpcd/private aegisfs 3.9G 1.9G 1.9G 50% /home/user/.mms/private aegisfs 3.9G 1.9G 1.9G 50% /home/user/.odnp/private aegisfs 3.9G 1.9G 1.9G 50% /home/user/.positioningd/private aegisfs 3.9G 1.9G 1.9G 50% /home/user/.signon/private aegisfs 3.9G 1.9G 1.9G 50% /home/user/.slpgwd/layer aegisfs 3.9G 1.9G 1.9G 50% /home/user/private aegisfs 3.9G 1.9G 1.9G 50% /var/cache/timed/aegis aegisfs 3.9G 1.9G 1.9G 50% /etc/ssl/certs /dev/mapper/signonfs 6.8M 41.0K 6.4M 1% /home/user/.signon/signonfs-mnt |
Quote:
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
Its /home/user/MyDocs the mount-point for /dev/mmcblk0p1 then the next line is aegifs mounts... |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
First I thought it's MyDocs (mmcblk0p1) but it is in fact your /home (mmcblk0p3) If you look at the "df -h" of your device, you see that you only have /root and /Mydocs mounted, but your /home is on your rootfs :) |
Re: [HELP] Application data - Not available in mass storage mode
juiceme,
How do you know his /home is mounted on rootfs? Due to the aegisfs mounts being on /home/user/? Aegisfs even with mount points on /home/user/ always are on rootfs so that's perfectly normal... Here is a regular user's aegisfs mounts with everything else mounted correctly too... |
Re: [HELP] Application data - Not available in mass storage mode
So, what should I do? I'm still clueless where the problem might be
|
Re: [HELP] Application data - Not available in mass storage mode
Check do you have a /dev/mmcbl0p3 then maybe do a manual mount to /home?
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
tried it with opensh, gives an error aswell: Code:
~ # mount /dev/mmcblk0p3 /home |
Re: [HELP] Application data - Not available in mass storage mode
Code:
mount -t ext4 /dev/mmcblk0p3 /home/ |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
|
Re: [HELP] Application data - Not available in mass storage mode
Can you try to umount /home first and see what it gives you?
|
Re: [HELP] Application data - Not available in mass storage mode
Guess what.....
yeah... umount: can't umount /home: Invalid argument |
Re: [HELP] Application data - Not available in mass storage mode
Whats the output of "cat /etc/fstab"
|
Re: [HELP] Application data - Not available in mass storage mode
Code:
rootfs / rootfs defaults,errors=remount-ro,noatime 0 0 |
Re: [HELP] Application data - Not available in mass storage mode
Hmm its fine; rebooting doesn't help also?
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
Instead, the stuff in /home/ is just under the home folder on rootfs. |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
How to check i now; Create another directory where you can do the mount, or if for example your /mnt/ is unmounted, do: Code:
mount -t ext4 /dev/mmcblk0p3 /mnt/ When you can check that you actually HAVE the stuff that's supposed to be there, you can boot your device in maintanance mode, copy the recent stuff that you have in your rootFS /home/ to mmcblk0p3, delete all stuff under your rootFS /home/ to save rootfs space, and finally correct the thing why it does not mount it in boot phase. I suspect you have played with your /sbin/preinit and changed the mount order... :D |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
I can't even mount it anywhere else either... Yes, not even on /mnt It gives the same error as before: / # mount -t ext4 /dev/mmcblk0p3 /mnt mount: mounting /dev/mmcblk0p3 on /mnt failed: Invalid argument |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
Code:
~ # mount | grep /mnt Is it possible that you need to try mounting under opensh (or adrianesh, or whatever it's called...?) Also it's possible that your partition table is corrupted or your mmcblk0p3 is shomehow corrupted as being unmountable. What does it say when you use fdisk to look at the partition table? Mine looks like this; Code:
~ # |
Re: [HELP] Application data - Not available in mass storage mode
I can't mount it as root, it tells me that I'm not root. So I try to mount it using opensh...
output of fdisk: # /sbin/sfdisk -l Disk /dev/mmcblk0: 485120 cylinders, 4 heads, 16 sectors/track Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/mmcblk0p1 16 288511 288496 9231872 c W95 FAT32 (LBA) /dev/mmcblk0p2 288512 419583 131072 4194304 83 Linux /dev/mmcblk0p3 419584 485119 65536 2097152 83 Linux /dev/mmcblk0p4 0 - 0 0 0 Empty Disk /dev/dm-0: 0 cylinders, 0 heads, 0 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/dm-0: unrecognized partition table type No partitions found |
Re: [HELP] Application data - Not available in mass storage mode
You were playing around with Nemo?
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
Now I think you can just use telnet and export your partitions and re-create everything properly and try instead of doing a reflash... |
Re: [HELP] Application data - Not available in mass storage mode
Your partition setup at least looks normal at the first glance.
Propably wisest is to do as thedead1440 suggested; boot in maintanance mode, and check if you can export and/or mount the partition. If not, then there is definitely something wrong there so reformat the partition and cpy the stuff from your rootFS /home there. BTW, let me guess a thing :D You might not have realised at the time this went wrong the first time, but I will tell you the symptoms you had at that time:
The cause of this was, obviously the fact that when the device cannot mount your mmcblk0p3 as /home/, it will do a fallback procedure where it sets up your home directory from /etc/skel and the new /home/hierarchy lives now on your mmcblk02p :D ----- edit ----- What I meant to add, the script responsible for the above stuff is "/etc/init/mount-home.conf" And you could try to run /sbin/fsck.ext4 for your mmcblk0p3, just in case ith hepls :) |
Re: [HELP] Application data - Not available in mass storage mode
Everything said already ;)
I had similar experiences during my ubiboot preparation. Repartitioned and everything looked good, but forgot to mkfs anew. Then had wrong size of p1 partition. After zeroing the first 512 bytes of p1 I had totally starnge mounts! After mkfs everything was okay. So if you repartitioned manually and flashed without --no-preserve then you should really follow thedead/juiceme's advice. |
Re: [HELP] Application data - Not available in mass storage mode
Well... Actually,
What I did is: flasher -f -F main.bin --erase-user-data=secure -R Isn't that enough to also repair the partitions? |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
Code:
flasher -f -F main.bin -F emmc.bin --no-preserve --erase-user-data=secure -R |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
Although, there is no emmc for N950 available :p does that really matter? |
Re: [HELP] Application data - Not available in mass storage mode
Quote:
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
|
Re: [HELP] Application data - Not available in mass storage mode
Quote:
|
Re: [HELP] Application data - Not available in mass storage mode
I also encountered a device with exactly the same symptoms.
I did the following: 1. dump the partition to a file: Code:
dd if=/dev/mmcblk0p3 of=/home/user/MyDocs/home.img 3. run fsck.ext4 on the partition dump Code:
fsck.ext4 -y home.img 5. write the partition dump back to the mmc Code:
dd of=/dev/mmcblk0p3 if=/home/user/MyDocs/home.img 7. keep fingers crossed that this doesn't happen again :( I first tried running fsck.ext4 on the device itself but it kept segfaulting. There could be something wrong with the memory chips on the device. Unfortunately it seems that even though the partition now works again, too many files were corrupted on the partition. Most likely the tracker database was lost since all contacts, messages etc. were lost. However, at least after this /home is on its own partition as expected. Of course that would also be achievable by just making a new ext4 filesystem on the partition and copying the relevant files over from /home/user. |
All times are GMT. The time now is 01:17. |
vBulletin® Version 3.8.8