maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   virtual memory cannot be uninstalled (https://talk.maemo.org/showthread.php?t=11352)

bunanson 2007-11-05 13:28

virtual memory cannot be uninstalled
 
NOT a good Monday morning. I am running 2007He2007 on a 770 2 G MMC w boot from MMC. Now I cannot add new file to the MMC I think the FAT is corrupted. I would like to reformat it, and start with umount /media/mmc1. It said the system is using it and is busy. I know it is because the virtual memory is on it. I went to control panel and try to uninstall the 64 k virtual memory and it is unsucessful. What to do now? Would it be too dangerous if i delete the swap file on my window box with a USB cabel. I am scare to cook the MMC card, that is the only one I have. I have tons of SD cards though, ****** MMC-RS!

bun

bunanson 2007-11-05 13:31

Re: virtual memory cannot be uninstalled
 
Now, I have no choice, got to go to work with my tablet. I will have to take my N800 to go to work in the "sock" protection.......like having sex with a homemade condom, hope it works.


bun

bunanson 2007-11-05 16:11

Re: virtual memory cannot be uninstalled
 
When I got to the office, I safely put my N800 into a drawer, and take it out only when needed, not a perfect situation, but hey, better than go one day without my tablet.

One question, and I know it is NOT a fair question, why the MMC on 770/N800 is so easy to get corrupted but my SD worked so 'simple' in a camera that fell from belt height, and my Treo too. and the SD continue to work without problem. And in the Treo case, the SD 'jumped' out of the slot, thank god, it continues to work. And quite some times, the SD kind of 'spring' loose from the socket, not out yet, but just spring loose from an insert position, and nothing happened to the SD and my Treo. But on the 770, none of the above happened, and just sitting around and doing nothing, and the FAT is corrupted. Is the 770 hardware or software that is more fragile/delicate? Just a question, I dont really excited about the answer, I am more concern about recurrency............


bun

GeneralAntilles 2007-11-05 16:36

Re: virtual memory cannot be uninstalled
 
Just turn it off, stick the card in a card reader and reformat. Problem solved.

I don't necessarily think the tablets have a high-propensity for corruption, but there is a lot more writing and reading going on than most devices which use SD/MMC (metacrawler indexing, VM swapping, and general file usage), so the numbers tend to come up more often.

fanoush 2007-11-05 16:45

Re: virtual memory cannot be uninstalled
 
Quote:

Originally Posted by bunanson (Post 90835)
I would like to reformat it, and start with umount /media/mmc1. It said the system is using it and is busy. I know it is because the virtual memory is on it. I went to control panel and try to uninstall the 64 k virtual memory and it is unsucessful. What to do now? Would it be too dangerous if i delete the swap file on my window box with a USB cabel.

Just open card door but leave the card in. It will turn off swap an unmount it. Then you can reformat it from command line if that is what you wanted. You can also safely reformat it in PC with card reader or when connected over USB. You can also just delete the .swap file in same way if you want to disable it. System won't be confused since having the .swap file on card is the only way it knows you enabled it in control panel.

As for the corruption I don't know. I never had FAT filesystem corruption with my 770 (or even N800) and I am using my 770 almost 2 years and give it a lot of abuse. Maybe because I don't remove card often and rarely connect it over USB.

bunanson 2007-11-05 19:34

Re: virtual memory cannot be uninstalled
 
Quote:

Originally Posted by fanoush (Post 90901)
Just open card door but leave the card in. It will turn off swap an unmount it. Then you can reformat it from command line if that is what you wanted.

It reads as if you have other trick then reformat?
bun

bunanson 2007-11-05 19:45

Re: virtual memory cannot be uninstalled
 
Quote:

Originally Posted by GeneralAntilles (Post 90898)
Just turn it off, stick the card in a card reader and reformat. Problem solved.

I don't necessarily think the tablets have a high-propensity for corruption, but there is a lot more writing and reading going on than most devices which use SD/MMC (metacrawler indexing, VM swapping, and general file usage), so the numbers tend to come up more often.

Thanks. I thought about that too, however, I also read somewhere in the fora, "as long as it is formated by the Nokia..." i do not know whether there is any merit to the statement, at this stage I would not like to try anything new. I burned DVDs too. In the early days, DVD for R/W are only good to the particular machine it formated. I do not quite worried about the MMC boot or OS clone , (i know we are not dealing with it yet, keep my fingers cross), I do hate to redo the video center. It took over 10 minutes to put in all my URLs after being SSH into with a keyboard. And I have done this 2 times and now it is the 3rd times.



bun

fanoush 2007-11-05 20:09

Re: virtual memory cannot be uninstalled
 
Quote:

Originally Posted by bunanson (Post 90954)
It reads as if you have other trick then reformat?
bun

No, I just don't know if you plan to reformat it from command line, because once you open card door it won't show in filemanager so you cannot format it from there. However the mmc device is still available so proper mkdosfs on /dev/mmcblk0p1 (not sure about exact arguments now) should work.

bunanson 2007-11-08 23:04

Re: virtual memory cannot be uninstalled
 
Hey, good news for those with corrupted MMC. I took the MMC to a media reader, and erase the swap file. Voila, now my card is writing again! I do not have to reformat the stupid MMC-RS! I do not have to re-do URLs for the Video center. So far, keep the fingers crossed, i am able to write on the MMC. NO. I am scare to create another swap file. I just use the 770 without swap file. Apparantly, a damaged swap file will render your MMC read-only status and prevent writing. Fanoush, mind to shed light on this apparant observation? If, the swap file does make the MMC more vulnerable, I would rather leave it out the first place.


bun

Betty Woo 2008-06-15 04:39

Re: virtual memory cannot be uninstalled
 
OK.

But I got a mac and a cheapo nGear multicard reader.

I had about four videos and a bunch of .mp3s on the card that was quite happy in the N800. I removed the card, put it in the reader, transfered the videos to my desktop, changed the name of the card to 'Music' since I decided I wanted a dedicated card, everything is fine.

Take a 4GB Patriot Class 6 card, put that in the reader, name it 'videos', transfer videos converted via the Internet Tablet Video Converter (a Nokia product, even!), unmounted everything properly.

Put the 'video' card in the N800 - got the 'corrupt' error message. And, of course, the 'reformat' option is greyed out. Bah.

So, put the 'music' card back in... and get the same damned error message.

But both cards are reading properly in the card reader (and the music and videos are playing off the cards on my Mac fine).

1. I put the cards in while the N800 was on,

2. when I got the error messages, every time I switched cards, I turned the N800 off before swapping,

3. I'm a bit stuck since, aside from moving everything off the cards and reinstalling them, I'm not sure how I can reformat these cards since, like I said, I got a mac.

Suggestions?

Betty Woo 2008-06-15 04:53

Re: virtual memory cannot be uninstalled
 
EDIT: I just loaded up a brand new 4GB card Patriot)... getting the same error message.

EDIT 2: well... that's... strange. I turned the N800 off, removed the battery, went to weep quietly in a corner (caused more by watching the Seattle Mariners lose miserably *again*), came back, put the battery back in, turned it on, loaded the card, no problems.

This silly N800 thing sure is touchy some times... .

geneven 2008-06-15 05:06

Re: virtual memory cannot be uninstalled
 
So, you put in a brand new 4gb card (with the tablet off) and turn it on and format is greyed out already, for that card? Weird.

bunanson 2008-06-15 10:34

Re: virtual memory cannot be uninstalled
 
Now, pls go and weep in the same corner, see whether that would reproduce the problem/error message :) . Bottomline, is the problem solved?

If not, you may want to try Fanoush's trick, keep the card in, but leave the door open, and, assume it is an ext card, 0 is internal, the one you have to open the battery cover; 1 is external, the one behind the kick stand. I would always remove the uninvolved card before I issue the format commands, just in case I type something wrong and erase the other card.
xterm
sudo gainroot
umount /media/mmc1 #this may not be necessary
mkdosfs /dev/mmcblk1p1 #******This will erase your card*******

If the problem is solved already, then we have nothing to pursue until the Mariners lost, again ;) .

BTW, did you engage a swap file?
And on another thread, "files lock....", did close app manager solve the problem?



bun

Betty Woo 2008-06-15 16:00

Re: virtual memory cannot be uninstalled
 
Quote:

Originally Posted by bunanson (Post 192249)
Bottomline, is the problem solved?

Yeah. After removing the battery for five minutes and replacing it, suddenly, *b*o*o*m*, the cards were being read perfectly fine.

Not quite sure what the battery had to do with the cards giving off those errors, though, but it's pretty damned obvious that I don't know a lot about a lot when it comes to my N800 :o

Quote:

Originally Posted by bunanson (Post 192249)
... you may want to try Fanoush's trick, keep the card in, but leave the door open, and, assume it is an ext card, 0 is internal, the one you have to open the battery cover; 1 is external, the one behind the kick stand. I would always remove the uninvolved card before I issue the format commands, just in case I type something wrong and erase the other card.
xterm
sudo gainroot
umount /media/mmc1 #this may not be necessary
mkdosfs /dev/mmcblk1p1 #******This will erase your card*******

Ah. This is good to know. I'll make a note of this somewhere.

Quote:

Originally Posted by bunanson (Post 192249)
the problem is solved already, then we have nothing to pursue until the Mariners lost, again ;) .

Oh, that will be today, then. They're the worse team in the Majors this year (the year that was suppose to be the one where they make pennant race at least?).

Quote:

Originally Posted by bunanson (Post 192249)
, did you engage a swap file?

Um... 'swap file'? Um. No?

Quote:

Originally Posted by bunanson (Post 192249)
on another thread, "files lock....", did close app manager solve the problem?

I haven't tried it yet. From other responses I got in another thread, it seems people have the same version of mplayer that I do but get better streaming video. I figure this problem of mine is just God's way of sparing me the pain of watching the Mariners lose (again) on the n800 by scrambling even the game highlights feed.

I will try it a bit later in the week, though. I figure by then I'll be so depressed that nothing will phase me, including screwing up a reinstall :rolleyes:

bunanson 2008-06-15 18:37

Re: virtual memory cannot be uninstalled
 
Quote:

Originally Posted by Betty Woo (Post 192305)
...I will try it a bit later in the week, though. I figure by then I'll be so depressed that nothing will phase me, including screwing up a reinstall :rolleyes:

Just remember the error mess "...file locked, cannot open...." is when you try to do apt-get install... with app manager open, or dpkg with app manager open. I, the mere-mortal vs the immortal of linux guru, have seen that statement a millions times :).
Edit: Or, are you root?

bun


All times are GMT. The time now is 16:26.

vBulletin® Version 3.8.8