From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4OhvEn2uBV+sJQAA0tVLHw (envelope-from ) for ; Wed, 08 Jul 2020 11:31:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MDhIDn2uBV9NaAAAbx9fmQ (envelope-from ) for ; Wed, 08 Jul 2020 11:31:09 +0000 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 8ABEA9400BF for ; Wed, 8 Jul 2020 11:31:08 +0000 (UTC) Received: from localhost ([::1]:41704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jt8I7-0005c2-BN for larch@yhetil.org; Wed, 08 Jul 2020 07:31:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jt8I2-0005ak-PX for guix-patches@gnu.org; Wed, 08 Jul 2020 07:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jt8I2-0004gF-Di for guix-patches@gnu.org; Wed, 08 Jul 2020 07:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jt8I2-0005wd-9M for guix-patches@gnu.org; Wed, 08 Jul 2020 07:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42193] [WIP 2/6] services: Add 'kernel-profile-service-type'. Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jul 2020 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Brice Waegeneire Cc: 42193@debbugs.gnu.org Received: via spool by 42193-submit@debbugs.gnu.org id=B42193.159420780419318 (code B ref 42193); Wed, 08 Jul 2020 11:31:02 +0000 Received: (at 42193) by debbugs.gnu.org; 8 Jul 2020 11:30:04 +0000 Received: from localhost ([127.0.0.1]:37569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jt8H5-000519-Ig for submit@debbugs.gnu.org; Wed, 08 Jul 2020 07:30:04 -0400 Received: from pelzflorian.de ([5.45.111.108]:58242 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jt8H1-0004yh-AB for 42193@debbugs.gnu.org; Wed, 08 Jul 2020 07:30:02 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id D2DAD36055C; Wed, 8 Jul 2020 13:29:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1594207797; bh=GBFDE6y29TS6YypBvSde9NOlbMZlEplsNEO4JCj4U7s=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=sqrTIfPipeqkPE8bHQdzn6b7OBUJjVgP9yan0UTLSzJMyn4oSj9/NQnVWTaepPHeD e7iyeX2HlBo/XjnOQTmugDmKSqlsXoUeqw+GODpBfYlvKOzNzANfMmgfIOV02kDPwy kvp8zRIki2H1HR4mXTh7L5YSj4rHdOFXSz4X01S0= Date: Wed, 8 Jul 2020 13:29:47 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20200708112947.i4iaayf45y5jxoti@pelzflorian.localdomain> References: <20200704185234.12571-1-brice@waegenei.re> <20200704185431.13739-3-brice@waegenei.re> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200704185431.13739-3-brice@waegenei.re> X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.5 (/) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pelzflorian.de header.s=mail header.b=sqrTIfPi; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: 8Rg+JW/Mjk8C Thank you for your work! After I apply this kernel profile patch, I get an error: florian@florianmacbook ~/git/guix [env]$ ./pre-inst-env guix system disk-image --file-system-type=iso9660 gnu/system/install.scm substitute: Liste der Substitute von „https://ci.guix.gnu.org“ wird aktualisiert … 100.0% The following derivations will be built: /gnu/store/l51h17zylvjmapvcpdmmqmvrylv8b2cb-iso9660-image.drv /gnu/store/mhdkqnh4iri5rk1ayqd3xlw04q86zj29-grub.cfg.drv /gnu/store/xvgn60irpzzdwvk30lqpsj2hh81h8jyh-system.drv /gnu/store/6y2r0ab5jcflbajd6843v9g1j0v9xrzj-gc-roots.drv /gnu/store/156m13243bcn2429swq8brp2qmfifi3b-system.drv building /gnu/store/156m13243bcn2429swq8brp2qmfifi3b-system.drv... |builder for `/gnu/store/156m13243bcn2429swq8brp2qmfifi3b-system.drv' failed with exit code 1 build of /gnu/store/156m13243bcn2429swq8brp2qmfifi3b-system.drv failed View build log at '/var/log/guix/drvs/15/6m13243bcn2429swq8brp2qmfifi3b-system.drv.bz2'. cannot build derivation `/gnu/store/6y2r0ab5jcflbajd6843v9g1j0v9xrzj-gc-roots.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/xvgn60irpzzdwvk30lqpsj2hh81h8jyh-system.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/l51h17zylvjmapvcpdmmqmvrylv8b2cb-iso9660-image.drv': 1 dependencies couldn't be built guix system: error: build of `/gnu/store/l51h17zylvjmapvcpdmmqmvrylv8b2cb-iso9660-image.drv' failed florian@florianmacbook ~/git/guix [env]$ bzcat /var/log/guix/drvs/15/6m13243bcn2429swq8brp2qmfifi3b-system.drv.bz2 Backtrace: 1 (primitive-load "/gnu/store/59nx7bbflcqzavwsjj3wkq3lwfb?") 0 (symlink "/gnu/store/86xgvarqwir47c16x6crx0jra5dgzr62-?" ?) ERROR: In procedure symlink: In procedure symlink: File exists I have no idea where this comes from but I hope you can reproduce the error. In general, I would be happy to use the kernel module configuration service for replacing the uvesafb-service-type by something like (simple-service 'uvesafb-module kernel-module-configuration-service-type (list (kernel-module (name "uvesafb") (options (list #~(string-append "v86d=" #$v86d "/sbin/v86d") "mode_option=1024x768\n")))))))) Even better would be if it were possible to detect the resolution to use for uvesafb at runtime before the module is loaded. Is it possible to execute as root at runtime before modprobe a script like testvbe.scm attached to the first message from to compute the mode_option to use? Regards, Florian