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 iC4bGpUibGPeSAAAbAwnHQ (envelope-from ) for ; Wed, 09 Nov 2022 22:58:45 +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 eP9LGZUibGNeIgEAG6o9tA (envelope-from ) for ; Wed, 09 Nov 2022 22:58:45 +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 388D9D434 for ; Wed, 9 Nov 2022 22:58:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ost5C-0006Am-0m; Wed, 09 Nov 2022 16:58:06 -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 1ost5A-00069W-5L for guix-patches@gnu.org; Wed, 09 Nov 2022 16:58:04 -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 1ost59-0004TS-SL; Wed, 09 Nov 2022 16:58:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ost58-0003j0-5s; Wed, 09 Nov 2022 16:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59003] [PATCH v2 0/6] [Installer] Warn about unsupported devices Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, othacehe@gnu.org, guix-patches@gnu.org Resent-Date: Wed, 09 Nov 2022 21:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59003 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59003@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Florian Pelz , Mathieu Othacehe X-Debbugs-Original-Xcc: Florian Pelz , Mathieu Othacehe Received: via spool by 59003-submit@debbugs.gnu.org id=B59003.166803102514180 (code B ref 59003); Wed, 09 Nov 2022 21:58:02 +0000 Received: (at 59003) by debbugs.gnu.org; 9 Nov 2022 21:57:05 +0000 Received: from localhost ([127.0.0.1]:41180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ost4D-0003gZ-Av for submit@debbugs.gnu.org; Wed, 09 Nov 2022 16:57:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ost4C-0003fv-1M for 59003@debbugs.gnu.org; Wed, 09 Nov 2022 16:57:04 -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 1ost46-00016Q-03; Wed, 09 Nov 2022 16:56:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=3/P/jvE8WJCVwG+c+3nCM2bE8DmtpcnV3DlqkfbVNOI=; b=ctkcrCUTpqTJrb3DLhE8 w7MrdO0KaSi8SaVfk5hCS3GRTx+WUR8/ACoIfWeFc+3m2yr6f/JrZymTfQ3S+RvgScsRULWKzKpB9 cVf/wns4cP8Nxl6KJLsSjlPcJ+8fe0TJDL5vwgKkmX5FhnwRFTFbpB6iI5No1gjK+0fodOAgPi6ud IgLLUbQT6Q+ozhRxHLdIi7OVwnhtEifCXpwHjan5ioBcxRU0YtwC5FLxv7vp64VB6nkrzBQ+WsW39 fuAK5kydlbbnmX2Q8xNqe3KIO7K3aqOkAicGazvbuGX2QitPhKKssHGOhBaA3J5eDKWJwyc/VemWi jNZow5Kw8s84PA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ost44-0000ES-Uo; Wed, 09 Nov 2022 16:56:57 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 9 Nov 2022 22:56:31 +0100 Message-Id: <20221109215637.22445-1-ludo@gnu.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221103191756.16265-1-ludo@gnu.org> References: <20221103191756.16265-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668031121; 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=3/P/jvE8WJCVwG+c+3nCM2bE8DmtpcnV3DlqkfbVNOI=; b=WGiGLWg6/AM/ysbahSYo6/oRVW05RXdAo1dU8oMdyeU5CWRpyaH+ED18CEHXHCEuZwFRIK +3ifl8CyEBRCzjFQV/aRR1ryeB+LIRFC+fL+Qp8hK066gl1QM3UIQ00py8EYwEUVvZw0G1 7B/TzieJk16iQh1dMillx5fIckMPJt06Rq7by/RwM/tt3i9pJqOgpvO/XlP1eHrrpR3NaO 2sPRAg68BNut0/Zj8rJgva3XRIJb8kzPpwaeA5foBgGkCXDfMcpnhIf+kEvitEjUO9Uv8h dTxcMVd2laDzzQt0Lg4N4y3Y7NJ+YKLzFrfQyB7jpDlsTtsaVGeXpbn2QjHQlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668031121; a=rsa-sha256; cv=none; b=gjmTEoj9aR58UHthQ2wXjS/TzggqgoIBqAu12KW62vX/anPeBq4q70Ksf0JExgsK0aiZOK jm9V/SniqtdMyNfBZ7UKIk4ZzBXhA8r963Jg9vWdvpIJyFZusxTQc9OEQY0cmu8Bl5TOnv WPQPyVAyWToSr8iM8DALUuXiFB0rcRvpC7wrQND54nYCX69MNAXGcxQ2eVQnRRTuwxPVEH 4eMXXwzSRYsz5QWboMYeImqyRoLuYsEcwwwHOYKjUpwu+Y+xzdD+RBLGbnmgcuC5I2Yea3 avzunxxANllUvduDvYkhhD2DVnAb8XQ+BoNYuQSgaDMIC9tdpxP+Ntg/Rs31hA== 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=ctkcrCUT; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ctkcrCUT; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 388D9D434 X-Spam-Score: -4.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: v0Lhar6a5wAG Hi! Here’s an updated version taking into account comments by Florian and Mathieu. Changes since v1: • Hardware-related bits moved to a new (gnu installer hardware) module. • The list in ‘%unsupported-linux-modules’ has been expanded using a manual method, as explained in the comment. I’m open to improvements in this area :-), though I think this can come later. • Typos fixed. Thoughts? Ludo’. Ludovic Courtès (6): installer: Warn about hardware support after the welcome page. linux-modules: Add support for listing PCI devices. linux-modules: Add 'load-pci-device-database'. installer: Use 'current-guix' for extensions. installer: Error page width is parameterized. installer: Report known-unsupported PCI devices. gnu/build/linux-modules.scm | 135 ++++++++++++++++++++++++++++++++- gnu/installer.scm | 8 +- gnu/installer/hardware.scm | 90 ++++++++++++++++++++++ gnu/installer/newt.scm | 4 +- gnu/installer/newt/page.scm | 12 +-- gnu/installer/newt/welcome.scm | 111 +++++++++++++++++---------- gnu/installer/record.scm | 2 +- gnu/local.mk | 1 + po/guix/POTFILES.in | 1 + 9 files changed, 310 insertions(+), 54 deletions(-) create mode 100644 gnu/installer/hardware.scm base-commit: d9ca9cdd01bf1097343a047b51a1392131c7cf58 -- 2.38.0