Hi there
On 23/10/2026 15:30, Rob van der Putten wrote:
I have got a Conrad DCF77 receiver hooked up to a serial port on a
MosChip PCI 9845 Multi-I/O Controller.
This works with kernel 6.1.0-53-amd64, not with kernel 6.1.0-54-amd64; I
get 'INCOMPLETE DATA - time code only has 4 bits' and 'parity check
FAILED'.
AFIAK there are no other serial port problems with the new kernel: The
serial port does work with a null modem cable and minicom. Just not with
DCF77. And I did not find any differences in /var/log/dmesg, /proc/
ioports, /proc/interrupts or lspci.
Any ideas?
I filed a bug report. Nr 1151843.
I since then discovered that the problems are caused by a change in
/usr/src/linux/drivers/tty/serial/8250/8250_port.c, which is supposed to
fix CVE-2026-97481, but leads to new problems;
/*
* Recover from no-data-ready and FIFO error condition to avoid getting
* stuck in the ISR.
*/
if (!(status & UART_LSR_DR) && (status & UART_LSR_FIFOE))
serial8250_clear_and_reinit_fifos(up);
Removing this and recompiling the kernel does solve my problems.
The following also works:
if (!(status & UART_LSR_DR) && (status & UART_LSR_FIFOE) && \
!(status & UART_LSR_PE))
serial8250_clear_and_reinit_fifos(up);
This makes it ignore parity errors.
Parity errors are perfectly normaal with the rawdcf driver. They are in
fact not errors at all. They are just called that way.
Regards,
Rob