Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #86880
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> |
| Newsgroups | linux.debian.kernel |
| Subject | Re: Package for development of out-of-tree kernel modules written in Rust |
| Date | Sun, 13 Apr 2025 18:40:01 +0200 |
| Message-ID | <KB8xb-dghd-3@gated-at.bofh.it> (permalink) |
| References | <KxdOO-aBIO-29@gated-at.bofh.it> <KxdYt-aBMp-17@gated-at.bofh.it> <Kxf4d-aCq3-1@gated-at.bofh.it> <Kxu3f-aMPG-13@gated-at.bofh.it> <Kxwy5-aOvY-1@gated-at.bofh.it> <KxxXb-aPhh-3@gated-at.bofh.it> <KxAil-aRi4-3@gated-at.bofh.it> <KxAs2-aRlS-5@gated-at.bofh.it> <KyFSF-bDwQ-7@gated-at.bofh.it> <KAMdj-d1Gi-1@gated-at.bofh.it> <KB3QR-ddhw-15@gated-at.bofh.it> <KB7B7-dfGP-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-kernel-request@lists.debian.org Sun Apr 13 16:36:29 2025 |
| Old-Return-Path | <miguel.ojeda.sandonis@gmail.com> |
| X-Amavis-Spam-Status | No, score=-2.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Forwarded-Encrypted | i=1; AJvYcCU0wGGvi3NQiVthaDvubsbhZjNdOTEJ+9U0dikqiL6Wko4xBdoalwzg7Q2u+JUotXHnNyQUaVfgZ3hWlA==@lists.debian.org |
| X-Gm-Message-State | AOJu0YwCeDV84JHnbPuCgt2BIFitNVjwP5bgnuYajPKRBTo4VCqjK52V d6R5fvwfsKMVdiaBC16iqCcX9m0Dn5sK7tYItrvIriAI1pNwsScGRsYRsqA2FvbPQroBQ1Nt4JI M5/7GbG/PKqxhIqdTh+9FgmKufIU= |
| X-Gm-Gg | ASbGncsx1fojaGB4zsLDRXciq+epTVS2EsK7GqYQSf+vqM7OqWtxTymIJfLkL4u0Vpn y+R1y6vyABY0GplfvPG0rJwfv8LDmRiGjQD5yhnj4JlupebnNDLQPaEKo9DiDGXjEB/YTNFZcpy 7p714jWawGu4MZSSnmCAflWw== |
| X-Google-SMTP-Source | AGHT+IHVfgEmBivkuv8wHmOSZHWLh+RZ2VAQ3Z9OLFy6f3N1Xk+xCQXUH7C8WCC7NhAyGWO3aBL+8EjmTP872hT5uF0= |
| X-Received | by 2002:a17:902:d4cc:b0:224:e0e:e08b with SMTP id d9443c01a7336-22bea3dedcamr46832985ad.0.1744561088063; Sun, 13 Apr 2025 09:18:08 -0700 (PDT) |
| MIME-Version | 1.0 |
| X-Gm-Features | ATxdqUEuWDnUAOPj3jIh5vVnRioZSAF4TdHnnpG6Wg2WkMpgRQ2CYrJqMYp91SQ |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailing-List | <debian-kernel@lists.debian.org> archive/latest/148215 |
| List-ID | <debian-kernel.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-kernel/> |
| List-Archive | https://lists.debian.org/msgid-search/CANiq72=Y3iwGgAmAwc_Cn+x0h939aX5HN-UNVFVUgmy8dTOrTA@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 30 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-kernel@lists.debian.org, debian-rust@lists.debian.org |
| X-Original-Date | Sun, 13 Apr 2025 18:17:55 +0200 |
| X-Original-Message-ID | <CANiq72=Y3iwGgAmAwc_Cn+x0h939aX5HN-UNVFVUgmy8dTOrTA@mail.gmail.com> |
| X-Original-References | <20250402211027.yned7ytqevpygnpj@shell.thinkmo.de> <0fb7dc74-1ee5-4b30-8edd-c1db97bbaa85@disroot.org> <b684b03d-f333-4135-870e-e3db9f165926@disroot.org> <20250403142812.kf5ucbblwytoac7h@shell.thinkmo.de> <5058a094-6d9a-4164-aabc-34c3f0db4a75@disroot.org> <20250403183302.iao7vqal7uxh7zn4@shell.thinkmo.de> <CANiq72=9BTu_1nRF0f3EkD4a9GuF5HtOJpDKyBXMQ+-knzcstA@mail.gmail.com> <6b625d6c-4111-4645-9a24-cc02300d32fb@disroot.org> <CANiq72=2sBY9aEEUCFQobTqUB7E_=mebJnPjeD3_NmqjrXpdzg@mail.gmail.com> <7a198601-652a-4c25-a80e-462a7140c5da@disroot.org> <20250413111408.jh7busq5cvvj36o7@shell.thinkmo.de> <c3b33d00-9f7b-4153-9960-819b458b76f9@disroot.org> |
| Xref | csiph.com linux.debian.kernel:86880 |
Show key headers only | View raw
On Sun, Apr 13, 2025 at 5:36 PM NoisyCoil <noisycoil@disroot.org> wrote: > > 1. Native build on arm64. Installed the build on amd64, replaced the > Rust files (rmeta and libmacros) with ones obtained by cross-compiling > the same kernel with the same config on amd64. Pointing KDIR to the > natively-built /usr/src/linux-headers with the replaced Rust files > correctly builds the OOT module, and the module correctly loads on arm64. > > 2. Cross-build on amd64. Installed the build on arm64, replaced the Rust > files with those from the twin native build. Same as above, the module > builds and correctly loads on arm64. I am not sure I am following correctly the tests, but are you referring to rebuilding all the Rust artifacts (and not just the host ones)? I think that would still be not generally supported by the kernel, since you still used a different host/target pair (i.e. different toolchains/binaries) -- if I understand correctly, your out-of-tree module ends up using `.rmeta`s that are different than those used for the main kernel since they come from a different build, even if they are all accepted by the Rust compiler since it built them all. Nice to hear that worked here, though :) Thanks a lot for all the tests you performed! I really appreciate it. Cheers, Miguel
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 01:30 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-02-26 12:50 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 13:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 14:00 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 15:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 19:30 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 22:00 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-27 18:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Ben Hutchings <ben@decadent.org.uk> - 2025-02-26 19:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 19:30 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 20:10 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 20:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-27 18:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-02 23:00 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-02 23:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-02 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-03 00:50 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-03 16:50 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-03 19:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-03 21:00 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-03 23:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-03 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-06 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-12 18:50 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-13 13:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-13 17:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-13 18:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-13 20:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Ben Hutchings <ben@decadent.org.uk> - 2025-04-16 17:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-05-03 17:10 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-04 11:20 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-06 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 19:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 14:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-02-26 14:40 +0100
csiph-web