From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mQBXFBr7EGSCeAEASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 23:54:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oHmmEhr7EGQCXwEAG6o9tA (envelope-from ) for ; Tue, 14 Mar 2023 23:54:18 +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 CC5517363 for ; Tue, 14 Mar 2023 23:54:17 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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=1678834458; 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; bh=fFw0TGTwmLEGd4h/3+/yAgZV1Nl7vmBmdM/PtBjYjwY=; b=Zr1jN1f/bcyhag3Pckr3a/CgYnwx49vAPIEzjyeE4Kq/1eQFm+RtiYjq4pWGBeGSbVrZ2Q ehIzEWz80QmmC0TL28Z9TK+CkXA1vMDCHqRTcE5V1GgB2jX1PBt0zEXoy6vhFVeAQ7d0OT ItLsxW3UXaOSsO3RdhydqisVYqmBEkLZoCpgqKiuGcRMzujWp06AeAy6K43xHiW4+Yc/08 yXvvZvlQS5mPCuCA1dsf+BtLUT1CGszzznBhNzcGN7+kvwsmELdjkrNGGo9/udOX+NQzOZ IvpE4Nk8tLo/ARqFqG4402SxPo5EcLW/ptuDhrVbvPYwjO9qd0eRjFgCxPMAVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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=1678834458; a=rsa-sha256; cv=none; b=hjuoZCpzVVpYcrzJUXlJ+J3UvgTPEDbFcgegBn6OyYTDGDBtd/E2cZbCUDFSecuy1TqZtR ZKmFGTb9evP7rQ4SyJUApzrxOMRAznea8HL54n87RjMkf93znl5DSUgNv6Lt7BjsVd5Qsv 92k7gxv3TiwM/qSIxLNyEUZ4yRbv9TXaH7yEiMUq5ZwPBCUEA4BMFAFUh5cPEq/fLYAC53 Mpj8DmE5CC0mdnH5n24SbOTacEIG81hQUJJljOvVb9E3H84wy/ucxriGDB/ycZoKcLKU5Z ej3XsQhdKfnWc7giWUG9EZKU3U4V6VEjmqy3TiBUWAr1TOYr6nKZEjX49KchPw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcDWu-00053N-Ek; Tue, 14 Mar 2023 18:54:04 -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 1pcDWs-00053F-F5 for bug-guix@gnu.org; Tue, 14 Mar 2023 18:54:02 -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 1pcDWs-0003xd-65 for bug-guix@gnu.org; Tue, 14 Mar 2023 18:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcDWr-00072x-Tg for bug-guix@gnu.org; Tue, 14 Mar 2023 18:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62174: Cannot use modules with an inferior kernel. Resent-From: Robby Zambito Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Mar 2023 22: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: Liliana Marie Prikler Cc: 62174@debbugs.gnu.org Received: via spool by 62174-submit@debbugs.gnu.org id=B62174.167883439627024 (code B ref 62174); Tue, 14 Mar 2023 22:54:01 +0000 Received: (at 62174) by debbugs.gnu.org; 14 Mar 2023 22:53:16 +0000 Received: from localhost ([127.0.0.1]:38602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcDW8-00071o-Aj for submit@debbugs.gnu.org; Tue, 14 Mar 2023 18:53:16 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:54355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcDW6-00071a-Iz for 62174@debbugs.gnu.org; Tue, 14 Mar 2023 18:53:15 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by mail.gandi.net (Postfix) with ESMTPSA id 5E238100003; Tue, 14 Mar 2023 22:53:04 +0000 (UTC) References: <87mt4gass9.fsf@robbyzambito.me> User-agent: mu4e 1.8.13; emacs 28.2 From: Robby Zambito Date: Tue, 14 Mar 2023 17:48:04 -0400 In-reply-to: Message-ID: <87sfe73pyq.fsf@robbyzambito.me> MIME-Version: 1.0 Content-Type: text/plain 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: CC5517363 X-Spam-Score: -3.92 X-Migadu-Spam-Score: -3.92 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: 9YyA3SCSWosG Liliana Marie Prikler writes: > 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 Thanks for the suggestion. I tested with the following: ``` (define-values (rz/linux rz/linux-kernel-modules) (let* ((channels (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "d37b467631d5b0e965ea933b8bda8448993580e9")))) (inferior (inferior-for-channels channels)) (kernel-version "6.1.15")) (values (first (lookup-inferior-packages inferior "linux-libre" kernel-version)) (list (first (lookup-inferior-packages inferior "v4l2loopback-linux-module")))))) (operating-system ... (kernel rz/linux) (kernel-loadable-modules rz/linux-kernel-modules) ...) ``` But I receive a different error now: ``` running profile hook of type 'linux-module-database'... Backtrace: 1 (primitive-load "/gnu/store/7ha0kn8fz8yfi26m3m8997wlc8m?") In ice-9/boot-9.scm: 2007:7 0 (error _ . _) ice-9/boot-9.scm:2007:7: In procedure error: Specified Linux kernel and Linux kernel modules are not all of the same version ``` However, if I use the most recent kernel version available in the inferior... ``` (define-values (rz/linux rz/linux-kernel-modules) (let* ((channels (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "d37b467631d5b0e965ea933b8bda8448993580e9")))) (inferior (inferior-for-channels channels)) (kernel-version "6.2.2")) (values (first (lookup-inferior-packages inferior "linux-libre")) (list (first (lookup-inferior-packages inferior "v4l2loopback-linux-module")))))) ``` It actually works! So it seems that the problem is specifically with using kernel modules with a kernel version other than the latest linux-libre kernel from an inferior. I also tried using a specific kernel version without an inferior like so: ``` (operating-system ... (kernel (specification->package "linux-libre@6.1.15")) (kernel-loadable-modules (list (specification->package"v4l2loopback-linux-module"))) ...) ``` And that works as well. TL;DR: The issue has been narrowed down to using kernel modules with a kernel from an inferior besides the latest kernel from that inferior.