Author Topic: SOLVED - Shutdown won't  (Read 2492 times)

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #15 on: July 04, 2011, 10:49:55 PM »
[root@localhost mihi]# ifdown wlan0
[root@localhost mihi]#

My connection dropped when I typed this command but it may have been something else

When I turned the machine off it shut down first time. My next reboot was as normal.

The highlighted sentence means you were able to shutdown properly when you dropped the connection? What do you mean first time?

In doing the same procedure again, did the machine shutdown properly or not?

Yes I mean that it shutdown immediately without it having to be restarted and then shutdown again. But that happy state did not last.

I have booted twice and it is not shutting down when I click on "Turn off computer"      In fact it is back as  described in my first post.             
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Shutdown won't
« Reply #16 on: July 04, 2011, 11:20:48 PM »
Of course, consequent shutdowns will still have the issue because that could be the problem (and I hope there's none other)...

Your shutdown issue as I mentioned in my previous post is the failure of of one (and I hope none others) process to close - network. I am not knowledgeable enough to point you to the direction (and I would need to do a bit more research on this myself) but at least we know what is causing your shutdown woes.

Also, mentioned is properly shutting down your system. Until we can find a fix for this, it would be best (for your system integrity) to close your network connection before shutting down.

Hopefully, one of our experts will come along with a better fix.

Good luck ... and sorry I couldn't be of much help at this point ... maybe after I do a bit more research.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #17 on: July 04, 2011, 11:30:49 PM »
Of course, consequent shutdowns will still have the issue because that could be the problem (and I hope there's none other)...

Your shutdown issue as I mentioned in my previous post is the failure of of one (and I hope none others) process to close - network. I am not knowledgeable enough to point you to the direction (and I would need to do a bit more research on this myself) but at least we know what is causing your shutdown woes.

Also, mentioned is properly shutting down your system. Until we can find a fix for this, it would be best (for your system integrity) to close your network connection before shutting down.

Hopefully, one of our experts will come along with a better fix.

Good luck ... and sorry I couldn't be of much help at this point ... maybe after I do a bit more research.

Thanks a lot Archie - you've at least made me aware that the problem is not as trivial as I thought it was. I'll recheck to see if there are more loops than the network ones.
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Shutdown won't
« Reply #18 on: July 04, 2011, 11:53:38 PM »
Just an after thought ... although you did mention you have no Samba doesn't really mean it is not installed and running.

Can you check Configure Your Computer > System > Manage system services ... and see if you have the service smb (and if it is running)?

http://www.pclinuxos.com/forum/index.php/topic,90774.0.html
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #19 on: July 05, 2011, 12:43:23 AM »
Just an after thought ... although you did mention you have no Samba doesn't really mean it is not installed and running.

Can you check Configure Your Computer > System > Manage system services ... and see if you have the service smb (and if it is running)?

http://www.pclinuxos.com/forum/index.php/topic,90774.0.html


smb - that is samba I presume - was On. I turned it off and the "Turning off Computer" didn't stall as it used to but was very fast. The text in the background got to "Power Off". However it failed to shutdown.
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Shutdown won't
« Reply #20 on: July 05, 2011, 01:00:12 AM »
Just an after thought ... although you did mention you have no Samba doesn't really mean it is not installed and running.

Can you check Configure Your Computer > System > Manage system services ... and see if you have the service smb (and if it is running)?

http://www.pclinuxos.com/forum/index.php/topic,90774.0.html


smb - that is samba I presume - was On. I turned it off and the "Turning off Computer" didn't stall as it used to but was very fast. The text in the background got to "Power Off". However it failed to shutdown.



Did you happen to notice (on verbose) if the shutdown indicated that there were "no more processes" left? Did you try it a second time to see if it was still the same?

If that's the case then I think we've made another step closer to a fix. Hang in there.

*** EDIT ***
OK, let's try this:

Open ~/.kde4/Autostart/noblank.sh using KWrite and there are three only three lines on the script.

Code: [Select]
#!/bin/sh
xset s off
xset -dpms

Add a hash (#) in front of the last line (commenting out that line) so it would look like:

Code: [Select]
#!/bin/sh
xset s off
# xset -dpms

Save it and try to reboot ... If all goes well, try a shutdown.

HTH
« Last Edit: July 05, 2011, 01:10:01 AM by Archie »
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #21 on: July 05, 2011, 03:54:27 AM »


Did you happen to notice (on verbose) if the shutdown indicated that there were "no more processes" left? Did you try it a second time to see if it was still the same?

If that's the case then I think we've made another step closer to a fix. Hang in there.

*** EDIT ***
OK, let's try this:

Open ~/.kde4/Autostart/noblank.sh using KWrite and there are three only three lines on the script.

Code: [Select]
#!/bin/sh
xset s off
xset -dpms

Add a hash (#) in front of the last line (commenting out that line) so it would look like:

Code: [Select]
#!/bin/sh
xset s off
# xset -dpms

Save it and try to reboot ... If all goes well, try a shutdown.

HTH

No, no sign of "no more processes" Yes, tried it a second time, still the same.

Did what you suggested - commented out xset -dpms Rebooted OK but still wouldn't Shutdown Also the loops were still there.

Bit of a sod isn't it?
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Shutdown won't
« Reply #22 on: July 05, 2011, 03:56:25 AM »
Rebooted OK but still wouldn't Shutdown Also the loops were still there.

Bit of a sod isn't it?

By that you meant machine powering off, yes?
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2413
Re: Shutdown won't
« Reply #23 on: July 05, 2011, 03:58:05 AM »
What if you try REISUB thing in a virtual console and look at the output?

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #24 on: July 05, 2011, 04:46:15 AM »

By that you meant machine powering off, yes?

Yes.......
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Shutdown won't
« Reply #25 on: July 05, 2011, 04:52:35 AM »
Have you tried any other means, other than halt? How about poweroff?

At this point, I am fresh out of ideas.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #26 on: July 05, 2011, 04:54:44 AM »
What if you try REISUB thing in a virtual console and look at the output?

But REISUB does a reboot immediately after a shutdown and I want it to shut down and stay shut down. ;D

What is a virtual console - alt/sysrq ?
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #27 on: July 05, 2011, 04:57:32 AM »
Have you tried any other means, other than halt? How about poweroff?

At this point, I am fresh out of ideas.

I'm not surprised.

I thought Halt and Poweroff and Shutdown all meant the same thing.
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Shutdown won't
« Reply #28 on: July 05, 2011, 05:05:18 AM »
Just an after thought ... although you did mention you have no Samba doesn't really mean it is not installed and running.

Can you check Configure Your Computer > System > Manage system services ... and see if you have the service smb (and if it is running)?

http://www.pclinuxos.com/forum/index.php/topic,90774.0.html


smb - that is samba I presume - was On. I turned it off and the "Turning off Computer" didn't stall as it used to but was very fast. The text in the background got to "Power Off". However it failed to shutdown.



Hi Maurice,

reading your post above, what I understand is that your system shutdown process completed correctly, in fact "Power off" is the last message you can see from a whole shutdown process.

By "However it failed to shutdown" did you mean that the machine doesn't turn off ?
If so, this could be something specifically related to your Hardware/BIOS/ACPI ...

can you provide some more info about your system ?
did you check for an eventually available BIOS update ?
can you post your file /boot/grub/menu.lst (or at least the kernel parameters you are actually using) ?

AS

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1132
Re: Shutdown won't
« Reply #29 on: July 05, 2011, 05:20:28 AM »

Hi Maurice,

reading your post above, what I understand is that your system shutdown process completed correctly, in fact "Power off" is the last message you can see from a whole shutdown process.

By "However it failed to shutdown" did you mean that the machine doesn't turn off ?
If so, this could be something specifically related to your Hardware/BIOS/ACPI ...

can you provide some more info about your system ?
did you check for an eventually available BIOS update ?
can you post your file /boot/grub/menu.lst (or at least the kernel parameters you are actually using) ?

AS
1---Correct
2---Yes
3---Details of my machine are in my sig. I can't think of any more that might be relevant.
4---Here' my menu.lst

timeout 1
color black/cyan yellow/cyan
gfxmenu (hd0,3)/boot/gfxmenu
default 0

title linux
kernel (hd0,3)/boot/vmlinuz BOOT_IMAGE=linux root=LABEL=PcLinuxOS10 vmalloc=256M splash=silent vga=788
initrd (hd0,3)/boot/initrd.img

title linux-nonfb
kernel (hd0,3)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=LABEL=PcLinuxOS10 vmalloc=256M
initrd (hd0,3)/boot/initrd.img

title failsafe
kernel (hd0,3)/boot/vmlinuz BOOT_IMAGE=failsafe root=LABEL=PcLinuxOS10 failsafe vmalloc=256M
initrd (hd0,3)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title PCLinuxOS (PCLinuxOS)
root (hd0,1)
configfile /boot/grub/menu.lst

title 2.6.33.5-pclos1.bfs
kernel (hd0,3)/boot/vmlinuz-2.6.33.5-pclos1.bfs BOOT_IMAGE=2.6.33.5-pclos1.bfs root=LABEL=PcLinuxOS10 vmalloc=256M splash=silent vga=788
initrd (hd0,3)/boot/initrd-2.6.33.5-pclos1.bfs.img

title 2.6.38.8-pclos1.pae.bfs
kernel (hd0,3)/boot/vmlinuz-2.6.38.8-pclos1.pae.bfs BOOT_IMAGE=2.6.38.8-pclos1.pae.bfs root=LABEL=PcLinuxOS10 vmalloc=256M splash=silent vga=788
initrd (hd0,3)/boot/initrd-2.6.38.8-pclos1.pae.bfs.img
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell