Three Fingered Salute for Puppy Linux

Using applications, configuring, problems
Post Reply
Message
Author
ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

Three Fingered Salute for Puppy Linux

#1 Post by ICPUG »

For the first time ever I have had my Puppy Linux system hang up.

I was browsing using a frugal install of Lighthouse Puppy (32 bit) on an NTFS partition. When I made to display a video full screen the machine hung. Nothing happened whatever keys I pressed. I tried CTRL-ALT-DEL, CTRL-ALT-TAB, CTRL-C. Nothing happened. In the end I hit the power off button. When I rebooted Puppy did not recognise the partition. Windows said it was corrupt. On the second boot of Windows CHKDSK kicked in and resolved the corruption and stored some files in a folder which I could not access! That's a Windows problem which I do not want to discuss here.

My question is simple. What are the Linux keyboard commands I should try to recover from a hung PC before I take the drastic step of hitting the power button?

Thanks for any advice.

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#2 Post by rokytnji »

1. Hold down the Alt and SysRq (Print Screen) keys.
2. While holding those down, type the following in order. Nothing will appear to happen until the last letter is pressed: REISUB

Did you try that?

User avatar
nubc
Posts: 2062
Joined: Tue 23 Jan 2007, 18:41
Location: USA

#3 Post by nubc »

REISUB the gentle Linux restart
http://blog.kember.net/articles/reisub- ... x-restart/

nice trick

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#4 Post by SFR »

rokytnji wrote:1. Hold down the Alt and SysRq (Print Screen) keys.
2. While holding those down, type the following in order. Nothing will appear to happen until the last letter is pressed: REISUB

Did you try that?
Yeah, Magic_SysRq would be the best, but only if a kernel is compiled with this option.
Unfortunately, I have not seen a single Puppy with this useful feature enabled! :evil:

Just checked and Lighthouse64-602 is not an exception:

Code: Select all

# grep -i 'sysrq' .config
# CONFIG_MAGIC_SYSRQ is not set
# 
so I assume 32bit version as well...

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

Re: Three Fingered Salute for Puppy Linux

#5 Post by watchdog »

ICPUG wrote: My question is simple. What are the Linux keyboard commands I should try to recover from a hung PC before I take the drastic step of hitting the power button?
Sometimes when my puppy install hangs I press Ctrl-Alt-Backspace and I go to prompt. Then:

Code: Select all

xwin

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#6 Post by rokytnji »

Damn

Code: Select all

# echo b > /proc/sysrq-trigger
bash: /proc/sysrq-trigger: Permission denied
permission denied in Puppy? My version in Windows 7


Code: Select all

# su spot
# whoami
spot
# inxi -Fxz
System:    Host: biker Kernel: 3.10.32 i686 (32 bit, gcc: 4.7.1) 
           Desktop: JWM git-905 Distro: Slacko Puppy Linux Linux 3.10.32 [ arch]
Machine:   System: Hewlett-Packard (portable) product: Presario CQ57 Notebook PC version: 068C110003204910000620100
           Mobo: Hewlett-Packard model: 3577 version: 24.48
           Bios: Hewlett-Packard version: F.42 date: 11/07/2011
CPU:       Dual core AMD C-50 (-MCP-) cache: 1024 KB
           flags: (lm nx pae sse sse2 sse3 sse4a ssse3 svm) bmips: 3993.98 
           Clock Speeds: 1: 1000.00 MHz 2: 1000.00 MHz
Graphics:  Card: ATI Device 9804 bus-ID: 00:01.0 
           Display Server: X.Org 1.12.4 drivers: ati,radeon (unloaded: vesa) Resolution: 1366x768@60.0hz 
           GLX Renderer: Gallium 0.4 on AMD PALM GLX Version: 2.1 Mesa 8.0.4 Direct Rendering: Yes
Audio:     Card: ATI SBx00 Azalia (Intel HDA) 
           driver: snd_hda_intel bus-ID: 00:14.2 
           Sound: Advanced Linux Sound Architecture ver: k3.10.32
Network:   Card: Ralink Device 5390 
           driver: rt2800pci ver: 2.3.0 bus-ID: 07:00.0 chip-ID: -1
           IF: wlan0 state: up speed: N/A duplex: N/A mac: <filter>
           Card: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller 
           driver: r8169 ver: 2.3LK-NAPI port: 2000 bus-ID: 06:00.0 chip-ID: -2
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 250.1GB (-) 1: id: /dev/sda model: WDC_WD2500BEVT size: 250.1GB 
Partition: 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 63.0C mobo: N/A gpu: 63.0 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 95 Uptime: 3:30 Memory: 263.0/1623.5MB Init: SysVinit runlevel: 5 
           Gcc sys: 4.7.1 Client: Shell (sh) inxi: 2.1.1 
Great. I was brought back here. Here is what I did to kick me out while replying.

1. Cntrl+Alt+F1
then in there
2. Ctrl+Alt+Del

to reboot. I opened Firefox and my typed reply was sitting there when I hit the restore button when firefox opened.

Worked in Slack0 5.7 install .exe inside of Windows 7.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#7 Post by mikeb »

hmm on another system I seem to have a kernel that kills an app if it threatening to fill the ram to the point of lockup...seems like that would be a good feature to enable for a run in ram distro.

I know nothing about it apart from it works

mike

ps

root@slax:~# grep -i 'sysrq' tart
CONFIG_MAGIC_SYSRQ=y

yo...

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#8 Post by rokytnji »

Playing/screwing around in my Puppy install

1. Cntrl+Alt+F1
then
2. Cntrl+Alt+F4


gives interesting results also. :wink:

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#9 Post by 8-bit »

Those sound like keyboard shortcuts for Puppy.
Is there a list of all of the keyboard shortcuts one can use with Puppy?

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#10 Post by ICPUG »

Thanks for all the ideas. What a shame the REISUB is not enabled in Puppies. This seems like the best way ...

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#11 Post by tallboy »

True freedom is a live Puppy on a multisession CD/DVD.

Post Reply