Reply
Thread Tools
Posts: 131 | Thanked: 68 times | Joined on Oct 2010 @ Indonesia
#61
OMG!!! I had the same problem today, but i followed and red the entire thread. and it now works as well, THANKS ALOT MAEMO EXPERTSS!
 
stryker9's Avatar
Posts: 63 | Thanked: 8 times | Joined on Nov 2011 @ Stockholm, SW
#62
Hey!

Lucky for you, Dhicky..! This piece is primarily to michaaa62.

I've followed every thread there is, on talk.maemo to solve a similar problem. It started out with my app icons turning pink and stuff, but then it constantly kept telling me "Internal error. Application 'E-mail' closed.". I thought i'll go thru' another boring session of the Maemo Flasher setting stuff straight on the phone again. I got the basic file (the smaller one) up and it worked perfect - after that, i kept getting the usual problem msg when trying Vanilla on.. the one that says "No device found on USB.. etc."

So in the text attached is shown the work i put into the device in a short while; please take a look and assist if you can.

Presently, i've done the last bit and am formatting the 'MyDocs' drive thru' windows (FAT32, 32kb units). Waiting for it to conclude..

>
to michaaa62.txt
<
 
stryker9's Avatar
Posts: 63 | Thanked: 8 times | Joined on Nov 2011 @ Stockholm, SW
#63
..naah!

Nothing worked.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#64
Sorry for being late to the show

First:
Still there is a severe error on your device in /home! Because of the missing partition /dev/mmcblk0p1 the folder MyDocs may got used (and filled) directly. Please look into that folder for stuff
Code:
ls -al /home/user/MyDocs
Only when you emptied that folder or it is empty proceed to ...


Second:
Please try to get rid of the stale file handle
Code:
sudo gainroot
umount -f /home/user/MyDocs
umount -f /dev/mmcblk0p1
Try both of the umount command to get rid of both possible stale file handles
Then try to mount the device, ideally that is it, we'll see
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs
Hope it helps.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
stryker9's Avatar
Posts: 63 | Thanked: 8 times | Joined on Nov 2011 @ Stockholm, SW
#65
..well, i have a backup of everything i need from MyDocs. And as of now- it is empty (having been reformatted by gParted).
The commands here, i've tried them before, but just to be sure - i wanted to try'em again. Sad part is: i'm still stuck with the stale NFS file handle.

Here's the short log of what happened:

>
to michaaa62 (2).txt
<
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#66
Two things to worry about:
From your first message:
/dev/mmcblk0p2 2.0G 16777216.0T 2.5G 100% /home
/home/opt 2.0G 16777216.0T 2.5G 100% /opt
and from the second message
/home/user # ls -al /home/user/MyDocs
ls: /home/user/MyDocs: Stale NFS file handle
/home/user # umount -f /home/user/MyDocs
umount: cannot forcibly umount /home/user/MyDocs: Stale NFS file handle
indicate that the actual problem is the optfs partition /dev/mmcblk0p2. There is no way to fsck this partition from inside the running maemo system.

There are couple of external (not maemo) solutions possible:

First: It might be the quickest method to fsck the partition from nitdroid, if you already have it installed on external memory card. Nitdroid does have terminal apps and root enabling apps as well. I am not that familiar with nitdroid , you may have to ask about that in a fresh new thread!

Second: You may install BackupMenu application to fsck from BackupMenu, but the capabilities of that file system check are limited, it might be necessary to connect the N900 from BackupMenu to a running linux system, may that be a virtual machine, a Live-CD or an installed linux.

Third: There is also R&D- mode for kernel-power with some shell capabilities, but again i never played with that

Here is a walkthrough for those steps for method #2:
Download Gparted-Live-CD.iso file or any Linux-Live-CD image containing gparted application
Burn Gparted-Live-CD to CD or DVD
Install Backupmenu to your N900
Reboot the N900 with keyboard ejected
In Bootmenu type 'w' to export the partitions in read/write-mode
Boot your PC from the Live-CD
If necessary start gparted
Choose the device (hard disk) in the upper right drop down menu should be some 30GB size.
Right click the first partition (approx27GB) and choose 'Resize or Move', use the right handle to shrink the partition.
Click 'Resize'-button (Dont worry you will be asked to apply actions later)
Right click on the second partition (approx.2GB) and choose 'Resize or Move', use the left handle to fill the free space created by the first resizing.
Do not touch the third, aka swap-partition.
Now click apply in the upper toolbar and accept the changes to be applied.
If everything is resized successfully, shut down the PC
On the N900 press 'q' to quit backupmenu and restart Maemo.
And some additional steps to get the same method working in a virtual maschine:
Start VBox, setup the virtual machine, but wait before launching it for the N900.
Shutdown your N900, restart it with keyboard out to have the menu to start BackupMenu.
In BackupMenu hit the 'w' to export the partitions 'read/write'.
In Windows close all the Explorer pop-ups, then configure the USB-rules in VBox. Add the NokiaN900 and every UnknownDevice, if any to your virtual Debian. Start the virtual machine to the desktop.
Now in Windows 'Remove safely' the N900 device through the status bar icon, but do not pull the cable! On your N900 press again 'w' to stop 'read/write'-mode, wait a couple of seconds to again enable 'read/write' with 'w'. Now the virtual machine picks up the USB-devices correctly. Start Gparted on the virtual machine and do what have to be done.
Though it might sound really complex, it may be done in 30 to 40 minutes.

Last edited by michaaa62; 2011-12-12 at 21:51.
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post:
stryker9's Avatar
Posts: 63 | Thanked: 8 times | Joined on Nov 2011 @ Stockholm, SW
#67
Just gimme a bit - and come back here with the results asap.
And thank you so much for such a quick response.
..can't put to words how frustrating this issue has become over the past few days.
 
stryker9's Avatar
Posts: 63 | Thanked: 8 times | Joined on Nov 2011 @ Stockholm, SW
#68
..aight!
I am typing this from my pendrive Ubuntu. Let the rescue-attempts begin.
 
stryker9's Avatar
Posts: 63 | Thanked: 8 times | Joined on Nov 2011 @ Stockholm, SW
#69
Originally Posted by michaaa62 View Post
Choose the device (hard disk) in the upper right drop down menu should be some 30GB size.
Right click the first partition (approx27GB) and choose 'Resize or Move', use the right handle to shrink the partition.
Click 'Resize'-button (Dont worry you will be asked to apply actions later)
Right click on the second partition (approx.2GB) and choose 'Resize or Move', use the left handle to fill the free space created by the first resizing.
Do not touch the third, aka swap-partition.
Now click apply in the upper toolbar and accept the changes to be applied.
..scary!
Especially because up there, you say "Click 'Resize'-button" an extra time.. and i spent a paranoid minute trying to figure out where i am supposed to find this resize button..! Well, as i type this, 1.76GB of 1.92GB has been moved within the new 4GB [/opt] partition. I hope you'll guide me further..
 
stryker9's Avatar
Posts: 63 | Thanked: 8 times | Joined on Nov 2011 @ Stockholm, SW
#70
..aack!

I think i messed it up by over-doing.. what i was not even supposed to do.

How do i get rid of all this silly empty space in front of and at the end of the 24GB partition..?? Please help..
Attached Images
 
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:35.