🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #494

Re: DCF77 Doesn't work with new kernel

#494
From: Rob van der Putten
Date: Fri, 13 Nov 2026 10:10
43 lines
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
Technical Details
Message-ID: <NYWoh-bBT9-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NRnEZ-7oVT-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Rob van der Putten <rob@sput.nl>
Newsgroups: linux.debian.user
Subject: Re: DCF77 Doesn't work with new kernel
Date: Fri, 13 Nov 2026 11:10:01 +0100
Message-ID: <NYWoh-bBT9-11@gated-at.bofh.it>
References: <NRnEZ-7oVT-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Fri Nov 13 09:59:24 2026
Old-Return-Path: <gldu-debian-user-2@m.gmane-mx.org>
X-Amavis-Spam-Status: No, score=0.559 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1,
 FORGED_MUA_MOZILLA=2.309, HEADER_FROM_DIFFERENT_DOMAINS=0.25]
 autolearn=no autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
X-Injected-Via-Gmane: http://gmane.org/
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla Thunderbird
Content-Language: en-GB, nl-NL
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832874
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/11d6n1a$15t38$1@ciao.gmane.io
Approved: robomod@news.nic.it
Lines: 43
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 13 Nov 2026 10:59:05 +0100
X-Original-Message-ID: <11d6n1a$15t38$1@ciao.gmane.io>
X-Original-References: <11bfnhm$79l$1@ciao.gmane.io>