maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 reboots while compiling or uncomprising files (https://talk.maemo.org/showthread.php?t=74173)

ebasconp 2011-06-20 21:56

N900 reboots while compiling or uncomprising files
 
Hi everybody;

I'm doing some tests with my n900 and installed EasyDebian and also created a chrooted Gentoo image to play with it.

My problem comes when my N900 is compiling very huge files or is uncomprising some huge files (KDE packages on EasyDebian or Qt source code in Gentoo)... When my N900 is working on that kind of tasks, it suddenly reboots and if I try to repeat the process, the reboot occurs again in the same moment or when compiling/uncomprising other stuff.

So, did someone have some similar behavior on his/her N900? Is it a known behavior? (I am thinking the excessive heat is causing such a problem) If it is, did someone find some workaround on this?

Thanks in advance.

uppercase 2011-06-20 22:16

Re: N900 reboots while compiling or uncomprising files
 
This happens due to intensive I/O. You need to change swapiness and other parameters.
Issue this commands as root:
Code:

echo 30 > /proc/sys/vm/swappiness
echo 0 > /proc/sys/vm/page-cluster
echo 512 > /sys/block/mmcblk0/queue/nr_requests
echo 512 > /sys/block/mmcblk1/queue/nr_requests
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk1/queue/iosched/slice_idle
echo 32 > /sys/block/mmcblk0/queue/iosched/quantum
echo 32 > /sys/block/mmcblk1/queue/iosched/quantum
echo 80 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 80 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync
echo 180 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 180 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async


jedi 2011-06-20 22:16

Re: N900 reboots while compiling or uncomprising files
 
Smart reflex enabled?

ebasconp 2011-06-21 01:40

Re: N900 reboots while compiling or uncomprising files
 
Thanks uppercase!!! I will try this and let you know... thank you!!!!

anthonie 2011-06-21 11:55

Re: N900 reboots while compiling or uncomprising files
 
Quote:

Originally Posted by ebasconp (Post 1033383)
Hi everybody;

I'm doing some tests with my n900 and installed EasyDebian and also created a chrooted Gentoo image to play with it.

My problem comes when my N900 is compiling very huge files or is uncomprising some huge files (KDE packages on EasyDebian or Qt source code in Gentoo)... When my N900 is working on that kind of tasks, it suddenly reboots and if I try to repeat the process, the reboot occurs again in the same moment or when compiling/uncomprising other stuff.

So, did someone have some similar behavior on his/her N900? Is it a known behavior? (I am thinking the excessive heat is causing such a problem) If it is, did someone find some workaround on this?

Thanks in advance.

Yep. Same problem as you have. And worse, it creates some invalid handles as well so I end up replacing the ext2 image, every time after this involuntary reboot occurs. Will try the swappiness proposal but, of course, wouldn't mind hearing from you first if it worked or not ;)

BTW, which Gentoo are you using?

anthonie 2011-06-21 18:24

Re: N900 reboots while compiling or uncomprising files
 
Quote:

Originally Posted by jedi (Post 1033407)
Smart reflex enabled?

I overlooked your comment this morning, but could you elaborate a bit on this?

jedi 2011-06-21 18:38

Re: N900 reboots while compiling or uncomprising files
 
Quote:

Originally Posted by anthonie (Post 1035116)
I overlooked your comment this morning, but could you elaborate a bit on this?

Ah - if you don't know what that means, then you probably haven't fiddled with it :) It's related to overclocking (just search here for "smart reflex") - some people have great success especially improving battery life, but for some like me it can cause random reboots etc.

uppercase 2011-06-21 18:51

Re: N900 reboots while compiling or uncomprising files
 
Smart Reflex is only a problem when overclocking/undervolting, with stock PR1.3 I had no problem.

anthonie 2011-06-21 21:14

Re: N900 reboots while compiling or uncomprising files
 
Quote:

Originally Posted by jedi (Post 1035136)
Ah - if you don't know what that means, then you probably haven't fiddled with it :) It's related to overclocking (just search here for "smart reflex") - some people have great success especially improving battery life, but for some like me it can cause random reboots etc.


:)

Sorry, I should've made myself a bit more clear as well. The reason for asking is that I do indeed tend to have SR running, on PR1.3 (It does indeed improve my battery life), but I did not see the connection to the reboots (I know for many SR causes random reboots, but I don't think the sudden reboots from compiling are the same as those caused by SR) or swappiness. Hence the request for elaboration.

jedi 2011-06-21 21:33

Re: N900 reboots while compiling or uncomprising files
 
Quote:

Originally Posted by anthonie (Post 1035280)
:)

Sorry, I should've made myself a bit more clear as well. The reason for asking is that I do indeed tend to have SR running, on PR1.3 (It does indeed improve my battery life), but I did not see the connection to the reboots (I know for many SR causes random reboots, but I don't think the sudden reboots from compiling are the same as those caused by SR) or swappiness. Hence the request for elaboration.

Then this begs the question: what else have you fiddled with? :)

But I agree - a reboot at the same point in a certain command doesn't sound like smart reflex problems...


All times are GMT. The time now is 09:24.

vBulletin® Version 3.8.8