GNU bug report logs - #52282
linux modules does not support inferior kernel

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Oleg Pykhalov <go.wigust@HIDDEN>; dated Sat, 4 Dec 2021 19:26:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 52282 <at> debbugs.gnu.org:


Received: (at 52282) by debbugs.gnu.org; 4 Dec 2021 20:21:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 04 15:21:00 2021
Received: from localhost ([127.0.0.1]:55104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mtbWm-0006mM-0v
	for submit <at> debbugs.gnu.org; Sat, 04 Dec 2021 15:21:00 -0500
Received: from michel.telenet-ops.be ([195.130.137.88]:60338)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mtbWl-0006mD-2c
 for 52282 <at> debbugs.gnu.org; Sat, 04 Dec 2021 15:20:59 -0500
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by michel.telenet-ops.be with bizsmtp
 id SLLx2600D4UW6Th06LLxay; Sat, 04 Dec 2021 21:20:58 +0100
Message-ID: <115e632fd03e434afb6a156c3c718eaa104d2d23.camel@HIDDEN>
Subject: Re: bug#52282: linux modules does not support inferior kernel
From: Maxime Devos <maximedevos@HIDDEN>
To: Oleg Pykhalov <go.wigust@HIDDEN>, 52282 <at> debbugs.gnu.org
Date: Sat, 04 Dec 2021 20:20:57 +0000
In-Reply-To: <5745fccbe4a7d902b3b4517f37042dbcb5e46a48.camel@HIDDEN>
References: <87o85wxjd3.fsf@HIDDEN>
 <5745fccbe4a7d902b3b4517f37042dbcb5e46a48.camel@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1638649258; bh=fAo9K8KifBv8Yg6X1p8o3RyPDMRjFJhM39fNwzDWWTQ=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=jhHE/0kOuoQIBk8FryAzPpGKoIrforVROWl4ls8rQzadDmQSfVCBBzJ5hQZAvnSse
 4jQT1tEZIJgkku8vskx5v6CdZ+Bn7+STloWsuYKQH7MMoEjfNzFk8Ww0QXOn5MEhB2
 JdHy+ftzbB8MmmL/zciqceMu8USecvriQss8nK101B3eBPS1f7p6j3a/CAALaVP1kq
 KStbfImW3xPa1ZC3x0n6eezMGseki8FHjozsuXdMsfQPgrLt41eObABFjzRVQrZRhf
 jCv0wGWrg2vpJZKcEOs8mBVngD/FmYTKHnVynaOdjTzpEHtMuMCceDR+4fm/BgRc6u
 ge5fd/nVMjlmA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 52282
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

The underlying issue appears to be reported here:
https://issues.guix.gnu.org/40272





Information forwarded to bug-guix@HIDDEN:
bug#52282; Package guix. Full text available.

Message received at 52282 <at> debbugs.gnu.org:


Received: (at 52282) by debbugs.gnu.org; 4 Dec 2021 20:19:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 04 15:19:57 2021
Received: from localhost ([127.0.0.1]:55099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mtbVl-0006kT-OB
	for submit <at> debbugs.gnu.org; Sat, 04 Dec 2021 15:19:57 -0500
Received: from albert.telenet-ops.be ([195.130.137.90]:53768)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mtbVj-0006kJ-8V
 for 52282 <at> debbugs.gnu.org; Sat, 04 Dec 2021 15:19:56 -0500
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by albert.telenet-ops.be with bizsmtp
 id SLKt260064UW6Th06LKt0r; Sat, 04 Dec 2021 21:19:53 +0100
Message-ID: <5745fccbe4a7d902b3b4517f37042dbcb5e46a48.camel@HIDDEN>
Subject: Re: bug#52282: linux modules does not support inferior kernel
From: Maxime Devos <maximedevos@HIDDEN>
To: Oleg Pykhalov <go.wigust@HIDDEN>, 52282 <at> debbugs.gnu.org
Date: Sat, 04 Dec 2021 20:19:53 +0000
In-Reply-To: <87o85wxjd3.fsf@HIDDEN>
References: <87o85wxjd3.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1638649193; bh=aoMSwqaGSM4jiRfZDMRtNE0pBVF66sKEnz72Tp1O9+o=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=gxRBjG27iHP50/YHs4Bcwq4XtBxrIhzQ2gvbXLs8sAx1KxUAtcHopPSuxEqcSfdr4
 IHFa6GEfHXCLPshCO3bAPaasv78bIWJKM0mNY0rsAGkWCTcyl0Rqg++V0EHJ8NRhdt
 E22HoetEYor6IDvEwA1NZ7N85k/DMqceNssCFBJ2/4DeBpxQqKdvNfGY2Az9mqAUpD
 q7S5NQj3oSYGK3kIcesLQbYs5jHdmGWm1HS7IXVn08C5oNJ8yJjX44+msTeQi4bnFu
 8ckcuZUiXUGPlpuAxcpr0E5w6bmS6t+qEly6H6c6+XWjJFrswdIttjErdS047fCUV2
 kCVf0ntsOMClQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 52282
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Oleg Pykhalov schreef op za 04-12-2021 om 22:25 [+0300]:
> Hi Guix,
> 
> I cannot build a system after adding '(kernel-loadable-modules (list
> vendor-reset-linux-module))' to the Guix system config. [...]

Are you using a linux module package with #:linux some-linux-via-an-
inferior? If so, the likely cause is this code from (guix build-system
linux-module):

(define* (lower [...])
  [...]
  ,@(package-native-inputs linux)
  [...])

Currently, inferior packages aren't packages, so this fails with

In procedure %package-native-inputs-real: Wrong type argument:
> #<inferior-package linux@HIDDEN 7fc8055619f0>

The solution would be to use inferior-package-native-inputs when linux
is an inferior package. (Search for inferior-package? in the source
code.)

Greetings,
Maxime





Information forwarded to bug-guix@HIDDEN:
bug#52282; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Dec 2021 19:25:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 04 14:25:59 2021
Received: from localhost ([127.0.0.1]:55000 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mtafX-0004zp-HS
	for submit <at> debbugs.gnu.org; Sat, 04 Dec 2021 14:25:59 -0500
Received: from lists.gnu.org ([209.51.188.17]:53060)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <go.wigust@HIDDEN>) id 1mtafV-0004zi-W8
 for submit <at> debbugs.gnu.org; Sat, 04 Dec 2021 14:25:58 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44238)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <go.wigust@HIDDEN>)
 id 1mtafV-000730-9G
 for bug-guix@HIDDEN; Sat, 04 Dec 2021 14:25:57 -0500
Received: from [2a00:1450:4864:20::233] (port=43647
 helo=mail-lj1-x233.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <go.wigust@HIDDEN>)
 id 1mtafS-0001ht-UI
 for bug-guix@HIDDEN; Sat, 04 Dec 2021 14:25:56 -0500
Received: by mail-lj1-x233.google.com with SMTP id 207so12843882ljf.10
 for <bug-guix@HIDDEN>; Sat, 04 Dec 2021 11:25:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=oPpB5Y1zYnvjzlmQ8vBgDudPEqd7kP/4wQHr/4g50bU=;
 b=kJ7cuBFLk3fyN9pvq5dqbv6XZqmDQAF8ZPzI9qg3Qo8vfFh/5lRNV5G9LLVLXdIICF
 NoRnWh3ilTcgqCiGqlcX3M8vAZhkRr9OeVJvYwNdMvqTo4ETJ0Q9EdrStRi2KWbrxoIf
 eHJ6K9CyoWko8VWcP9wYN2lxDqdRSv32AKtlpyAW7qZAxi57DQ30LqtshobDV5UnNKDL
 zgobCeC5O/92NeadJFMNfSkY4z8xvnIxbKaUal3zksCiDLjZUNvot/PpgmHS+Uh9BoxS
 s2yqgAnu/phyjwYC6mC/tobseGPley72kIydaCBoJP5suAAr5R1EXUmFHJCTELFJEMPT
 N0vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=oPpB5Y1zYnvjzlmQ8vBgDudPEqd7kP/4wQHr/4g50bU=;
 b=dSUUnXIPr05eiwKHZA26Ntm+N+9TPZLrR46nwyTUJANkgZH9pvN1OZfVkUnroVo1lk
 2doIGymfPuFzQ9jx/A9Ic9rxsw9h9GBQidb9Y5trh7rLt6o9ENpAS3eZC3EEgnhBOmZ0
 52YTcXRYgrdKbLGCV2v3pQaOEptEXrRrNBz4LqPldctA2qiHsc6asevPeUta3m2x2v0m
 VnMjixqC0q1v985CctnMdqCNow9oOXRUCDYwANxGGuEUG6jdNq0QYglSlsgQbmewQBb4
 I4E9wLs9wKmNy2kCX8T5DCliaC2SNmHuwyI2bqxtKY7ieTsenotV/1oHJZW5MwznJaY4
 /EEw==
X-Gm-Message-State: AOAM531us3jI7NRffFn3Od7ln0Af0dgO7ytuUalsJvdhTh3cxg+7+VcV
 EsaPf5R+0D+SnTO3lx8ZyYFU3N8q2RQ=
X-Google-Smtp-Source: ABdhPJynERa0PuqhYf3Bj5trrXAMufUTMR7inaCXe0TpkhPCFx5Z28Ub885mLAVhki37Q1pNU8QUnA==
X-Received: by 2002:a2e:b60d:: with SMTP id r13mr25799713ljn.72.1638645949232; 
 Sat, 04 Dec 2021 11:25:49 -0800 (PST)
Received: from guixsd ([88.201.161.72])
 by smtp.gmail.com with ESMTPSA id d13sm883893ljq.67.2021.12.04.11.25.48
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 04 Dec 2021 11:25:48 -0800 (PST)
From: Oleg Pykhalov <go.wigust@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: linux modules does not support inferior kernel
Date: Sat, 04 Dec 2021 22:25:44 +0300
Message-ID: <87o85wxjd3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::233
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::233;
 envelope-from=go.wigust@HIDDEN; helo=mail-lj1-x233.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Guix,

I cannot build a system after adding '(kernel-loadable-modules (list
vendor-reset-linux-module))' to the Guix system config.

=2D-8<---------------cut here---------------start------------->8---
      (kernel-loadable-modules (list vendor-reset-linux-module))
      (kernel
       (let*
           ((channels
             (list (channel
                    (name 'nonguix)
                    (url "https://gitlab.com/nonguix/nonguix")
                    (commit "10cdced375f835c8a1f51a00ac0eefe38c82d00a"))
                   (channel
                    (name 'guix)
                    (url "https://git.savannah.gnu.org/git/guix.git")
                    (commit "de81a58f79425dcab3d5e149657b97114be56325"))))
            (inferior
             (inferior-for-channels channels)))
         (first (lookup-inferior-packages inferior "linux" "5.14"))))
=2D-8<---------------cut here---------------end--------------->8---

=2D-8<---------------cut here---------------start------------->8---
Backtrace:
In guix/store.scm:
   1320:8 19 (call-with-build-handler #<procedure 7fc7fe1f4f60 at g=E2=80=
=A6> =E2=80=A6)
  2119:24 18 (run-with-store #<store-connection 256.99 7fc800864910> =E2=80=
=A6)
In guix/gexp.scm:
   1156:2 17 (_ #<store-connection 256.99 7fc800864910>)
   1022:2 16 (_ _)
    868:4 15 (_ _)
In guix/store.scm:
  2004:12 14 (_ #<store-connection 256.99 7fc800864910>)
   1381:9 13 (map/accumulate-builds #<store-connection 256.99 7fc80=E2=80=
=A6> =E2=80=A6)
   1320:8 12 (call-with-build-handler #<procedure 7fc7fe29af60 at g=E2=80=
=A6> =E2=80=A6)
  2119:24 11 (run-with-store #<store-connection 256.99 7fc800864910> =E2=80=
=A6)
In guix/gexp.scm:
   873:13 10 (_ _)
In guix/store.scm:
   1956:8  9 (_ _)
In guix/gexp.scm:
   275:18  8 (_ _)
In guix/store.scm:
  1991:38  7 (_ #<store-connection 256.99 7fc800864910>)
In guix/packages.scm:
  1343:16  6 (package-derivation _ #<package vendor-reset-linux-mod=E2=80=
=A6> =E2=80=A6)
  1660:22  5 (thunk)
  1343:16  4 (package->bag _ _ _ #:graft? _)
  1445:21  3 (thunk)
In guix/build-system/linux-module.scm:
   133:22  2 (lower "vendor-reset-linux-module-0.0.1-1.225a49a" # _ . #)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure %package-native-inputs-real: Wrong type argument: #<inferior-p=
ackage linux@HIDDEN 7fc8055619f0>
=2D-8<---------------cut here---------------end--------------->8---

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmGrwLgUHGdvLndpZ3Vz
dEBnbWFpbC5jb20ACgkQFn+OpQAa+pxvIQ//VaFMgehMZhtU2U4HEu7vf7exEFh9
wAIoUqJQi9zB2CGBdvLjcFtiPePlivNT7uZUcbbfdQg1CyxWhPkBmrj6dxQho9Ea
U607kDKXpSYJgCwZaooo2zHRluzk5gRGbii/Czuopgotctc3kjuW4EfQf0lJQ4vV
7wW0cH8yQlCFKg3ZB8YTCqNtxJywqmuaqH9JI4a8qrNuAL8pdwnNpd1MWdaT0432
hFWoMsNnuYJZyViuGssYbHTIM6Id0G+TM9PzwKYI4APF1eJ2D6tt6i0oAGowiVdB
g9w4ykTTg9b6Oh2Hl2N+GlZhhrVgnmUMSR7F4EOVkMiM66CWrSnTNMDavLxe1Gmw
0Wj50SQRhwIJiTahfd6h0ebW63n00LhN7XPTodVkyZ/g1LJUeiJaHvbuTSik5Spf
G1d0zyYMktvevX2ufvbK1AU9he5PYRBETgp/bm5XSi+CWcSelTzUHBZyI4QlV0ZL
INB3RGgyjThbdoSwBQtigd7UJDsMHMFhntqv+1AFM7Lh9ZLn/LwSBG9gWmFaVt4u
4ALzV9K1lt5gmJhrdqF2SH+36KXq1A045osugp3Lw/T+zxb+hnNsl2GA9TG0xOd4
TVvNilx4tXLxJ4EnOLPg7PLFlwUBtox68JaXpgnBnRHueM+19qx+/RWW9CyY95RC
slnM6iFwU5ZEtXE=
=+Bet
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Oleg Pykhalov <go.wigust@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#52282; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 4 Dec 2021 20:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.