You are not logged in.

#1 2010-07-16 16:13:50

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

unable to shutdown ??

Hi all,
I'm experiencing a strange problem: when i try to shutdown the system, it performs all operations but after the "POWER OFF" it...restarts!!!

What's happening?

Maybe is a very trivial problem...but i don't know how to solve.

Thnaks in advance

Offline

#2 2010-07-16 16:31:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: unable to shutdown ??

virusso80 wrote:

Hi all,
I'm experiencing a strange problem: when i try to shutdown the system, it performs all operations but after the "POWER OFF" it...restarts!!!

How do you shutdown - via 'shutdown -h now'?
We need more info in order to try to help you.

Offline

#3 2010-07-16 17:10:58

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: unable to shutdown ??

Yes, how are you shutting down? From inside KDE/GNOME/XFCE? With shutdown -h now? Smashing your box with a sledge hammer?

Offline

#4 2010-07-16 20:37:28

nomilieu
Member
Registered: 2010-07-03
Posts: 133

Re: unable to shutdown ??

I generally shut down with

init 0

See what that does for you.

Offline

#5 2010-07-17 07:56:54

robagar
Member
Registered: 2010-07-17
Posts: 2

Re: unable to shutdown ??

Yeah, I have the same problem - ever since doing a system update a week or two ago 'shutdown -h now' and 'init 0' both result in a reboot.  Before the update I used shutdown.  Any handy hints on resolving this?

Offline

#6 2010-07-17 08:54:04

enedene
Member
From: Zagreb
Registered: 2010-07-13
Posts: 25
Website

Re: unable to shutdown ??

I shutdown with:
shutdown -P 0 -h

Offline

#7 2010-07-17 13:17:51

elastic
Member
Registered: 2010-07-05
Posts: 13

Re: unable to shutdown ??

same here bur only on one notebook  Toshiba Satellite L300D-21P  (AMD Sempron, ATI Chipset with int. ATI Radeon 3100) - shutdown works with gdm - with slim allways a reboot (shutdown -h, poweroff, init 0) - don't know why it works with gdm ... - initscripts are installed ...


Archlinux on Samsung x20 notebook and on Acer Aspire One 110l

Offline

#8 2010-07-17 14:56:21

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: unable to shutdown ??

Sorry I'm just connected. Well, i'm using GNOME. I do System->Shut Down...
it shows alla scripts...then, POWER OFF message, but...it restarts!!!

i think there should be some config file to properly set. it 's not normal.
Thanks

Offline

#9 2010-07-17 14:58:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: unable to shutdown ??

A gdm bug maybe?
I use dwm and shutdown via 'shutdown -h now' and it's fine.

Last edited by karol (2010-07-17 14:58:59)

Offline

#10 2010-07-17 14:59:16

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: unable to shutdown ??

it was the same problem with kdm sad

Just tried "#shutdown -h now"

It restarts!!!!!!

Last edited by virusso80 (2010-07-17 15:01:02)

Offline

#11 2010-07-17 15:05:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: unable to shutdown ??

<scratches head>
I'm running 32-bit.

Offline

#12 2010-07-17 15:06:57

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: unable to shutdown ??

karol wrote:

<scratches head>
I'm running 32-bit.

me too!

it's still a new fresh installation!!!

Offline

#13 2010-07-17 15:11:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: unable to shutdown ??

virusso80, please you fewer exclamation marks - or even none at all. I can hear you fine, man.

Offline

#14 2010-07-17 16:17:32

TaylanUB
Member
Registered: 2009-09-16
Posts: 150

Re: unable to shutdown ??

For a temporary solution...

Open /etc/rc.shutdown with your favorite editor.
Go to the end, find the line with /sbin/poweroff; replace the line with `sleep 30`.

Now when shutting down, after you get that last "POWER OFF" message, turn off the machine via the power button.

Should work just fine. xD

Note that /etc/rc.shutdown will be overwritten when you install a new version of initscripts.

Last edited by TaylanUB (2010-07-17 16:21:44)


``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein

Offline

#15 2010-07-17 19:04:38

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: unable to shutdown ??

karol wrote:

virusso80, please you fewer exclamation marks - or even none at all. I can hear you fine, man.

yes sorry man...XD

Offline

#16 2010-07-17 19:12:40

quigybo
Member
Registered: 2009-01-15
Posts: 223

Re: unable to shutdown ??

I have the same problem with my HP laptop, and downgrading to the 2.6.33 kernel series solved it for me. Not sure if there is a fix out yet.

Another forum thread points to plymouth as the cause, this may or may not apply to you.

Offline

#17 2010-07-18 07:43:10

robagar
Member
Registered: 2010-07-17
Posts: 2

Re: unable to shutdown ??

FWIW, my arch box with this problem is a 64 bit server with no GUI.

rc.conf:
DAEMONS=(syslog-ng network netfs crond named sshd mysqld httpd samba)

plus openvpn launched in rc.local

Offline

#18 2010-07-20 15:56:41

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: unable to shutdown ??

I reinstalled arch again from scratch: the issue above is still there. I'm not able to shut down! Maybe it's a bug! Can you please confirm that? did u try installing the new version and make it working without this problem?

Thanks

Offline

#19 2010-07-20 22:25:28

TaylanUB
Member
Registered: 2009-09-16
Posts: 150

Re: unable to shutdown ??

It's probably a bug in the kernel related to your specific hardware.

By the way i was more or less serious with my previous recommendation. (Do your have _any_ other option?) At the very least, the OS/filesystem will get absolutely no damage, if you do what i described. And although i cannot be sure, i'm thinking that holding the power button down has the same effect on the hardware as a power-off signal coming from the kernel.
Other than that, 'poweroff' has the -h and -i switches (see the manpage), but i doubt that those have any serious importance.


``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein

Offline

Board footer

Powered by FluxBB