Re: ttyS0 not working any more, LSR safety check engaged
From: Russell King
Date: Sat Nov 11 2006 - 06:51:25 EST
On Sat, Nov 11, 2006 at 12:43:52PM +0100, Marc Haber wrote:
> since a few kernel versions (I unfortunately do not have logs going
> back more than two months, 2.6.17.13), the serial port on my hp compaq
> nc8000 is not working any more.
>
> The Linux kernel logs "ttyS0: LSR safety check engaged!" whenever I
> try to use the port. Googling for this error message suggests that the
> port may either not be present or broken. I can confirm that both are
> not the case: The port is present and works fine both on Windows and
> with an older Knoppix version using a very old 2.6 kernel (I think
> 2.6.4).
>
> Is it possible that a moderately recent update to the driver is
> broken? What can I do to debug? What information do you need?
It /does/ mean that the port went away, whether you like it or not.
The hardware was there when it was autoprobed, but when you came to
use it, it had gone.
In other words, something else in the system reconfigured something
which caused the hardware to become inaccessible at the IO address.
Maybe something to do with PNP? Maybe ACPI? Both of those I know
nothing about, but I suggest that if you have PNP enabled, you
build and use the 8250_pnp module, even if your port is detected
by the legacy detection methods in 8250.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/