maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Completely Power Off Your Device After a Few Reboots! (https://talk.maemo.org/showthread.php?t=37431)

That One Guy 2009-12-17 19:43

Re: Completely Power Off Your Device After a Few Reboots!
 
This is strange... and here's why I say that:

I've NEVER done a sudo reboot from terminal. As far as I know, my n900 never rebooted itself like some users hare are experiencing. Yet, my count is up to 3.

jebba 2009-12-17 19:53

Re: Completely Power Off Your Device After a Few Reboots!
 
Quote:

Originally Posted by 2disbetter (Post 432326)
Good news on the reboot probm only dealing with people having forced reboots and not those of us manually rebooting (ie: after using wi-fi, etc.). Is this confirmed though? Are we indeed talking about this affecting people being forced to reboot or all reboots in general?

As far as I can tell, just people having random reboots or people like me who would type "sudo reboot" or whatever to reboot. But "normal" users with stable hardware shouldn't see this bug. AFAICT....

-Jeff

jebba 2009-12-17 19:55

Re: Completely Power Off Your Device After a Few Reboots!
 
Quote:

Originally Posted by That One Guy (Post 432342)
I've NEVER done a sudo reboot from terminal. As far as I know, my n900 never rebooted itself like some users hare are experiencing. Yet, my count is up to 3.

Three being one, since each reboot counts as three in this bug for some reason. So your system may just have one "reboot" due to a fsck of your homedir or root or something. That would be normal OK behaviour.

2disbetter 2009-12-17 20:50

Re: Completely Power Off Your Device After a Few Reboots!
 
Quote:

Originally Posted by jebba (Post 432353)
As far as I can tell, just people having random reboots or people like me who would type "sudo reboot" or whatever to reboot. But "normal" users with stable hardware shouldn't see this bug. AFAICT....

-Jeff

So Jeff, would a sudo gainroot followed by a reboot command count in this case, because I use that every time I get done using a wi-fi connection?

2d

jebba 2009-12-17 20:56

Re: Completely Power Off Your Device After a Few Reboots!
 
Quote:

Originally Posted by 2disbetter (Post 432426)
So Jeff, would a sudo gainroot followed by a reboot command count in this case, because I use that every time I get done using a wi-fi connection?

I believe that would increment your counter by 3 each time, and thus is dangerous to do 17 times ;)

Run this to check before `reboot`:
Code:

cat /var/lib/dsme/boot_count
If that hits 50, game over next reboot.

-Jeff


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8