Questions tagged [sysrq]

Key combinations made with alt, the sysrq key and another key are executed by the kernel whatever the state of the system; if it is frozen the classic command is to combine alt and the sysrq key with REISUB, which will safely close processes and reboot the system.

Filter by
Sorted by
Tagged with
1 vote
0 answers
37 views

How do i use the sysrq key on chromebook running ubuntu mate?

Running ubuntu mate 22.04 on samsung chromebook 4 with mrchromebox's rwlegacy firmware. I heard that the sysrq key for chromebook is alt+f10 (volume up) but when i try to do a reisub, the r makes the ...
corb6739's user avatar
0 votes
0 answers
98 views

Is SysRq still a thing?

Reading this: https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html I've been trying to use this on an ubuntu server VM to see what I can do, but I can't find the key combo. Could it be that ...
KdgDev's user avatar
  • 235
0 votes
0 answers
81 views

debugng 2GB AWS server hang with Netbox, Python 3.8

I have a AWS t3.micro 2GB 20.04 machine, that i want to use for Netbox software. I created a RDS instance in AWS, so no DB problem on computing, back-end side. When i complete all steps in the Netbox ...
frknl's user avatar
  • 1
1 vote
0 answers
417 views

Ubuntu 22.04 keeps crashing hard

I have been having a problem for a couple of months. Basically I have this workstation running ubuntu 22.04 at the office and it keeps crashing. On average I would say it crashes every day and a half ...
viterbi's user avatar
  • 111
1 vote
3 answers
741 views

Ubuntu freezes totally; Unresponsive to SysRq reisub; Happens on fresh installs of various distributions; I'm stumped

I have a workstation. I've had the same issue occur after fresh installs of various distributions: Ubuntu 21.04, Ubuntu 20.04, ElementaryOS. The workstation has an AMD Threadripper Processor, ASUS ROG ...
Florag's user avatar
  • 131
1 vote
0 answers
99 views

Recover Ubuntu after change of SysRq

On my Ubuntu 20.04, I wanted to change the SysRq value permanently with the command # echo "kernel.sysrq = 244" >> /etc/sysctl.d/99-sysctl.conf Since I did this, whenever I boot the ...
benP's user avatar
  • 19
3 votes
2 answers
2k views

Linux kernel on ubuntu 20.04 crash frequently

I am using Ubuntu 20.04 on Dell vostro 7500. But the whole system crash frequently. The symptom is the screen shows no response to keyboard event and mouse event(mouse cannot move or click), but the ...
Simon's user avatar
  • 419
3 votes
0 answers
507 views

Tracking down a system freeze

Hey there I am doing yet another edit with newly gathered information. So far there has been few responses here, so this will probably be the last one. I am running a ThinkPad P14s with Ubuntu 20.04. ...
Franz's user avatar
  • 43
1 vote
1 answer
139 views

Could not see help from sysrq command

I'm trying to use some SysRq commands on Ubuntu. I use the following to enable SysRq commands - echo "1" > /proc/sys/kernel/sysrq and then I want to see help by writing h into sysrq-...
perror undefined variable un's user avatar
3 votes
2 answers
2k views

How does Alt+SysRq work on a DellXPS13?

sometimes my laptop freezes and normally I use the "magic SysRQ" combination to reboot it. How does this work on my DellXPS13 ? The closest question I could find was this one: How to get Alt+SysRq ...
Philipp's user avatar
  • 777
3 votes
1 answer
174 views

is it possible to create vmcore file?

here is my system: base os: ubuntu 16.04 ubuntu 18.04 on virtualbox mem 4G cpu 2core check kdump-config show it said "ready to kdump" then sysctl -w kernel.sysrq=1 to make crash echo c > /proc/...
oops-again's user avatar
2 votes
1 answer
43k views

Ubuntu 18.10 is stuck at loading screen after new installation

Very much like: Ubuntu 18.04 is stuck at loading screen after new installation Except for being Ubuntu 18.10 The only way to interrupt a hung system like this, which simply never completes the boot ...
Thufir's user avatar
  • 4,451
6 votes
1 answer
7k views

How to use Magic SysRq Key, if theres no SysRq key on my keyboard

https://en.wikipedia.org/wiki/Magic_SysRq_key According to this it's very important. What I can do? Can I rebind this key to something else?
user avatar
0 votes
0 answers
201 views

Unable to login after sysRq+REISUB

I was watching a Youtube video and playing around with a C++ script, when the OS got completely frozen. I did Alt+SysRq+REISUB, so it rebooted. But I am now able to login as guest only. My user ...
asdf1234's user avatar
1 vote
1 answer
513 views

how to recover from a freeze without rebooting? [duplicate]

What alternatives are there to REISUB for dealing with system problems? The windows task manager has its good points in this regard. Or, key combination to logout. It's not always possible to get ...
Thufir's user avatar
  • 4,451
22 votes
1 answer
24k views

How can I enable the "magic sysrq key" on ubuntu desktop? [duplicate]

The magic SysRq key does not work on my Ubuntu 16.04 desktop. I imagine it's now disabled by default. My attempts to enable it did not work, and the only thing Google finds is a 2007 forum post from ...
Arlie Stephens's user avatar
4 votes
1 answer
2k views

Ubuntu + PrtSc + AltGr = CRASH

On Ubuntu 15.10 and 15.04 on Lenovo t440p when I'm writing a code in Netbeans and accidently click button AltGr and PrtSc on same time it's crashed and reboot system. This not take action with fresh ...
phreakbox's user avatar
  • 143
2 votes
2 answers
2k views

Sysrq magic key functionality check

The first time my laptop froze, I used the Alt+SysRq REISUB and it worked. Next time it happened - it didn't work. I edited the 10-magic-sysrq.conf file's line kernel.sysrq = 176 (changed it to value ...
Tzahi Leh's user avatar
  • 261
0 votes
1 answer
153 views

Disable PrtSc + B instareboot "feature"

How can I disable this: Magic SysRq key The keyboard layout on my Lenovo Thinkpad X230 is such, that the keys Prt Sc and Ctrl are right next to eachother, as are the V and B keys and it is very ...
DustWolf's user avatar
  • 383
0 votes
1 answer
333 views

Can Magic SysRq be used to switch workstations or kill specific processes?

My PC, running Ubuntu from a live CD, is frozen. I think it's because I have too many Firefox tabs open, which is overloading my memory. Is there anyway to use Magic SysRq to only kill Firefox? Or to ...
Rayman's user avatar
  • 1
0 votes
2 answers
212 views

Does the Magic SysRq Key Always Work?

My computer is running Ubuntu from a Live CD and is frozen to the point where I can't even turn num lock on and off. Does the Magic SysRq key work even now? And is it something that's enables by ...
Rayman's user avatar
  • 1
1 vote
1 answer
1k views

REISUB not working when Ubuntu freezes

I am using 12.04 LTS on a Dell Inspiron 15 3521. Whenever the system hangs up with keyboard becoming unresponsive, REISUB does not give any results. Now I edited etc/sysctl.conf file as was suggested ...
user234815's user avatar
0 votes
2 answers
297 views

Alt-SysRq-E kills init

NOTE: Yes, I have a QWERTY keyboard. I also fully enabled SysRq with echo 1 > /proc/sys/kernel/sysrq while root earlier. Tonight my laptop froze up while having Chromium and Minecraft open. After ...
huntertur's user avatar
  • 150
5 votes
1 answer
5k views

How can I troubleshoot why Ubuntu keeps crashing on my laptop? [closed]

I have a one year old Acer Aspire 4752G netbook running Kubuntu 12.04 LTS with all the latest distribution updates installed. It was previously running great until about a week ago when it suddenly ...
Peter White's user avatar
14 votes
3 answers
18k views

How do I diagnose Hang on Shutdown?

Since one or two months ago, my laptop with ubuntu 12.10x64 hangs during shutdown. There's just a black screen, no harddisk activity, it justs sits there. I feel it happens near the end of a normal ...
Christoph's user avatar
  • 3,108
4 votes
1 answer
1k views

How to give control over keyboard back to X server after Alt + SysRq + R trick

Situation: an application freezes the X server and no keyboard input works. So I use Alt+SysRq+R to take the keyboard out of raw mode (make the kernel take control of the keyboard away from the X ...
Øystein Tråsdahl's user avatar
4 votes
2 answers
9k views

How to get Alt+SysRq work on a Dell Latitude E6530?

I have a Dell Latitude E6530. The keyboard has a SysRq key (Fn+Home). However the magic keys (especially the famous REISUB) doesn't work. SysRq is enabled in /proc/sys/kernel/sysrq (I get 1 if I cat ...
Calimo's user avatar
  • 1,162
76 votes
19 answers
294k views

Shut down computer from keyboard

Is there a keyboard shortcut available to shutdown the computer? I know I can use the Power button, but I would like to be able to it from the keyboard. If such a shortcut does not exist already, ...
umpirsky's user avatar
  • 4,040
7 votes
1 answer
501 views

ALT+SysRq+REISUB hangs at "resetting" (without actually resetting/restarting)

I'm trying Alt + SysRq + REISUB to see how it would be used to restart my system safely in case of emergency. However, I find that Alt + SysRq + REISUB hangs at "resetting" (without actually ...
user avatar
66 votes
6 answers
57k views

Alt + sysrq + REISUB doesn't reboot my laptop

On occasion, my laptop has become stuck so I've used the magic key combination of Alt + SysRq + REISUB to perform a safe reboot. However, it doesn't seem to work for me as when I press the B key to ...
James White's user avatar
  • 2,251