![]() |
Dual booting Sardine - rsync reboots?
I've succesfully installed the reduced size initfs and now have a functioning dual boot menu (although I'm only able to boot from Flash right now). Whenever I attempt to copy (rsync) the IT2006 root filesystem from Flash to my ext2 partion (256Mb) the 770 reboots leaving a corrupt ext2 partition (I'm following the instructions here.
I've installed e2fsprogs and can run e2fsck to fix the ext2 partition, but continuing the rsync results in further reboots (different files each time). Has anyone else seen this? I wonder if it's related to the hardware/memory problems discussed in other threads? |
It looks like corrupted flash rootfs. rsync should not reboot the device. Can you find when it happens? What file is copied at that time? Does it happen at the same place everytimes? When you have rootfs mounted to /floppy try 'find /floppy' as root, does it reboot? Try 'tar cvf - /floppy >/dev/null', does it reboot? When? Try it over ssh so you still have the output on the screen when it crashes.
If it crashes always on same file it is very likely corrupted rootfs. |
Also look at dmesg output right after device boots, do you see any jffs2 warnings/errors or bad block errors?
|
Quote:
Code:
[ 545.213409] 128 words of entropy generated |
Quote:
It reboots with different files, not always the same one (mainly due to rsync continuing from where it got to before the crash, so it finally crashes with a different file). I'd been following the Sardine instructions running on battery power and using ssh, I've now tried again with mains power and xterm, and it seems a lot more stable (which is worrying!) - it has completed the rsync without errors from start to finish! I'll try your "find /floppy" and tar suggestions shortly - many thanks for your help! |
Hi Fanoush
"find /floppy" and "tar cvf - /floppy >/dev/null" both worked OK (two runs each on battery power + ssh) - no crash. The rsync copy on mains power and xterm completed ok, and I managed to boot off MCC partition 2 succesfully! However, the Sardine upgrade then fails due to a corrupt tar file (libdbus-1-2_0.61-osso19_armel.deb) - a subsequent reboot from Flash and running e2fsck reveals the ext2 partition to be heavily corrupted (this partition is also now non bootable due to the failed upgrade). This is the output from "apt-get upgrade" regarding the corrupt tar: Code:
Unpacking replacement libdbus-1-2 ...I'm going to try again (on mains power and xterm) and see if I can get more luck upgrading second time around. :) |
After another successful rsync on mains power + xterm, I attempted the Sardine upgrade (also on mains power + xterm - previously battery+ssh) and this time all the packages were valid (no corruption) however there were numerous dependency errors and the Sardine partition is now unbootable (the progress bar stops just under the A in NOKIA then the device reboots after about 20 seconds). I'm guessing Sardine may still be a little too unstable for people like me :) Has anyone else got a working Sardine install?
As to why I have been getting different results comparing mains power and a fully charged battery - no idea, it's a bit disturbing though. |
Different results on different power sources probably means that the 770 tries to draw more power than the battery can provide, causing a temporary "brownout" which causes a reboot.
|
Quote:
|
Milhouse, are you using wi-fi for the ssh connection? Did you try also other combinations like on battery with xterm or ssh on mains? Looks like you always wrote ssh+battery xterm+mains. Would be interesting if it is caused by network connection or poor battery.
I never had such symptoms but I don't use wi-fi regulary for ssh into the device, I prefer bluetooth (better response time, lower power requirements, no random disconnects). Maybe wi-fi driver is buggy and reboots the device? There are many variables in wi-fi network (access point brand and settings) so there can be combinations which are not stable. So the battery may be ok, just wi-fi may be the problem. As for unmet dependencies you mentioned only tableteer and sardine, did you try upgrading also with regular maemo2.0 repository added? I think sardine needs it. As for the dmesg output it looks like you rootfs had very interesting time in the past :) It can still be OK but it may be also corrupted. All these messages are just warnings or infos but it definitely looks like there were random reboots with jffs2 filesystem in the middle of work. In theory it should still work but if there are some strange issues I'd try reflash (rootfs only, otherwise you loose the bootmenu). You can still backup old rootfs to mmc before reflash in case you need to boot it or want some data from it later. |
Quote:
Quote:
Code:
/opt/etc/apt # more sources.listQuote:
I'm guessing if I restore rootfs I'll lose all installed applications etc. so will keep that as a last resort. If I've missed any Sardine repositories I'll add them and try upgrading to Sardine again, and if that still fails I'll consider reflashing my rootfs. However if I've got all the correct repositories that implies the Sardine upgrade may not be usable right now in which case I'll wait some more until it is! :) Any idea where Sardine progress can be tracked/monitored (more from a device point of view than x86 desktop env)? Many thanks for all your help! :) |
Quote:
Quote:
Quote:
Quote:
Quote:
Please let us know if you upgrade to Sardine successfully in future. |
Further news... battery+xterm would result in a reboot just reformatting the second partition... when it did succeed, rsync would cause a reboot. Didn't get as far as testing with ssh+mains - there's obviously something very wrong.
Have now reflashed again. It would appear that the following messages: Code:
[ 545.320098] Empty flash at 0x00007ffc ends at 0x00008000With the fresh image, reduced size initfs, boot menu, xterm, sshd, rsync and e2fsprogs I'm now trying again... :) |
So far so good - mk.ext2fs and rsync'ing OS2006 to mmc worked without a hitch (over ssh+battery)... now to upgrade to Sardine!!
|
Bah! Looks like the on-device upgrade for Sardine is still broken, there are still tons of dependency problems resulting in a failure to boot :(
Oh well, at least my device seems a bit more stable! :) |
| All times are GMT. The time now is 16:11. |
vBulletin® Version 3.8.8