![]() |
Random reboot and unable boot
The phone periodically restarts itself after a reboot is loaded only the second time. In the first boot it hangs after the splash NOKIA.
In the logs found this - /var/log/maemo-optify-boottime.log Quote:
Free space: Quote:
|
Re: Random reboot and unable boot
flash it with custom emmc, maybe, :)
|
Re: Random reboot and unable boot
Quote:
|
Re: Random reboot and unable boot
I do not have the constantly restarting problems, but I have the same log file growing since my phone restarted itself once. It never happened again (the restarting), but the file /var/log/maemo-optify-boottime.log is adding a new record every boot:
2012-10-25 18:01:20 :: not enough free space in /home (need at least 200 MB free), quitting. 1+0 records in 1+0 records out 512 bytes (512B) copied, 1.222565 seconds, 418B/s Any idea about which process is writting to that file in every boot of the phone? Thanks. |
Re: Random reboot and unable boot
Well, I have made some progress, but still need an expert help.
The script which is generating the log is /usr/sbin/maemo-optify-auto-opt.sh, which calls the function dfree inside /usr/sbin/maemo-optify-lib.sh. dfree function is as follows Code:
dfree() Code:
stat -ft /home | awk '{print int($5*$9/(1024*1024)) }' On the other hand, I do not know where the /usr/sbin/maemo-optify-auto-opt.sh is called from on every reboot. Please, help. Thanks a lot. |
Re: Random reboot and unable boot
@ikerrg,
Very interesting analysis. I don't have /usr/sbin/maemo-optify-auto.sh (but I may have removed many Nokia packages). Could you please do "dpkg -S /usr/sbin/maemo-optify-auto.sh" to see from which package this thing is coming? Furthermore, that way of checking space using stat seems quite broken. $5 is the block size, but $9 is the total number of inodes so the dfree() function is mixing apples with bananas :) It should either use df[*] or replace $9 with $8, which is the number "available blocks" ($9 is the number of "free blocks", don't know what the difference may be). Plus I don't know why awk returns two values when multiplying. Seems that busybox is way beyond broken (I tested with latest busybox-power). [*] Code:
dfree() PS: I do have (in my most "normal" N900) a /var/log/maemo-optify-boottime.log, last modified about 8 months ago. Nothing in the boot process seems to be touching it, so it must have come from some package that I have uninstalled. |
Re: Random reboot and unable boot
Thanks reinob. You are always there!!
I have moved the question to a more specific new thread and I give you more details on it: http://talk.maemo.org/showthread.php?t=87765 Let's continue there! |
All times are GMT. The time now is 04:03. |
vBulletin® Version 3.8.8