Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1087947pxk; Fri, 18 Sep 2020 03:31:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2FHGjB5/qjjMTwtl2P6QBIIFRoGUbdUGM7mXkQlane89u4OreU5mux+NHyDCduPg72+WO X-Received: by 2002:a17:906:4a51:: with SMTP id a17mr34826703ejv.381.1600425106635; Fri, 18 Sep 2020 03:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600425106; cv=none; d=google.com; s=arc-20160816; b=iY4MWbCyukW11V80tiZ70KKNBkyhpThfgdzIl3ogjlqPnTPJq7kMfvMGwL227gJ0Mt mvT7E4WaGaP7VEHViHJ7QJ7uCAp+xeCiOpWiwOjBkvVDhjv1zAf5Bo7gKeOiHl12sPCb x9JlqDEXwQ9OUyz/B9RKl7fsQ7xkkI2ouNeQEEVZCPmUYSeRm5NdHaP6E/RPPmtwtczQ Opd70lXElciRHdbmzgjFZUaTMxa96PNTzEU+0Llc4c5+QyD8+2/wc3Z64pN4JsW7HA03 uFDQeud2f5FcTfHCjafK0dd3G5dT9C3a4ClKrIbLuSVFJNBg4vXC1abVTCk9ZNJm/Eze BHfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=YvU7wJpud5ckoMFTLywkSwft2u7nawDcWfYRdoVjHUM=; b=L/48Ei2KMN11NNrPAJyzFk7XhK/TDg6yKHTW9KZpJDbSkMJwyH5vlKhUKoVK2Rp8Vo oFqMBjKmVGNTHPP4sCv9LZk9HGge9HGgEXRHpBHkYF735vntKGkzrJYlVRD1Pm2Vv3vo 9V1mBJnCyOh5AssKyio2LDJsCkjlA33t2sukIVs89Nizdxi9z29NVdVl1CQruq/BUxua aP6ZAJZyvjVYYgWlGgiLW+HZOEaRlL21XO7TzhL3KGR5HwehdBiDzQCmZeKxwE3OFDp7 pCbNO3jeUfE8Zqnt/+RGVG45ki27VoZXUBaEeaJCtiTy20LTY984FPggtHAawdHO5WJv +rNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd7si1896409ejb.433.2020.09.18.03.31.22; Fri, 18 Sep 2020 03:31:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726452AbgIRK17 (ORCPT + 99 others); Fri, 18 Sep 2020 06:27:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726152AbgIRK17 (ORCPT ); Fri, 18 Sep 2020 06:27:59 -0400 Received: from tartarus.angband.pl (tartarus.angband.pl [IPv6:2001:41d0:602:dbe::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CAC1C06174A; Fri, 18 Sep 2020 03:27:59 -0700 (PDT) Received: from kilobyte by tartarus.angband.pl with local (Exim 4.92) (envelope-from ) id 1kJDcM-0002VN-JV; Fri, 18 Sep 2020 12:27:50 +0200 Date: Fri, 18 Sep 2020 12:27:50 +0200 From: Adam Borowski To: Pavel Machek Cc: Linus Torvalds , Randy Dunlap , LKML , "linux-doc@vger.kernel.org" , Greg Kroah-Hartman , Daniel Vetter , Yuan Ming , Willy Tarreau , Bartlomiej Zolnierkiewicz , NopNop Nop , =?utf-8?B?5byg5LqR5rW3?= , Andy Lutomirski Subject: Re: fbcon: remove soft scrollback code (missing Doc. patch) Message-ID: <20200918102750.GA27828@angband.pl> References: <20200916205434.GA10389@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200916205434.GA10389@duo.ucw.cz> X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 16, 2020 at 10:54:34PM +0200, Pavel Machek wrote: > On Mon 2020-09-14 18:28:34, Linus Torvalds wrote: > > Note that scrollback hasn't actually gone away entirely - the original > > scrollback supported by _hardware_ still exists. > > > > Of course, that's really just the old-fashioned text VGA console, but > > that one actually scrolls not by moving any bytes around, but by > > moving the screen start address. And the scrollback similarly isn't > > about any software buffering, but about the ability of moving back > > that screen start address. > Could we pause this madness? Scrollback is still useful. I needed it > today... it was too small, so command results I was looking for > already scrolled away, but... life will be really painful with 0 scrollback. > > You'll need it, too... as soon as you get oops and will want to see > errors just prior to that oops. I concur -- this a serious usability regression for regular users. Linus: you have a serial cable on your main dev machine, so do I, but hardly any regular people do -- that's restricted to mostly IPMI and such. And without some kind of scrollback, there's no way of knowing why eg. your rootfs failed to mount (there was some oops, but its reason was at the beginning...). Or, any other problem the user would be able to solve, or pass the error messages to someone more knowledgeable. I also wonder why did you choose to remove softscrollback which is actually useful, yet leave hardscrollback which doesn't come to use on any non-ancient hardware: * on !x86 there's no vgacon at all * on x86, in-tree drivers for GPUs by Intel, nVidia and AMD (others are dead) default to switching away from vgacon * EFI wants its own earlycon ... thus, the only niche left is nVidia proprietary drivers which, the last time I looked, still used CGA text mode. > If it means I get to maintain it... I'm not happy about it but that's > better than no scrollback. That'd be greatly appreciated. There are also some simplifications/rewrites that could be done, like getting rid of redundant 1-byte/4-byte storage (or even the code for 1-byte...). Hard scrollback could be axed altogether (it provides only a small amount of scroll). Etc... > Kernel is now very verbose, so important messages > during bootup scroll away. It is way bigger deal when you can no > longer get to them using shift-pageup. Thus hard scrollback is inadequate in the rare cases it's even present. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ in the beginning was the boot and root floppies and they were good. ⢿⡄⠘⠷⠚⠋⠀ -- on #linux-sunxi ⠈⠳⣄⠀⠀⠀⠀