Article View: linux.debian.kernel
Article #755Bug#1151843: Acknowledgement (linux-image-6.1.0-54-amd64: DCF77 Doesn't work after kernel update.)
From: Rob van der Putten
Date: Thu, 19 Nov 2026 14:10
Date: Thu, 19 Nov 2026 14:10
57 lines
4158 bytes
4158 bytes
Hi there On Wed, 11 Nov 2026, Rob van der Putten wrote: > On Mon, 26 Oct 2026, Rob van der Putten wrote: > >> A little update: >> I still haven't been able to replicate this problem in any other way than >> hookup up the DCF77 receiver to the multi serial card. >> However, using Minicom to send ASCII data (which just works) and then >> hooking up the DCF77 receiver, shows ASCII when there should only be binary >> data. As if old data from a buffer is being flushed. >> >> I noticed a change in /usr/src/linux/drivers/tty/serial/8250/8250_port.c; >> >> /* >> * 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); >> >> Flushing the FIFO when this really should happen would probably result in >> the experienced behaviour. It is perfectly normal for a DCF77 receiver to >> produce a continuous stream of breaks, framing- and parity errors and the >> software should just ignore these. >> I will try to build a kernel without this change. I haven't build a kernel >> since the 1990's, so this may take some time to figure out. >> If this works I will try to modify the above change. > > Removing this change does indeed solve my problem. > Modifying the above change to ignore parity errors also works; > > if (!(status & UART_LSR_DR) && (status & UART_LSR_FIFOE) && \ > !(status & UART_LSR_PE)) > serial8250_clear_and_reinit_fifos(up); I noticed that 6.1.0-56 has exaclty the same 8250_port.c, so I applied the same patch; --- 8250_port.c.orig 2026-10-15 14:15:52.000000000 +0200 +++ 8250_port.c 2026-11-11 09:00:35.850614579 +0100 @@ -1937,7 +1937,8 @@ * 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)) + if (!(status & UART_LSR_DR) && (status & UART_LSR_FIFOE) && \ + !(status & UART_LSR_PE)) serial8250_clear_and_reinit_fifos(up); /* Regards, Rob
Technical Details
Message-ID:
<O1aZP-cTTA-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NRu3L-7sDn-1@gated-at.bofh.it> <NStfj-81iR-5@gated-at.bofh.it> <NStfj-81iR-3@gated-at.bofh.it> <NYjmV-bfWS-3@gated-at.bofh.it> <NRu3L-7sDn-1@gated-at.bofh.it> <NYjmV-bfWS-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Rob van der Putten <rob@sput.nl> Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#1151843: Acknowledgement (linux-image-6.1.0-54-amd64: DCF77 Doesn't work after kernel update.) Date: Thu, 19 Nov 2026 15:10:01 +0100 Message-ID: <O1aZP-cTTA-13@gated-at.bofh.it> References: <NRu3L-7sDn-1@gated-at.bofh.it> <NStfj-81iR-5@gated-at.bofh.it> <NStfj-81iR-3@gated-at.bofh.it> <NYjmV-bfWS-3@gated-at.bofh.it> <NRu3L-7sDn-1@gated-at.bofh.it> <NYjmV-bfWS-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Nov 19 14:03:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Rob van der Putten <rob@sput.nl>, 1151843@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-kernel@lists.debian.org X-Debian-Pr-Message: followup 1151843 X-Debian-Pr-Package: src:linux X-Debian-Pr-Source: linux MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003556 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 57 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 19 Nov 2026 15:00:53 +0100 (CET) X-Original-Message-ID: <1dbfebfe-229e-b0c1-b435-8bed9030e3e4@sput.nl> X-Original-References: <179278501517.5410.8283087646349500898.reportbug@sput.ipv6.sput.nl> <handler.1151843.B.17927870653692220.ack@bugs.debian.org> <75065902-f969-c068-be18-aed26d0c0658@sput.nl> <3a115f6f-a37d-a333-6043-f9b882cbfc24@sput.nl> <179278501517.5410.8283087646349500898.reportbug@sput.ipv6.sput.nl> <3a115f6f-a37d-a333-6043-f9b882cbfc24@sput.nl>