View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Wed Feb 27, 2013 3:08 pm Post subject: [SOLVED] SysRq - Gentoo |
|
|
Why "SysRq" doesn't work in Gentoo?
I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6
but I've noticed it freezes my screen once a day or ever second day.
Mouse is moving but no icon is responding, nor can I use the keyboard (all frozen).
It must be a way of life with "nvidia" drivers, according to sticky post: X.org Lockups :-/
https://forums.gentoo.org/viewtopic-t-559068.html
I can login to the system over ssh. I've tried to restart/zap "xdm" it doesn't help.
<Ctrl><Alt><PrtSc> doesn't do anything.
<Ctrl><Alt><F1> doesn't work.
Maybe killing "/usr/bin/X" (when I login via ssh) will help. But for this I need remote connection.
What else can I do to restart "X"?
Last edited by Joseph_sys on Wed Feb 27, 2013 6:48 pm; edited 1 time in total |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Wed Feb 27, 2013 4:47 pm Post subject: |
|
|
Check /etc/sysctl.conf (or look in /etc/sysctl.d/*) for "kernel.sysrq" and make sure it either is set to "1" or is not set to "0". _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Wed Feb 27, 2013 4:57 pm Post subject: |
|
|
depontius wrote: | Check /etc/sysctl.conf (or look in /etc/sysctl.d/*) for "kernel.sysrq" and make sure it either is set to "1" or is not set to "0". |
Thanks, yes it was commented out with "0" value. |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Wed Feb 27, 2013 5:57 pm Post subject: |
|
|
I enabled "sysrq" in kernel.sysrq Code: | ...
kernel.sysrq = 1 |
reboot the system but <Ctrl><Alt><PrtSc> is not responding. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Wed Feb 27, 2013 6:40 pm Post subject: |
|
|
Have you enabled it in your kernel?
Code: | CONFIG_MAGIC_SYSRQ=y |
_________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Wed Feb 27, 2013 6:47 pm Post subject: |
|
|
depontius wrote: | Have you enabled it in your kernel?
Code: | CONFIG_MAGIC_SYSRQ=y |
|
That was it, thanks.
Is it safe to enable this key?
In kernel help menu: Quote: | ...
Don't say Y unless you really know what this hack does. |
There must be a reason why in Gentoo this key is disable. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Thu Feb 28, 2013 12:00 am Post subject: |
|
|
I don't know why it's disabled by default. I consider it essential for my data. If there's any life at all left in the kernel, it lets you get your partitions sync'ed and remounted ro.
It's one of those things I do on every system I set up.
However the keystrokes make the old 3-finger salute seem easy. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
|