--- Begin Message ---
Subject: |
WIP linux-libre 5.10 update - help wanted |
Date: |
Mon, 14 Dec 2020 11:05:14 -0500 |
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
Description: Text document
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: [PATCH] gnu: linux-libre: Update to 5.10.1. |
Date: |
Sat, 19 Dec 2020 16:08:33 -0500 |
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@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
Description: PGP signature
--- End Message ---