From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C123158013 for ; Sun, 26 Sep 2021 12:36:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7195E09BE; Sun, 26 Sep 2021 12:36:33 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15124E0969 for ; Sun, 26 Sep 2021 12:36:32 +0000 (UTC) Received: (qmail 18358 invoked by uid 3782); 26 Sep 2021 12:36:31 -0000 Received: from acm.muc.de (p4fe150ab.dip0.t-ipconnect.de [79.225.80.171]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 26 Sep 2021 14:36:31 +0200 Received: (qmail 7837 invoked by uid 1000); 26 Sep 2021 12:36:30 -0000 Date: Sun, 26 Sep 2021 12:36:30 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] console scrollback (kernel 5.14) Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: 5ca0aa6e-ab3d-43eb-8548-7f7eb0849bca X-Archives-Hash: 5294fb4a898cfe1cd01e0063165307e6 Hello, Jorge. On Fri, Sep 24, 2021 at 23:44:51 +0000, Jorge Almeida wrote: > On Fri, Sep 24, 2021 at 5:29 PM Alan Mackenzie wrote: > Hello, Alan > > > $ patch -p0 <../patch_for_5.14.diff > > > patching file ./drivers/tty/vt/vt.c > > > Hunk #1 FAILED at 3208. > > > 1 out of 1 hunk FAILED -- saving rejects to file ./drivers/tty/vt/vt.c.rej > > attached. Please start again from a gentoo-sources without any previous > > traces of the scrollback patches, and apply that patch. _Surely_ it > > should work this time. > Sure enough, the patch was succesful. Unfortunately, I cannot test it, > because my computer is out of luck (big thunderstorm, crappy power > provider, not-so-smart owner). I'm sorry to hear it. I'm sure you've done it already, but get a decent backup from that machine somehow while it is still even partly working. > I can ssh into it and it all seems fine, but VT's other than tty1 go > dim after 1 or 2 seconds (showing the greeting) and then go black; I > can login blindly! I'm sure it has nothing to do with the patch, > since I also booted the former kernel (for which the previous patch > has been applied with success as expected) and it happens the same. > Damaged UPS or MO, maybe... Anyway, I'll try again when I manage to > fix or replace the computer and I'll report then. OK, thanks! > Thanks, > Jorge Almeida > P.S. I just noticed you mention gentoo-sources. I use the vanilla > kernel from kernel.org. Could that be a problem? Highly unlikely. I doubt very much there's any difference in the tty code between vanilla and gentoo-sources, but even so, I'm now basing my patches on a Linux repository cloned from their central repository server. -- Alan Mackenzie (Nuremberg, Germany).