Reply
Thread Tools
Posts: 117 | Thanked: 10 times | Joined on Oct 2009 @ Wolverhampton
#21
I was on 9...just restarted the device.


Cheers.
 
Posts: 472 | Thanked: 442 times | Joined on Sep 2007
#22
Originally Posted by Pedrolot View Post
I was on 9...just restarted the device.


Cheers.
Hopefully you meant you shut it down.

Restarting is counter-intuitive.
__________________
If you don't know how to check your N900's uptime, you probably shouldn't own it.
 
Posts: 117 | Thanked: 10 times | Joined on Oct 2009 @ Wolverhampton
#23
Originally Posted by Laughingstok View Post
Hopefully you meant you shut it down.

Restarting is counter-intuitive.
Well i powered off and powered back on again using the hardware button.


Its the oonly way i know how to restart/shutdown the device apart from taking the battery out.
 
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#24
Originally Posted by jebba View Post
If you put a 50 in there (or maybe 51) and reboot, your system will hang like:

* (*) * * *

(picture those bootup dots or "balloons")

From the bug report:


Also from report:


AFAICT "testing" in this case is internal Nokia testing, not Maemo's extras-testing.

Also, the bug report provides a temporary workaround:




Code:
echo_g "Houston, we have a problem, powering off..."
+sleep 10
+poweroff
def_runlevel=0

-Jeff
@Jeff, since no one seems to being paying any attention to your post, which provides a resolution, could I be the first to ask a question? Inside of the preint file, would I add the selected portion before, after, or in between the brackets? Secondly does the location of the above snipet matter? Ie should it be before the if queries or after? Also how is this command actually checking the reboot count, it looks to me like it just runs and powers down the device? Am I missing something? Thanks!

2d
 
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#25
Originally Posted by 2disbetter View Post
Inside of the preint file, would I add the selected portion before, after, or in between the brackets? Secondly does the location of the above snipet matter?
The code excerpt is sort of in patch format.

What it means is that you should find the existing lines reading

echo_g "Houston, we have a problem, powering off..."
def_runlevel=0
("Houston" only occurs once in that file, so you can just search for that to find these lines.)

Then you put the new lines (indicated by '+') between them, so that it would read:

echo_g "Houston, we have a problem, powering off..."
sleep 10
poweroff
def_runlevel=0
when you're done.

Edit: Note, the '+' sign is only to indicate which lines are added, it shouldn't be actually put in the file.

Last edited by kwotski; 2009-12-16 at 21:39.
 

The Following 3 Users Say Thank You to kwotski For This Useful Post:
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#26
Originally Posted by kwotski View Post
The code excerpt is sort of in patch format.

What it means is that you should find the existing lines reading



("Houston" only occurs once in that file, so you can just search for that to find these lines.)

Then you put the new lines (indicated by '+') between them, so that it would read:



when you're done.

Edit: Note, the '+' sign is only to indicate which lines are added, it shouldn't be actually put in the file.
Thanks, I'm using Midnight commander to edit the file, but am having a problem saving it. Probably becuase I don't have root access to the file. How would i be able to get to said mode from within MC? Or do I need to go through the terminal and sudo it?

Edit: For those also curious, yes you need to have root control before editing the file.

Another question I'm having is, this two new lines we've added, as far as I can tell, will run in the event that all other scenarios under that (what looks like a function) don't pan out.

Just so I understand what I've just done, this basically will force the device to shut down, and then reset the reboot counter, when the the reboot count has risen too high?

2d

Last edited by 2disbetter; 2009-12-16 at 21:57.
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#27
Also note, editing that file is not one you want to screw up, as it controls the boot, so you pooch that one, you're hosed.
 
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#28
2d: You'd certainly need to be root to write to the file.

But seriously, I wouldn't bother making this edit unless I had the spontaneous reset problem reported by some here.

I got confused by the terminology "reboot" into thinking that this applied to normal shutdowns as done by issuing a reboot command, but as I understand it this is only happening when the machine resets without going through normal shutdown.

That is why using the power button, then pressing "switch off", and then powering up the device is the recommended way to put the counter back to 0 (this is the only out-of-the-box method of doing a controlled reboot, I think)

(I hope someone will correct me if I'm wrong on this)

The file in question is undoubtedly one of those ones that can necessitate flashing the device if an error is introduced, so anyone unwilling to do that (as I would be!) should be very nervous about editing it, especially in an unfamiliar environment!

Take care
 

The Following 2 Users Say Thank You to kwotski For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#29
I've put this in some other places but I figure it wouldn't hurt to have it here too:

Ok, here's a new recovery method which is easier as it doesn't need the flasher:

https://bugs.maemo.org/show_bug.cgi?id=6350#c42

* take battery out
* insert USB cable (to boot device with charging boot reason)
* insert battery & put back cover back
* remove USB cable


-Jeff
http://wiki.maemo.org/User:Jebba
 
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#30
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?

2d

Posted using the N900.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:04.