From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oIEIOjUitF74agAA0tVLHw (envelope-from ) for ; Thu, 07 May 2020 14:59:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mGqwC0IitF79JAAA1q6Kng (envelope-from ) for ; Thu, 07 May 2020 14:59:14 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 04B2A940BFF for ; Thu, 7 May 2020 14:59:12 +0000 (UTC) Received: from localhost ([::1]:40236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWhzU-0003d3-Af for larch@yhetil.org; Thu, 07 May 2020 10:59:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWhzK-0003Zx-Gm for bug-guix@gnu.org; Thu, 07 May 2020 10:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWhzK-0002yO-7P for bug-guix@gnu.org; Thu, 07 May 2020 10:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWhzK-0001nm-73 for bug-guix@gnu.org; Thu, 07 May 2020 10:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.15888634866853 (code B ref 41120); Thu, 07 May 2020 14:59:02 +0000 Received: (at 41120) by debbugs.gnu.org; 7 May 2020 14:58:06 +0000 Received: from localhost ([127.0.0.1]:43701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhyQ-0001mT-BO for submit@debbugs.gnu.org; Thu, 07 May 2020 10:58:06 -0400 Received: from pelzflorian.de ([5.45.111.108]:40894 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhyN-0001mL-UF for 41120@debbugs.gnu.org; Thu, 07 May 2020 10:58:04 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id EC0EB36055C; Thu, 7 May 2020 16:58:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1588863483; bh=dh0VKLVK0cmBjE13YQ9UNowr2KaUiUz/NTpGDV3RbSc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=K/uc3LbZgOqeJS7tIaqWhjTZu+pavuUI1wiMO6Z5+l4M9Ds2y4QjusxReoRUHr+/2 pjphUbolo1sinjJFNy1gOMFo5VZhsVs1zY19/BScTlhDyoyA78rIF+4B0Hj2z9Wl9+ gj+w1n9OVmq+JoyX3Qm2N7o1KoNp3qOX870ehu9k= Date: Thu, 7 May 2020 16:58:01 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jq4rpnklvajfivhs" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41120@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 0.99 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pelzflorian.de header.s=mail header.b=K/uc3LbZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [0.99 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49828668206345]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.11), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; HAS_ATTACHMENT(0.00)[]; R_DKIM_REJECT(1.00)[pelzflorian.de:s=mail]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[pelzflorian.de:-]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[pelzflorian@pelzflorian.de,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:url,flashner.co.il:email,pelzflorian.de:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[pelzflorian.de]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: jfp4wTYVMBoh --jq4rpnklvajfivhs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, May 07, 2020 at 04:55:13PM +0200, pelzflorian (Florian Pelz) wrote: > I have more success with moving the file-exists check into the > #~(lambda …) like the attached patch. Sorry I forgot to git add. This is the patch. --jq4rpnklvajfivhs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-installer-Do-not-load-uvesafb-on-non-x86-install-ima.patch" >From f88b1b487d48c959a7ed00d6032ccfe05aa81f0e Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Thu, 7 May 2020 13:26:19 +0200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [PATCH] installer: Do not load uvesafb on non-x86 install images. Fixes . Suggested by Efraim Flashner . * gnu/system/install.scm (uvesafb-shepherd-service): Do not build x86-only v86d helper unconditionally. --- gnu/system/install.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 6435c1bff4..952dee464f 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -299,16 +299,18 @@ the user's target storage device rather than on the RAM disk." (documentation "Load the uvesafb kernel module if needed.") (provision '(maybe-uvesafb)) (requirement '(file-systems)) - (start #~(lambda () - ;; uvesafb is only supported on x86 and x86_64. - (or (not (and (string-suffix? "linux-gnu" %host-type) - (or (string-prefix? "x86_64" %host-type) - (string-prefix? "i686" %host-type)))) - (file-exists? "/dev/fb0") - (invoke #+(file-append kmod "/bin/modprobe") - "uvesafb" - (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768")))) + (start + (if (and (string-suffix? "linux-gnu" %host-type) + (or (string-prefix? "x86_64" %host-type) + (string-prefix? "i686" %host-type))) + #~(lambda () + ;; uvesafb is only supported on x86 and x86_64. + (or (file-exists? "/dev/fb0") + (invoke #+(file-append kmod "/bin/modprobe") + "uvesafb" + (string-append "v86d=" #$v86d "/sbin/v86d") + "mode_option=1024x768"))) + #~(lambda () #t))) (respawn? #f) (one-shot? #t)))) -- 2.26.1 --jq4rpnklvajfivhs--