From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#40538: installer: Support uvesafb to install on machines without KMS. Date: Tue, 14 Apr 2020 15:14:04 +0200 Message-ID: <20200414131404.gzashg4iyuyfdoua@pelzflorian.localdomain> References: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> <87h7xmz8dz.fsf@gnu.org> <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40821) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOLP4-0006JF-Q0 for bug-guix@gnu.org; Tue, 14 Apr 2020 09:15:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOLP3-0001OU-Sx for bug-guix@gnu.org; Tue, 14 Apr 2020 09:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOLP3-0001OK-OQ for bug-guix@gnu.org; Tue, 14 Apr 2020 09:15:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOLP3-0000S5-Jh for bug-guix@gnu.org; Tue, 14 Apr 2020 09:15:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40538@debbugs.gnu.org On Tue, Apr 14, 2020 at 12:28:38PM +0200, pelzflorian (Florian Pelz) wrote: > On Tue, Apr 14, 2020 at 12:09:12PM +0200, Ludovic Courtès wrote: > > Or better yet, is there a way to check whether KMS is already using > > another driver, and to not load uvesafb in that case? Probably there’s > > some info in /sys. > > Hmm I will try if checking for the presence of /dev/fb0 helps. I have tested and pushed a check for /dev/fb0 as 0ad60b2a89d6d387236466e0bcdd61ac489fca37 to the version-1.1.0 branch. All my machines that need uvesafb use it while those that don’t need it do not modprobe the kernel module anymore. Possibly there remain problems should the normal Kernel Mode Setting be very slow to create /dev/fb0, but otherwise the logs should no longer show uvesafb errors. They do show that the uvesafb shepherd service was started, even when it did not load uvesafb. Maybe the shepherd service should be renamed. Regards, Florian