View Single Post
eight's Avatar
Posts: 106 | Thanked: 81 times | Joined on Dec 2011 @ /
#2557
Got stuck at the same point.
Code:
Nokia-N900:/home/user# mount -o loop -t ext3 /home/user/MyDocs/1Files/OS\+img/ed-squeeze-final.ext3 /mnt/ed-img/
mount: mounting /dev/loop0 on /mnt/ed-img/ failed: Invalid argument

And I did some research on the lzma error. Tested a lzma archive from qole.org which extracts without the error.
Code:
Nokia-N900:/home/user/MyDocs/1Files# lzma -d maemo-sdk-v1_2.img.ext2.lzma
...



Edit:
Well, this reboot problem below was caused by setting smartrefex (vdd1 sr) enabled in qcpufreq.
Disabled VDD1 and now works well, even overclocked.



*-----------------------------------------------------------------------------------------------------------------------------------------------------*

But then the N900 reboots after a few seconds till minutes after starting lzma extraction.
If this happens /dev/mmcblk0p1 (MyDocs) gets read-only. Mount looks normal but dmesg shows it and you'll get an error like this:.

Code:
Nokia-N900:/home/user/MyDocs/1Files# lzma -d maemo-sdk-v1_2.img.ext2.lzma
lzma: Cannot open output file maemo-sdk-v1_2.img.ext2


Nokia-N900:/home/user# mount
...
/dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)


Nokia-N900:/home/user# dmesg
...
[31237.416351] FAT: Filesystem error (dev mmcblk0p1)
[31237.416381]     fat_free_clusters: deleting FAT entry beyond EOF
[31237.416412]     File system has been set read-only
If this happens at your N900 you can fix it this way:
- umount /dev/mmcblk0p1
- fsck and repair /dev/mmcblk0p1
- remount it to MyDocs

Code:
Nokia-N900:/home/user/MyDocs/1Files# cd ../..
Nokia-N900:/home/user# umount /dev/mmcblk0p1
Nokia-N900:/home/user# fsck -r /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
FATs differ but appear to be intact. Use which FAT ?
1) Use first FAT
2) Use second FAT
? 1
Reclaimed 1024 unused clusters (16777216 bytes).
Perform changes ? (y/n) y
/dev/mmcblk0p1: 5812 files, 903148/1277519 clusters
Nokia-N900:/home/user# mount -o rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir /dev/mmcblk0p1 /home/user/MyDocs/
This reboot even happens with nice -n 19 [command]. First I thought it could be due to overclocking, but happens also at 600 Mhz.

Last edited by eight; 2012-02-10 at 10:46.
 

The Following User Says Thank You to eight For This Useful Post: