From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Subject: bug#36069: Menu-based installer unusable through noVNC Date: Mon, 22 Jul 2019 11:25:18 +0200 Message-ID: <20190722112518.46e817d0@alma-ubu> References: <20190625002420.27685559@alma-ubu> <87v9wtn4u9.fsf@gnu.org> <36FEF9C6-B901-4E6B-920B-00E545A10279@vllmrt.net> <20190625170603.176cb07b@alma-ubu> <20190625155439.hmzw4s6o2pxhwyiw@pelzflorian.localdomain> <20190626185141.3e4639de@alma-ubu> <20190626202351.s2km4b4zt7uwdob7@pelzflorian.localdomain> <73149751-082E-4EB6-89CB-7E242830BDBF@vllmrt.net> <87zhlab5hc.fsf@gnu.org> <87a7danfos.fsf@netris.org> <87pnm495t3.fsf@gnu.org> <7F8DEC16-76B6-483B-A657-D9E30B46F779@vllmrt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/3In9mzvJQfn0c15Yqgbw_Mo"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41732) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpUa3-0002sH-8b for bug-guix@gnu.org; Mon, 22 Jul 2019 05:26:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpUa2-0008NV-7m for bug-guix@gnu.org; Mon, 22 Jul 2019 05:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpUa2-0008NR-4u for bug-guix@gnu.org; Mon, 22 Jul 2019 05:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpUa2-0006p0-0b for bug-guix@gnu.org; Mon, 22 Jul 2019 05:26:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <7F8DEC16-76B6-483B-A657-D9E30B46F779@vllmrt.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Robert Vollmert Cc: 36069@debbugs.gnu.org --Sig_/3In9mzvJQfn0c15Yqgbw_Mo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 20 Jul 2019 17:17:21 +0200 Robert Vollmert wrote: > > Robert and Bj=C3=B6rn, could you check if adding the =E2=80=98cirrus=E2= =80=99 and > > possibly the =E2=80=98cirrusfb=E2=80=99 module(s) to =E2=80=98initrd-mo= dules=E2=80=99 in the image > > you run at your VPS solves the issue? =20 >=20 > It would need to be added to the installer. Is there a way to add it > via grub command line? Alternatively, is there a way to test this from > a regular guix system console? >=20 > (I=E2=80=99m not sure to what extent I=E2=80=99ll be able to do that =E2= =80=94 my VPS is now > serving =E2=80=9Cimportant=E2=80=9D things. Note that the bug is reproduc= ible on QEMU > by passing =E2=80=9C-vga cirrus=E2=80=9D.) Hi Robert, it is possible to create your own installation-image from sources. If you are not familar with, check the manual on how to build Guix from source. Then I did and can confirm locally: qemu-system-x86_64 -vga cirrus -monitor stdio -m 1024 -smp 1 -enable-kvm -v= nc :0 -cdrom /home/bjoern/qemu/installer2/guix-system-install-1.0.1.x86_64= -linux.iso This looks expectedly distorted. On commit (without any changes): 59f79254bbd2cfe31dd063a6949f94e09308e799 I created the installation image: [env]$ ./pre-inst-env guix system disk-image --file-system-type=3Diso9660 = gnu/system/install.scm=20 [..] /gnu/store/dp9yj0kv20hzwj70b0qkw2yn9vd2h6s4-image.iso Starting it in QEMU: qemu-system-x86_64 -vga cirrus -monitor stdio -m 1024 -smp 1 -enable-kvm -v= nc :0 -cdrom /gnu/store/dp9yj0kv20hzwj70b0qkw2yn9vd2h6s4-image.iso This still has the too small view on the installer. Then I changed the installer code to add the modules: [env]$ git diff | more diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 912096027f..3e692a5bdc 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -428,6 +428,8 @@ Access documentation at any time by pressing Alt-F2.\x1= b[0m (target "/dev/sda"))) (label (string-append "GNU Guix installation " (package-version guix))) + (initrd-modules (append (list "cirrus" "cirrusfb") + %base-initrd-modules)) =20 ;; XXX: The AMD Radeon driver is reportedly broken, which makes kmscon ;; non-functional: Starting the newly built image: qemu-system-x86_64 -vga cirrus -monitor stdio -m 1024 -smp 1 -enable-kvm -v= nc :0 -cdrom /gnu/store/jxpfiagfscrvzjahixa8cx67c9pbqcka-image.iso And this looks good now :-) What I haven't done yet: 1. Use only "cirrus" 2. Use only "cirrusfb" 3. Try it out on my VPS. Bj=C3=B6rn --Sig_/3In9mzvJQfn0c15Yqgbw_Mo Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXTWA/wAKCRC/KGy2WT5f /YzsAJ9KyapHCujrfnhiU0k6laquwxItjQCgrY7eF7KKPtGUCTSDqzv0jF4o2tw= =xEub -----END PGP SIGNATURE----- --Sig_/3In9mzvJQfn0c15Yqgbw_Mo--