maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Reboot command only shuts down device after installing power kernel (46) (https://talk.maemo.org/showthread.php?t=71127)

getnani 2011-03-17 04:52

Reboot command only shuts down device after installing power kernel (46)
 
Guys, recently after installing power kernel (46), device is not rebooting if i execute "sudo reboot".

The rebooting process starts, but stops after the device shuts down.
i.e., after the device shuts down, the device isnt booting up.

Why would this happen after installing power kernel?

Now I have to manually switch on the device every time after the device shuts down!!

Temporal 2011-03-17 04:55

Re: Reboot command only shuts down device after installing power kernel (46)
 
Exact same problem here. There are some rare occasions that it will reboot, but they are rare and not really tied to anything special...

getnani 2011-03-17 05:01

Re: Reboot command only shuts down device after installing power kernel (46)
 
so did u figure out how to fix it? have you been using the prev version of power kernel? was reboot working then?

martin-357 2011-03-17 05:05

Re: Reboot command only shuts down device after installing power kernel (46)
 
Works fine for me, I type:

root
reboot

Temporal 2011-03-17 05:05

Re: Reboot command only shuts down device after installing power kernel (46)
 
No, no solution. It reboots after uninstalling power kernel, and stops after reinstalling it. Mine is v46 too. Just to add that this is not your problem only |:)

Bingley Joe 2011-03-17 05:14

Re: Reboot command only shuts down device after installing power kernel (46)
 
I've got this problem as well -- it's been happening since I installed v46. Before installing CSSU as well, for what it's worth.

Every once in a while reboot will actually work, but as someone else mentioned, it's rare that it works and I can't put my finger on any one particular thing that would be responsible.

Temporal 2011-03-17 05:20

Re: Reboot command only shuts down device after installing power kernel (46)
 
LOOKS LIKE, If I remembered correctly now that I read somewhere here in the foruns, that if we left the n900 still in the tablet position ON A TABLE, it will reboot, and in fact sometimes I keep trying and it reboots after 2 or 3 tries and then If I let it there still in the position that I got it rebooting, it will reboot forever. BUT, If I move it, it will stop rebooting.

REALLY strange. Try it. Put it in the tablet position with the thing on the lens opened (not the lens cover, that other thing that makes it not just fall, at around 35º). Then try a reboot. What happens?

PS: I just tried, laid it in the tablet position on a table with that thing that surround the lens in the 35º. 2º reboot try: Rebooted. From now on it will reboot until I move it.

getnani 2011-03-17 05:24

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by martin-357 (Post 969407)
Works fine for me, I type:

root
reboot

ok, will try it.
so what happens if you do straight "sudo reboot"
does it work!

getnani 2011-03-17 05:27

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by Temporal (Post 969414)
LOOKS LIKE, If I remembered correctly now that I read somewhere here in the foruns, that if we left the n900 still in the tablet position ON A TABLE, it will reboot, and in fact sometimes I keep trying and it reboots after 2 or 3 tries and then If I let it there still in the position that I got it rebooting, it will reboot forever. BUT, If I move it, it will stop rebooting.

REALLY strange. Try it. Put it in the tablet position with the thing on the lens opened (not the lens cover, that other thing that makes it not just fall, at around 35º). Then try a reboot. What happens?

Infact I always do that. it is normally an auto reboot at 4am! Once when I did it manually it worked. I guess I had it on the stand (on table). But as you said there are plenty of other times it didnt work, sitting on the stand! Power kernel ppl please help us!

hopefully the next version of power kernel will fix it?

Temporal 2011-03-17 05:32

Re: Reboot command only shuts down device after installing power kernel (46)
 
Well, at least a workaround. I tried to disable the accelerometer, that I believe is the thing that is messing things (I cant think of other mechanical thing other then the vibrator on n900 that could be "interested" in any particular position) in power kernel.

No luck |:/ - at least Firefox and PenPen stopped rotating after I did that |:P

getnani 2011-03-17 05:45

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by martin-357 (Post 969407)
Works fine for me, I type:

root
reboot

This works. Thanks Martin. Guys can you check this. it works.
do u also use alarmd to get this reboot?

Thanks very much anyways

Verssetti 2011-03-17 05:59

Re: Reboot command only shuts down device after installing power kernel (46)
 
You can view my app.

http://talk.maemo.org/showthread.php?t=67645

getnani 2011-03-17 07:35

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by Verssetti (Post 969429)

Thanks Verssetti. I just used the core code (slightly modified, based on martin info) to do it. Thanks.

basically run

echo "/sbin/reboot" | root

tada- done!!
thanks everybody. feeling good to get the morning reboot backin routine!!

killerdemon 2011-03-17 07:50

Re: Reboot command only shuts down device after installing power kernel (46)
 
I have the power42 kernel with exactly the same issue.

getnani 2011-03-21 03:46

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by killerdemon (Post 969466)
I have the power42 kernel with exactly the same issue.

so i guess version dont matter.
Sorry I guess the fix is not there yet.

echo "/sbin/reboot" | root

works most of the time, but not always.
would be great if someone can actually fix it, so that even

sudo reboot

will work!!

9000 2011-03-21 03:55

Re: Reboot command only shuts down device after installing power kernel (46)
 
Does init 6 works for you?

ivgalvez 2011-03-21 07:55

Re: Reboot command only shuts down device after installing power kernel (46)
 
Yep, it's annoying

9000 2011-03-21 08:25

Re: Reboot command only shuts down device after installing power kernel (46)
 
What is the version of your busybox (type busybox and then enter)?

caco3 2011-03-21 10:17

Re: Reboot command only shuts down device after installing power kernel (46)
 
is it really still neccessary for you guys to reboot it once a day?
Mines runs usually for days...week without problems. And I never missed a call or had big lagging!


About the reset: It also does not always work for me, but I dont't bother too much.

eefo 2011-03-21 10:33

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by Verssetti (Post 969429)

hi , i am a noob .
so can you please tell me what to do with the given files
and the instruction given is not in english so need your help .

killerdemon 2011-03-21 14:03

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by 9000 (Post 972209)
What is the version of your busybox (type busybox and then enter)?

1.10.2 legal

when i do

root
reboot

it reboots, but with 'sudo reboot' it shuts down.

ivgalvez 2011-03-21 14:48

Re: Reboot command only shuts down device after installing power kernel (46)
 
I'll try that

getnani 2011-03-21 14:53

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by killerdemon (Post 972397)
1.10.2 legal

when i do

root
reboot

it reboots, but with 'sudo reboot' it shuts down.

yup... same version
same problem!!!

I dunno, prolly I will try not restarting everyday and see. At one point of time, it was performing better with a daily restart- (PR1.1!!) I dunno I might be wrong, will see not restarting it and check the performance.

Nevertheless, I guess this should be fixed- reboot should work in power kernels!!! pleaseeeeee!!!

getnani 2011-03-21 14:55

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by killerdemon (Post 972397)
1.10.2 legal

when i do

root
reboot

it reboots, but with 'sudo reboot' it shuts down.

btw, it reboots most of the time, but not always!
it might be something to do with USB connected or keeping it in stand etc- some obscure/ random reason!!

9000 2011-03-21 15:08

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by getnani (Post 972427)
yup... same version
same problem!!!

I dunno, prolly I will try not restarting everyday and see. At one point of time, it was performing better with a daily restart- (PR1.1!!) I dunno I might be wrong, will see not restarting it and check the performance.

Nevertheless, I guess this should be fixed- reboot should work in power kernels!!! pleaseeeeee!!!

Easy. How about:

Code:

sudo /sbin/reboot

getnani 2011-03-21 17:54

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by 9000 (Post 972438)
Easy. How about:

Code:

sudo /sbin/reboot

Worked Once.... Not sure how often this will have success!! will let you know once it fails!!

getnani 2011-03-23 19:39

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by getnani (Post 972532)
Worked Once.... Not sure how often this will have success!! will let you know once it fails!!

Failed once out of 4 times or so!

Actually I dont understand why sudo reboot fails almost certainly, but sudo /sbin/reboot works most of the time- at least definitely better than sudo reboot!!! Anybody has a command that reboots with certainty of no less than 100% :'(

I am not able to comprehend why this is so difficult and messy with power kernel (which has crossed many revisions I guess!!)

Please maemo experts, please help!!

Creamy Goodness 2011-03-23 19:48

Re: Reboot command only shuts down device after installing power kernel (46)
 
mine does this too, i thought it was something to do with the boot loader though...

nman 2011-03-23 19:50

Re: Reboot command only shuts down device after installing power kernel (46)
 
Same obsevation. Though I think the reboot does start - I see Nokia logo - but then fails just before we'd normally see the flashing dots.

9000 2011-03-24 04:17

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by getnani (Post 974172)
Failed once out of 4 times or so!

Actually I dont understand why sudo reboot fails almost certainly, but sudo /sbin/reboot works most of the time- at least definitely better than sudo reboot!!! Anybody has a command that reboots with certainty of no less than 100% :'(

I am not able to comprehend why this is so difficult and messy with power kernel (which has crossed many revisions I guess!!)

Please maemo experts, please help!!

Try this as well:

Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce "/com/nokia/mce/request" com.nokia.mce.request.req_reboot

ivgalvez 2011-03-24 15:45

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by 9000 (Post 974404)
Try this as well:

Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce "/com/nokia/mce/request" com.nokia.mce.request.req_reboot

Doesn't work for me:
Code:

Error org.freedesktop.DBus.Error.UnknownMethod: Method "req_reboot" with signature "" on interface "com.nokia.mce.request" doesn't exist

9000 2011-03-24 15:58

Re: Reboot command only shuts down device after installing power kernel (46)
 
Hmm....

Anyway. Try this:

Code:

echo "sync;sync;init 6" | root

ivgalvez 2011-03-24 18:52

Re: Reboot command only shuts down device after installing power kernel (46)
 
Tried and seems to work.

I have to repeat it a few times though.

soeiro 2011-05-18 13:55

Re: Reboot command only shuts down device after installing power kernel (46)
 
Quote:

Originally Posted by 9000 (Post 974799)
Hmm....

Anyway. Try this:

Code:

echo "sync;sync;init 6" | root

For me (kernel-power 42) it just performs a regular shutdown.

karam 2011-05-18 14:22

Re: Reboot command only shuts down device after installing power kernel (46)
 
i used to use kernel-power-v40-wl without any reboot problems
but just like all of you guys problems with reboot started from kernel-power-v42 till v47

soeiro 2011-05-18 14:34

Re: Reboot command only shuts down device after installing power kernel (46)
 
When one types "reboot" using root privileges one can see that there is a -h (halt) option somewhere in the script running instead of a -r (reboot).

Where is that stored? Maybe we can revert it back to reboot...

Is "reboot" a shell function or is it really that binary file /sbin/reboot?

travla 2011-06-22 09:46

Re: Reboot command only shuts down device after installing power kernel (46)
 
I'm giving this a bump as I still have this problem, has anyone found a solution they would care to post (other than the workarounds that have been posted)?

Jigzy 2011-06-22 10:56

Re: Reboot command only shuts down device after installing power kernel (46)
 
There is another app called "simplereboot"

enne30 2012-02-18 16:17

Re: Reboot command only shuts down device after installing power kernel (46)
 
Same problem here... it happens with x-terminal "reboot" as well as with simplereboot. I gotta try the workarounds, anyway.

Another strange symptom is that sometimes (rarely indeed) device reboots instead of shutting down :eek:

First time it occurred I missed alarm clock in the morning (device stopped on PIN screen and that way it seems no alarm can be started). :rolleyes:

Now I check twice if device really halted before going to sleep :p

Minhaz 2012-02-18 16:24

Re: Reboot command only shuts down device after installing power kernel (46)
 
the problem is solved in pwer kernel pre50
everything works like charm now :)


All times are GMT. The time now is 02:36.

vBulletin® Version 3.8.8