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 22 Nov 2014, 20:22
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Unable to shutdown/restart puppy lucid
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 924
Location: Ottawa Ontario Canada

PostPosted: Fri 17 May 2013, 05:15    Post subject:  Unable to shutdown/restart puppy lucid  

I have this problem with two seperate installs of lucid 528. One install is full and the other a frugal install booting from my puppy cd. How can I solve this problem. When this happens I always have to do a hard restart of my computers ( I hate doing this).
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 4044
Location: World_Hub

PostPosted: Fri 17 May 2013, 23:00    Post subject:  

Randy- what have ya searched; tried.. prior to posting? What's your inittab look like?
Back to top
View user's profile Send private message 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Fri 17 May 2013, 23:21    Post subject:  

I remember there is an update or fix in the Lucid 528 update thread in Puppy Projects forum.

Aren't you using 528-004 or 005? I thought it was fixed there.

LazY Puppy is 528-004 based and I haven't got any problems on shutdown or reboot.

_________________
LazY Puppy Home
The new LazY Puppy Information Centre

Back to top
View user's profile Send private message 
Peterm321

Joined: 29 Jan 2009
Posts: 241

PostPosted: Sat 18 May 2013, 02:50    Post subject:  

rmcellig Yesterday, at 05:15 wrote:

When this happens I always have to do a hard restart of my computers ( I hate doing this).


The console commands

wmreboot
wmpoweroff
busybox poweroff
busybox reboot

Have been written about quite a lot in these forums should you care to perform a search.

Busybox is likely to work in cases where the shutdown scripts lockup due to system read write or other errors.

All the options should at least be preferable to pressing a switch on a computer.
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 924
Location: Ottawa Ontario Canada

PostPosted: Sat 18 May 2013, 05:58    Post subject:  

Thanks Peterm321 !

Would reboot -f work? I believe this does a force reboot. I'm not at my computer at the moment to try this out.
Back to top
View user's profile Send private message Visit poster's website 
rmcellig

Joined: 19 Nov 2011
Posts: 924
Location: Ottawa Ontario Canada

PostPosted: Sat 18 May 2013, 06:08    Post subject:  

Hi Semme,

I took a look at the man page for reboot and shutdown to see if reboot --force would work. Haven't tried it yet. Next week is my 42K marathon so once that is out of the way I will have more time to work with my puppy installs.
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 4044
Location: World_Hub

PostPosted: Sat 18 May 2013, 12:24    Post subject:  

Randy- you've Confused Peterm's post with mine. You wanna try a few from my *second* link..
Back to top
View user's profile Send private message 
Karl Godt


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

PostPosted: Sat 18 May 2013, 12:45    Post subject:  

Quote:
Unable to shutdown/restart puppy lucid
Quote:
When this happens

How often ? Sometimes, every second boot, 90% of the time ?

Does it not close down the Xserver ?

Does it run /etc/rc.d/rc.shutdown ?

Does it just halt at the very end, refusing to completely poweroff the PowerSupplyUnit or hangs in the black/whilte kernel console when rebooting ?
Back to top
View user's profile Send private message Visit poster's website 
rmcellig

Joined: 19 Nov 2011
Posts: 924
Location: Ottawa Ontario Canada

PostPosted: Sat 18 May 2013, 15:30    Post subject:  

It seems to happen about 90% of the time if not more. What I notice is that after invoking a restart from the menu, the screen disappears as if it is restarting and then returns to my curren x windows display.
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


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

PostPosted: Sat 18 May 2013, 15:55    Post subject:  

With the frugal install I would try to boot with the pfix=nox parameter and manually run xorgwizard to recreate xorg.conf .

For the full install you need to put
Code:
if [ -n "`cat /proc/cmdline | grep -i 'nox'`" ]; then
 touch /tmp/bootcnt.txt
fi

into /etc/rc.d/rc.sysinit
at the end before
Quote:
#that's it. next stop is /etc/profile...
###END###

lines .
/tmp/bootcnt.txt is a marker file for /etc/profile .
If it exists, X does not start automatically .
So you can add nox at the end of the kernel line of grub menu.lst .
Back to top
View user's profile Send private message Visit poster's website 
rmcellig

Joined: 19 Nov 2011
Posts: 924
Location: Ottawa Ontario Canada

PostPosted: Mon 20 May 2013, 16:06    Post subject:  

Here is a report of my computer.




-Computer-
Processor : 4x Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz
Memory : 2520MB (693MB used)
Operating System : Unknown distribution
User Name : root (root)
Date/Time : Mon 20 May 2013 04:11:35 PM EDT
-Display-
Resolution : 1366x768 pixels
OpenGL Renderer : Unknown
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : HDA-Intel - HDA Intel
-Input Devices-
AT Translated Set 2 keyboard
SynPS/2 Synaptics TouchPad
Power Button
Lid Switch
Power Button
ST LIS3LV02DL Accelerometer
HP WMI hotkeys
2SF022
Logitech USB-PS/2 Optical Mouse
CHICONY USB Keyboard
PC Speaker
Video Bus
-Printers (CUPS)-
_192_168_2_23
CUPS-PDF
pdf_writer : <i>Default</i>
-SCSI Disks-
ATA ST9500325AS
hp CDDVDW TS-L633N
Seagate FreeAgent Go

Operating System
----------------

-Version-
Kernel : Linux 2.6.33.2 (i686)
Compiled : #1 SMP Thu May 27 10:56:32 EST 2010
C Library : GNU C Library version 2.11.1 (stable)
Default C Compiler : Unknown
Distribution : Unknown distribution
-Current Session-
Computer Name : pupfull
User Name : root (root)
Home Directory : /root
Desktop Environment : Unknown (Window Manager: Openbox)
-Misc-
Uptime : 12 minutes
Load Average : 0.02, 0.39, 0.30

Kernel Modules
--------------

-Loaded Modules-
i915 : Intel Graphics
drm_kms_helper : DRM KMS helper
drm : DRM shared core routines
i2c_algo_bit : I2C-Bus bit-banging algorithm
fan : ACPI Fan Driver
fbcon
tileblit : Tile Blitting Operation
font : Console Fonts
bitblit : Bit Blitting Operation
softcursor : Generic software cursor
squashfs : squashfs 4.0, a compressed read-only filesystem
aufs : aufs -- Advanced multi layered unification filesystem
fuse : Filesystem in Userspace
nls_iso8859_1
serio_raw : Raw serio driver
nls_cp437
sg : SCSI generic (sg) driver
pcspkr : PC Speaker beeper driver
snd_hda_codec_intelhdmi : Intel HDMI HD-audio codec
snd_hda_codec_idt : IDT/Sigmatel HD-audio codec
r8169 : RealTek RTL-8169 Gigabit Ethernet driver
mii : MII hardware support library
snd_hda_intel : Intel HDA driver
snd_hda_codec : HDA codec core
snd_pcm_oss : PCM OSS emulation for ALSA.
snd_mixer_oss : Mixer OSS emulation for ALSA.
snd_pcm : Midlevel PCM code for ALSA.
i2c_i801 : I801 SMBus driver
snd_seq_dummy : ALSA sequencer MIDI-through client
snd_seq_oss : OSS-compatible sequencer module
snd_seq_midi : Advanced Linux Sound Architecture sequencer MIDI synth.
snd_rawmidi : Midlevel RawMidi code for ALSA.
snd_seq_midi_event : MIDI byte &lt;-&gt; sequencer event coder
snd_seq : Advanced Linux Sound Architecture sequencer.
snd_timer : ALSA timer interface
snd_seq_device : ALSA sequencer device management
snd : Advanced Linux Sound Architecture driver for soundcards.
soundcore : Core sound module
snd_page_alloc : Memory allocator for ALSA system.
shpchp : Standard Hot Plug PCI Controller Driver
pci_hotplug : PCI Hot Plug PCI Core
intel_agp
agpgart : AGP GART driver
usb_storage : USB Mass Storage driver for Linux
usbhid : USB HID core driver
uvcvideo : USB Video Class driver
videodev : Device registrar for Video4Linux drivers v2
v4l1_compat : v4l(1) compatibility layer for v4l2 drivers.
i2c_core : I2C-Bus main module
hp_wmi : HP laptop WMI hotkeys driver
wmi : ACPI-WMI Mapping Driver
battery : ACPI Battery Driver
thermal : ACPI Thermal Zone Driver
joydev : Joystick device interfaces
evdev : Input driver event char devices
video : ACPI Video Driver
output : Display Output Switcher Lowlevel Control Abstraction
hp_accel : Glue between LIS3LV02Dx and HP ACPI BIOS and support for disk protection LED.
lis3lv02d : ST LIS3LV02Dx three-axis digital accelerometer driver
input_polldev : Generic implementation of a polled input device
led_class : LED Class Interface
button : ACPI Button Driver
ac : ACPI AC Adapter Driver
processor : ACPI Processor Driver
ehci_hcd : USB 2.0 &apos;Enhanced&apos; Host Controller (EHCI) Driver
usbcore

Boots
-----

-Boots-

Filesystems
-----------

-Mounted File Systems-
rootfs / 11.87 % (39.8 GiB of 45.2 GiB)
/dev/root / 11.87 % (39.8 GiB of 45.2 GiB)
shmfs /dev/shm 0.00 % (592.6 MiB of 592.6 MiB)

Display
-------

-Display-
Resolution : 1366x768 pixels
Vendor : The X.Org Foundation
Version : 1.7.6
-Monitors-
Monitor 0 : 1366x768 pixels
-Extensions-
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
-OpenGL-
Vendor : Unknown
Renderer : Unknown
Version : Unknown
Direct Rendering : No

Environment Variables
---------------------

-Environment Variables-
HOSTNAME : pupfull
XDG_DATA_HOME : /root/.local/share
SHELL : /bin/bash
TERM : xterm
HISTSIZE : 1000
QT_XFT : true
DEFAULTDRAW : inkscapelite
MOZILLA_FIVE_HOME : /usr/lib/seamonkey
XLIB_SKIP_ARGB_VISUALS : 1
HISTFILESIZE : 2000
USER : root
LD_LIBRARY_PATH : /lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib:/usr/lib/seamonkey
GDK_USE_XFT : 1
RGBDEF : /usr/share/X11/rgb.txt
DEFAULTIMAGEVIEWER : viewnior
OOO_FORCE_DESKTOP : gnome
DEFAULTPAINT : mtpaint
MOZ_DISABLE_PANGO : 1
MOZ_PLUGIN_PATH : /usr/lib/mozilla/plugins:/usr/lib/seamonkey/plugins
XDG_CONFIG_DIRS : /etc/xdg
DEFAULTBROWSER : firefox
PATH : /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin
DEFAULTMEDIAPLAYER : gnome-mplayer
LC_COLLATE : en_US
DEFAULTIMAGEEDITOR : mtpaint
INPUTRC : /etc/inputrc
PWD : /root
EDITOR : mp
LANG : en_US
XFINANSDIR : /root/.xfinans
HISTCONTROL : ignoredups
DEFAULTSPREADSHEET : gnumeric
DEFAULTHTMLEDITOR : mozedit
SHLVL : 2
HOME : /root
XDG_CONFIG_HOME : /root/.config
XDG_CACHE_HOME : /root/.cache
G_FILENAME_ENCODING : @locale
LOGNAME : root
PREFIX : /usr
XDG_DATA_DIRS : /usr/share:/usr/local/share
PKG_CONFIG_PATH : /usr/lib/pkgconfig
WINDOWPATH : 4
DISPLAY : :0.0
MM_RUNASROOT : 1
DEFAULTWORDPROCESSOR : abiword
DEFAULTTEXTEDITOR : geany




Maybe I should be using a 64bit pup?

recommendations?

By the way, busybox reboot worked fine.
Back to top
View user's profile Send private message Visit poster's website 
Peterm321

Joined: 29 Jan 2009
Posts: 241

PostPosted: Mon 20 May 2013, 16:39    Post subject:  

rmcellig Posted: Sat 18 May 2013, 05:58 wrote:


Thanks Peterm321 !

Would reboot -f work? I believe this does a force reboot. I'm not at my computer
at the moment to try this out.


I'm not totally sure about that, rmcellig.

According to my system , /sbin/reboot is this short script

Code:

#!/bin/sh

/etc/rc.d/rc.shutdown

exec /bin/busybox reboot


At this stage, and as an uneducated guess, a script such as /etc/rc.d/rc.shutdown is sometimes where the system would hang when selecting shutdown or reboot. My limited experience of a shutdown hanging was when I was trying to make a dodgy USB drive work. Writing to it produced errors and shutdown stalled because process of dismounting the drive resulted in a stalled sync operation. Even busybox reboot -f wouldnt shift it, only busybox reboot -f -n worked. (The -n tells busybox not to try syncing before reboot).

This kind of issue may or not be part of your problem. You could try manually running the /etc/rc.d/rc.shutdown script at the command prompt and see if that works.

You could also see if umount -ar works. The shutdown scripts run this command to attempt to flush all the mounted filesystems and set them read only prior to poweroff/reboot. Note that umount -ar may render your system unusable because there will not be too many writeable filesystems left, which why a command like that is typically run before a reboot. But at least a successful "umount -ar" command would tend to indicate that it is not a failed umount or sync that is causing the problem.

I dont know whether this kind of matter is at issue in your case. It could alternatively be an Xorg or some other kind of problem etc as you have already been advised.
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3317
Location: Mer méditerrannée (1 kms°)

PostPosted: Thu 19 Dec 2013, 12:15    Post subject:  Same problem of shutdown with lucid THD
Subject description: Full install
 

Shutdown does not operate. It was sudden, but permanent now. I got back to prompt and then everything runs ok.
Puppy is not made for full install. Everybody now use full install because using a compact disk is boring. I agree on that. But working with USB sticks is fast enough and prevent a lot of problems.
In fact, when you have a Puppy distro on yr hard disk, boot is routed automatically to it.
Nevertheless, my Lucid does not want any more to shutdown using the menu.
I Added pdev1=sdb1 in rooting but nothing better.
But once arrived at prompt, no problem, save and reboot are ok. Strange, very strange.

Eureka ! Please use this pet !
shutdown_exit_fix_for_all_woof-based_puppies-1.pet
Description  Eureka ! the pet does it.
pet

 Download 
Filename  shutdown_exit_fix_for_all_woof-based_puppies-1.pet 
Filesize  1.1 KB 
Downloaded  146 Time(s) 
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0950s ][ Queries: 12 (0.0055s) ][ GZIP on ]