maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How can I fix my N900 without reflashing it? (https://talk.maemo.org/showthread.php?t=67712)

Jack6428 2010-12-31 20:12

How can I fix my N900 without reflashing it?
 
Ok, so I have a weird problem with my N900 and I am not really sure how to fix it. Here's the story:

My firmware version is PR1.3 (latest). I've had about 1.8 GB of disc space left out of the total 32 GB. I've decided to try out and install OpenArena from extras-devel. I downloaded the package through the app manager, used Wifi, it installed. I tried to run it from the menu, but it crashed. I tried two more times, but it didn't work. I checked the thread here and read people have problems running it as well, no proper reason and solution found out yet.

I also had around 5 browser windows open and the battery ran out and the phone shut down.

Here it gets bizzare... I hooked up the charger, the battery charged fully and then I turned on the phone. I wanted to add a new contact/number to My Contacts, but I got a message saying "Not enough memory" or something like that. I thought that was weird. I checked the media player and there wasn't any content showing up, eventhough I have over 200 songs and 200 videos stored on the device. I checked the browser and no saved pages were showing up, not even any bookmarks. I always got a message "not enough memory".

I shut the phone off, turned it on. I went to X-Terminal, checked the memory (df -h) and it was around 86%, not entirely full. I went to the app manager and unistalled OpenArena and two other applications. I then used manual restart via X-Terminal sudo reboot.

That didn't help much. I can now see the content in the media player, but nothing else works. No saved pages, no bookmarks, can't add new contacts. I can't even add bookmarks to the desktop.

What puzzles me is that they all ARE STILL STORED ON THE DEVICE, BUT THE OS CAN'T SEE THEM for some reason.

Is there a way how to fix this problem without reflashing? I have over 20 GB of content which I don't want to lose...

THANKS and HAPPY NEW YEAR!

afaq 2010-12-31 20:31

Re: How can I fix my N900 without reflashing it?
 
Reflashing wont remove any of your music, photos videos etc. it just reinstalls the OS. do a backup of your contacts (export from address book) and backup app to backup everything else (calendar etc). reflashing is dead easy and safe and solved almost all problems.

hope that helps.

bigears5000 2010-12-31 20:49

Re: How can I fix my N900 without reflashing it?
 
Try to clear some space from rootfs. It might help, but then again it might not but it's worth a try first.

ymartin59 2010-12-31 21:35

Re: How can I fix my N900 without reflashing it?
 
Please provide the output of df -h
You should uninstall openarena.
devel applications may not be stable / optimized enough for regular use.

For instance, I have just tested cutetube from devel but at first video playing the device almost crashed with 100% CPU and swapping a lot.

Jack6428 2011-01-01 00:47

Re: How can I fix my N900 without reflashing it?
 
Quote:

Originally Posted by ymartin59 (Post 908627)
Please provide the output of df -h
You should uninstall openarena.
devel applications may not be stable / optimized enough for regular use.

For instance, I have just tested cutetube from devel but at first video playing the device almost crashed with 100% CPU and swapping a lot.

Right now in X-Terminal I get this:

Code:

~ $ df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.9M 152.4M 71.3M 68% /
ubi0:rootfs 227.9M 152.4M 71.3M 68% /
tmpfs 1.0M 76.0k 948.0k 7% /tmp
tmpfs 256.0k 76.0k 180.0k 30% /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.6G 297.7M 84% /home
/home/opt 2.0G 1.6G 297.7M 84% /opt
/opt/pymaemo/usr/lib/python2.5
2.0G 1.6G 297.7M 84% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
2.0G 1.6G 297.7M 84% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
2.0G 1.6G 297.7M 84% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
2.0G 1.6G 297.7M 84% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
2.0G 1.6G 297.7M 84% /usr/lib/python-support
/dev/mmcblk0p1 27.0G 25.4G 1.6G 94% /home/user/MyDocs
~ $

OpenArena is uninstalled and extras-devel is disabled.

Duy2anh 2011-01-01 01:07

Re: How can I fix my N900 without reflashing it?
 
I think it has something to do with MyDocs partition becoming read-only problems discussed on this thread:

http://talk.maemo.org/showthread.php?t=66004&page=2

This problem seems to occur when the phone freezes or restarts while some apps are accessing your MyDocs partition.

Have you tried this:

Quote:

Originally Posted by michaaa62 (Post 907757)
Check the file system
Code:

fsck -af /dev/mmcblk0p1
Fsck should identify the file system type.
Then, if everything goes well, mount it back to its place
Code:

mount /home/user/MyDocs -o rw

If it mounts alright, check again from your media app, if it says cannot mount or some application is trying to access this folder, reboot the phone and hopefully your problems gone.

Wikiwide 2011-01-01 01:08

Re: How can I fix my N900 without reflashing it?
 
Quick reply...
71MB of free space on rootfs should be quite enough. I have 12 MB free on rootfs and can add bookmark to desktop.

apt-get update
apt-get clean
apt-get autoremove

After apt-get is finished.
Switch off.
Take out the battery and put it back inside.
Switch on.

If it doesn't help, you should probably re-flash. Read instructions carefully.

It's possible to reflash system files (you lose only contacts, tweaks to system files, and installed applications; photos, videos, everything in MyDocs isn't lost),

and it's possible to reflash EMMC or how it is called (everything in MyDocs is erased).

Don't confuse them...

michaaa62 2011-01-01 02:50

Re: How can I fix my N900 without reflashing it?
 
No need to flash now!
Do as Duy2anh in post #6 suggests and to shed more light to your partition setup the infos of
Code:

sfdisk -l
and
Code:

mount
In rare circumstances a simple fsck is not sufficient, but it is a cure for most of these misleading 'empty space' errors.

Jack6428 2011-01-01 22:04

Re: How can I fix my N900 without reflashing it?
 
Quote:

Originally Posted by Wikiwide (Post 908744)
Quick reply...
71MB of free space on rootfs should be quite enough. I have 12 MB free on rootfs and can add bookmark to desktop.

apt-get update
apt-get clean
apt-get autoremove

After apt-get is finished.
Switch off.
Take out the battery and put it back inside.
Switch on.

If it doesn't help, you should probably re-flash. Read instructions carefully.

It's possible to reflash system files (you lose only contacts, tweaks to system files, and installed applications; photos, videos, everything in MyDocs isn't lost),

and it's possible to reflash EMMC or how it is called (everything in MyDocs is erased).

Don't confuse them...

I have tried that, but when I "apt-get update" it writes:

E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory

Jack6428 2011-01-01 22:07

Re: How can I fix my N900 without reflashing it?
 
Quote:

Originally Posted by Duy2anh (Post 908743)
I think it has something to do with MyDocs partition becoming read-only problems discussed on this thread:

http://talk.maemo.org/showthread.php?t=66004&page=2

This problem seems to occur when the phone freezes or restarts while some apps are accessing your MyDocs partition.

Have you tried this:

If it mounts alright, check again from your media app, if it says cannot mount or some application is trying to access this folder, reboot the phone and hopefully your problems gone.

I have tried that, but when I type "fsck -af /dev/mmcblk0p1" it writes:

-sh: fsck: not found


All times are GMT. The time now is 23:00.

vBulletin® Version 3.8.8