| Author |
Message |
astro4travel

Joined: 02 Mar 2009 Posts: 27 Location: Imperial, Missouri USA
|
Posted: Sat 17 Oct 2009, 21:42 Post subject:
Can't shutdown [Solved] |
|
I just installed Puppy 4.3.1 from the last version. I have an old p-2 NEC with 168mgs of memory with an 333mhts processor. Now, I am able to reboot using the menu shutdown button, but when I go for a system shutdown it hangs on "system halt". Not sure what is going on. I have to hold in the power button to shut down. Help!
Last edited by astro4travel on Tue 20 Oct 2009, 21:22; edited 1 time in total
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Sat 17 Oct 2009, 21:58 Post subject:
Re: Can't shutdown |
|
| astro4travel wrote: | I just installed Puppy 4.3.1 from the last version. I have an old p-2 NEC with 168mgs of memory with an 333mhts processor. Now, I am able to reboot using the menu shutdown button, but when I go for a system shutdown it hangs on "system halt". Not sure what is going on. I have to hold in the power button to shut down. Help!  |
Do you get any error messages from command line? When you want to shut it down, open a terminal and type:
and maybe that will give us some hints.
|
|
Back to top
|
|
 |
davids45

Joined: 26 Nov 2006 Posts: 580 Location: Chatswood, NSW
|
Posted: Sat 17 Oct 2009, 22:11 Post subject:
|
|
G'day,
Try this:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1983722716&t=46934
The line number in /etc/rc.d/rc.sysinit may have changed slightly since first identified - I see it is now line 249 in some Pups.
But this fix continues to work for me on my Medion desktop which needs the acpi=off boot parameter to handle the latest Pups and then wont shut off unless I modify rc.sysinit.
David S.
|
|
Back to top
|
|
 |
astro4travel

Joined: 02 Mar 2009 Posts: 27 Location: Imperial, Missouri USA
|
Posted: Sun 18 Oct 2009, 14:34 Post subject:
mixed bag of tricks |
|
Well, I tried using wmpoweroff in terminal and the machine shut off right away with no error codes. I also tried to modify the /etc/rc.d/rc.sysinit file and it went right to "system halt" but hung there. So, far as I can tell the wmpoweroff in the terminal is the only thing that works at this time.
|
|
Back to top
|
|
 |
Kal
Joined: 05 May 2005 Posts: 620 Location: California, High Desert
|
Posted: Sun 18 Oct 2009, 15:05 Post subject:
|
|
Which kernel are you using? You might want an older kernel for the older machines. I would try pup-431-k2.6.21.7-scsi-intel_modems.iso. They're at:
ftp://ibiblio.org/pub/linux/distributions/puppylinux/puppy-4.3.1/special-puppies/
You might also want to read the File:readme-files.htm, one level up.
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Sun 18 Oct 2009, 20:36 Post subject:
|
|
Well, I gotta say it looks like the others are giving good input on a solution to the actual problem.
But either way it may be beneficial to do like I did: I put an icon on the desktop that runs a script that runs power off and I labeled it "Quick Shutoff" or something like that.
Just open geany or some other text editor. Then make the script this:
| Code: |
#!/bin/bash
wmpoweroff
|
then save it somewhere, and say it is labeled something like quick-shutoff
I then open rox filemanager to the folder that file is in, right click it and go to permissions, and click that. It will ask if you want to make it executatble, and I say yes.
Then drag that script to the desktop.
If you want (as I do, being an eye-candy junky) you can select a good icon for the script (right click on the desktop and select file>set icon and drag and drop an icon there).
then every time you click the icon it will just shut it down real quick.
| Description |
|
| Filesize |
5.22 KB |
| Viewed |
2159 Time(s) |

|
|
|
Back to top
|
|
 |
astro4travel

Joined: 02 Mar 2009 Posts: 27 Location: Imperial, Missouri USA
|
Posted: Mon 19 Oct 2009, 05:52 Post subject:
|
|
I'll give 'er a go and let you know how it went. Thanks again.
|
|
Back to top
|
|
 |
Sage
Joined: 04 Oct 2005 Posts: 4622 Location: GB
|
Posted: Mon 19 Oct 2009, 08:55 Post subject:
|
|
You should know by now that these shutdown issues are unique features of Puppy! Herr Obermeister has no interest or intention of permanently addressing the issue. Best advice is to try one of the acpi=<on, off, force, w.h.y> commands and incorporate it into GRUB as first recommended several years ago. Some laptops and other recalcitrant systems require additional or different twiddling; meme choses and all that jazz.
|
|
Back to top
|
|
 |
davids45

Joined: 26 Nov 2006 Posts: 580 Location: Chatswood, NSW
|
Posted: Mon 19 Oct 2009, 18:23 Post subject:
Modifying rc.sysinit for shut-down Subject description: Requires a re-boot to take effect |
|
G'day,
To clarify the above mentioned power_off=1 addition to rc.sysinit to get a complete shut-down with affected computers (those needing acpi=off to run newer Pups for example), this works only after a re-boot.
I confirmed this last night with Full and Frugal Pup 431s.
David S.
|
|
Back to top
|
|
 |
astro4travel

Joined: 02 Mar 2009 Posts: 27 Location: Imperial, Missouri USA
|
Posted: Tue 20 Oct 2009, 08:19 Post subject:
|
|
Went ahead and took steve-s's advice and did the quick-shutdown icon on the desktop. Seem's to work fine. I may go with that fix. Thanks.
|
|
Back to top
|
|
 |
astro4travel

Joined: 02 Mar 2009 Posts: 27 Location: Imperial, Missouri USA
|
Posted: Tue 20 Oct 2009, 21:04 Post subject:
Final followup [Solved!] |
|
I also rebooted after doing the other changes to power_off=1 addition to rc.sysinit to get a complete shut-down and it works now. So now I have a quick shutdown button on the desktop and the one in the menu now works. Thanks for all of the help. This is a great forum!
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Tue 20 Oct 2009, 23:14 Post subject:
Re: Final followup [Solved!] |
|
| astro4travel wrote: | ...This is a great forum!  |
That's what's kept me here...
Glad it worked for you!
|
|
Back to top
|
|
 |
mojosalsa
Joined: 22 Feb 2010 Posts: 5
|
Posted: Mon 22 Feb 2010, 17:19 Post subject:
|
|
Can a late-comer get some help?
I am running 4.3.1 on an 2003 HP with 1.x GHz processor and 1.x GB RAM. At first I think the shutdown button worked, and then I downloaded and installed several things (Icewm being one of them) and now when I press SHUTDOWN nothing happens. I might as well have yelled "SHUTDOWN" out loud to my computer because it did absolutely nothing.
I tried both solutions just listed, the "quick shutoff" desktop icon and the code change to the rc. file. Still nothing. To shut off the computer I have to push Ctrl+Alt+Backspace everytime.
Any help?
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Mon 22 Feb 2010, 18:04 Post subject:
|
|
| mojosalsa wrote: | Can a late-comer get some help?
I am running 4.3.1 on an 2003 HP with 1.x GHz processor and 1.x GB RAM. At first I think the shutdown button worked, and then I downloaded and installed several things (Icewm being one of them) and now when I press SHUTDOWN nothing happens. I might as well have yelled "SHUTDOWN" out loud to my computer because it did absolutely nothing.
I tried both solutions just listed, the "quick shutoff" desktop icon and the code change to the rc. file. Still nothing. To shut off the computer I have to push Ctrl+Alt+Backspace everytime.
Any help? |
Hmmm...I'd like to figure this mystery out too...try this: open a terminal and type at the #
and tell us what happens, please...have you tried that already?
|
|
Back to top
|
|
 |
mojosalsa
Joined: 22 Feb 2010 Posts: 5
|
Posted: Mon 22 Feb 2010, 18:26 Post subject:
|
|
I'm new at this whole Linux thing, so i wasn't sure what you meant by "a terminal." I went to Menu>Utility>Rxvt terminal emulator and typed in wmpoweroff and pressed enter. it printed the following below the first line:
| Code: | | kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -1 [sigspec] |
Does it sound like i did it right?
|
|
Back to top
|
|
 |
|