maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Partly corrupted mmcblk0p1 (https://talk.maemo.org/showthread.php?t=100550)

sirvival 2018-11-13 16:49

Partly corrupted mmcblk0p1
 
Hi,
I will start with a little rant:
I am on vacation in greece and in my rental car the lighter plug is broken so no naviagtion for me.
Luckely I got my N900 an Marble. Worked so far.
Till today. Marble crashed. When I was in the most southern tip of europe... With roadsignes in greek letters...

Reinstall, mv of maps folder did not help.
So I tried fsck.
This is what I got:
Nokia-N900:~# fsck -n /dev/mmcblk0p1
fsck 1.42.5 (29-Jul-2012)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Seek to 28995223040:Invalid argument
Unmounting does not help. I have no computer available.

Any Ideas? If not I will by an analog map tomorrow.

Thx!

PS: wifi is slow and going with Edge is not working because maemo flagged the IP the ISP gave me. so sorry if there is an answer already in the forum.

peterleinchen 2018-11-13 17:18

Re: Partly corrupted mmcblk0p1
 
Do NOT use Maemo version of fsck (unless on CSSU?) to repair!

You mistyped
Code:

fsck -N /dev/mmcblk0p1

endsormeans 2018-11-13 17:34

Re: Partly corrupted mmcblk0p1
 
there we go...
makes sense now...
good thing you used lower case "n" instead of uppercase "N" ...
otherwise ...
instead of a partial corruption ...
It would a full corruption!
(yuk yuk yuk!)
:D

Oh analog maps are sooooo much more fun ...
pulling out a mile and a half of folds....NEVER to be able to get it to the matchbox original fold it was...
not to mention the squinting with a magnifying glass to pick out the roads...
Being pointed at by the locals ...thinking that not only are you "from out of country" ...
but from a few centuries previously as well....
haha
ah...
good times!

YA man!
Do it !
Get the analog map!
It will be an adventure !
And PLEASE get a picture of you with the map splayed all over the car hood with locals in the same shot, giving advice and pointing in every possible opposite direction at the same time too!
Such a picture is photo album gold!
Hell it would go viral inside the day. if you posted it on social...
:D

sirvival 2018-11-13 17:35

Re: Partly corrupted mmcblk0p1
 
sure its N?

Nokia-N900:~# fsck -N /dev/mmcblk0p1
fsck 1.42.5 (29-Jul-2012)
[/sbin/fsck.vfat (1) -- /home/user/MyDocs] fsck.vfat /dev/mmcblk0p1
Oh sorry forgot to mention I am on Kernel Power

Nokia-N900:~# uname -r
2.6.28.10-power53
Edit:
Analoge map bought.
Good thing I am done with mountain villages. The main Problem would be to find a locale. Where I was at there was almost noone.

peterleinchen 2018-11-13 19:31

Re: Partly corrupted mmcblk0p1
 
Quote:

Originally Posted by sirvival (Post 1550614)
sure its N?

Nope, not at all.
Have to correct me: "-n" is okay.
To my apology: checked it on Jolla and just love these inconsistencies between same tools!

Quote:

Nokia-N900:~# fsck -N /dev/mmcblk0p1
fsck 1.42.5 (29-July-2012)

Nokia-N900:~# uname -r
2.6.28.10-power53

So at least you have newer fsck than default Maemo (1.41.3.maemo0 12-Oct-2008) and you should be safe to use it.
And during writing I also remembered that that version only caused problems for ext partitions not for fat. So definitely safe to be used for eMMC.
But I guess it will not help! :(

sirvival 2018-11-13 20:29

Re: Partly corrupted mmcblk0p1
 
Never had this error before. But apps kept on crshing the last couple of days. Even without OC (chip is clocked at 900 max since like forever).
Why did Nokia use fat32 anyways?

endsormeans 2018-11-13 21:08

Re: Partly corrupted mmcblk0p1
 
win ...partly...

peterleinchen 2018-11-13 21:48

Re: Partly corrupted mmcblk0p1
 
Quote:

Originally Posted by sirvival (Post 1550629)
Never had this error before. But apps kept on crshing the last couple of days. Even without OC (chip is clocked at 900 max since like forever).

How old is your device. I do not hope your eMMC has faded out :(

Quote:

Why did Nokia use fat32 anyways?
fat32 was (maybe still is) the most wide spread file system tthat can be handled by all (?) OS.
So decision for fat (instead ext) for consumer device was a good move. See situation with SFOS and exFat (de facto standard nowadays for SD cards).
Whoever might correct/annotate me feel free to do so ... :)

endsormeans 2018-11-13 23:25

Re: Partly corrupted mmcblk0p1
 
Yes ...I would love to correct you peter...

You used more words in your answer than me.
:p
:D

sirvival 2018-11-14 04:41

Re: Partly corrupted mmcblk0p1
 
hmm is there a way to flag bad sectors? Or to check the condition (like SMART)?

I have to repair the sqlite message database once a month btw. Otherwise SMS I write do not appear.

sqlite3 /home/user/.rtcom-eventlogger/el-v1.db VACUUM;
Not sure how old. I bought it a year ago and it looked almost mint (no wear on the keys).

True with the fat32.


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

vBulletin® Version 3.8.8