Re: [PATCH] backup timer for UARTs that lose interrupts

From: Alex Williamson
Date: Tue Nov 08 2005 - 19:15:19 EST


On Tue, 2005-11-08 at 23:23 +0000, Russell King wrote:
> On Tue, Nov 08, 2005 at 01:27:57PM -0700, Alex Williamson wrote:
> > Hi Russell,
> >
> > The patch below works around a minor bug found in the UART of the
> > remote management card used in many HP ia64 and parisc servers (aka the
> > Diva UARTs).
>
> Would setting UART_BUG_TXEN help ?
>
> UART_BUG_TXEN is set for ports which need a kick up their backsides
> to get their transmit interrupt status asserted, so that when new
> chars are placed in the ring buffer we start transmitting them.
>
> Your problem sounds very similar to this.

I was hoping that would be the solution too. I just tried enabling
UART_BUG_TXEN to double check my previous results. Somehow it makes the
problem much, much worse. Instead of being the nuisance it usually is,
it seems like the UART gets way behind on transmitting bits. So it
would probably prevent the unattended reboot stall since we kick it
every time we want to transmit, but it renders the UART completely
unusable as a console. I can't even get it caught up enough to login
via the serial console w/ UART_BUG_TXEN enabled on the port. Thanks,

Alex

--
Alex Williamson HP Linux & Open Source Lab

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/