Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Any way of shutting down restarts instead
Any way of shutting down restarts instead
I have an odd problem with my fresh debian wheezy install.
Whenever I try to shut down, my laptop (HP ProBook 4540s) turns off all the lights and it looks as if it shut down, and after about a second it restarts!
I'm posting here because I tried in all the possible ways I know to fix that but failed, the guys at #debian suggested I upgrade to sid - but I really prefer to remain on wheezy.
Also my BIOS is updated and I have a Win7 partition which turns off the computer properly.
Any suggestions?
Whenever I try to shut down, my laptop (HP ProBook 4540s) turns off all the lights and it looks as if it shut down, and after about a second it restarts!
I'm posting here because I tried in all the possible ways I know to fix that but failed, the guys at #debian suggested I upgrade to sid - but I really prefer to remain on wheezy.
Also my BIOS is updated and I have a Win7 partition which turns off the computer properly.
Any suggestions?
-
- Posts: 461
- Joined: 2010-06-11 05:05
Re: Any way of shutting down restarts instead
What environment are you using?
Describe how you are shutting down the computer and what happens.
Describe how you are shutting down the computer and what happens.
Re: Any way of shutting down restarts instead
I'm currently running with no environment (command line). I tried shutting it down via different commands -> sudo shutdown 0 (tried different parameters as well -P/-h etc.)AnInkedSoul wrote:What environment are you using?
Describe how you are shutting down the computer and what happens.
sudo poweroff
sudo halt
Clicking the shutdown (physical) button
Whenever I do one of those the result is the same- The computer shut downs (all lights turn off) and after a second it surprisingly restarts
Re: Any way of shutting down restarts instead
Is the shutdown button you refer to above in Gnome, Kde, Xfce or Lxde?
(are there any other Desktop Environments with a shutdown button on the panel or in the menu?)
try shutting down the session manager (typically gdm3 or kdm),if using kde exchanges kdm for gdm3 in the command
than run your shutdown command.from the commandline.
(are there any other Desktop Environments with a shutdown button on the panel or in the menu?)
try shutting down the session manager (typically gdm3 or kdm),
Code: Select all
/etc/init.d/gdm3 stop
than run your shutdown command.from the commandline.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
Re: Any way of shutting down restarts instead
Personally I always log in as root (switch user) su -, then run shutdown now -h (for halt) or -r for reboot. You can change the 'now' switch for 1,2,3 etc minutes to give a timed shutdown.
To clarify.
$ su -
# shutdown now -h
or
# shutdown 2 -r
To clarify.
$ su -
# shutdown now -h
or
# shutdown 2 -r
Re: Any way of shutting down restarts instead
llivv wrote:Is the shutdown button you refer to above in Gnome, Kde, Xfce or Lxde?
(are there any other Desktop Environments with a shutdown button on the panel or in the menu?)
try shutting down the session manager (typically gdm3 or kdm),if using kde exchanges kdm for gdm3 in the commandCode: Select all
/etc/init.d/gdm3 stop
than run your shutdown command.from the commandline.
Did you guys read my post?bigal wrote:Personally I always log in as root (switch user) su -, then run shutdown now -h (for halt) or -r for reboot. You can change the 'now' switch for 1,2,3 etc minutes to give a timed shutdown.
To clarify.
$ su -
# shutdown now -h
or
# shutdown 2 -r
I tried what you suggested, and it didn't helpI'm currently running with no environment (command line). I tried shutting it down via different commands ...
Re: Any way of shutting down restarts instead
Sorry, I do not understand.
You say
You say
If you do not have access to the command line, where are you entering the commands?I'm currently running with no environment (command line). I tried shutting it down via different commands ...
Re: Any way of shutting down restarts instead
I think he means he doesn't have a DE only cli available.bigal wrote:Sorry, I do not understand.
You sayIf you do not have access to the command line, where are you entering the commands?I'm currently running with no environment (command line). I tried shutting it down via different commands ...
May the FORK be with you!
Re: Any way of shutting down restarts instead
Absolutelygolinux wrote:I think he means he doesn't have a DE only cli available.bigal wrote:Sorry, I do not understand.
You sayIf you do not have access to the command line, where are you entering the commands?I'm currently running with no environment (command line). I tried shutting it down via different commands ...
By the way, this might be helpful: I am able to shutdown properly from safe mode. I'm trying to disable different things now to find what causes this so if anyone has suggestions please do write them. Thanks
Re: Any way of shutting down restarts instead
"Clicking the shutdown (physical) button"ariel6 wrote: I'm currently running with no environment (command line). I tried shutting it down via different commands -> sudo shutdown 0 (tried different parameters as well -P/-h etc.)
sudo poweroff
sudo halt
Clicking the shutdown (physical) button
Whenever I do one of those the result is the same- The computer shut downs (all lights turn off) and after a second it surprisingly restarts
is where I lost ya.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
Re: Any way of shutting down restarts instead
I just meant I tried many ways of shutting down the computer, by running shutdown commands and by actually clicking the shutdown button from the computer, but it just seems to do the seem all the timellivv wrote:"Clicking the shutdown (physical) button"ariel6 wrote: I'm currently running with no environment (command line). I tried shutting it down via different commands -> sudo shutdown 0 (tried different parameters as well -P/-h etc.)
sudo poweroff
sudo halt
Clicking the shutdown (physical) button
Whenever I do one of those the result is the same- The computer shut downs (all lights turn off) and after a second it surprisingly restarts
is where I lost ya.
Re: Any way of shutting down restarts instead
have you tried switching to runlevel 0 manually?
Code: Select all
# /sbin/telinit 0
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
Re: Any way of shutting down restarts instead
Yes, same result unfortunatelyllivv wrote:have you tried switching to runlevel 0 manually?Code: Select all
# /sbin/telinit 0
Re: Any way of shutting down restarts instead
Like they recommended at #debian, there may already be a fix in unstable.
is this your machine
HP ProBook 4540s Notebook PC - Specifications
if your really not interested in adding unstable I found these links on the wiki
Debian on mobile - mailing list
http://lists.debian.org/debian-laptop/
Linux Laptop & Notebook Installation Guides: Hewlett-Packard - HP
http://www.tuxmobil.org/hp.html
Linux on HP Laptops
http://www.linux-on-laptops.com/hp.html
It looks to me like your model is fairly/extremely new.
Which is probably why #debian recommended unstable as the best alternative, until backports catches up..
is this your machine
HP ProBook 4540s Notebook PC - Specifications
if your really not interested in adding unstable I found these links on the wiki
Debian on mobile - mailing list
http://lists.debian.org/debian-laptop/
Linux Laptop & Notebook Installation Guides: Hewlett-Packard - HP
http://www.tuxmobil.org/hp.html
Linux on HP Laptops
http://www.linux-on-laptops.com/hp.html
It looks to me like your model is fairly/extremely new.
Which is probably why #debian recommended unstable as the best alternative, until backports catches up..
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
Re: Any way of shutting down restarts instead
Yes I see, however it's odd that it does work on safe-mode, there must be module that can be disabled before shutdown to make it work, at least I want to believe sollivv wrote:Like they recommended at #debian, there may already be a fix in unstable.
is this your machine
HP ProBook 4540s Notebook PC - Specifications
if your really not interested in adding unstable I found these links on the wiki
Debian on mobile - mailing list
http://lists.debian.org/debian-laptop/
Linux Laptop & Notebook Installation Guides: Hewlett-Packard - HP
http://www.tuxmobil.org/hp.html
Linux on HP Laptops
http://www.linux-on-laptops.com/hp.html
It looks to me like your model is fairly/extremely new.
Which is probably why #debian recommended unstable as the best alternative, until backports catches up..
Thanks for the answers and help, if nothing else works I will probably update the kernel to sid
Forgot to mention- what you find is my laptop. I've already been in the links you sent by the way but I really appreciate the help
- Absent Minded
- Posts: 3464
- Joined: 2006-07-09 08:50
- Location: Washington State U.S.A.
- Been thanked: 3 times
Re: Any way of shutting down restarts instead
While I can't be certian, this sounds allot like the automatic power managment in the kernel isn't quite right for your machine. Might be one of the reasons it shuts down properly from a difrent boot option, not all the moduals are being loaded. You can disable the APM in the kernel and see if that works for the time being until an update is availible. You could also build the newer kernel from source to see if the problem has been fixed, no upgrade to Sid needed. There are several How-tos here to help you do that.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012