From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sHKPJalWl2NtrgAAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 17:28:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sMaBJalWl2PScAEA9RJhRA (envelope-from ) for ; Mon, 12 Dec 2022 17:28:25 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0E93F3E70A for ; Mon, 12 Dec 2022 17:28:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4lev-0003Os-AA; Mon, 12 Dec 2022 11:28:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4les-0003Ok-UA for bug-guix@gnu.org; Mon, 12 Dec 2022 11:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4les-0003s1-GH for bug-guix@gnu.org; Mon, 12 Dec 2022 11:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4les-0000Sz-BX for bug-guix@gnu.org; Mon, 12 Dec 2022 11:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Dec 2022 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 60010@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16708624381756 (code B ref -1); Mon, 12 Dec 2022 16:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 16:27:18 +0000 Received: from localhost ([127.0.0.1]:53922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4le9-0000SG-GT for submit@debbugs.gnu.org; Mon, 12 Dec 2022 11:27:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:55492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4le5-0000S9-W5 for submit@debbugs.gnu.org; Mon, 12 Dec 2022 11:27:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4le5-0002df-Qq for bug-guix@gnu.org; Mon, 12 Dec 2022 11:27:13 -0500 Received: from relay.yourmailgateway.de ([188.68.63.102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4le3-0003R9-IQ for bug-guix@gnu.org; Mon, 12 Dec 2022 11:27:13 -0500 Received: from mors-relay-2502.netcup.net (localhost [127.0.0.1]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4NW6Tl2lwQz5xt4 for ; Mon, 12 Dec 2022 17:27:07 +0100 (CET) Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4NW6Tl20TGz4ylj for ; Mon, 12 Dec 2022 17:27:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4NW6Tk2SbBz8scM for ; Mon, 12 Dec 2022 17:27:06 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id F39035E6F1 for ; Mon, 12 Dec 2022 17:27:01 +0100 (CET) From: "pelzflorian (Florian Pelz)" Date: Mon, 12 Dec 2022 17:27:00 +0100 Message-ID: <87y1rcegff.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Rspamd-Queue-Id: F39035E6F1 X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[100.00%]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; MIME_TRACE(0.00)[0:+,1:+,2:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: vhkbkZ+faX9ihfxyBbIBgpHNQgv1xS9Pt4ruov/Xj3XPpCVAstq8CGgK Received-SPF: none client-ip=188.68.63.102; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670862505; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=Ly4E2/oImDPZm6xef+RlulQnGinrrazehF/mw7HmX78=; b=HQBqStZrT5kWc+Ie/G+3g1XxhVxeRTIWzIHmU0EiGhEruxTYRFyNS/mfVat7N+o0xt6A93 zKGx5WQfjWRoYKpHh2u/ctX3pRsd1Pb5Q7BjOgOWoXFrHW1UDPDtqNFt7EJdXX1v13WJVG D9nc423vQmKEostodJUkuU/0T9dsKhsWp94aeoibXaZKeDd+uMw1nd46XlAHiiHVZP2vn7 8pWc6o0aHITkq4Vr3KavAK5c+vM5Cj8uTlAwEGgDTIDIeOrbiv7CrXHV4AdgSTeldiJFag sppR7c/M6pPPbDkwoV0ikx76y0P5TjUvcDOaGncxAwWMIR7e/E5tAvvEQFm1Jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670862505; a=rsa-sha256; cv=none; b=lKTSrzvJqGoX+mii7a0Sa0bfGlsVzqZf+45vo4MHzMM6RMt0eQrzX/9VWsBa4WvWEvh2F+ JeQO6mZUV29qZ0FZDiaMTNLRv4XD+xCX8nmvAaesmWF4CIINWI6U4lHu4EsGSlBlXFbytV z6GfPkr0Dvi1Q7hyPc6388/URIWccoIvJ4MGFuhluOC8xzgL+759puKpgU2LisHso9Bmm4 DQjE/7sB3do8O4T80SeUB89bs6m5WsQbFqYloiXUCKZP7xEJAiZNhew6/2zTNo6ReKVI3s e9wH5s4lQvwEOiMuRECZvyXvGmS1WzQ0aSgANRzxKIcCidDCHpI1KxIsyEMQZg== X-Migadu-Spam-Score: -3.16 X-Spam-Score: -3.16 X-Migadu-Queue-Id: 0E93F3E70A X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: gYd9D6zTaqrB --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Just now I tried the installer on an AMD desktop but the graphical installer screen stays black. Same on an AMD laptop. After switching to another TTY, dmesg tells me this: > [ 11.625264] shepherd[1]: Service host-name has been started. > [ 11.625839] shepherd[1]: Service user-homes has been started. > [ 11.629846] shepherd[1]:=20 > [ 11.630078] [ > [ 11.630230] modprobe > [ 11.630382] ]=20 > [ 11.630592] modprobe: FATAL: Module uvesafb not found in directory /li= b/modules/6.0.10-gnu >=20 > [ 11.631734] shepherd[1]: Failed to start maybe-uvesafb in the backgrou= nd. > [ 15.185776] 0000:04:00.0: Missing Free firmware (non-Free firmware loa= ding is disabled) I tried manually running the modprobe command from gnu/system/install.scm: /gnu/store/vh4g56m35wwlfg300s4qafykxjy09511-kmod-29/bin/modprobe uvesafb v8= 6d=3D/gnu/store/na24a7653hyf0pghhw9nhfr6mi15v6cz-v86d-0.1.10/sbin/v86d mode= _option=3D1024x768 Works fine. I can switch back by Ctrl-Alt-F1 and the graphical installer works. /run/current-system/kernel/lib/modules/6.0.10-gnu/kernel/drivers/video/fbde= v/uvesafb.ko.gz exists. So I tried waiting until it exists before modprobe (in the attached patch). But modprobe still fails in the same way, according to dmesg, even though the file evidently already existed. Why doesn=E2=80=99t modprobe find it? Where does it look? I will try tomorrow to get an strace. The installer worked fine in=C2=A0= =E2=80=A6 August I believe. Regards, Florian --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=installer-Fix-uvesafb-not-loading.patch Content-Transfer-Encoding: quoted-printable From: Florian Pelz Date: Mon, 12 Dec 2022 15:33:26 +0100 Subject: [PATCH doesnt work] installer: Fix uvesafb not loading. * gnu/system/install.scm (uvesafb-shepherd-service): Wait before invoking modprobe. --- gnu/system/install.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index f6f1923121..ffde933990 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -4,7 +4,7 @@ ;;; Copyright =C2=A9 2016 Andreas Enge ;;; Copyright =C2=A9 2017 Marius Bakke ;;; Copyright =C2=A9 2017, 2019 Tobias Geerinckx-Rice -;;; Copyright =C2=A9 2020 Florian Pelz +;;; Copyright =C2=A9 2020, 2022 Florian Pelz ;;; Copyright =C2=A9 2020 Efraim Flashner ;;; Copyright =C2=A9 2022 Josselin Poiret ;;; @@ -289,11 +289,18 @@ (define (uvesafb-shepherd-service _) (provision '(maybe-uvesafb)) (requirement '(file-systems)) (start #~(lambda () - (or (file-exists? "/dev/fb0") - (invoke #+(file-append kmod "/bin/modprobe") + (define (start-uvesafb) + ;; HOW TO DO THIS THE RIGHT WAY?? + (if (file-exists? "/run/current-system/kernel/lib\ +/modules/6.0.10-gnu/kernel/drivers/video/fbdev/uvesafb.ko.gz") + (invoke #+(file-append kmod "/bin/modprobe") "uvesafb" (string-append "v86d=3D" #$v86d "/sbin/v86= d") - "mode_option=3D1024x768")))) + "mode_option=3D1024x768") + ;; Wait and try again. + (begin (sleep 1) (start-uvesafb)))) + (or (file-exists? "/dev/fb0") + (start-uvesafb)))) (respawn? #f) (one-shot? #t)))) =20 --=20 2.38.1 --=-=-=--