From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4OoDHe7QEGRhRgEASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 20:54:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uC/JHO7QEGQMrgAAauVa8A (envelope-from ) for ; Tue, 14 Mar 2023 20:54:22 +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 19D323DDC3 for ; Tue, 14 Mar 2023 20:54:22 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=KbhsamFa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678823662; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=DaDTc66OyFQ0uDEC0OvIAgURbUEvLwm9vAT78jNZMx0=; b=IVku2zbsIVUhkkfEitr8Mo40p7gBq6F98B/zSc665GxRFf9NMRG2B8Ry/GfuJyHRwdQsFV hZcLLpifC0QGiHUQre5okVS9VF3gSWvGh7do5A0igkys0PtsKqtZv1Z+BRszhv5XlKDUvT J6tfLqnEqLaly0fJJzyhE0zM7PTkXvNKmd90ZDmM84YEsGuDqpNN5nDS3IqV4YsTWLxyoA hBEc/lh3F0pOLjJCK/0AqzAjXDy4WN/Vwef+63qyWRvQDnr7xD5gn/wajZQeeESNc1MkPh M7ecZMkUVIRPhJ4CEvZSXAsztrTTLM3cdCLtsrhYSRdN0Ub6dqf28IcvJyaSNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=KbhsamFa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678823662; a=rsa-sha256; cv=none; b=eC6Wj6lYEDle4uQ823JIjw1SMHWKT2ZfpvndCEHawbqHNhKCJCWuhD5pij9vWV8BN430y2 SyidjddmC9bPY4HShp4JRDqYLFP1oDfdLyYctlj34zJ5eOQEn/9SCiNqvD+KarQXft0/KC ksYIgO7GbpUgT479WL93qzNmqBh8+glfH6U6Cpksqd0ySWOqLg0xDl+kR6lQSrw6tZoyZq 7Bj2vTcXl47GXgjlyPJR1VCKw1Z+4jSTizFOqz0urcrHtWNYu+IXRgAZvFYDKV5jiQfcW4 p56vDJaPqQ2/7yg2DaYpUhZOvCllEmysxG/f1MvWaKvqcIZNauAIrbHxHQg55w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcAil-00030H-FT; Tue, 14 Mar 2023 15:54:07 -0400 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 1pcAig-0002y3-H7 for bug-guix@gnu.org; Tue, 14 Mar 2023 15:54:03 -0400 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 1pcAig-0000y5-8z for bug-guix@gnu.org; Tue, 14 Mar 2023 15:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcAif-0002E7-UW for bug-guix@gnu.org; Tue, 14 Mar 2023 15:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62174: Cannot use modules with an inferior kernel. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Mar 2023 19:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62174 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Robby Zambito , 62174@debbugs.gnu.org Received: via spool by 62174-submit@debbugs.gnu.org id=B62174.16788235928501 (code B ref 62174); Tue, 14 Mar 2023 19:54:01 +0000 Received: (at 62174) by debbugs.gnu.org; 14 Mar 2023 19:53:12 +0000 Received: from localhost ([127.0.0.1]:38528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcAhr-0002D2-Hx for submit@debbugs.gnu.org; Tue, 14 Mar 2023 15:53:11 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:45033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcAhp-0002Cp-8a for 62174@debbugs.gnu.org; Tue, 14 Mar 2023 15:53:09 -0400 Received: by mail-ed1-f65.google.com with SMTP id eh3so10830379edb.11 for <62174@debbugs.gnu.org>; Tue, 14 Mar 2023 12:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678823583; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=DaDTc66OyFQ0uDEC0OvIAgURbUEvLwm9vAT78jNZMx0=; b=KbhsamFaFoLbXyCoqkgzlpvU8A1UfLwj608y7JYeOVhesL3PY7FsE4lKJ/E40lRD0I YzWDfaqhil/+jJNyCx1DrT/Yo5Mkraab8Yqv6X7yPv8joXt6QqiE5+Z0C85G1RY3F1Rk 0wPHd9Hu5dnMEvfafCU/zp8YpHEOERk0sFkTMX+nsiJJS/UTkt8e44Lq41d2O5EFhxWc rm3fvsE5rPYV1Lo4wdG4CagCzuljIpjHEmlWrFKjKLZsqxYsrrS1jvCeunZKfd6eWZlr L939uFz5ecpkXXXqUvKTilobDgeNF2i+5EZ9MlkDWhMVEjdbsWfSop+zUeTOLqd3Zwf4 yGXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678823583; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=DaDTc66OyFQ0uDEC0OvIAgURbUEvLwm9vAT78jNZMx0=; b=pWNZziCxvkOappevXGultzKo6o7ZElbXGFEaRjXSvl9M9HmfYA1ravvuQdwoj15pMQ F0zgI3iyaxhbNlqYCaLxgG+M/WmgkA3QZxgV1glS2QJbSrKubxlQvQ6KzhYMUmiC4Gjt e+uaBrYsFtoQuCli2Xo0f4rftr9hJbyWXV5D1ufm9ttmv+EGHfuSRUXchYdqPloOCbOp B2wxexfdVL2X2i3N38B3KxPEFPiz3+WGvNzORD+1Awv5soYr8ENNc06udf1PyIpK9pi3 pQG4vP14zilKO82dBjN1eJ5tTzpYVdTqh+XYNcLCrCF6qfSYqAc4h9OqV1veKFwTOe/Y XoBw== X-Gm-Message-State: AO0yUKXYV2o00KeCBe6U0+eLh5SJX4zLuSLPhkxig/DPFqvp7VevE9h8 1Yyz0nr6pO8b3JzoPfl1pOns9gbFVgd3tw== X-Google-Smtp-Source: AK7set/vmfnNUxrs7+dM5p7wR/dwPZ0Af/057lEl1df50zM53zlAr+NtCOJQ0hZz1kLcV/B5h5YTyA== X-Received: by 2002:a17:906:68c:b0:929:d2f4:1824 with SMTP id u12-20020a170906068c00b00929d2f41824mr3748160ejb.21.1678823583369; Tue, 14 Mar 2023 12:53:03 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id l1-20020a170906644100b0091f5e98abd5sm1515821ejn.133.2023.03.14.12.53.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 12:53:03 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Tue, 14 Mar 2023 20:53:02 +0100 In-Reply-To: <87mt4gass9.fsf@robbyzambito.me> References: <87mt4gass9.fsf@robbyzambito.me> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 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: X-Migadu-Queue-Id: 19D323DDC3 X-Spam-Score: -3.22 X-Migadu-Spam-Score: -3.22 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: C0yrLWeXDhtq Am Montag, dem 13.03.2023 um 23:27 -0400 schrieb Robby Zambito: > Hi, >=20 > I use an inferior to pin my kernel version, but it seems like I > cannot > use modules with it. The following works fine: >=20 > ``` > (use-package-modules linux) > (operating-system > =C2=A0 ... > =C2=A0 (kernel linux-libre) > =C2=A0 (kernel-loadable-modules (list v4l2loopback-linux-module)) > =C2=A0 ...) > ``` >=20 > As does the following: >=20 > ``` > (define rz/linux > =C2=A0 (let* ((channels > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (list (channel > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (name 'guix) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (url "https://git.savannah.gnu.org/git/guix.git") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (commit > "c81d2d448cbd051800867fe3f4b82ef3f4380ebf")))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inferior (inferior-for-= channels channels)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (kernel-version "6.1.15"= )) > =C2=A0=C2=A0=C2=A0 (first (lookup-inferior-packages inferior "linux-libre= " kernel- > version)))) >=20 > (operating-system > =C2=A0 ... > =C2=A0 (kernel rz/linux) > =C2=A0 ...) > ``` >=20 > However when I combine the two (using the inferior for the kernel + > specify modules)... >=20 > ``` > (operating-system > =C2=A0 ... > =C2=A0 (kernel rz/linux) > =C2=A0 (kernel-loadable-modules (list v4l2loopback-linux-module)) > =C2=A0 ...) > ``` >=20 > I get the following error: >=20 > ``` > Backtrace: > In guix/store.scm: > =C2=A0=C2=A0 659:37 19 (thunk) > =C2=A0=C2=A0 1298:8 18 (call-with-build-handler # > =E2=80=A6) > =C2=A0 2168:25 17 (run-with-store # > =E2=80=A6) > In guix/scripts/system.scm: > =C2=A0=C2=A0=C2=A0 843:2 16 (_ _) > =C2=A0=C2=A0=C2=A0 717:8 15 (_ #) > In gnu/system.scm: > =C2=A0 1307:19 14 (operating-system-derivation _) > In gnu/services.scm: > =C2=A0 1140:36 13 (_ _) > In srfi/srfi-1.scm: > =C2=A0=C2=A0 586:29 12 (map1 (#< type: # > =E2=80=A6)) > =C2=A0=C2=A0 586:29 11 (map1 (#< type: # > =E2=80=A6)) > =C2=A0=C2=A0 586:29 10 (map1 (#< type: # > =E2=80=A6)) > =C2=A0=C2=A0 586:29=C2=A0 9 (map1 (#< type: # > =E2=80=A6)) > =C2=A0=C2=A0 586:17=C2=A0 8 (map1 (#< type: # =E2=80=A6>)) > In gnu/services.scm: > =C2=A0=C2=A0 951:29=C2=A0 7 (linux-builder-configuration->system-entry _) > In guix/profiles.scm: > =C2=A0=C2=A0=C2=A0 438:4=C2=A0 6 (packages->manifest _) > In srfi/srfi-1.scm: > =C2=A0=C2=A0 586:17=C2=A0 5 (map1 ((#) > =E2=80=A6)) > In guix/inferior.scm: > =C2=A0=C2=A0=C2=A0 549:2=C2=A0 4 (loop (#) > =E2=80=A6) > =C2=A0=C2=A0=C2=A0 529:4=C2=A0 3 (inferior-package-input-field (#) > =E2=80=A6) > =C2=A0=C2=A0 473:18=C2=A0 2 (inferior-package-field (#) > =E2=80=A6) > In ice-9/boot-9.scm: > =C2=A0 1685:16=C2=A0 1 (raise-exception _ #:continuable? _) > =C2=A0 1685:16=C2=A0 0 (raise-exception _ #:continuable? _) >=20 > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure struct-vtable: Wrong type argument in position 1 > (expecting struct): (# linux-libre@6.1.15=C2=A07ff5261088a0>) > ``` >=20 > It seems to me like this is a bug. If I am mistaken, some guidance > would be appreciated. I think you should try to pin the kernel modules as well. If that still doesn't work as intended (it very well might), we have a proper case of something that should work but doesn't. Cheers