maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   Updated OS, Internal Card locked (https://talk.maemo.org/showthread.php?t=12607)

sparkling 2007-12-02 00:59

Updated OS, Internal Card locked
 
After installing OS version 1.2007.42-19 on N810 I find these problems, all related to the non-removeable internal storage card.

1. If I connect N810 to PC this error appears: "Unable to connect via USB. Memory Card in use: Internal memory card."

2. Application manager cannot install anything. Typical log:

hildon-application-manager 2.0.1
apt-worker: Forcing /var/lib/dpkg/lock
-----
Installing becomeroot 0.1-2
Failed using a MMC to download packages. Using default.
E: Can't create directory at /media/mmc2/.apt-archive-cache/: Input/output error
E: Unable to lock the download directory
-----

It looks as if it uses the card (mmc2) to store downloads before installing. I can still install "from file", but tried only the Garnet Virtual Machine because I happened to have it available.

3. I cannot disable or resize the 128GB Virtual Memory swap file. The error message is not helpful: "Unable to remove virtual memory".

4. I cannot delete any Folder or File from the card. The Read Only attribute is not shown set, but when I try to delete it reports "Unable to continue. Read-only folder ID".

5. I cannot reformat the card. "Unable to format. Memory card in use."

6. media/mmc2 du reports two errors

./map/versions: Input/Output error
./.apt-archive-cache: Input/Output error

Does this sound as if it is a hardware rather than software problem? Repair suggestions?

sparkling 2007-12-02 01:07

Re: Updated OS, Internal Card locked
 
I discovered I can work around the effect on Application Manager by disabling Tools > Settings > Use MMC to download packages.

zerojay 2007-12-02 03:53

Re: Updated OS, Internal Card locked
 
Reformat your card, you damaged it.

sparkling 2007-12-02 11:17

Re: Updated OS, Internal Card locked
 
Thank you for the suggestion, but see point #5 in my original post.

GeneralAntilles 2007-12-02 11:41

Re: Updated OS, Internal Card locked
 
Quote:

Originally Posted by sparkling (Post 103405)
Thank you for the suggestion, but see point #5 in my original post.

Stick it in a computer or disable swap.

sparkling 2007-12-02 12:16

Re: Updated OS, Internal Card locked
 
Thank you, but this "card" is permanently installed in the N810 from the factory. I cannot move it to another reader, and I cannot access it when the N810 is conected to PC via USB (see point #1). I also cannot disable the Virtual Memory swap assignment (see point #3).

I imagine there is some command line process I can use to unmount and remount the disk, repair the file allocation table or reformat, but my experience with Linux is zero and my knowledge of Unix does not include machines with solid state drives.

ydant 2007-12-02 20:23

Re: Updated OS, Internal Card locked
 
I'm seeing a similar issue:

Quote:

Originally Posted by fsck
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
alleged total clusters: 999603
9997
19994
29991
39988
49985
59982
Read 32 bytes at 2022400000:Input/output error


ydant 2007-12-02 20:38

Re: Updated OS, Internal Card locked
 
sparkling:

You might need to start from a fresh reboot to turn the swap off (step 3) if you're using enough memory from running processes.

1) open terminal window
2) become root (there's a FAQ on this, but I don't think it adequately describes the n810 process)
3) turn off swap on the internal MMC (swapoff /media/mmc2/.swap)
4) unmount internal MMC (umount /media/mmc2)
5) run file system check/repair (fsck.vfat -a /dev/mmcblkp01)

With any luck that will actually fix the filesystem error. It didn't for me, but this looks like this might have:

6) fsck.vfat -r -t /dev/mmcblk0p1

Beware that this will very possibly result in some corrupted files. :-/ They were most likely corrupted prior to fixing the file system errors, though.

crawdad 2007-12-02 21:23

Re: Updated OS, Internal Card locked
 
I had a similar problem.
A "lsof /media/mmc2" (IIRC) indicated that mapper was keeping files open, though it wasn't apparently running.
Rebooting cleared it up.
Not sure if this is same problem, but sounds similar.
Does your problem persist across rebooting the unit?

sparkling 2007-12-02 21:59

Re: Updated OS, Internal Card locked
 
Quote:

Originally Posted by crawdad (Post 103546)
Does your problem persist across rebooting the unit?

The problem persists when I power off. For good measure I removed the battery. Please mention if there is any other reboot method that would be better for this purpose.

lsof /media/mmc2 returns to the # prompt, which I take to mean there are no open files on the card.


All times are GMT. The time now is 14:44.

vBulletin® Version 3.8.8