bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36069: Menu-based installer unusable through noVNC


From: Ludovic Courtès
Subject: bug#36069: Menu-based installer unusable through noVNC
Date: Mon, 16 Sep 2019 10:00:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello Björn,

Björn Höfling <address@hidden> skribis:

> On Mon, 22 Jul 2019 12:25:12 +0200
> Ludovic Courtès <address@hidden> wrote:
>
>> Hello!
>> 
>> Björn Höfling <address@hidden> skribis:
>
>> > What I haven't done yet:
>> >
>> > 1. Use only "cirrus"
>> > 2. Use only "cirrusfb"
>> > 3. Try it out on my VPS.  
>> 
>> Please let us know when you have feedback on these so we can add just
>> the module that makes sense.
>
>
> I tried all three combinations and all work with qemu:
>
> 1. (initrd-modules (append (list "cirrus" "cirrusfb")
> 2. (initrd-modules (append (list "cirrusfb")
> 3. (initrd-modules (append (list "cirrus")
>
> I tried the version with "cirrus" on my VPS and it worked there too.

Cool, thanks for testing.

One easy thing we can do is to arrange so that ‘guix system vm{,-image}’
always include this module in the initrd.  I believe that would address
your use case, right?

Patch below.

Thanks,
Ludo’.

diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index ac6e4ded92..73d9b2c0c1 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -850,6 +850,11 @@ environment with the store shared with the host.  MAPPINGS 
is a list of
                      #:volatile-root? #t
                      rest)))
 
+    ;; VPS sometimes expect the "cirrus" graphics driver to be available when
+    ;; the VM is accessed with noVNC; see <https://bugs.gnu.org/36069>.
+    (initrd-modules (cons "cirrus"
+                          (operating-system-initrd-modules os)))
+
     ;; Disable swap.
     (swap-devices '())
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]