Thread View: linux.debian.user
2 messages
2 total messages
Started by Rob van der Putten
Fri, 23 Oct 2026 13:40
DCF77 Doesn't work with new kernel
Author: Rob van der Putten
Date: Fri, 23 Oct 2026 13:40
Date: Fri, 23 Oct 2026 13:40
17 lines
2133 bytes
2133 bytes
Hi there 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? Regards, Rob
Re: DCF77 Doesn't work with new kernel
Author: Rob van der Putten
Date: Fri, 13 Nov 2026 10:10
Date: Fri, 13 Nov 2026 10:10
43 lines
3154 bytes
3154 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads