From unknown Sun Aug 17 07:00:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60010 <60010@debbugs.gnu.org> To: bug#60010 <60010@debbugs.gnu.org> Subject: Status: [version 1.4.0] AMD screen stays black; modprobe fails Reply-To: bug#60010 <60010@debbugs.gnu.org> Date: Sun, 17 Aug 2025 14:00:35 +0000 retitle 60010 [version 1.4.0] AMD screen stays black; modprobe fails reassign 60010 guix submitter 60010 "pelzflorian (Florian Pelz)" severity 60010 important thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 11:27:18 2022 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) Authentication-Results: mors-relay-2502.netcup.net; dkim=permerror (bad message/signature format) 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 X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no 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)" To: bug-guix@gnu.org Subject: [version 1.4.0] AMD screen stays black; modprobe fails 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-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) --=-=-= 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 15:12:01 2022 Received: (at 60010) by debbugs.gnu.org; 12 Dec 2022 20:12:01 +0000 Received: from localhost ([127.0.0.1]:55060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4p9c-0003Lc-Mi for submit@debbugs.gnu.org; Mon, 12 Dec 2022 15:12:01 -0500 Received: from jpoiret.xyz ([206.189.101.64]:57036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4p9a-0003LW-8m for 60010@debbugs.gnu.org; Mon, 12 Dec 2022 15:11:59 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 26627185313; Mon, 12 Dec 2022 20:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1670875916; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JgYTB4bVWV44A5ZuPMCG8Jl/c3DtO/iZJ16dTUiz0ko=; b=k6rWISYcKJ/NuPtH5k9+cjRiwgR6saTzeKhZJK7uY9KFIV6MED0gvKoiK3nHFVGhU8hH+p YcnialSds13G+zVDOpnLcApBoSFNhBEOJSOrWq9z+9FWvLvThu78rtuOPBTcjx1Pp7d3Hi clb0Q8LO8IPtXWqfpx+LLLGa811oIY05biMXviXiO4svQgnLKTzxADBpcMvvX8ukagiMVf +wwR98qOm7pk6EnD+xXVP9W0bHIpvCh2w+2wxUsUpbcG2eYYC47iChwMCEW4C6eLNm0moP 0gRBQOiY18HQvge+KTsh4EJ/z+fKz50gaTc3rUWBIGPzaY3HOmIdpRacPSaSsw== From: Josselin Poiret To: "pelzflorian (Florian Pelz)" , 60010@debbugs.gnu.org Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails In-Reply-To: <87y1rcegff.fsf@pelzflorian.de> References: <87y1rcegff.fsf@pelzflorian.de> Date: Mon, 12 Dec 2022 21:11:55 +0100 Message-ID: <87mt7sfkl0.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Florian, "pelzflorian (Florian Pelz)" writes: > 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. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 60010 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Florian, "pelzflorian (Florian Pelz)" writes: > 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. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi Florian, "pelzflorian (Florian Pelz)" writes: > 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. I don't think there's a race issue with the files being available: shepherd should start after system activation (so /run/current-system exists), and after /gnu/store was mounted in the early userspace. > I will try tomorrow to get an strace. The installer worked fine in=C2=A0= =E2=80=A6 > August I believe. You could also probably try logging the system* call in some temporary log file, by using some bash redirection (or with-current-output-port and friends). By the way, why is the modprobe binary inside a #+? The target will want to be able to run the binary itself, right? Shouldn't it be #$? Best, --=20 Josselin Poiret From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 18:19:04 2022 Received: (at 60010) by debbugs.gnu.org; 12 Dec 2022 23:19:04 +0000 Received: from localhost ([127.0.0.1]:56136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4s4e-0005nY-28 for submit@debbugs.gnu.org; Mon, 12 Dec 2022 18:19:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4s4b-0005n7-Ng for 60010@debbugs.gnu.org; Mon, 12 Dec 2022 18:19:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4s4V-00012T-OP; Mon, 12 Dec 2022 18:18:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=8FKUoqsxliXQeO67I9HFAyini7urmv6gzB6JGpoyd/I=; b=E1m0BYkwn4oZ1YJPNpN2 71f8KirANyxz3PQ4u1ufkGO9wdMzdcgtBcNQC6S5RTUOKMstm2+JqIBKUvYE4ALSaqsx69DlQ6iJL A7mU2Ll/eODyPhVlb5a6b9C7aLSqYzF1zxwenEyLzK6x85zaJrCs/z6FxkLiw9dcGvPcOFiYiKB5H o83Y4JkPo7Kjjh/ADleUCPaJyc5KCsVmxRJ1aFKi26nFfWU8XmNNBk2O/6s/73DgcUQT+CwyFdTTw S8b6xndCl47XKMmmFf4RtnE4Hn4uurUhSdP0tQKsfKgWbSz3AZPIaI9LBj4enq6419wiaUm1WAwaG aYz7xi3ygxBozw==; Received: from [82.66.71.168] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4s4V-0005yW-8m; Mon, 12 Dec 2022 18:18:55 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> Date: Tue, 13 Dec 2022 00:18:52 +0100 In-Reply-To: <87y1rcegff.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Mon, 12 Dec 2022 17:27:00 +0100") Message-ID: <87wn6wyzvn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Florian, "pelzflorian (Florian Pelz)" skribis: > 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 /l= ib/modules/6.0.10-gnu [...] > @@ -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/v= 86d") > - "mode_option=3D1024x768")))) > + "mode_option=3D1024x768") The =E2=80=98kmod=E2=80=99 package is patched to honor $LINUX_MODULE_DIRECT= ORY. However, that variable is unset here: --8<---------------cut here---------------start------------->8--- $ sudo cat /proc/1/environ |xargs -0 HOME=3D/ TERM=3Dlinux BOOT_IMAGE=3D/gnu/store/04ac4skvnrfdsdw7z3rl3ya8spcgs= n6g-linux-libre-6.0.10/bzImage PATH=3D/gnu/store/zyk2b4zmy3vcaqs67s2czb6nsr= bf3b68-e2fsck-static-1.46.4/sbin:/gnu/store/cchslqkqm3qix71bsjr72mw9fd85p8a= 5-loadkeys-static-2.5.1/bin GUIX_LOCPATH=3D/gnu/store/mw3py6smb1pk8yx298hd9= ivz9lzbksqi-glibc-utf8-locales-2.33/lib/locale --8<---------------cut here---------------end--------------->8--- So you may need to add: (setenv "LINUX_MODULE_DIRECTORY" "/run/booted-system/kernel/lib/modules") Besides, but that=E2=80=99s more about aesthetics, it would make sense to u= se (gnu build linux-modules) instead of calling out to =E2=80=98modprobe=E2=80= =99, along these lines: (load-linux-modules-from-directory '("uvesafb") "/run/booted-system/kernel/lib/modules= ") HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 18:19:22 2022 Received: (at control) by debbugs.gnu.org; 12 Dec 2022 23:19:22 +0000 Received: from localhost ([127.0.0.1]:56142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4s4w-0005nq-Gb for submit@debbugs.gnu.org; Mon, 12 Dec 2022 18:19:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4s4u-0005nk-PM for control@debbugs.gnu.org; Mon, 12 Dec 2022 18:19:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4s4p-0001rv-Ep for control@debbugs.gnu.org; Mon, 12 Dec 2022 18:19:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=ed+phlHl5P2U35tvS2k+3a2msRhv1ZGSeKJ0sVYseSQ=; b=PbnKKDBX4GVvcO /hasD+PwOH91/iGNpsR8QKca8nsTCiOBSdxHFWGrru66boU+AUH15no7YaQm6Dj0j686ShHwkoM6C p9q01DgZvtoYjnbe9gKWmtXKA50kuplwMqZPrPoVuwVnHmwpD7UWR0Kbcs3vIY/q8kJRgeJ6LmJk5 O7X4xGrtRsLpmGj8Wb+YtZo3A0SuixmyCWWXlfNx/VXfIC9XJmiIoSqHXPeesjguohHlQFzv7hUhf JPk+vgoPAszTmwtraK6IBiT/+vaAh1H79Rwo7gk/06e0ClCsRwth6nhuUpH3TimXU30bm/2br+b4w K/Xi+8ogLMOsyVK6v6wg==; Received: from [82.66.71.168] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4s4h-00060f-6a for control@debbugs.gnu.org; Mon, 12 Dec 2022 18:19:10 -0500 Date: Tue, 13 Dec 2022 00:19:05 +0100 Message-Id: <87v8mgyzva.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #60010 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 60010 important quit From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 05:00:45 2022 Received: (at 60010) by debbugs.gnu.org; 13 Dec 2022 10:00:46 +0000 Received: from localhost ([127.0.0.1]:59362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p525d-0002fE-MZ for submit@debbugs.gnu.org; Tue, 13 Dec 2022 05:00:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p525b-0002f8-JY for 60010@debbugs.gnu.org; Tue, 13 Dec 2022 05:00:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p525V-0001sh-JX; Tue, 13 Dec 2022 05:00:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=+wB05VMCLDvuiX6LcTmXD6YFLd3zkleMxktEaWpLX7I=; b=AjQUSkg40XfyaDZodM7v EBK8hPLAPH+oBKESYpHssq8I5I/P5q9VRmMcA16WJGRIVVcsEdXieepVwH+o66XlxJuyKQmBDjZdK lGSCYZn3vPRuWMCh8Bx7KLsBXiR4mJVWC3lwYzOdjzidj5PY2yBfs9n95ghHi+aMmZUg3eAEzttfw h2Gjcg56jnDBeEBc+QnsDONbr+nlELeKPHgXEdfhTU9/VhlAdCTBFuFZdhmaa8A8TEbiAtUWG77OZ eOCzammsVu/wNqFSi+Dq3VWkSCLsU2/sO2W/LGYjWsbOqsU1Ry2aJEIxCseQs2gzpziY/GTpMlMmV BEmPP61Ch3qWNg==; Received: from vpn-0-27.aquilenet.fr ([185.233.101.27] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p525U-0005tb-SF; Tue, 13 Dec 2022 05:00:37 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> Date: Tue, 13 Dec 2022 11:00:34 +0100 In-Reply-To: <87wn6wyzvn.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 13 Dec 2022 00:18:52 +0100") Message-ID: <875yefy665.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skribis: > So you may need to add: > > (setenv "LINUX_MODULE_DIRECTORY" "/run/booted-system/kernel/lib/modules= ") Specifically, here=E2=80=99s the minimal change we should test: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/system/install.scm b/gnu/system/install.scm index f6f1923121..a512ace29e 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -289,11 +289,16 @@ (define (uvesafb-shepherd-service _) (provision '(maybe-uvesafb)) (requirement '(file-systems)) (start #~(lambda () - (or (file-exists? "/dev/fb0") - (invoke #+(file-append kmod "/bin/modprobe") - "uvesafb" - (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768")))) + (unless (file-exists? "/dev/fb0") + (setenv "LINUX_MODULE_DIRECTORY" + "/run/booted-system/kernel/lib/modules") + ;; TODO: Use 'load-linux-modules-from-directory' instead. + (invoke #+(file-append kmod "/bin/modprobe") + "uvesafb" + (string-append "v86d=" #$v86d "/sbin/v86d") + "mode_option=1024x768") + (unsetenv "LINUX_MODULE_DIRECTORY") + #t))) (respawn? #f) (one-shot? #t)))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpUaGFua3MsDQpMdWRv4oCZLg0K --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 07:29:17 2022 Received: (at 60010) by debbugs.gnu.org; 13 Dec 2022 12:29:17 +0000 Received: from localhost ([127.0.0.1]:60049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54PM-0004Rq-RK for submit@debbugs.gnu.org; Tue, 13 Dec 2022 07:29:17 -0500 Received: from relay.yourmailgateway.de ([188.68.63.102]:60661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54PK-0004Rk-KU for 60010@debbugs.gnu.org; Tue, 13 Dec 2022 07:29:15 -0500 Received: from mors-relay-2502.netcup.net (localhost [127.0.0.1]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4NWd8n1t3Yz5xDR; Tue, 13 Dec 2022 13:29:13 +0100 (CET) Authentication-Results: mors-relay-2502.netcup.net; dkim=permerror (bad message/signature format) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4NWd8n16m9z4yRt; Tue, 13 Dec 2022 13:29:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no 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 policy01-mors.netcup.net (Postfix) with ESMTPS id 4NWd8m2pZsz8t47; Tue, 13 Dec 2022 13:29:12 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id B2FB17FD84; Tue, 13 Dec 2022 13:29:06 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Josselin Poiret Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87mt7sfkl0.fsf@jpoiret.xyz> Date: Tue, 13 Dec 2022 13:29:05 +0100 In-Reply-To: <87mt7sfkl0.fsf@jpoiret.xyz> (Josselin Poiret's message of "Mon, 12 Dec 2022 21:11:55 +0100") Message-ID: <87sfhjzdv2.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: B2FB17FD84 X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[100.00%]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: 0M7YbjkOxPgbihs6aPYVzXl10LIIJtL2vV6pB2q11S4TVCzSfjmIREJ1 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thank you Josselin. Josselin Poiret writes: > I don't think there's a race issue with the files being available: Yes apparently, but it is some kind of race. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [188.68.63.102 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you Josselin. Josselin Poiret writes: > I don't think there's a race issue with the files being available: Yes apparently, but it is some kind of race. BTW it happens on master branch too despite its more recent linux. > By the way, why is the modprobe binary inside a #+? The target will want > to be able to run the binary itself, right? Shouldn't it be #$? You are right, I guess. But I will later try replacing it with Ludo=E2=80= =99s load-linux-modules-from-directory instead. Perhaps that even gets the install image small enough for a CDROM again? :) >> I will try tomorrow to get an strace. The installer worked fine in=C2= =A0=E2=80=A6 >> August I believe. > > You could also probably try logging the system* call in some temporary > log file, by using some bash redirection (or with-current-output-port > and friends). I replaced the =E2=80=9C(invoke #+(file-append kmod "/bin/modprobe") "uvesa= fb" =E2=80=A6=E2=80=9D by a convoluted (with-output-to-file "/tmp/strace" (lambda () (with-error-to-port (current-output-port) (lambda () (open-pipe* OPEN_READ #+(file-append strace "/bin/strace") "-f" #+(file-append kmod "/bin/modprobe") "uvesafb" but now the strace is a workaround and the modprobe succeeds. Either way, /tmp/strace shows that modprobe first reads /run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.softdep and the like. The successful strace only eventually goes on to read uvesafb.ko.gz. For completeness, the strace ends with --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=strace openat(AT_FDCWD, "/gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0203\0\0\0\0\0\0"..., 832) = 832 pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\v\0\0\0\0\0\0\0"..., 48, 94696) = 48 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=100760, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc734a32000 mmap(NULL, 103496, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc734a18000 mmap(0x7fc734a1b000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fc734a1b000 mmap(0x7fc734a2c000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fc734a2c000 mmap(0x7fc734a30000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fc734a30000 close(3) = 0 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc734a15000 arch_prctl(ARCH_SET_FS, 0x7fc734a15740) = 0 mprotect(0x7fc734be7000, 16384, PROT_READ) = 0 mprotect(0x7fc734a30000, 4096, PROT_READ) = 0 mprotect(0x7fc734c11000, 4096, PROT_READ) = 0 mprotect(0x7fc734c2d000, 4096, PROT_READ) = 0 mprotect(0x7fc734c5a000, 4096, PROT_READ) = 0 mprotect(0x7fc734d69000, 4096, PROT_READ) = 0 mprotect(0x425000, 4096, PROT_READ) = 0 mprotect(0x7fc734d9c000, 8192, PROT_READ) = 0 munmap(0x7fc734d6b000, 6584) = 0 set_tid_address(0x7fc734a15a10) = 153 set_robust_list(0x7fc734a15a20, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fc734c196a0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fc734c24d80}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fc734c19740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fc734c24d80}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 brk(NULL) = 0x1882000 brk(0x18a3000) = 0x18a3000 uname({sysname="Linux", nodename="gnu", ...}) = 0 newfstatat(AT_FDCWD, "/gnu/store/vh4g56m35wwlfg300s4qafykxjy09511-kmod-29/etc/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/run/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/lib/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.softdep", O_RDONLY|O_CLOEXEC) = 3 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=1424, ...}, AT_EMPTY_PATH) = 0 read(3, "# Soft dependencies extracted fr"..., 2048) = 1424 read(3, "", 2048) = 0 close(3) = 0 openat(AT_FDCWD, "/proc/cmdline", O_RDONLY|O_CLOEXEC) = 3 read(3, "BOOT_IMAGE=/gnu/store/3qdad0k7wv"..., 4095) = 300 read(3, "", 3795) = 0 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.dep.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=1050966, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 1050966, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc734914000 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.alias.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=1522188, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 1522188, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7347a0000 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.symbols.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=780289, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 780289, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7346e1000 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.builtin.alias.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.builtin.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=12061, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 12061, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7346de000 close(3) = 0 openat(AT_FDCWD, "/sys/module/uvesafb/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/sys/module/uvesafb", 0x7ffe93ffa110, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/sys/module/uvesafb/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/sys/module/uvesafb", 0x7ffe93ffa110, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/kernel/drivers/video/fbdev/uvesafb.ko.gz", O_RDONLY|O_CLOEXEC) = 3 read(3, "\37\213\10\0\0\0", 6) = 6 lseek(3, 0, SEEK_SET) = 0 lseek(3, 0, SEEK_CUR) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7342dd000 read(3, "\37\213\10\0\0\0\0\0\0\3\354}\17x\24\325\271\367l\262\204\5\301\211\210\n^\257\214mPh"..., 8192) = 8192 read(3, "\235.\211\323\224\200\263\3015\2\347\1W\361\307\223\327j\364\256:\237\7g\237\4|#\274\36|\253"..., 8192) = 6966 read(3, "", 1226) = 0 init_module(0x7fc7342dd010, 54160, "v86d=/gnu/store/na24a7653hyf0pgh"...) = 0 munmap(0x7fc7342dd000, 4198400) = 0 close(3) = 0 munmap(0x7fc734914000, 1050966) = 0 munmap(0x7fc7347a0000, 1522188) = 0 munmap(0x7fc7346e1000, 780289) = 0 munmap(0x7fc7346de000, 12061) = 0 exit_group(0) = ? +++ exited with 0 +++ --=-=-= Content-Type: text/plain Regards, Florian --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 07:51:09 2022 Received: (at 60010) by debbugs.gnu.org; 13 Dec 2022 12:51:09 +0000 Received: from localhost ([127.0.0.1]:60151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54kX-00071T-8O for submit@debbugs.gnu.org; Tue, 13 Dec 2022 07:51:09 -0500 Received: from relay.yourmailgateway.de ([188.68.63.98]:43609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54kU-00071M-I5 for 60010@debbugs.gnu.org; Tue, 13 Dec 2022 07:51:07 -0500 Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NWdf13XH8z60xl; Tue, 13 Dec 2022 13:51:05 +0100 (CET) Authentication-Results: mors-relay-2501.netcup.net; dkim=permerror (bad message/signature format) Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NWdf12p0hz4yHH; Tue, 13 Dec 2022 13:51:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no 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 4NWdf05GVcz8shM; Tue, 13 Dec 2022 13:51:03 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id 159EC7FCF5; Tue, 13 Dec 2022 13:50:57 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> Date: Tue, 13 Dec 2022 13:50:57 +0100 In-Reply-To: <875yefy665.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 13 Dec 2022 11:00:34 +0100") Message-ID: <87o7s7zcum.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 159EC7FCF5 X-Spamd-Result: default: False [-5.58 / 15.00]; BAYES_HAM(-5.48)[99.96%]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: 75X+b8TNXMhKqGUgw+7cdZ9FiaFQjIrwVJNc3JpyPkZmtwibjM3cdqQ9 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > Specifically, here=E2=80=99s the minimal change we should test:[=E2=80=A6] > + (unless (file-exists? "/dev/fb0") > + (setenv "LINUX_MODULE_DIRECTORY" > + "/run/booted-system/kernel/lib/modules") Thanks for the patch. I found I can test in QEMU if I put nomodeset in the kernel arguments in GRUB. Without the patch, the screen stays black there too. With the patch, it hrmm it also stays black. I will next try using 'load-linux-modules-from-directory' and no modprobe. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 08:03:31 2022 Received: (at 60010) by debbugs.gnu.org; 13 Dec 2022 13:03:31 +0000 Received: from localhost ([127.0.0.1]:60230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54wU-00011x-Pe for submit@debbugs.gnu.org; Tue, 13 Dec 2022 08:03:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54wT-00011p-MD for 60010@debbugs.gnu.org; Tue, 13 Dec 2022 08:03:29 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p54wM-0006vG-1w; Tue, 13 Dec 2022 08:03:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=VPQ2LQSXZOlbf2ivU7rUuHVvuuh0SlmEtmqJ/oZVSDU=; b=KXfF0IrRP/uLDIUr2tcD OCuppTuSjjwi3mlD2gtovKqK/K42u9vgHEdCmobZ3u4MVgfM82ephbK8NbByaapqoHjTgWBnXcg/K x+LorWW3Q+aC7fJHF6homCQ5W1xQMo2i5PtOMr0K5CgSP/zmBHtj1KTdGMIEHwcu7MiqTFn/h/Dj/ Iz38NNiNrS7JnpOa1P8DewVx7eWep397gT7ggbC8xvMUqtf+5gykL69YhJtOg5+c+QGx+GalomcHz AbaCWTBKgLUOkq/l1y2oWGN9HWde+svDuCmAwqwAy1D+9onayFYn/gsIFOyHBi1fiZ9H18+Fw96ac NdnKjyIGtrbmlA==; Received: from eduroam-111172.grenet.fr ([130.190.111.172] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p54wI-0008Oh-Kt; Tue, 13 Dec 2022 08:03:21 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 23 Frimaire an 231 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour du Roseau X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 13 Dec 2022 14:03:11 +0100 In-Reply-To: <87o7s7zcum.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Tue, 13 Dec 2022 13:50:57 +0100") Message-ID: <87k02vwj5c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "pelzflorian (Florian Pelz)" skribis: > Ludovic Court=C3=A8s writes: >> Specifically, here=E2=80=99s the minimal change we should test:[=E2=80= =A6] >> + (unless (file-exists? "/dev/fb0") >> + (setenv "LINUX_MODULE_DIRECTORY" >> + "/run/booted-system/kernel/lib/modules") > > Thanks for the patch. > > I found I can test in QEMU if I put nomodeset in the kernel arguments > in GRUB. > > Without the patch, the screen stays black there too. > With the patch, it hrmm it also stays black. Do you see hints as to whether uvesafb gets loaded? You can do that by adding =E2=80=9Cconsole=3DttyS0=E2=80=9D to the kernel a= rguments and by passing =E2=80=98-serial stdio=E2=80=99 to QEMU. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 08:51:28 2022 Received: (at 60010) by debbugs.gnu.org; 13 Dec 2022 13:51:28 +0000 Received: from localhost ([127.0.0.1]:60568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p55gt-000453-Jf for submit@debbugs.gnu.org; Tue, 13 Dec 2022 08:51:27 -0500 Received: from relay.yourmailgateway.de ([188.68.61.107]:39749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p55go-00044n-Lw for 60010@debbugs.gnu.org; Tue, 13 Dec 2022 08:51:26 -0500 Received: from mors-relay-8405.netcup.net (localhost [127.0.0.1]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4NWfzX6qFXz6yQ2; Tue, 13 Dec 2022 14:51:20 +0100 (CET) Authentication-Results: mors-relay-8405.netcup.net; dkim=permerror (bad message/signature format) Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4NWfzX68t7z6y2k; Tue, 13 Dec 2022 14:51:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no 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 4NWfzX1LHYz8sv9; Tue, 13 Dec 2022 14:51:19 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id C93527FCE1; Tue, 13 Dec 2022 14:51:13 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> Date: Tue, 13 Dec 2022 14:51:12 +0100 In-Reply-To: <87o7s7zcum.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Tue, 13 Dec 2022 13:50:57 +0100") Message-ID: <87sfhjfm3z.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: C93527FCE1 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]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: WJqyLfcV5+IbqVAkDkOkHbof+zpFe119y2aKq0vAjerxZDSHXgsJAaoP X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "pelzflorian (Florian Pelz)" writes: > I will next try using 'load-linux-modules-from-directory' and no > modprobe. I tried the attached patch. Doesn=E2=80=99t work, still black (in QEMU). Says the dmesg: > [ 11.183789] shepherd[1]: Service user-homes has been started. > [ 11.184555] shepherd[1]: Service user-processes has been started. > [ 11.185587] shepherd[1]: Service host-name has been started. > [ 11.186350] shepherd[1]: Service user-homes has been started. > [ 11.187383] shepherd[1]: Failed to start maybe-uvesafb in the backgrou= nd. > [ 15.213524] 8021q: 802.1Q VLAN Support v1.8 > [ 15.213541] 8021q: adding VLAN 0 to HW filter on device eth0 And nothing more. Maybe there is a mistake in my patch. Regards, Florian --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=load-linux-modules.patch diff --git a/gnu/system/install.scm b/gnu/system/install.scm index f6f1923121..8456cc1570 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -37,6 +37,7 @@ (define-module (gnu system install) #:use-module ((guix store) #:select (%store-prefix)) #:use-module (guix utils) #:use-module (gnu installer) + #:use-module (gnu build linux-modules) #:use-module (gnu system locale) #:use-module (gnu services avahi) #:use-module (gnu services dbus) @@ -289,14 +290,20 @@ (define (uvesafb-shepherd-service _) (provision '(maybe-uvesafb)) (requirement '(file-systems)) (start #~(lambda () - (or (file-exists? "/dev/fb0") - (invoke #+(file-append kmod "/bin/modprobe") - "uvesafb" - (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768")))) + (unless (file-exists? "/dev/fb0") + (load-linux-modules-from-directory '("uvesafb") "\ +/run/booted-system/kernel/lib/modules")))) (respawn? #f) (one-shot? #t)))) +(define uvesafb-config + (computed-file "uvesafb.conf" + #~(with-output-to-file #$output + (lambda () + (display + (string-append "options v86d=" #$v86d "/sbin/v86d" + " " "mode_option=1024x768")))))) + (define uvesafb-service-type (service-type (name 'uvesafb) @@ -450,7 +457,10 @@ (define bare-bones-os ;; installer. Some may also need a kernel parameter like nomodeset ;; or vga=793, but we leave that for the user to specify in GRUB. `(,@(if (supported-package? v86d system) - (list (service uvesafb-service-type)) + (list (simple-service 'uvesafb-config etc-service-type + (list `("modprobe.d/uvesafb.conf" + ,uvesafb-config))) + (service uvesafb-service-type)) '()))))) (define %issue --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 11:37:14 2022 Received: (at 60010) by debbugs.gnu.org; 13 Dec 2022 16:37:14 +0000 Received: from localhost ([127.0.0.1]:33252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p58HJ-00068U-OJ for submit@debbugs.gnu.org; Tue, 13 Dec 2022 11:37:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p58HI-00068O-6c for 60010@debbugs.gnu.org; Tue, 13 Dec 2022 11:37:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p58HC-0003fS-34; Tue, 13 Dec 2022 11:37:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=QEKA6tm8/FfZbMu2ruttTO17JZ+qCF4H39HG7yq9Ybw=; b=ohUeGJc5VP2PKfPd0OlC WChbmetqByU/SJZH6J7M7QaU7y/Qtr9tYBAePO3qpwvKuW8IZEOJVj5ZbZ/bJmkvI1mvmogYR5k// LuUheOe7uTpwzF2MHTNygekQ5Z1uRjUfMMhuQFlGRmCs9kyA7XTQyspGEp2Weca49nSfjLRZgXVKb I07Ugd7w912bKBrEnwo8vmtV7Ayllaaboh9UyHO0aVIMvbVHG1Gzc0YTp5dG/fowVmnzE6twPQqnT wCK0gLD1UZbVrhub3Ghy6zcv92yAOg5f6HNjXZwcpN8iiZD/MrqnasFYC8yv2ynSSEAol5Csafap4 XAwEgeesUPYCQA==; Received: from eduroam-111172.grenet.fr ([130.190.111.172] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p58HA-0000it-5v; Tue, 13 Dec 2022 11:37:04 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> <87sfhjfm3z.fsf@pelzflorian.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 23 Frimaire an 231 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour du Roseau X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 13 Dec 2022 17:37:01 +0100 In-Reply-To: <87sfhjfm3z.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Tue, 13 Dec 2022 14:51:12 +0100") Message-ID: <871qp3w98y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "pelzflorian (Florian Pelz)" skribis: > (provision '(maybe-uvesafb)) > (requirement '(file-systems)) > (start #~(lambda () > - (or (file-exists? "/dev/fb0") > - (invoke #+(file-append kmod "/bin/modprobe") > - "uvesafb" > - (string-append "v86d=3D" #$v86d "/sbin/v= 86d") > - "mode_option=3D1024x768")))) > + (unless (file-exists? "/dev/fb0") > + (load-linux-modules-from-directory '("uvesafb") "\ > +/run/booted-system/kernel/lib/modules")))) To make it work, you=E2=80=99d need to add a =E2=80=98modules=E2=80=99 fiel= d so that (gnu build linux-modules) is in scope, plus throw in =E2=80=98with-imported-modules=E2= =80=99. I=E2=80=99d say let=E2=80=99s stick to the minimal change where we still in= voke =E2=80=98modprobe=E2=80=99. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 14 08:49:57 2022 Received: (at 60010) by debbugs.gnu.org; 14 Dec 2022 13:49:57 +0000 Received: from localhost ([127.0.0.1]:39385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5S8z-0000of-Hr for submit@debbugs.gnu.org; Wed, 14 Dec 2022 08:49:57 -0500 Received: from relay.yourmailgateway.de ([188.68.61.103]:53439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5S8x-0000oZ-GY for 60010@debbugs.gnu.org; Wed, 14 Dec 2022 08:49:56 -0500 Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4NXGvQ2NLbz8529; Wed, 14 Dec 2022 14:49:54 +0100 (CET) Authentication-Results: mors-relay-8403.netcup.net; dkim=permerror (bad message/signature format) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4NXGvQ1yxRz84yB; Wed, 14 Dec 2022 14:49:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no 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 policy01-mors.netcup.net (Postfix) with ESMTPS id 4NXGvP4QWjz8sYY; Wed, 14 Dec 2022 14:49:52 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id 4C1CE7FE80; Wed, 14 Dec 2022 14:49:47 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> <87k02vwj5c.fsf@gnu.org> Date: Wed, 14 Dec 2022 14:49:46 +0100 In-Reply-To: <87k02vwj5c.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 13 Dec 2022 14:03:11 +0100") Message-ID: <87r0x2f62t.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4C1CE7FE80 X-Spamd-Result: default: False [-1.88 / 15.00]; BAYES_HAM(-1.78)[86.85%]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: S/5LDDlI7zUp/WPJwwCagw+6dkoNHNAFKYCPcOYW5GDKqIO23chLx3d5 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > Do you see hints as to whether uvesafb gets loaded? > > You can do that by adding =E2=80=9Cconsole=3DttyS0=E2=80=9D to the kernel= arguments and by > passing =E2=80=98-serial stdio=E2=80=99 to QEMU. This serial output shows nothing about uvesafb, but dmesg contains about uvesafb exactly the same modprobe failure as initially without LINUX_MODULE_DIRECTORY. I shall try Brice Waegeneire=E2=80=99s kernel-module-loader-service. This cannot be a solution because some computers do already have /dev/fb0 and doing modprobe uvesafb regardless makes their screen go awry. But it will be interesting to know if it still works. Also of course uvesafb still worked fine in November when we added hardware support warnings to the installer, not long ago, not August. Probably restoring the old linux kernel would be a workaround too. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 14 18:29:47 2022 Received: (at 60010) by debbugs.gnu.org; 14 Dec 2022 23:29:47 +0000 Received: from localhost ([127.0.0.1]:42156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5bC7-0002EC-7Z for submit@debbugs.gnu.org; Wed, 14 Dec 2022 18:29:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5bC2-0002E3-2m for 60010@debbugs.gnu.org; Wed, 14 Dec 2022 18:29:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5bBv-0005tn-Uq; Wed, 14 Dec 2022 18:29:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=rzN+59Xcnsr6GBc75CAItc9M+KxRCm86TwA2zDjeN9A=; b=ZHO/s5YVvo7SxuCoA49B CfLp809EyscpYj3R9TKyGu+1/EDK3wOUkj162z8Os2WOPZdgWHItUHqTAthuWbWEeP4iMz10g2avc /rBO3VWBJr+uGNi7ja3hqU9NGb0WvVUbnUaFjcx+J4EmUCLIjiAsdwphcgP8lPGoXLP3jO9iQKAVR YwI2nMpC8QrmkXa/LtrU1Q0cOXEH2z8UoSy18k61VEnES2W9yIyEH15l+YAZ4EHKHf/Ugq20TQ3ND KZzBVcCCcIBeff54JAGHEjoiaVGzVyQKv5GLLTeG1aDVdm13T7g/H1gU2HxW7P3RxCp/ifBAYkqNC xS4hlrfsNNUkzg==; Received: from [82.66.71.168] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5bBu-0006ah-Tm; Wed, 14 Dec 2022 18:29:35 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> <87k02vwj5c.fsf@gnu.org> <87r0x2f62t.fsf@pelzflorian.de> Date: Thu, 15 Dec 2022 00:29:32 +0100 In-Reply-To: <87r0x2f62t.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Wed, 14 Dec 2022 14:49:46 +0100") Message-ID: <87y1r9r2cj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "pelzflorian (Florian Pelz)" skribis: > Ludovic Court=C3=A8s writes: >> Do you see hints as to whether uvesafb gets loaded? >> >> You can do that by adding =E2=80=9Cconsole=3DttyS0=E2=80=9D to the kerne= l arguments and by >> passing =E2=80=98-serial stdio=E2=80=99 to QEMU. > > This serial output shows nothing about uvesafb, but dmesg contains about > uvesafb exactly the same modprobe failure as initially without > LINUX_MODULE_DIRECTORY. Oooh. =E2=80=98invoke=E2=80=99 uses =E2=80=98system*=E2=80=99, and in shep= herd 0.9.3, =E2=80=98system*=E2=80=99 is implemented in terms of =E2=80=98fork+exec-command=E2=80=99, which only pas= ses the environment variables listed in =E2=80=98default-environment-variables=E2= =80=99 by default. Thus, (setenv "LINUX_MODULE_DIRECTORY" =E2=80=A6) had no effect o= n the child process; it just wouldn=E2=80=99t see LINUX_MODULE_DIRECTORY. I think the patch below will be good=E2=80=A6 or very close to it. Lemme know! Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/system/install.scm b/gnu/system/install.scm index f6f1923121..e524729baf 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -289,11 +289,21 @@ (define (uvesafb-shepherd-service _) (provision '(maybe-uvesafb)) (requirement '(file-systems)) (start #~(lambda () - (or (file-exists? "/dev/fb0") + (unless (file-exists? "/dev/fb0") + ;; In shepherd 0.9.3, 'system*' is implemented in terms + ;; of 'fork+exec-command'. Thus, set + ;; 'default-environment-variables' to pass an extra + ;; variable to the child process. + (parameterize ((default-environment-variables + `("LINUX_MODULE_DIRECTORY=/run/booted-system/kernel/lib/modules" + ,(environ)))) + ;; TODO: Use 'load-linux-modules-from-directory' + ;; instead. (invoke #+(file-append kmod "/bin/modprobe") "uvesafb" (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768")))) + "mode_option=1024x768")) + #t))) (respawn? #f) (one-shot? #t)))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 12:43:12 2022 Received: (at 60010) by debbugs.gnu.org; 15 Dec 2022 17:43:12 +0000 Received: from localhost ([127.0.0.1]:43975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5sGG-00033Y-At for submit@debbugs.gnu.org; Thu, 15 Dec 2022 12:43:12 -0500 Received: from relay.yourmailgateway.de ([188.68.63.98]:45795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5sGD-00033O-Dz for 60010@debbugs.gnu.org; Thu, 15 Dec 2022 12:43:10 -0500 Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NY0236zQSz6027; Thu, 15 Dec 2022 18:43:07 +0100 (CET) Authentication-Results: mors-relay-2501.netcup.net; dkim=permerror (bad message/signature format) Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NY0236CXkz4xXk; Thu, 15 Dec 2022 18:43:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no 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 4NY0230wWjz8shM; Thu, 15 Dec 2022 18:43:06 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id 560707FC1E; Thu, 15 Dec 2022 18:43:01 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> <87k02vwj5c.fsf@gnu.org> <87r0x2f62t.fsf@pelzflorian.de> <87y1r9r2cj.fsf@gnu.org> Date: Thu, 15 Dec 2022 18:42:59 +0100 In-Reply-To: <87y1r9r2cj.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 15 Dec 2022 00:29:32 +0100") Message-ID: <875yec5zrw.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: 560707FC1E 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]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: wc9RlZnl8V1CMkrrzfIv0Km6nEAU+v1rXaiv05MLi4wkjIch67DzsFEG X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Ludo, sorry to say I attempted your modprobe patch that uses (parameterize ((default-environment-variables =E2=80=A6 No good. Screen is black. Same [ modprobe ] failure in dmesg on QEMU and on real AMD hardware. There are workarounds by surrounding modprobe within strace or alternatively using kernel-module-loader-service (attached; but again, without the file-exists? check, this would cause new issues on some machines that dont need uvesafb). A stupid diff --git a/gnu/system/install.scm b/gnu/system/install.scm index f6f1923121..a99cf09e31 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -289,6 +289,7 @@ (define (uvesafb-shepherd-service _) (provision '(maybe-uvesafb)) (requirement '(file-systems)) (start #~(lambda () + (sleep 1) (or (file-exists? "/dev/fb0") (invoke #+(file-append kmod "/bin/modprobe") "uvesafb" fails though. All bad=E2=80=A6 Regards, Florian --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=use-kernel-module-loader.patch diff --git a/gnu/system/install.scm b/gnu/sysdiff --git a/gnu/system/install.scm b/gnu/system/install.scm index f6f1923121..2a1f401536 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -40,6 +40,7 @@ (define-module (gnu system install) #:use-module (gnu system locale) #:use-module (gnu services avahi) #:use-module (gnu services dbus) + #:use-module (gnu services linux) #:use-module (gnu services networking) #:use-module (gnu services shepherd) #:use-module (gnu services ssh) @@ -283,29 +284,22 @@ (define %nscd-minimal-caches ;; These define a service to load the uvesafb kernel module with the ;; appropriate options. The GUI installer needs it when the machine does not ;; support Kernel Mode Setting. Otherwise kmscon is missing /dev/fb0. -(define (uvesafb-shepherd-service _) - (list (shepherd-service - (documentation "Load the uvesafb kernel module if needed.") - (provision '(maybe-uvesafb)) - (requirement '(file-systems)) - (start #~(lambda () - (or (file-exists? "/dev/fb0") - (invoke #+(file-append kmod "/bin/modprobe") - "uvesafb" - (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768")))) - (respawn? #f) - (one-shot? #t)))) - -(define uvesafb-service-type - (service-type - (name 'uvesafb) - (extensions - (list (service-extension shepherd-root-service-type - uvesafb-shepherd-service))) - (description - "Load the @code{uvesafb} kernel module with the right options.") - (default-value #t))) +(define uvesafb-config + (computed-file "uvesafb.conf" + #~(with-output-to-file #$output + (lambda () + (display + (string-append "options uvesafb" + " " "v86d=" #$v86d "/sbin/v86d" + " " "mode_option=1024x768")))))) + +(define uvesafb-services + (list (service kernel-module-loader-service-type + '("uvesafb")) + (simple-service 'uvesafb-config etc-service-type + (list `("modprobe.d/uvesafb.conf" + ,uvesafb-config))))) + (define* (%installation-services #:key (system (or (and=> (%current-target-system) @@ -450,8 +444,7 @@ (define bare-bones-os ;; installer. Some may also need a kernel parameter like nomodeset ;; or vga=793, but we leave that for the user to specify in GRUB. `(,@(if (supported-package? v86d system) - (list (service uvesafb-service-type)) - '()))))) + uvesafb-services))))) (define %issue ;; Greeting. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 18:37:57 2022 Received: (at 60010) by debbugs.gnu.org; 15 Dec 2022 23:37:57 +0000 Received: from localhost ([127.0.0.1]:45608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5xnY-0005PB-Nd for submit@debbugs.gnu.org; Thu, 15 Dec 2022 18:37:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5xnX-0005P4-5v for 60010@debbugs.gnu.org; Thu, 15 Dec 2022 18:37:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5xnR-0000sc-Kg; Thu, 15 Dec 2022 18:37:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=u4DNHEy21U4gcVucJkrJcbs4MaCXPgJPyV0z4c3Oz2A=; b=GE3VEbVnkQYeXa1PYLcd RX4bPeFUNZ64q3WCcWpanFtcr+AwId+RFPH1GM1glzd2vpg188wqZ89i0F3QQSgJKV7J8ES0e3+qr khGW1T1jUPrMTUaOG/wBL3MdunUGhFd19d2DKxSyLVtMOuZutE1c0xB/WH6kXP9GfcjOaGL+OpajU QiL6c6QKHWhQTA+iCSIYIVi+i4jJoCGWWxmHbt6atA49pTaL35puihDtCZ0Av/Ccf5kBvq8zrjTfB KMuAZCZN5J5jr88BgF6PxBRTq4p7CDjtdpcrpj8fJp1jJKxMhRhFW+QwknryAvol5uU+bnhpsu5rl Bm330aMLcC01PQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5xnR-0007hM-6A; Thu, 15 Dec 2022 18:37:49 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> <87k02vwj5c.fsf@gnu.org> <87r0x2f62t.fsf@pelzflorian.de> <87y1r9r2cj.fsf@gnu.org> <875yec5zrw.fsf@pelzflorian.de> Date: Fri, 16 Dec 2022 00:37:45 +0100 In-Reply-To: <875yec5zrw.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Thu, 15 Dec 2022 18:42:59 +0100") Message-ID: <87edt0kzli.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Florian, "pelzflorian (Florian Pelz)" skribis: > Hello Ludo, sorry to say I attempted your modprobe patch that uses > (parameterize ((default-environment-variables =E2=80=A6 Bah, turns out it=E2=80=99s trickier than this. See . I figured I could test it in a VM. I ended up with a minimal change, pushed in commit b1aef25453067004279c4267cf25e8d6d365890d, that lets modprobe load uvesafb for good (it was all about setting =E2=80=98LINUX_MODULE_DIRECTORY=E2=80=99). Let me know if anything=E2=80=99s amiss! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 06:48:59 2022 Received: (at 60010) by debbugs.gnu.org; 16 Dec 2022 11:49:00 +0000 Received: from localhost ([127.0.0.1]:48812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p69D1-00085p-Kg for submit@debbugs.gnu.org; Fri, 16 Dec 2022 06:48:59 -0500 Received: from relay.yourmailgateway.de ([188.68.63.98]:59777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p69Cx-00085g-N2 for 60010@debbugs.gnu.org; Fri, 16 Dec 2022 06:48:58 -0500 Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NYS6t0qkKz5yVl; Fri, 16 Dec 2022 12:48:54 +0100 (CET) Authentication-Results: mors-relay-2501.netcup.net; dkim=permerror (bad message/signature format) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NYS6t04Dbz4xNC; Fri, 16 Dec 2022 12:48:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no 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 policy01-mors.netcup.net (Postfix) with ESMTPS id 4NYS6s25Hzz8sYX; Fri, 16 Dec 2022 12:48:53 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id BD8897FE13; Fri, 16 Dec 2022 12:48:47 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails References: <87y1rcegff.fsf@pelzflorian.de> <87wn6wyzvn.fsf@gnu.org> <875yefy665.fsf@gnu.org> <87o7s7zcum.fsf@pelzflorian.de> <87k02vwj5c.fsf@gnu.org> <87r0x2f62t.fsf@pelzflorian.de> <87y1r9r2cj.fsf@gnu.org> <875yec5zrw.fsf@pelzflorian.de> <87edt0kzli.fsf@gnu.org> Date: Fri, 16 Dec 2022 12:48:46 +0100 In-Reply-To: <87edt0kzli.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 16 Dec 2022 00:37:45 +0100") Message-ID: <87fsdfh8m9.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: BD8897FE13 X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[99.99%]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: cSCYT0FdjDKaTb1e1I6MWpsYoouUkixOKdnvYH64ExaBpGANdDTQowQH X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60010 Cc: 60010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > I ended up with a minimal change, > pushed in commit b1aef25453067004279c4267cf25e8d6d365890d, that lets > modprobe load uvesafb for good (it was all about setting > =E2=80=98LINUX_MODULE_DIRECTORY=E2=80=99). Thank you Ludo for your excellent work. All is good now on AMD hardware (my laptop and PC). I=E2=80=99m still not sure why LINUX_MODULE_DIRECTORY = is needed here and is not needed for kernel module loader service, but whatever. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 12:09:20 2022 Received: (at control) by debbugs.gnu.org; 16 Dec 2022 17:09:20 +0000 Received: from localhost ([127.0.0.1]:50464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6ED2-0001ra-JC for submit@debbugs.gnu.org; Fri, 16 Dec 2022 12:09:20 -0500 Received: from relay.yourmailgateway.de ([188.68.63.162]:41041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6ECx-0001rU-1m for control@debbugs.gnu.org; Fri, 16 Dec 2022 12:09:18 -0500 Received: from mors-relay-8201.netcup.net (localhost [127.0.0.1]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4NYbDQ6qs0z3vT7 for ; Fri, 16 Dec 2022 18:09:10 +0100 (CET) Authentication-Results: mors-relay-8201.netcup.net; dkim=permerror (bad message/signature format) Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4NYbDQ65gjz3vT4 for ; Fri, 16 Dec 2022 18:09:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no 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 4NYbDQ3GBjz8svL for ; Fri, 16 Dec 2022 18:09:10 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id E4A227FF0F for ; Fri, 16 Dec 2022 18:09:09 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: control@debbugs.gnu.org Subject: close Date: Fri, 16 Dec 2022 18:09:08 +0100 Message-ID: <87r0wzb7ij.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: E4A227FF0F X-Spamd-Result: default: False [-0.65 / 15.00]; BAYES_HAM(-0.55)[75.00%]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: VxpcVfXApuwARdIQlRHHaH1c5ZBfkZKVNFFT2yk5Wxpoj1OQ9zKYkh0E X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 60010 thanks From unknown Sun Aug 17 07:00:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Jan 2023 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator