GNU bug report logs -
#45237
WIP linux-libre 5.10 update - help wanted
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Mon, 14 Dec 2020 16:06:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45237 in the body.
You can then email your comments to 45237 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#45237
; Package
guix-patches
.
(Mon, 14 Dec 2020 16:06:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 14 Dec 2020 16:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'm working on updating linux-libre to 5.10.
Using the attached patch, I tried building an ephemeral VM for x86_64:
------
$ guix environment guix -- ./pre-inst-env guix system vm doc/os-config-bare-bones.texi
[...]
building /gnu/store/678f40zf8dpp4w63j8419zad6d7bi32a-linux-modules.drv...
Backtrace:
In srfi/srfi-1.scm:
586:29 19 (map1 _)
586:29 18 (map1 _)
586:29 17 (map1 _)
586:29 16 (map1 _)
586:29 15 (map1 _)
586:29 14 (map1 _)
586:29 13 (map1 _)
586:29 12 (map1 _)
586:29 11 (map1 _)
586:29 10 (map1 _)
586:29 9 (map1 _)
586:29 8 (map1 _)
586:29 7 (map1 _)
586:29 6 (map1 _)
586:29 5 (map1 _)
586:29 4 (map1 _)
586:29 3 (map1 _)
586:29 2 (map1 _)
586:17 1 (map1 ("virtio_console" "virtio-rng" "btrfs"))
In gnu/build/linux-modules.scm:
257:5 0 (find-module-file _ _)
gnu/build/linux-modules.scm:257:5: In procedure find-module-file:
kernel module not found "virtio_console" "/gnu/store/hf3v78bnar6pyby40w4xmqc6sjcz4wvb-linux-5.10/lib/modules"
builder for `/gnu/store/678f40zf8dpp4w63j8419zad6d7bi32a-linux-modules.drv' failed with exit code 1
------
Indeed, the virtio_console module is missing. For linux-libre 5.9, it
shows up here within the kernel store item:
'lib/modules/5.9.14/kernel/drivers/char/virtio_console.ko.gz'
The 5.10 kernel configuration has "CONFIG_VIRTIO_CONSOLE=y", as before.
Any ideas? I'm trying to build now with "CONFIG_VIRTIO_CONSOLE=m",
although I don't really know why "CONFIG_VIRTIO_CONSOLE=y" was creating
a module file previously.
[0001-WIP-linux-libre-Update-to-5.10.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#45237
; Package
guix-patches
.
(Mon, 14 Dec 2020 17:22:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 45237 <at> debbugs.gnu.org (full text, mbox):
> gnu/build/linux-modules.scm:257:5: In procedure find-module-file:
> kernel module not found "virtio_console" "/gnu/store/hf3v78bnar6pyby40w4xmqc6sjcz4wvb-linux-5.10/lib/modules"
I don't understand why it used to work but started to fail, but changing
the kernel's build config from cONFIG_VIRTIO_CONSOLE=y to
CONFIG_VIRTIO_CONSOLE=m did the trick.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#45237
; Package
guix-patches
.
(Tue, 15 Dec 2020 02:17:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 45237 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This patch updates linux-libre to 5.10.1.
I tested the basics on x86_64 and i686.
There's one new kernel configuration option I wasn't sure about,
CONFIG_DMA_PERNUMA_CMA.
It's described like this: "Enable this option to get pernuma CMA areas
so that devices like ARM64 SMMU can get local memory by DMA coherent
APIs." [0]
I set it to Yes for all four architectures. What do you think? I don't
really understand what it does and if it's appropriate for a distro
kernel or not.
[0]
https://cateee.net/lkddb/web-lkddb/DMA_PERNUMA_CMA.html
[0001-gnu-linux-libre-Update-to-5.10.1.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Sat, 19 Dec 2020 21:09:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Famulari <leo <at> famulari.name>
:
bug acknowledged by developer.
(Sat, 19 Dec 2020 21:09:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 45237-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, Dec 14, 2020 at 09:16:11PM -0500, Leo Famulari wrote:
> From 96c3cbadf743b43ff09f374a710bc1b50922c6ce Mon Sep 17 00:00:00 2001
> From: Leo Famulari <leo <at> famulari.name>
> Date: Mon, 14 Dec 2020 02:17:48 -0500
> Subject: [PATCH] gnu: linux-libre: Update to 5.10.1.
>
> * gnu/packages/aux-files/linux-libre/5.10-arm.conf,
> gnu/packages/aux-files/linux-libre/5.10-arm64.conf,
> gnu/packages/aux-files/linux-libre/5.10-i686.conf,
> gnu/packages/aux-files/linux-libre/5.10-x86_64.conf: New files.
> * Makefile.am (AUX_FILES): Add them.
> * gnu/packages/linux.scm (linux-libre-5.10-version, deblob-scripts-5.10,
> linux-libre-5.10-pristine-source, linux-libre-5.10-source,
> linux-libre-headers-5.10, linux-libre-5.10): New variables.
> (linux-libre-version, linux-libre-pristine-source, linux-libre-source,
> linux-libre, linux-libre-with-bpf): Update to 5.10.1.
Pushed as 66b5bc319177f54a65085fbc39ee984d387a3329
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 17 Jan 2021 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.