From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mBsZFT23l2Nt7wAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 00:20:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WB1YFD23l2NPjgAAG6o9tA (envelope-from ) for ; Tue, 13 Dec 2022 00:20:29 +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 CEB35DB59 for ; Tue, 13 Dec 2022 00:20:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4s5k-00027W-Mc; Mon, 12 Dec 2022 18:20:12 -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 1p4s5i-000278-8l for bug-guix@gnu.org; Mon, 12 Dec 2022 18:20:10 -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 1p4s5a-0002IU-FR for bug-guix@gnu.org; Mon, 12 Dec 2022 18:20:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4s5Z-0005oF-Vx for bug-guix@gnu.org; Mon, 12 Dec 2022 18:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Dec 2022 23:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian (Florian Pelz)" Cc: 60010@debbugs.gnu.org Received: via spool by 60010-submit@debbugs.gnu.org id=B60010.167088714422296 (code B ref 60010); Mon, 12 Dec 2022 23:20:01 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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-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=1670887228; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8FKUoqsxliXQeO67I9HFAyini7urmv6gzB6JGpoyd/I=; b=rTw/kT2Dfj3HGyIv/14mMJDaG+gp0NCaafMOo7RmIWC3LY5WmVt2+C0SSaqT7vtD5iVipa qaXTfscqdK1Di2ye3/Pk5Mi+vMObAies6hpVjuRNTqgVzG+6RK83z+huzdOVF8ZSYRaEsQ QPW1bFdJEIX65FzLTHXNpMb4jWbV0GaarSdJR2zg5agtrSLfpdG0ElBRun9kdd/Pj7KRtt S/BhmKUCGqUmTNYnFOLF0YJ8M3UPoZLI8Og37ZDyilLXKT29GK+BoJYYo6ci3PGI0+BmUP kqKADMeIw+e5rmUkgRPOHN58CmSI6431gtmayY+ld8NTbM3XHl++kesTGSu0rQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=E1m0BYkw; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670887228; a=rsa-sha256; cv=none; b=qwxzoCVxoPGiy4iyIxc95Az9Px2Qi8csOTlwZT+ksk9SJDO3qy89vBUMU34oluSf9dhW6K BRc2bOrrKoAZ8hNhRMtwIWDOpDlsyZZBbGhKu0wIl/9hzuWc6SfIGmSBdtuSoLgfdrUXAl ypqJtsOZ//cIY80RRcar84VkSxxUR78f4ZLN+vyCbWKBNd6TCky6QEuYTALcuXnjllIwmJ 0dGrbSXR63lpb5Xtl03xJ1UrlxiSUZcjUmU1Vs4AFphtdkQuhBWj7rMAfPFRGntDJC17V6 2tdzJotv/fER0mOsoLYMqbu4cYuC8ZNJ726WdI/t3W7maeew5EEn7MQDV3RIJA== X-Migadu-Spam-Score: -3.86 X-Spam-Score: -3.86 X-Migadu-Queue-Id: CEB35DB59 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=E1m0BYkw; 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=pass (policy=none) header.from=gnu.org X-TUID: 2y7KauzqqVN7 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.