* serial console & sysrq?
@ 2005-08-11 9:44 Gerd Knorr
0 siblings, 0 replies; 4+ messages in thread
From: Gerd Knorr @ 2005-08-11 9:44 UTC (permalink / raw)
To: xen-devel
Hi,
is there some way to trigger sysrq from the serial console in
xenlinux? With native linux it works by sending a break + sysrq
letter, in xenlinux it doesn't work that way though ...
cheers,
Gerd
--
panic("it works"); /* avoid being flooded with debug messages */
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: serial console & sysrq?
@ 2005-08-11 10:16 Ian Pratt
2005-08-17 16:42 ` Hollis Blanchard
0 siblings, 1 reply; 4+ messages in thread
From: Ian Pratt @ 2005-08-11 10:16 UTC (permalink / raw)
To: Gerd Knorr, xen-devel
> is there some way to trigger sysrq from the serial console in
> xenlinux? With native linux it works by sending a break +
> sysrq letter, in xenlinux it doesn't work that way though ...
I'm not entirely sure how 'break' is signalled from the UART. We'll
certainly fail to pass it on through xen to Linux as there's no side
channel.
One option would be to use a second serial line and to let Linux drive
it directly.
What I usually do is to switch to the Xen console and then send a debug
interrupt 'q', after having arranged for the debug intterupt handler to
call the sysrq function I'm interested in. All a bit gross.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: serial console & sysrq?
2005-08-11 10:16 Ian Pratt
@ 2005-08-17 16:42 ` Hollis Blanchard
0 siblings, 0 replies; 4+ messages in thread
From: Hollis Blanchard @ 2005-08-17 16:42 UTC (permalink / raw)
To: xen-devel
On Thursday 11 August 2005 05:16, Ian Pratt wrote:
> > is there some way to trigger sysrq from the serial console in
> > xenlinux? With native linux it works by sending a break +
> > sysrq letter, in xenlinux it doesn't work that way though ...
>
> I'm not entirely sure how 'break' is signalled from the UART. We'll
> certainly fail to pass it on through xen to Linux as there's no side
> channel.
The hvc_console driver (used by kernels running on the pSeries hypervisor) has
a similar problem. ^O is used as the break character there.
--
Hollis Blanchard
IBM Linux Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: serial console & sysrq?
@ 2005-08-17 17:18 Ian Pratt
0 siblings, 0 replies; 4+ messages in thread
From: Ian Pratt @ 2005-08-17 17:18 UTC (permalink / raw)
To: Hollis Blanchard, xen-devel
> On Thursday 11 August 2005 05:16, Ian Pratt wrote:
> > > is there some way to trigger sysrq from the serial console in
> > > xenlinux? With native linux it works by sending a break + sysrq
> > > letter, in xenlinux it doesn't work that way though ...
> >
> > I'm not entirely sure how 'break' is signalled from the UART. We'll
> > certainly fail to pass it on through xen to Linux as
> there's no side
> > channel.
>
> The hvc_console driver (used by kernels running on the
> pSeries hypervisor) has a similar problem. ^O is used as the
> break character there.
Seems reasonable. It would be good if someone could knock up a patch
that adds ^O sysrq support for xen console...
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-17 17:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11 9:44 serial console & sysrq? Gerd Knorr
-- strict thread matches above, loose matches on Subject: below --
2005-08-11 10:16 Ian Pratt
2005-08-17 16:42 ` Hollis Blanchard
2005-08-17 17:18 Ian Pratt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.