* help: sysrq and X
@ 2004-11-21 23:21 Eyal Lebedinsky
2004-11-21 23:39 ` Andrew Morton
2004-11-21 23:46 ` Dmitry Torokhov
0 siblings, 2 replies; 3+ messages in thread
From: Eyal Lebedinsky @ 2004-11-21 23:21 UTC (permalink / raw)
To: linux-kernel list
I am trying to diagnose a hard lockup. The only way I can reproduce it is
with mythtv. When the system locks up (no mouse, no activity in X, no message
logged) I can use magic sysrq, but I cannot see the output.
Using 'r' does not enable console switching. However 'b' will boot the
system, and I hope 's' and 'u' did something blindly.
I there a way to regain a text console in order to inspect the kernel?
I can connect a machine to the serial port if this will help - does
sysrq work though the serial port? Which software should I use on
the serial port (on the 'other' machine) for this purpose then?
Thanks
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: help: sysrq and X
2004-11-21 23:21 help: sysrq and X Eyal Lebedinsky
@ 2004-11-21 23:39 ` Andrew Morton
2004-11-21 23:46 ` Dmitry Torokhov
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2004-11-21 23:39 UTC (permalink / raw)
To: Eyal Lebedinsky; +Cc: linux-kernel
Eyal Lebedinsky <eyal@eyal.emu.id.au> wrote:
>
> I am trying to diagnose a hard lockup. The only way I can reproduce it is
> with mythtv. When the system locks up (no mouse, no activity in X, no message
> logged) I can use magic sysrq, but I cannot see the output.
>
> Using 'r' does not enable console switching. However 'b' will boot the
> system, and I hope 's' and 'u' did something blindly.
>
> I there a way to regain a text console in order to inspect the kernel?
>
> I can connect a machine to the serial port if this will help - does
> sysrq work though the serial port? Which software should I use on
> the serial port (on the 'other' machine) for this purpose then?
Yes, serial console is the best way to do this. Add `console=ttyS0' to the
kernel boot command line and use `<break>t' to get an all-task backtrace.
If you're using minicom (spit) on the other end, Control-A F t is the
combination to use.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: help: sysrq and X
2004-11-21 23:21 help: sysrq and X Eyal Lebedinsky
2004-11-21 23:39 ` Andrew Morton
@ 2004-11-21 23:46 ` Dmitry Torokhov
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2004-11-21 23:46 UTC (permalink / raw)
To: linux-kernel; +Cc: Eyal Lebedinsky
On Sunday 21 November 2004 06:21 pm, Eyal Lebedinsky wrote:
> I am trying to diagnose a hard lockup. The only way I can reproduce it is
> with mythtv. When the system locks up (no mouse, no activity in X, no message
> logged) I can use magic sysrq, but I cannot see the output.
>
> Using 'r' does not enable console switching. However 'b' will boot the
> system, and I hope 's' and 'u' did something blindly.
>
> I there a way to regain a text console in order to inspect the kernel?
>
Try use SysRQ+K (SAK) - 95% when my X server locks up I can use SAK and then
killall -9 X and everythig is fine.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-21 23:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-21 23:21 help: sysrq and X Eyal Lebedinsky
2004-11-21 23:39 ` Andrew Morton
2004-11-21 23:46 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).