Re: sysrq on serial console

H. Peter Anvin
2002-09-28T00:24:27Z

Followup to: <3D94ED88.5040407@us.ibm.com>
By author: Dave Hansen <haveblue@us.ibm.com>
In newsgroup: linux.dev.kernel
>
> Since the serial cleanups happened in 2.5, Magic Sysrq doesn't work
> for me on the serial console.
>

It's been broken for me in several 2.4 versions as well. This is
highly troublesome.

> It looks like the UART_LSR_BI bit needs to be set in the status
> variable for the break character to be interpreted as a break in the
> driver.
>
> I doubt that it is actually broken, but it isn't immediately obvious
> how that bit gets set. Is there something that I should have set when
> the device was initialized to make sure that UART_LSR_BI is asserted
> in "status" when the interrupt occurs?
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>