unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 52282@debbugs.gnu.org
Subject: bug#52282: linux modules does not support inferior kernel
Date: Sun, 05 Dec 2021 16:22:58 +0300	[thread overview]
Message-ID: <87h7bnjidp.fsf@gmail.com> (raw)
In-Reply-To: <5745fccbe4a7d902b3b4517f37042dbcb5e46a48.camel@telenet.be> (Maxime Devos's message of "Sat, 04 Dec 2021 20:19:53 +0000")

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

Maxime Devos <maximedevos@telenet.be> writes:

> 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?

No '#:linux' argument, here is the linux module:
--8<---------------cut here---------------start------------->8---
(define-module (wigust packages linux)
  #:use-module (guix packages)
  #:use-module (gnu packages)
  #:use-module (guix git-download)
  #:use-module (guix build-system linux-module)
  #:use-module ((guix licenses) #:prefix license:))

(define-public vendor-reset-linux-module
  (let ((revision "1")
        (commit "225a49a40941e350899e456366265cf82b87ad25"))
    (package
      (name "vendor-reset-linux-module")
      (version (git-version "0.0.1" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/gnif/vendor-reset")
               (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "071zd8slra0iqsvzqpp6lcvg5dql5hkn161gh9aq34wix7pwzbn5"))))
      (build-system linux-module-build-system)
      (arguments
       `(#:tests? #f                      ; no tests
                  ))
      (home-page "https://github.com/gnif/vendor-reset")
      (synopsis "Linux kernel module to perform GPU reset method calls")
      (description "")
      (license license:gpl3+))))
--8<---------------cut here---------------end--------------->8---

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

  parent reply	other threads:[~2021-12-05 18:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04 19:25 bug#52282: linux modules does not support inferior kernel Oleg Pykhalov
2021-12-04 20:19 ` Maxime Devos
2021-12-04 20:20   ` Maxime Devos
2021-12-05 13:22   ` Oleg Pykhalov [this message]
2021-12-05 14:18     ` Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7bnjidp.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=52282@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).