From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wDOUJ3lNmGPrkQAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 11:01:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OOSjJnlNmGMNZgAAG6o9tA (envelope-from ) for ; Tue, 13 Dec 2022 11:01: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 6F7FAB4CE for ; Tue, 13 Dec 2022 11:01:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p525z-0007dm-Hu; Tue, 13 Dec 2022 05:01:07 -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 1p525u-0007cn-Tw for bug-guix@gnu.org; Tue, 13 Dec 2022 05:01: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 1p525u-0001wQ-Ko for bug-guix@gnu.org; Tue, 13 Dec 2022 05:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p525u-0002fa-3m for bug-guix@gnu.org; Tue, 13 Dec 2022 05:01:02 -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: Tue, 13 Dec 2022 10:01:02 +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.167092564610248 (code B ref 60010); Tue, 13 Dec 2022 10:01:02 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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?="'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-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=1670925689; 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: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=+wB05VMCLDvuiX6LcTmXD6YFLd3zkleMxktEaWpLX7I=; b=QTV9roagSRR2W8wMhTYHif0S80ER2T9BKawXrbX9SvEqhDhx+jeqKiHAEfMD+yUazgA7kW Q4saHWyumD+0eXfDZHFwA++zeEWImQYU/91HmZhPYzZEitDmmol12FFtrVNSLn3aOnZZ8S aMUobiA8QqW7KGoCtm9N+2BwLgwdLpnNdllInG2vvSdYxJxVzwBZ4xOyHxy8U+MOTeLVNX VwVeqhn48Dq1zq9WOcq5MMz/4HGhcukY6mRo3bJdTxRGoJhki3ou3VvP1qgwmdkhCmFToH tTxZs1RcLVHCIRG6xUAN0YZ8ITOzyxzpt1IBrCEHu7WrYawAUpbX8qWLpGw33w== 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=AjQUSkg4; 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=1670925689; a=rsa-sha256; cv=none; b=MpyxVWQ0MbFASrCpixB6O6ChPdXX86Uzl+YsAqWYRIO4Yane9TlWyBHOQnC1Dac4TCjacq S1T1GgQOKe61lVza+bfWsXPoNtdUCR0ClS3dxgAT/W1Lb4ZNap8vhdg04voLijD2StwPY1 EEC21O8N21mNOZqyrJWWUFrXdIe0ncyvouNufotcvsoK5doqRpdsGtrtiS/EHRHslOtDCw UT5CBOrgSsKgYfr+er2M5WW91QPZ6TY0vKdZlfOH9OAWHL7ZMbFHSmGEPf3feNjwLTSVyQ v3rpEjdXjmyt1F6FzGjkYkHklmBciq71hp+YY4J98WRf3TJAittL3Si6OSNIng== X-Migadu-Spam-Score: -2.87 X-Spam-Score: -2.87 X-Migadu-Queue-Id: 6F7FAB4CE X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=AjQUSkg4; 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: khIpgmHaslW4 --=-=-= 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 --=-=-=--