Active Topics

 


Reply
Thread Tools
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#1
Hi,

status of /media/mmc1 (mmc) card changed recently to read-only system.
chmod doesn't work

Recently run wget in recursive mode.
Download to flash memory.
Learned how to recursive download to media memory card (MMC).
Copied downloaded html files from flash to memory card to make room on flash.

And finally tried to remove wget downloaded files from media memory card
and found out any, every, each file to be asterisked and can not be deleted.

run mount from command line
one entry for /media/mmc1

/dev/mcblk0.. on /media/mmc1 type vfat (rw, noauto, nodev, noexec, nosuid, utf8, uid=29999, shortname=mixed, dmask=000)

chmod -x /media/mmc1
chmod: /media/mmc1: Read-only file system

I get used media card to save maps in maemo mapper,
today no chance to run maemo-mapper.

Please tell me how to have /media/mmc1 back read-write file system,
as did nothing exceptionally to change status of media file system.


Darius
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#2
Before someone tell you to "Search" I'll post the poorly documented /media/mmc1 corruption bug.

http://www.internettablettalk.com/fo...810+corruption

Last edited by brontide; 2008-08-12 at 17:30.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#3
Originally Posted by darius2 View Post
Hi,

status of /media/mmc1 (mmc) card changed recently to read-only system.
chmod doesn't work

Recently run wget in recursive mode.
Download to flash memory.
Learned how to recursive download to media memory card (MMC).
Copied downloaded html files from flash to memory card to make room on flash.

And finally tried to remove wget downloaded files from media memory card
and found out any, every, each file to be asterisked and can not be deleted.

run mount from command line
one entry for /media/mmc1

/dev/mcblk0.. on /media/mmc1 type vfat (rw, noauto, nodev, noexec, nosuid, utf8, uid=29999, shortname=mixed, dmask=000)

chmod -x /media/mmc1
chmod: /media/mmc1: Read-only file system

I get used media card to save maps in maemo mapper,
today no chance to run maemo-mapper.

Please tell me how to have /media/mmc1 back read-write file system,
as did nothing exceptionally to change status of media file system.


Darius
Good to hear from you again,

a corrupted card or, better, a corrupted swap file. Go control panel>Memory>Virtual> uncheck Extend virtual memory. See that will solve the problem. Post back results.

bun
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#4
Actually, that won't fix it. Here's what I ended up finding out works.

1. Shut down your unit. Totally power it off.
2. Plug in the USB to the device, and your PC.
3. Boot the device.
4. Watch for it to automount on your PC. When it does, ensure that you're viewing the contents of MMC1.
5. Scandisk/fsck the drive.
*If you're on Windows, you may need to close the explorer window, or navigate away from the drive before doing that so that Windows doesn't toss a fit about the drive being in use when you go to scandisk it.
*If you're on Linux/BSD, be sure to unmount the disk first before doing fsck. That allows for a much deeper scan and correction of the disk. It can still be fsck'ed while mounted, but a deep scan won't be possible.
6. Once this is done, unplug the USB.
7. Now check the state of the disk. If it's still read only, repeat these steps. If not, you should be good to go from there.

Hope this helps.
 

The Following User Says Thank You to Lord Raiden For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#5
[QUOTE=Lord Raiden;212967]Actually, that won't fix it...

Excuxe me?

I think you meant to say "If that won't fix it.....". That is how I fixed mine. Unchecked the swap file and recheck, that fixed the corruption and problem solved.

Thanks for the info though.

bun
 
ace's Avatar
Posts: 296 | Thanked: 80 times | Joined on Dec 2007
#6
I thought repartitioning is the only way to fix the N810's habit of corrupting the internal memory "card", since the corruption is due to incorrect partitioning from the factory.
__________________
[SIGPIC][/SIGPIC]
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#7
Ace: Nope, it's caused by a write bug of some sort that deals with the swap file.

bunanson: I tried that originally on mine and it didn't work. Hence why I said what I did. Also, on mine the corrupted file was not the swap, but a map file.
 

The Following User Says Thank You to Lord Raiden For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#8
Originally Posted by Lord Raiden View Post
Ace: Nope, it's caused by a write bug of some sort that deals with the swap file.

bunanson: I tried that originally on mine and it didn't work. Hence why I said what I did. Also, on mine the corrupted file was not the swap, but a map file.
Thanks for clearing things up. Delete swap file and recreate swap usually will solve the problem of a corrupted swap file. That is why I said, if it does not work, post back. However, when the corrupt file really really corrupted, then I have another tricks too. I took the SD to a winPC and delete the swap file, and it worked too.....so and so forth. Finally, if all this littel tricks failed, I would have to do thru what your post suggested. The point is, there are many ways to clean up problems, always go with the small steps first, if it works.

bun
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#9
Ok, yeah, that's cool. My issue just turned out to be something other than the swap file.
 
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#10
Thanks

to bunanson:

unchecked Extend Virtual memory
> Unable to remove virtual memory

Extend virtual memory is checked back

to brontide:

greetings to your baby

<to speednut>

http://www.internettablettalk.com/fo...810+corruption

cat /proc/partition
df
allocated memory size is not greater than the physical memory size

330496 (used) vs. 1652608 (available)

Connected via usb to PC and files got lost
one only is Discovery.avi
on usb cable disconnecting
memory card corrupted or unformatted

Back to File manager
Removable
> No memory card inserted

Ok.
Shut down system, reinserted memory card back (removed and inserted)
and files are back.

How to repaire memory card fs ?

Darius

Originally Posted by bunanson View Post
Good to hear from you again,

a corrupted card or, better, a corrupted swap file. Go control panel>Memory>Virtual> uncheck Extend virtual memory. See that will solve the problem. Post back results.

bun
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:04.