Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #90568

Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2 to F6 and over F7

Path csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From William Burrow <wbkernel@gmail.com>
Newsgroups linux.debian.kernel
Subject Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2 to F6 and over F7
Date Tue, 23 Dec 2025 19:00:01 +0100
Message-ID <M5ePT-57DA-11@gated-at.bofh.it> (permalink)
References <M4DGF-4Isq-3@gated-at.bofh.it> <M4L1v-4NSv-5@gated-at.bofh.it> <M4L1v-4NSv-3@gated-at.bofh.it> <M4M7g-4OBu-13@gated-at.bofh.it> <M4M7g-4OBu-11@gated-at.bofh.it> <M4Q1b-4R81-1@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Tue Dec 23 17:57:11 2025
Old-Return-Path <wbkernel@gmail.com>
X-Amavis-Spam-Status No, score=-0.599 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Gm-Message-State AOJu0YzSmirMdI2EnJI65wqGBhr47W4s4w77H5aLCj0AsUK9uL43CYTi H1XVnONugg0B5KFPxUx4HWx4FmECVYJMAgVi4wJEVjUuCQG91sPEiwWoC7/FiiFepWIiUERjg5b UPReWvlXYiJtlOWxE6X7KorWz5mprSns=
X-Gm-Gg AY/fxX4sssnMWd3t1EYwLrrdqycTXWRhr30bI9cc0XuKTnjR0F0ZmEjKJgd5KqhOHne Ra4VQzqxPpZyxrDrwKP/6JRNPmURAVL5jgxJoJF5U5XYYt5JaEbWHwZSpsfXZBi0LYZI4qrsxch xRdLo8stk3jYmFtHydq989PRnwjpeMc1XxcptMlx7l3bEOrE2aeowlfXWhp4Jh5SHWUSV+zfp4S 7NgmSXXT/ffgvLlytQHCGbpZctl9N85A2lEfBUdTZkRpCzKBhkGfbM5FlXWk2HBXeCoCW5OI+Ip MY7Obpo=
X-Google-SMTP-Source AGHT+IGlq1Kb7HXRfTP3IlhnfnP+J/qWbqP6YKmZ/DfGJhIN5w89qe72XHwPMX4t8bX4fddZAl/is6rttFreHGIOhWU=
X-Received by 2002:a05:7300:478d:b0:2ae:5e96:9d1b with SMTP id 5a478bee46e88-2b05ec30b31mr8852405eec.5.1766511696424; Tue, 23 Dec 2025 09:41:36 -0800 (PST)
MIME-Version 1.0
X-Gm-Features AQt7F2qTIEdVNcsYWynR-2qlQ8466C5TCoyO59Q9O8_M2aUEWEN8GOj8wfoKs4c
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/152868
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/CAN2Uaijjcc4=PQ9GbGw=qm2z6nUL6ms6nYTJ2Dg-3QPvhXYMeQ@mail.gmail.com
Approved robomod@news.nic.it
Lines 67
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-kernel@lists.debian.org, Helge Deller <deller@gmx.de>, Gianluca Renzi <icjtqr@gmail.com>, Helge Deller <deller@kernel.org>, Junjie Cao <junjie.cao@intel.com>
X-Original-Date Tue, 23 Dec 2025 13:41:24 -0400
X-Original-Message-ID <CAN2Uaijjcc4=PQ9GbGw=qm2z6nUL6ms6nYTJ2Dg-3QPvhXYMeQ@mail.gmail.com>
X-Original-References <CAN2UaigPTp_s4uSBTC6-AXv78isnAamsWY8pBSkgh6-AoENPsA@mail.gmail.com> <aUkQaIOhzwKRk93K@carbonx1> <CAKryDTKsgw4hVDCKW-S8BQ6LuVcg0mxrt07S0Bmg7HF7UeNVCQ@mail.gmail.com> <050e8b24-6c1f-4105-842a-bd25d80c57de@gmx.de> <a26a512b-b1ba-46ed-b1e8-e994ce0ada61@eurek.it> <aUlfG33fJK0Nhj05@stt008.linux.site>
Xref csiph.com linux.debian.kernel:90568

Show key headers only | View raw


Hello, all.
Just wanted to report on the status so far.  The patch did not work,
it printed a different weird (mess?) on the screen.  It was not a
recognizable character.  Trying 0x20 resulted in a mostly blank
screen.  The first column had characters in it, sometimes.
.
Next test was to add a printk() to the routines in question.  It was
noted that the charcnt was zero in some (most) cases.  To start were
some characters, ch, between 0x20 and 0x79 inclusive (on my machine).
Then a long list of ch == 0x20 and the charcnt == 0.  Not sure if this
is expected or if it indicates a bug somewhere else.
.
The charcnt variable was added by Junjie Cao in the patch that caused
the problem.  The patch looks like a good idea to avoid a buffer
overrun.  Maybe if charcnt is zero, the routine should just return
early?
.
Let me know and I will test it out.
.
William Burrow.
.

On Mon, Dec 22, 2025 at 11:09 AM Camaleón <noelamac@gmail.com> wrote:
>
> El 2025-12-22 a las 11:59 +0100, Gianluca Renzi escribió:
> > On 12/22/25 11:13, Helge Deller wrote:
> > > On 12/22/25 11:09, Gianluca Renzi wrote:
> > > > Wow! So you found the culprit.
>
> My deepest congrats (and a bunch of thanks) to William Burrow and
> Gianluca Renzi for their finding, testing, reporting (finally, «time
> spent») and the overall well job done! :-)
>
> > > Well, it seems pretty likely that you get the "copyright symbol",
> > > because ch gets assigned "0".  The question is: Why does this happen?
> > > It shouldn't.
> > >
> > > Does it only happens with old kernels (5.x), or does it happen with
> > > latest
> > > Linux kernels (>= 6.8) too?
> > >
> > The issue is not present with the kernel 5.10.0-36-amd64, only in kernel
> > 5.10.0-37-amd64 (5.10.247-1)
> >
> > I have a couple of Debian 12 machines laying around, and this bug is not
> > present for sure.
> >
> > I do not remember which kernel they can have, but it's the stable Debian 12
> > version.
>
> (...)
>
> Well, I do confirm I CANNOT reproduce the «©©©©©©©©©©©©©©©©©©©©©©©©©©©©»
> copyright issue neither on my Debian testing (kernel image
> 6.17.9+deb14) nor Debian stable (kernel image 6.1.0-41).
>
> Cheers,
>
> --
> Camaleón

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2  to F6 and over F7 William Burrow <wbkernel@gmail.com> - 2025-12-22 03:20 +0100
  Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2  to F6 and over F7 Helge Deller <deller@kernel.org> - 2025-12-22 11:10 +0100
    Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2  to F6 and over F7 Gianluca Renzi <icjtqr@gmail.com> - 2025-12-22 11:10 +0100
      Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2  to F6 and over F7 Gianluca Renzi <gianlucarenzi@eurek.it> - 2025-12-22 12:20 +0100
        Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2  to F6 and over F7 Camaleón <noelamac@gmail.com> - 2025-12-22 16:30 +0100
          Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2  to F6 and over F7 William Burrow <wbkernel@gmail.com> - 2025-12-23 19:00 +0100

csiph-web