Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 01:47
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Solution to poweroff problem on late-model Puppies
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Tue 24 Apr 2012, 12:58    Post subject:  Solution to poweroff problem on late-model Puppies
Subject description: i.e. Puppies published after February 2012
 

Hello.

I finally found a solution to the shutdown problem that has been bogging down recent Puppies. Simply download and run the attached pet.

This restores the exit routines to what they were before publication of the general localization installs for new Puppies. (end of Febr. 2012)

Based on the exit routines in lupu 5.25-retro-4.

What it does:
It copies the older routines to /root/my-applications/bin, and then swaps them with those in /usr/bin. The original ones are thus kept in /root/my-applications/bin.

Warnings:
* do not use if your shutdown routines work!
* do not use on the "lupu series" Puppies
* at this time, success has been verified only in Upup-Precise 5.3.3.*
Other validations would be appreciated, such as use in the recent wary's and slacko's or generally in newer Puppies with localization capacity built-in
.


Any constructive criticism welcome. Thanks in advance.

BFN.
exits.pet
Description  Exit routines restored from lupu 5.25. Use only if you experience shutdown problems in Puppies with built-in localization capacity.
pet

 Download 
Filename  exits.pet 
Filesize  1.4 KB 
Downloaded  622 Time(s) 

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
recobayu


Joined: 15 Sep 2010
Posts: 112
Location: indonesia

PostPosted: Wed 25 Apr 2012, 00:44    Post subject:  

i use your exits.pet in my lupuplus 528.005 full install and it works! thanks.
before this, i have a problem with shutdown and reboot in full install. but now it is fixed.
thanks musher0.. Very Happy
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Wed 25 Apr 2012, 03:09    Post subject:  

recobayu wrote:
i use your exits.pet in my lupuplus 528.005 full install and it works! thanks.
before this, i have a problem with shutdown and reboot in full install. but now it is fixed.
thanks musher0.. Very Happy


It's nothing at all, recobayu. My pleasure. Smile
Have a great day!

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Wed 25 Apr 2012, 14:40    Post subject:  

Jemimah advises NOT to use mushers current fix in saluki www.murga-linux.com/puppy/viewtopic.php?p=622724#622724
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Wed 25 Apr 2012, 17:13    Post subject:  

aarf wrote:
Jemimah advises NOT to use mushers current fix in saluki www.murga-linux.com/puppy/viewtopic.php?p=622724#622724


Thanks, aarf, for pointing it out.

I hope this does not get out of hand. I included some precisions on her thread.

I'll repeat here for every one who wants to use my fix:
1) my fix is a stop-gap. BK will eventually provide an official "commit", as pemasu mentioned.
2) I am not a programmer; my fix only swaps older existing routines with the new ones. I am not qualified to change the routines, I only know that this swap works FOR ME, and perhaps one or two others.
3) if your shutdown routines work, don't fix them! (to paraphrase the famous proverb.)
4) the fix is intended for a very few recent Puppies with certain localizations.

BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Bligh

Joined: 08 Jan 2006
Posts: 484
Location: California

PostPosted: Wed 25 Apr 2012, 19:48    Post subject:  

I always boot from cd and have run all of the official Puppies and numerous derivatives. , I have only had a shutdown issue on one gateway 5300 laptop with 4.3.1 with that laptop I simply hit the kill button on the laptop with no apparent issues.
Cheers
Back to top
View user's profile Send private message 
nitehawk


Joined: 13 Apr 2008
Posts: 538
Location: West Central Florida

PostPosted: Thu 26 Apr 2012, 21:12    Post subject:  

My HP Pavilion ze4300 laptop has MAJOR "no-shut-down" issues with Racy Puppy. For some odd reason,...Wary makes it freeze (cpu peaks)...and the little fan starts to whirrrrr itself to death.

So far it works pretty good with a small frugal install of Puppy 4.3,...and a full install of Macpup 5.2.5. It's a very fussy laptop! Laughing
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Fri 27 Apr 2012, 13:14    Post subject:  

Hi, guys.

I imagine that the "shutdown" command calls are very low-level. So reaction may depend on the particular CPU used for a certain computer.

BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
greengeek

Joined: 20 Jul 2010
Posts: 2478
Location: New Zealand

PostPosted: Sat 28 Apr 2012, 01:56    Post subject:  

aarf wrote:
Jemimah advises NOT to use mushers current fix in saluki www.murga-linux.com/puppy/viewtopic.php?p=622724#622724

I have had shutdown problems in Saluki - it would reboot itself after saving the savefile, when it should have just shut down. My installation was a usb install (and therefore did not offer the choice of frugal/full).

It turns out that the problem only occurred when (after changing the locale) I used the "legacy" routine for the creation of the savefile, and then selected the "save to sda2" option instead of the "save to file" option. (if you choose the "save to file" option it creates a "lukisavexx.2fs" savefile and places it in the home folder but if you choose the "save to sdax" option it is effectively a "save to partition" option and does not create a savefile at all - it simply updates all of the seperate folders that are lying around in the home folder).

Are any other people with shutdown problems using the save-to-partition option instead of the save-to-file option?
Back to top
View user's profile Send private message 
Bligh

Joined: 08 Jan 2006
Posts: 484
Location: California

PostPosted: Sat 28 Apr 2012, 12:26    Post subject:  

@ greengeek I had an emachine pc that came with win xp I was running Linspire 5x when it did something similar. I did not notice that it was re-booting and it eventually failed. Puppy was in it's infancy at the time.
Cheers
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3964
Location: Kiel,Germany

PostPosted: Sat 28 Apr 2012, 17:23    Post subject:  

Just a short note :

I am not affected by these shutdown problems, but there are several complains on the forum, so it must be real .

I have read the fixed files, and they contain a line that is particular of interest for french speaking persons :

Quote:
[ -e ~/barre-dr.oui ] && /usr/local/bin/rox -t= && mv ~/barre-dr.oui ~/barre-dr.non


I am guessing it is about an additional ROX-Filer panel .

Am i right ?

(I have not used a rox panel for a long time and can't remember it well)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Sat 28 Apr 2012, 19:31    Post subject:  

Karl Godt wrote:
Just a short note :

I am not affected by these shutdown problems, but there are several complains on the forum, so it must be real .

I have read the fixed files, and they contain a line that is particular of interest for french speaking persons :

Quote:
[ -e ~/barre-dr.oui ] && /usr/local/bin/rox -t= && mv ~/barre-dr.oui ~/barre-dr.non


I am guessing it is about an additional ROX-Filer panel .

Am i right ?

(I have not used a rox panel for a long time and can't remember it well)


Hello, Karl.

Yes, you are correct. I am using a rox panel located at the top of my screen, to which I have moved the icons that are by default on the Puppy desktop, and added a few more... (See attachment.)

Now this panel is displayed at Startup with the help of a "switch" script, and the flag for the switch is a dummy file named "barre". When the panel is on, its name is changed to "barre.oui", and when it's off, the name is "barre-non". (bar.yes and bar.no, in French.) That's because ps does not report a rox panel separately -- so if I used a ps flag, it would close the entire ROX-filer environment, which is undesirable, of course. So I use a dummy file.

When I shut down my Puppy, I check the state of the dummy file and close the panel as needed. The script being a switch, if the name of the dummy file is not changed at shutdown AND the panel closed, the panel will not load at next start. Alos, to close the ROX panel properly, the script needs not quite a half-second.

Sorry for the fuss; in my haste to solve my shutdown problem, I actually forgot to check that the shutdown scripts still had some of my code in them -- I should have removed it.

I hope this solves the "mystery"! Very Happy
top-of-my-screen.jpg
Description 
jpg

 Download 
Filename  top-of-my-screen.jpg 
Filesize  25.12 KB 
Downloaded  237 Time(s) 

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2617
Location: Japan

PostPosted: Mon 30 Apr 2012, 06:10    Post subject: pupsaveconfig-2.2.2  

Updated: pupsaveconfig-2.2.2.pet (2012-04-30)
Download from http://shino.pos.to/linux/puppy/.
# v2.2.2 29apr12: deeper layer subdirectory (zekebaby), remove legacy, rc.shutdown: avoid re-login, VERBOSE message, wmpoweroff and wmreboot: startxface4 (Saluki compatible)
http://www.murga-linux.com/puppy/viewtopic.php?p=624085#624085

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Mon 30 Apr 2012, 07:47    Post subject:  

Thanks, shinobar. Will look it over. BFN.
_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0837s ][ Queries: 12 (0.0043s) ][ GZIP on ]