From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 10 08:55:03 2020 Received: (at submit) by debbugs.gnu.org; 10 Apr 2020 12:55:04 +0000 Received: from localhost ([127.0.0.1]:54872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMtBS-0005ju-Lo for submit@debbugs.gnu.org; Fri, 10 Apr 2020 08:55:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:42439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMtBQ-0005jn-Pl for submit@debbugs.gnu.org; Fri, 10 Apr 2020 08:54:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMtBO-0007UM-63 for bug-guix@gnu.org; Fri, 10 Apr 2020 08:54:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMtBL-0006aQ-NM for bug-guix@gnu.org; Fri, 10 Apr 2020 08:54:54 -0400 Received: from pelzflorian.de ([5.45.111.108]:46354 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMtBK-0006Zk-MD for bug-guix@gnu.org; Fri, 10 Apr 2020 08:54:51 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 24B4636055C for ; Fri, 10 Apr 2020 14:54:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586523289; bh=M3QdQAbIPiVPbdLLBtEW6dDeP7ZCIZVhhAkv0m9AN90=; h=Date:From:To:Subject; b=ldfBA3SeI7pJdcI6iknCeY16ioRpFRqTp4moI/BFVHFv0518BazjT40CyORSCCKuf +k20PKRT0XNauTioTVDReSlDhZPlNoyEduxh/1MmbIwjFMk5S0du7/LxmVy+AcOXEw aYI3Yb1X+jsKauGVF6E4pxzvD8ifvKLbMDeamo8Q= Date: Fri, 10 Apr 2020 14:54:47 +0200 From: "pelzflorian (Florian Pelz)" To: bug-guix@gnu.org Subject: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="uiuomdfkzsqeuylv" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.111.108 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --uiuomdfkzsqeuylv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable uvesafb should be run in the Guix System installer image so the GUI installer can be used on more systems, including AMD GPU systems. uvesafb is needed to support systems that otherwise need nonfree firmware or drivers (many current and older AMD GPUs as well as old machines like Uniwill U50SI1 with Silicon Integrated Systems GPU). I attach a patch I made previously at (plus proper indentation and copyright statement). I believe it could be included in the installer even though it is a little hacky. Note that the installed system will need uvesafb (or nonfree firmware) too, so the patch alone won=E2=80=99t make these systems work out of the = box. But these things are easier to setup when the system can be installed via the GUI installer. I wrote the same about the issue previously at . On some machines uvesafb still requires to add a kernel parameter nomodeset (or sometimes possibly vga=3D793 or something; nomodeset was enough on tested machines, some machines don=E2=80=99t need nomodeset). In my testing so far uvesafb did not cause any trouble on systems that don=E2=80=99t need it. I have not tested non-x86 systems and just hope t= he code won=E2=80=99t break those. When the dust has settled on the kernel-module-configuration-service discussed by Brice Waegeneire and Danny Milosavljevic , a proper uvesafb service can be added. Then I can make and test one and it could also be used in the installer. That would be the clean solution. In particular, it could detect the resolution to use for uvesafb automatically by running the attached code testvbe.scm as root. But how to run that code depends on the kernel-module-configuration-service if/when it exists. (I did not know how to extend etc-service-type with a file created at runtime not build time, but maybe kernel-module-configuration-service works differently anyway.) On Fri, Apr 10, 2020 at 12:38:05PM +0200, Ludovic Court=C3=A8s wrote: > "pelzflorian (Florian Pelz)" skribis: > > On an Acer Aspire 5738PG with ATI Mobility Radeon HD 4570 the > > installer remains black. I pressed ctrl-alt-f3 and typed > > > > modprobe uvesafb v86d=3D$(guix build v86d | head -n1)/sbin/v86d mode_= option=3D1024x768 >=20 > Could we come up with a udev rule or a modprobe.d snippet so that this > happens automatically? >=20 > I found things like: >=20 > https://bbs.archlinux.org/viewtopic.php?id=3D165480 >=20 > Or should we give up on v86d like Gentoo: >=20 > https://wiki.gentoo.org/wiki/Uvesafb >=20 > ? >=20 > (Perhaps this is best discussed in a specific issue on bug-guix.) I believe uvesafb can easily be supported on Guix System via kernel-module-loader-service/configuration-service. Regards, Florian --uiuomdfkzsqeuylv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="0001-installer-Load-uvesafb-kernel-module.patch" Content-Transfer-Encoding: quoted-printable >From de24448076379a1792a7e1031471d5ae33c8c440 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Fri, 10 Apr 2020 14:35:38 +0200 Subject: [PATCH] installer: Load uvesafb kernel module. This enables the installer to display when no Kernel Mode Setting is avai= lable (e.g. many AMD GPUs, old SIS GPUs). * gnu/system/install.scm (%installation-services): Add kernel-module-load= er service for loading uvesafb. --- gnu/system/install.scm | 231 ++++++++++++++++++++++------------------- 1 file changed, 126 insertions(+), 105 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index c15c2c7814..d9fc0a6941 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -4,6 +4,7 @@ ;;; Copyright =A9 2016 Andreas Enge ;;; Copyright =A9 2017 Marius Bakke ;;; Copyright =A9 2017, 2019 Tobias Geerinckx-Rice +;;; Copyright =A9 2020 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,11 +27,13 @@ #:use-module (gnu bootloader u-boot) #:use-module (guix gexp) #:use-module (guix store) + #:use-module (guix utils) #:use-module (guix monads) #:use-module ((guix packages) #:select (package-version)) #:use-module ((guix store) #:select (%store-prefix)) #:use-module (gnu installer) #:use-module (gnu services dbus) + #:use-module (gnu services linux) #:use-module (gnu services networking) #:use-module (gnu services shepherd) #:use-module (gnu services ssh) @@ -50,6 +53,7 @@ #:use-module (gnu packages texinfo) #:use-module (gnu packages compression) #:use-module (gnu packages nvi) + #:use-module (gnu packages xorg) #:use-module (ice-9 match) #:use-module (srfi srfi-26) #:export (installation-os @@ -304,111 +308,128 @@ Access documentation at any time by pressing Alt-= F2.\x1b[0m (define bare-bones-os (load "examples/bare-bones.tmpl")) =20 - (list (service virtual-terminal-service-type) - - (service kmscon-service-type - (kmscon-configuration - (virtual-terminal "tty1") - (login-program (installer-program)))) - - (login-service (login-configuration - (motd motd))) - - ;; Documentation. The manual is in UTF-8, but - ;; 'console-font-service' sets up Unicode support and loads a = font - ;; with all the useful glyphs like em dash and quotation marks= . - (service documentation-service-type "tty2") - - ;; Documentation add-on. - %configuration-template-service - - ;; A bunch of 'root' ttys. - (normal-tty "tty3") - (normal-tty "tty4") - (normal-tty "tty5") - (normal-tty "tty6") - - ;; The usual services. - (syslog-service) - - ;; The build daemon. Register the default substitute server k= ey(s) - ;; as trusted to allow the installation process to use substit= utes by - ;; default. - (service guix-service-type - (guix-configuration (authorize-key? #t))) - - ;; Start udev so that useful device nodes are available. - ;; Use device-mapper rules for cryptsetup & co; enable the CRD= A for - ;; regulations-compliant WiFi access. - (udev-service #:rules (list lvm2 crda)) - - ;; Add the 'cow-store' service, which users have to start manu= ally - ;; since it takes the installation directory as an argument. - (cow-store-service) - - ;; Install Unicode support and a suitable font. - (service console-font-service-type - (map (match-lambda - ("tty2" - ;; Use a font that contains characters such a= s - ;; curly quotes as found in the manual. - '("tty2" . "LatGrkCyr-8x16")) - (tty - ;; Use a font that doesn't have more than 256 - ;; glyphs so that we can use colors with vary= ing - ;; brightness levels (see note in setfont(8))= . - `(,tty . "lat9u-16"))) - '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6"))) - - ;; To facilitate copy/paste. - (service gpm-service-type) - - ;; Add an SSH server to facilitate remote installs. - (service openssh-service-type - (openssh-configuration - (port-number 22) - (permit-root-login #t) - ;; The root account is passwordless, so make sure - ;; a password is set before allowing logins. - (allow-empty-passwords? #f) - (password-authentication? #t) - - ;; Don't start it upfront. - (%auto-start? #f))) - - ;; Since this is running on a USB stick with a overlayfs as th= e root - ;; file system, use an appropriate cache configuration. - (nscd-service (nscd-configuration - (caches %nscd-minimal-caches))) - - ;; Having /bin/sh is a good idea. In particular it allows Tra= mp - ;; connections to this system to work. - (service special-files-service-type - `(("/bin/sh" ,(file-append (canonical-package bash) - "/bin/sh")))) - - ;; Loopback device, needed by OpenSSH notably. - (service static-networking-service-type - (list (static-networking (interface "lo") - (ip "127.0.0.1") - (requirement '()) - (provision '(loopback))))) - - (service wpa-supplicant-service-type) - (dbus-service) - (service connman-service-type - (connman-configuration - (disable-vpn? #t))) - - ;; Keep a reference to BARE-BONES-OS to make sure it can be - ;; installed without downloading/building anything. Also keep= the - ;; things needed by 'profile-derivation' to minimize the amoun= t of - ;; download. - (service gc-root-service-type - (list bare-bones-os - glibc-utf8-locales - texinfo - (canonical-package guile-2.2)))))) + (cons* + (service virtual-terminal-service-type) + + (service kmscon-service-type + (kmscon-configuration + (virtual-terminal "tty1") + (login-program (installer-program)))) + + (login-service (login-configuration + (motd motd))) + + ;; Documentation. The manual is in UTF-8, but + ;; 'console-font-service' sets up Unicode support and loads a font + ;; with all the useful glyphs like em dash and quotation marks. + (service documentation-service-type "tty2") + + ;; Documentation add-on. + %configuration-template-service + + ;; A bunch of 'root' ttys. + (normal-tty "tty3") + (normal-tty "tty4") + (normal-tty "tty5") + (normal-tty "tty6") + + ;; The usual services. + (syslog-service) + + ;; The build daemon. Register the default substitute server key(s) + ;; as trusted to allow the installation process to use substitutes = by + ;; default. + (service guix-service-type + (guix-configuration (authorize-key? #t))) + + ;; Start udev so that useful device nodes are available. + ;; Use device-mapper rules for cryptsetup & co; enable the CRDA for + ;; regulations-compliant WiFi access. + (udev-service #:rules (list lvm2 crda)) + + ;; Add the 'cow-store' service, which users have to start manually + ;; since it takes the installation directory as an argument. + (cow-store-service) + + ;; Install Unicode support and a suitable font. + (service console-font-service-type + (map (match-lambda + ("tty2" + ;; Use a font that contains characters such as + ;; curly quotes as found in the manual. + '("tty2" . "LatGrkCyr-8x16")) + (tty + ;; Use a font that doesn't have more than 256 + ;; glyphs so that we can use colors with varying + ;; brightness levels (see note in setfont(8)). + `(,tty . "lat9u-16"))) + '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6"))) + + ;; To facilitate copy/paste. + (service gpm-service-type) + + ;; Add an SSH server to facilitate remote installs. + (service openssh-service-type + (openssh-configuration + (port-number 22) + (permit-root-login #t) + ;; The root account is passwordless, so make sure + ;; a password is set before allowing logins. + (allow-empty-passwords? #f) + (password-authentication? #t) + + ;; Don't start it upfront. + (%auto-start? #f))) + + ;; Since this is running on a USB stick with a overlayfs as the roo= t + ;; file system, use an appropriate cache configuration. + (nscd-service (nscd-configuration + (caches %nscd-minimal-caches))) + + ;; Having /bin/sh is a good idea. In particular it allows Tramp + ;; connections to this system to work. + (service special-files-service-type + `(("/bin/sh" ,(file-append (canonical-package bash) + "/bin/sh")))) + + ;; Loopback device, needed by OpenSSH notably. + (service static-networking-service-type + (list (static-networking (interface "lo") + (ip "127.0.0.1") + (requirement '()) + (provision '(loopback))))) + + (service wpa-supplicant-service-type) + (dbus-service) + (service connman-service-type + (connman-configuration + (disable-vpn? #t))) + + ;; Keep a reference to BARE-BONES-OS to make sure it can be + ;; installed without downloading/building anything. Also keep the + ;; things needed by 'profile-derivation' to minimize the amount of + ;; download. + (service gc-root-service-type + (list bare-bones-os + glibc-utf8-locales + texinfo + (canonical-package guile-2.2))) + (if (member (%current-system) '("x86_64-linux" "i686-linux")) + ;; Load uvesafb to show installer when no KMS is available. + `(,(service kernel-module-loader-service-type '("uvesafb")) + ,(let ((uvesafb-options + #~(with-output-to-file #$output + (lambda _ + (format #t + (string-join `("options" "uvesafb" + ,(string-append "v86d=3D= " #$v86d + "/sbin/v= 86d") + "mode_option=3D1024x768"= ))))))) + (simple-service 'uvesafb-configuration etc-service-type + (list `("modprobe.d/uvesafb.conf" + ,(computed-file "uvesafb-options" + uvesafb-options)))= ))) + '())))) =20 (define %issue ;; Greeting. --=20 2.26.0 --uiuomdfkzsqeuylv Content-Type: application/vnd.lotus-screencam Content-Disposition: attachment; filename="testvbe.scm" Content-Transfer-Encoding: quoted-printable (use-modules (ice-9 match) (ice-9 popen))=0A(format #t "~a~%"=0A (let ((in = (open-pipe* OPEN_READ "/gnu/store/2n96ak0dkkbv3kijfi3dxrrxz8pkj0d1-v86d-0.1= =2E10-testvbe/sbin/testvbe")))=0A (define (skip-head)=0A "Skip head o= f testvbe output."=0A (let ((line ((@ (ice-9 textual-ports) get-line) i= n)))=0A (cond ((eof-object? line) (error "Invalid testvbe output."))= =0A ((string=3D? "---------------------------" line) #t)=0A (else= (skip-head)))))=0A (define (line->resolution line)=0A "Return a list= of the horizontal and vertical resolution given=0Ain a LINE of testvbe out= put. The return value is a list of two exact=0Aintegers."=0A (match (f= ilter=0A (lambda (str) (not (string-null? str)))=0A (string-split= line char-set:blank))=0A ((_ _ res _) =0A (map string->numbe= r=0A (list-head (string-split res (char-set #\x #\-)) 2)))))=0A (begin= =0A (skip-head)=0A (let loop ((best (list 800 600)))=0A (let = ((line ((@ (ice-9 textual-ports) get-line) in)))=0A (if (eof-object? line)= =0A (let ((best-string (map number->string best)))=0A (match be= st-string=0A ((horiz vert)=0A (string-append horiz "x" vert)= )))=0A (let ((current (line->resolution line)))=0A (loop (if (>= (apply * current) (apply * best))=0A current=0A best)))))))))=0A=0A --uiuomdfkzsqeuylv-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 10 10:38:47 2020 Received: (at 40538) by debbugs.gnu.org; 10 Apr 2020 14:38:47 +0000 Received: from localhost ([127.0.0.1]:55846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMunv-0008Sx-EX for submit@debbugs.gnu.org; Fri, 10 Apr 2020 10:38:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMunt-0008Sj-DI for 40538@debbugs.gnu.org; Fri, 10 Apr 2020 10:38:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jMuno-0001PB-8E; Fri, 10 Apr 2020 10:38:40 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55586 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jMunn-0006ue-SZ; Fri, 10 Apr 2020 10:38:40 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 10 Apr 2020 16:38:37 +0200 In-Reply-To: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 10 Apr 2020 14:54:47 +0200") Message-ID: <87tv1rv21e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Florian, "pelzflorian (Florian Pelz)" skribis: > uvesafb should be run in the Guix System installer image so the GUI > installer can be used on more systems, including AMD GPU systems. > > uvesafb is needed to support systems that otherwise need nonfree > firmware or drivers (many current and older AMD GPUs as well as old > machines like Uniwill U50SI1 with Silicon Integrated Systems GPU). I > attach a patch I made previously at > > (plus proper indentation and copyright statement). I believe it could > be included in the installer even though it is a little hacky. > > Note that the installed system will need uvesafb (or nonfree firmware) > too, so the patch alone won=E2=80=99t make these systems work out of the = box. > But these things are easier to setup when the system can be installed > via the GUI installer. I wrote the same about the issue previously at > . Thanks for the explanations. AIUI, uvesafb is needed for ksmcon (or presumably X11) to work, but it=E2= =80=99s not necessary to get the standard Linux framebuffer/console running (indeed, you were able to ctrl-alt-f3 to get a terminal). Is this correct? If that=E2=80=99s the case, then I think it=E2=80=99s acceptable for now to= install a system that lacks uvesafb. Of course X11 won=E2=80=99t work (right?), whic= h is not great, but people can hopefully address it at the console until we have a better fix, possibly using =E2=80=98kernel-module-configuration-serv= ice=E2=80=99 as you write. WDYT? > From de24448076379a1792a7e1031471d5ae33c8c440 Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Fri, 10 Apr 2020 14:35:38 +0200 > Subject: [PATCH] installer: Load uvesafb kernel module. > > This enables the installer to display when no Kernel Mode Setting is avai= lable > (e.g. many AMD GPUs, old SIS GPUs). > > * gnu/system/install.scm (%installation-services): Add kernel-module-load= er > service for loading uvesafb. [...] > + (if (member (%current-system) '("x86_64-linux" "i686-linux")) > + ;; Load uvesafb to show installer when no KMS is available. > + `(,(service kernel-module-loader-service-type '("uvesafb")) > + ,(let ((uvesafb-options > + #~(with-output-to-file #$output > + (lambda _ > + (format #t > + (string-join `("options" "uvesafb" > + ,(string-append "v86d=3D= " #$v86d > + "/sbin/v= 86d") > + "mode_option=3D1024x768"= ))))))) > + (simple-service 'uvesafb-configuration etc-service-type > + (list `("modprobe.d/uvesafb.conf" > + ,(computed-file "uvesafb-options" > + uvesafb-options)))= ))) This is not quite correct because here =E2=80=98%current-system=E2=80=99 is= evaluated at the top level, when (gnu tests install) is loaded. So on my laptop, it=E2=80=99s always "x86_64-linux", regardless of any =E2=80=98-s=E2=80=99 = flags. Also, it ignores =E2=80=98--target=E2=80=99. Can we arrange to make it unconditional? One way to do that (not great), would be to make it an activation snippet: since activation snippets are written as monadic code, we can reliably check =E2=80=98%current-system=E2=80=99 & =E2=80=98%current-target= -system=E2=80=99 from there. (For lack of a solution like .) Stylistic comments: 1. IMO we should move the uvesafb service definition to the top-level for clarity. 2. Does "modprobe.d/uvesafb.conf" work? I thought there was nothing taking care of creating =E2=80=9Cmodprobe.d=E2=80=9D automatically. 3. You can replace the whole =E2=80=98computed-file=E2=80=99 with: (mixed-text-file "uvesafb.conf" "options uvesafb v86d=3D" v86d "/sbin/v86d mode_option=3D1024x768\n") 4. Please add a comment stating the hardware target, like in the commit log. Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 10 10:59:03 2020 Received: (at 40538) by debbugs.gnu.org; 10 Apr 2020 14:59:03 +0000 Received: from localhost ([127.0.0.1]:55856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMv7X-0000XR-Jw for submit@debbugs.gnu.org; Fri, 10 Apr 2020 10:59:03 -0400 Received: from pelzflorian.de ([5.45.111.108]:60198 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMv7U-0000Wy-Pi for 40538@debbugs.gnu.org; Fri, 10 Apr 2020 10:59:01 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 8279F36055C; Fri, 10 Apr 2020 16:58:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586530739; bh=SnuDTl9jlc2+agBHPkmoPw6w01V2LkSzEfimJLdNJHM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ZAhtJfYRhEin5v5UlKWwC4bMfT2KntvE7SBMDhQ3OHZvDFbm410NhzWpNS8YCITH7 pEXJqWmpW9po9YHX0t23fcBV4jkm7gUByH6g/aB7RAbTL+LoNmf17X7C4wuRyri0mi 9cHFCz4iJQyAZkkqAKx9Ue/1WeUMxhRGToRiqfYU= Date: Fri, 10 Apr 2020 16:58:58 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200410145858.cekc55kjog3eblbu@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87tv1rv21e.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Apr 10, 2020 at 04:38:37PM +0200, Ludovic Courtès wrote: > AIUI, uvesafb is needed for ksmcon (or presumably X11) to work, but it’s > not necessary to get the standard Linux framebuffer/console running > (indeed, you were able to ctrl-alt-f3 to get a terminal). Is this > correct? Yes, all correct. > If that’s the case, then I think it’s acceptable for now to install a > system that lacks uvesafb. Of course X11 won’t work (right?), Yes, right. > which is > not great, but people can hopefully address it at the console until we > have a better fix, possibly using ‘kernel-module-configuration-service’ > as you write. > > WDYT? I agree. I will try making a patch including your suggestions in a few hours. > > 2. Does "modprobe.d/uvesafb.conf" work? I thought there was nothing > taking care of creating “modprobe.d” automatically. I think I tested this version of the patch and it worked. One can test on QEMU by passing nomodeset (without uvesafb the installer stays black, I think). It also matches the description of kernel-module-loader-service-type that was recently added to the manual. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 11 14:43:52 2020 Received: (at 40538) by debbugs.gnu.org; 11 Apr 2020 18:43:52 +0000 Received: from localhost ([127.0.0.1]:57081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNL6d-0002K0-M8 for submit@debbugs.gnu.org; Sat, 11 Apr 2020 14:43:52 -0400 Received: from pelzflorian.de ([5.45.111.108]:34232 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNL6b-0002Jr-2U for 40538@debbugs.gnu.org; Sat, 11 Apr 2020 14:43:50 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id A0CCF36055C; Sat, 11 Apr 2020 20:43:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586630627; bh=WVYqHsb0eX0ExjqeiJ5kxfik/h86dT2dwAhJyiGyLv8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=o8yPASw77oEjvqt5SBLt/wM9aW5cEtf3+gxPa22AWND5SeQs2ApZXjwLAeVONbojS Uhe4buAxHgoPyeHInofHvDRW3SIZRkfm9HpcIJR6SZ1X5JfRIEw3Paj3YWtw66DQNQ hQF2vuXoQsxFR4h8bbfIzQGuRIJdBWmk2yUhEhCI= Date: Sat, 11 Apr 2020 20:43:46 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="5gu7jahbgiwjyzbe" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87tv1rv21e.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --5gu7jahbgiwjyzbe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Fri, Apr 10, 2020 at 04:38:37PM +0200, Ludovic Courtès wrote: > > + (if (member (%current-system) '("x86_64-linux" "i686-linux")) > > + ;; Load uvesafb to show installer when no KMS is available. > > + `(,(service kernel-module-loader-service-type '("uvesafb")) > > + [...] > > This is not quite correct because here ‘%current-system’ is evaluated at > the top level, when (gnu tests install) is loaded. So on my laptop, > it’s always "x86_64-linux", regardless of any ‘-s’ flags. Also, it > ignores ‘--target’. > > Can we arrange to make it unconditional? > > One way to do that (not great), would be to make it an activation > snippet: since activation snippets are written as monadic code, we can > reliably check ‘%current-system’ & ‘%current-target-system’ from there. > (For lack of a solution like .) Please consider the attached patch. I chose to go without kernel-module-loader-service (only copying its requirements field) because I do not know how to conditionally extend or start another Shepherd service from an activation snippet. I tested it on QEMU with and without nomodeset. With a previous Guix System install image, it stayed black when adding a nomodeset kernel parameter. I will test again on real hardware now, but previous testing of uvesafb-enabled installer images proved successful unlike non-uvesafb images. Feel free to adapt the patch or not include it. Or tell me to change it if there is time. Regards, Florian --5gu7jahbgiwjyzbe Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-installer-Load-uvesafb-kernel-module.patch" Content-Transfer-Encoding: 8bit >From 85a95ce758384979a0aae3bc9065197c74862b4b Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Sat, 11 Apr 2020 18:56:37 +0200 Subject: [PATCH] installer: Load uvesafb kernel module. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . Machines without Kernel Mode Setting (those with many old and current AMD GPUs, SiS GPUs, …) need uvesafb to show the GUI installer. Some may also need a kernel parameter like nomodeset or vga=793, but we leave that for the user to specify in GRUB. * gnu/system/install.scm (uvesafb-shepherd-service): New procedure. (uvesafb-service-type): New variable. (%uvesafb-service): New variable. (%installation-services): Add it. --- gnu/system/install.scm | 47 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index c15c2c7814..73a013bed0 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016 Andreas Enge ;;; Copyright © 2017 Marius Bakke ;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2020 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ #:use-module (guix gexp) #:use-module (guix store) #:use-module (guix monads) + #:use-module (guix modules) #:use-module ((guix packages) #:select (package-version)) #:use-module ((guix store) #:select (%store-prefix)) #:use-module (gnu installer) @@ -50,6 +52,7 @@ #:use-module (gnu packages texinfo) #:use-module (gnu packages compression) #:use-module (gnu packages nvi) + #:use-module (gnu packages xorg) #:use-module (ice-9 match) #:use-module (srfi srfi-26) #:export (installation-os @@ -273,7 +276,6 @@ the user's target storage device rather than on the RAM disk." (define %configuration-template-service (service configuration-template-service-type #t)) - (define %nscd-minimal-caches ;; Minimal in-memory caching policy for nscd. (list (nscd-cache (database 'hosts) @@ -287,6 +289,41 @@ the user's target storage device rather than on the RAM disk." (persistent? #f) (max-database-size (* 5 (expt 2 20)))))) ;5 MiB + +;; These define a service to load the uvesafb kernel module with the +;; appropriate options. The GUI installer needs it when the machine does not +;; support Kernel Mode Setting. Otherwise kmscon is missing /dev/fb0. +(define (uvesafb-shepherd-service _) + (list (shepherd-service + (documentation "Load uvesafb.") + (provision '(uvesafb)) + (requirement '(file-systems)) + (start (with-imported-modules (source-module-closure '((guix utils))) + #~(begin + (use-modules (guix utils)) + (lambda () + ;; uvesafb is only supported on x86 and x86_64. + (if (member (%current-system) + '("x86_64-linux" "i686-linux")) + (invoke #+(file-append kmod "/bin/modprobe") + "uvesafb" + (string-append "v86d=" #$v86d "/sbin/v86d") + "mode_option=1024x768") + #t))))) + (respawn? #f) + (one-shot? #t)))) + +(define uvesafb-service-type + (service-type + (name 'uvesafb) + (extensions + (list (service-extension shepherd-root-service-type + uvesafb-shepherd-service))) + (default-value #t))) + +(define %uvesafb-service + (service uvesafb-service-type)) + (define %installation-services ;; List of services of the installation system. (let ((motd (plain-file "motd" " @@ -408,7 +445,13 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m (list bare-bones-os glibc-utf8-locales texinfo - (canonical-package guile-2.2)))))) + (canonical-package guile-2.2))) + + ;; Machines without Kernel Mode Setting (those with many old and + ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI + ;; installer. Some may also need a kernel parameter like nomodeset + ;; or vga=793, but we leave that for the user to specify in GRUB. + %uvesafb-service))) (define %issue ;; Greeting. -- 2.26.0 --5gu7jahbgiwjyzbe-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 11 15:03:50 2020 Received: (at 40538) by debbugs.gnu.org; 11 Apr 2020 19:03:50 +0000 Received: from localhost ([127.0.0.1]:57095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNLPx-0002oy-S5 for submit@debbugs.gnu.org; Sat, 11 Apr 2020 15:03:50 -0400 Received: from pelzflorian.de ([5.45.111.108]:34254 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNLPv-0002op-Om for 40538@debbugs.gnu.org; Sat, 11 Apr 2020 15:03:48 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 475C636055C; Sat, 11 Apr 2020 21:03:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586631826; bh=+ofClOm786r1uBD19WfcdgYKiyksv55fNnc7tv9yEyo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=wUeJJhIUsP0AOvmzMGRp75QI3Gjkp08/1CvvBQd/ONQNIMmz4WOiwh19x/DbGxeMP Tn1MuE9LXi97EciuGdZYfcIXBN8gTBQQpKh1uWOYasHu2wVfKHDxgSCnar/n7HJn2h K/guATeHUlwVwZhqNLiAtzzR7x4RatyMHztj46NU= Date: Sat, 11 Apr 2020 21:03:45 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200411190344.pwadvpv3jzne42gx@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="c2tmhvq7vwwuthe7" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --c2tmhvq7vwwuthe7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sat, Apr 11, 2020 at 08:43:46PM +0200, pelzflorian (Florian Pelz) wrote: > Please consider the attached patch. Actually I’m not sure about vga=793. Better use this patch with vga= removed. --c2tmhvq7vwwuthe7 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-installer-Load-uvesafb-kernel-module.patch" Content-Transfer-Encoding: 8bit >From 4b5a1b522dfd76d5c6c6a4cb093dba45cf636a58 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Sat, 11 Apr 2020 18:56:37 +0200 Subject: [PATCH] installer: Load uvesafb kernel module. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . Machines without Kernel Mode Setting (those with many old and current AMD GPUs, SiS GPUs, …) need uvesafb to show the GUI installer. Some may also need a kernel parameter like nomodeset, but we leave that for the user to specify in GRUB. * gnu/system/install.scm (uvesafb-shepherd-service): New procedure. (uvesafb-service-type): New variable. (%uvesafb-service): New variable. (%installation-services): Add it. --- gnu/system/install.scm | 47 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index c15c2c7814..cfe2b9540a 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016 Andreas Enge ;;; Copyright © 2017 Marius Bakke ;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2020 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ #:use-module (guix gexp) #:use-module (guix store) #:use-module (guix monads) + #:use-module (guix modules) #:use-module ((guix packages) #:select (package-version)) #:use-module ((guix store) #:select (%store-prefix)) #:use-module (gnu installer) @@ -50,6 +52,7 @@ #:use-module (gnu packages texinfo) #:use-module (gnu packages compression) #:use-module (gnu packages nvi) + #:use-module (gnu packages xorg) #:use-module (ice-9 match) #:use-module (srfi srfi-26) #:export (installation-os @@ -273,7 +276,6 @@ the user's target storage device rather than on the RAM disk." (define %configuration-template-service (service configuration-template-service-type #t)) - (define %nscd-minimal-caches ;; Minimal in-memory caching policy for nscd. (list (nscd-cache (database 'hosts) @@ -287,6 +289,41 @@ the user's target storage device rather than on the RAM disk." (persistent? #f) (max-database-size (* 5 (expt 2 20)))))) ;5 MiB + +;; These define a service to load the uvesafb kernel module with the +;; appropriate options. The GUI installer needs it when the machine does not +;; support Kernel Mode Setting. Otherwise kmscon is missing /dev/fb0. +(define (uvesafb-shepherd-service _) + (list (shepherd-service + (documentation "Load uvesafb.") + (provision '(uvesafb)) + (requirement '(file-systems)) + (start (with-imported-modules (source-module-closure '((guix utils))) + #~(begin + (use-modules (guix utils)) + (lambda () + ;; uvesafb is only supported on x86 and x86_64. + (if (member (%current-system) + '("x86_64-linux" "i686-linux")) + (invoke #+(file-append kmod "/bin/modprobe") + "uvesafb" + (string-append "v86d=" #$v86d "/sbin/v86d") + "mode_option=1024x768") + #t))))) + (respawn? #f) + (one-shot? #t)))) + +(define uvesafb-service-type + (service-type + (name 'uvesafb) + (extensions + (list (service-extension shepherd-root-service-type + uvesafb-shepherd-service))) + (default-value #t))) + +(define %uvesafb-service + (service uvesafb-service-type)) + (define %installation-services ;; List of services of the installation system. (let ((motd (plain-file "motd" " @@ -408,7 +445,13 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m (list bare-bones-os glibc-utf8-locales texinfo - (canonical-package guile-2.2)))))) + (canonical-package guile-2.2))) + + ;; Machines without Kernel Mode Setting (those with many old and + ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI + ;; installer. Some may also need a kernel parameter like nomodeset, + ;; but we leave that for the user to specify in GRUB. + %uvesafb-service))) (define %issue ;; Greeting. -- 2.26.0 --c2tmhvq7vwwuthe7-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 11 16:59:25 2020 Received: (at 40538) by debbugs.gnu.org; 11 Apr 2020 20:59:25 +0000 Received: from localhost ([127.0.0.1]:57151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNNDm-0005Tw-A0 for submit@debbugs.gnu.org; Sat, 11 Apr 2020 16:59:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNNDi-0005Ti-1c for 40538@debbugs.gnu.org; Sat, 11 Apr 2020 16:59:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jNNDc-0000S7-Lx; Sat, 11 Apr 2020 16:59:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37920 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jNNDc-0006X6-8O; Sat, 11 Apr 2020 16:59:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 11 Apr 2020 22:59:10 +0200 In-Reply-To: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 11 Apr 2020 20:43:46 +0200") Message-ID: <874ktpspr5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Florian, "pelzflorian (Florian Pelz)" skribis: > Please consider the attached patch. I chose to go without > kernel-module-loader-service (only copying its requirements field) > because I do not know how to conditionally extend or start another > Shepherd service from an activation snippet. > > I tested it on QEMU with and without nomodeset. With a previous Guix > System install image, it stayed black when adding a nomodeset kernel > parameter. I will test again on real hardware now, but previous > testing of uvesafb-enabled installer images proved successful unlike > non-uvesafb images. Great. > From 85a95ce758384979a0aae3bc9065197c74862b4b Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Sat, 11 Apr 2020 18:56:37 +0200 > Subject: [PATCH] installer: Load uvesafb kernel module. > MIME-Version: 1.0 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit > > Fixes . > > Machines without Kernel Mode Setting (those with many old and current AMD > GPUs, SiS GPUs, =E2=80=A6) need uvesafb to show the GUI installer. Some = may also need > a kernel parameter like nomodeset or vga=3D793, but we leave that for the= user > to specify in GRUB. > > * gnu/system/install.scm (uvesafb-shepherd-service): New procedure. > (uvesafb-service-type): New variable. > (%uvesafb-service): New variable. > (%installation-services): Add it. I made the following adjustments. I also confirmed that everything goes well in QEMU, but obviously we=E2=80= =99ll have to test on hardware. Let=E2=80=99s publish an RC2 tomorrow so we can get feedback. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 73a013bed0..203a085bcd 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -276,6 +276,7 @@ the user's target storage device rather than on the RAM disk." (define %configuration-template-service (service configuration-template-service-type #t)) + (define %nscd-minimal-caches ;; Minimal in-memory caching policy for nscd. (list (nscd-cache (database 'hosts) @@ -295,21 +296,18 @@ the user's target storage device rather than on the RAM disk." ;; support Kernel Mode Setting. Otherwise kmscon is missing /dev/fb0. (define (uvesafb-shepherd-service _) (list (shepherd-service - (documentation "Load uvesafb.") + (documentation "Load the uvesafb kernel module.") (provision '(uvesafb)) (requirement '(file-systems)) - (start (with-imported-modules (source-module-closure '((guix utils))) - #~(begin - (use-modules (guix utils)) - (lambda () - ;; uvesafb is only supported on x86 and x86_64. - (if (member (%current-system) - '("x86_64-linux" "i686-linux")) - (invoke #+(file-append kmod "/bin/modprobe") - "uvesafb" - (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768") - #t))))) + (start #~(lambda () + ;; uvesafb is only supported on x86 and x86_64. + (or (not (and (string-suffix? "linux-gnu" %host-type) + (or (string-prefix? "x86_64" %host-type) + (string-prefix? "i686" %host-type)))) + (invoke #+(file-append kmod "/bin/modprobe") + "uvesafb" + (string-append "v86d=" #$v86d "/sbin/v86d") + "mode_option=1024x768")))) (respawn? #f) (one-shot? #t)))) @@ -319,11 +317,10 @@ the user's target storage device rather than on the RAM disk." (extensions (list (service-extension shepherd-root-service-type uvesafb-shepherd-service))) + (description + "Load the @code{uvesafb} kernel module with the right options.") (default-value #t))) -(define %uvesafb-service - (service uvesafb-service-type)) - (define %installation-services ;; List of services of the installation system. (let ((motd (plain-file "motd" " @@ -451,7 +448,7 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI ;; installer. Some may also need a kernel parameter like nomodeset ;; or vga=793, but we leave that for the user to specify in GRUB. - %uvesafb-service))) + (service uvesafb-service-type)))) (define %issue ;; Greeting. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 11 17:12:33 2020 Received: (at 40538) by debbugs.gnu.org; 11 Apr 2020 21:12:33 +0000 Received: from localhost ([127.0.0.1]:57155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNNQW-0005mi-QP for submit@debbugs.gnu.org; Sat, 11 Apr 2020 17:12:33 -0400 Received: from flashner.co.il ([178.62.234.194]:46332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNNQU-0005mW-VF for 40538@debbugs.gnu.org; Sat, 11 Apr 2020 17:12:31 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id 2E13E4034D; Sat, 11 Apr 2020 21:12:25 +0000 (UTC) Date: Sun, 12 Apr 2020 00:11:52 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200411211152.GA31526@E5400> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <874ktpspr5.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: "pelzflorian \(Florian Pelz\)" , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 11, 2020 at 10:59:10PM +0200, Ludovic Court=C3=A8s wrote: > Hi Florian, >=20 > "pelzflorian (Florian Pelz)" skribis: >=20 > > Please consider the attached patch. I chose to go without > > kernel-module-loader-service (only copying its requirements field) > > because I do not know how to conditionally extend or start another > > Shepherd service from an activation snippet. > > > > I tested it on QEMU with and without nomodeset. With a previous Guix > > System install image, it stayed black when adding a nomodeset kernel > > parameter. I will test again on real hardware now, but previous > > testing of uvesafb-enabled installer images proved successful unlike > > non-uvesafb images. >=20 > Great. >=20 > > From 85a95ce758384979a0aae3bc9065197c74862b4b Mon Sep 17 00:00:00 2001 > > From: Florian Pelz > > Date: Sat, 11 Apr 2020 18:56:37 +0200 > > Subject: [PATCH] installer: Load uvesafb kernel module. > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=3DUTF-8 > > Content-Transfer-Encoding: 8bit > > > > Fixes . > > > > Machines without Kernel Mode Setting (those with many old and current A= MD > > GPUs, SiS GPUs, =E2=80=A6) need uvesafb to show the GUI installer. Som= e may also need > > a kernel parameter like nomodeset or vga=3D793, but we leave that for t= he user > > to specify in GRUB. > > > > * gnu/system/install.scm (uvesafb-shepherd-service): New procedure. > > (uvesafb-service-type): New variable. > > (%uvesafb-service): New variable. > > (%installation-services): Add it. >=20 > I made the following adjustments. >=20 > I also confirmed that everything goes well in QEMU, but obviously we=E2= =80=99ll > have to test on hardware. >=20 > Let=E2=80=99s publish an RC2 tomorrow so we can get feedback. >=20 > Thank you! >=20 > Ludo=E2=80=99. >=20 > diff --git a/gnu/system/install.scm b/gnu/system/install.scm > index 73a013bed0..203a085bcd 100644 > --- a/gnu/system/install.scm > +++ b/gnu/system/install.scm > @@ -276,6 +276,7 @@ the user's target storage device rather than on the R= AM disk." > (define %configuration-template-service > (service configuration-template-service-type #t)) > =20 > + > (define %nscd-minimal-caches > ;; Minimal in-memory caching policy for nscd. > (list (nscd-cache (database 'hosts) > @@ -295,21 +296,18 @@ the user's target storage device rather than on the= RAM disk." > ;; support Kernel Mode Setting. Otherwise kmscon is missing /dev/fb0. > (define (uvesafb-shepherd-service _) > (list (shepherd-service > - (documentation "Load uvesafb.") > + (documentation "Load the uvesafb kernel module.") > (provision '(uvesafb)) > (requirement '(file-systems)) > - (start (with-imported-modules (source-module-closure '((guix ut= ils))) > - #~(begin > - (use-modules (guix utils)) > - (lambda () > - ;; uvesafb is only supported on x86 and x86_64. > - (if (member (%current-system) > - '("x86_64-linux" "i686-linux")) > - (invoke #+(file-append kmod "/bin/modprobe") > - "uvesafb" > - (string-append "v86d=3D" #$v86d "/sb= in/v86d") > - "mode_option=3D1024x768") > - #t))))) > + (start #~(lambda () > + ;; uvesafb is only supported on x86 and x86_64. > + (or (not (and (string-suffix? "linux-gnu" %host-type) > + (or (string-prefix? "x86_64" %host-typ= e) > + (string-prefix? "i686" %host-type)= ))) > + (invoke #+(file-append kmod "/bin/modprobe") > + "uvesafb" > + (string-append "v86d=3D" #$v86d "/sbin/v= 86d") > + "mode_option=3D1024x768")))) > (respawn? #f) > (one-shot? #t)))) You don't need both of these lines. If it's a one-shot service then it shouldn't respawn when it finishes, just when something else needs it again. > =20 > @@ -319,11 +317,10 @@ the user's target storage device rather than on the= RAM disk." > (extensions > (list (service-extension shepherd-root-service-type > uvesafb-shepherd-service))) > + (description > + "Load the @code{uvesafb} kernel module with the right options.") > (default-value #t))) > =20 > -(define %uvesafb-service > - (service uvesafb-service-type)) > - > (define %installation-services > ;; List of services of the installation system. > (let ((motd (plain-file "motd" " > @@ -451,7 +448,7 @@ Access documentation at any time by pressing Alt-F2.\= x1b[0m > ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the G= UI > ;; installer. Some may also need a kernel parameter like nomo= deset > ;; or vga=3D793, but we leave that for the user to specify in = GRUB. > - %uvesafb-service))) > + (service uvesafb-service-type)))) > =20 > (define %issue > ;; Greeting. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6SMpgACgkQQarn3Mo9 g1FBaA//cBfFlKIjiznklc9G865KilI1MPPh0zM0TuPi8n+uX7SKWPT4IoShLs9e QKM/G5Z9K7eTP14/DMSHBKZ3GsOLTzu2/B6O6D+jBF6OgDSOa40tG/yNiHiyOyyw jerfgThf0HmL1dz9XjyCrlzdT47UuArkJYVOpXbIVLmpHb3390ZS2jgddzF2u8So 5gXTQSiIAta+KGvTjgjSWrnhUnJzKneOpfUSkGLbcJaxmsxJFs8BRYSIXhB/0NGV ol1cRr00+20v1pQCuVT4wwaH2b2Y5EqLa8Hhvt/Hk920I0stEITA87cg7NcQKvBb TLu3G6KnjNK6QRKyEwOKCtv4Vm5nKeXl69gwD5xZePFTZMzu68pTuvfYd3DnGByp XwUY8nm76+5gTW1w/GidwFe2Mt+WfErURyMg4CMbBLyRSI9GquNCPhhB1O2VEy6Q a9o/UUg0XLRlfSW3KVOrQ7kjSq4kjUr4VOo9Rg3E6FeLTOt0I3fRNndG5q7y/8Ic SIPlZg4e4c94b0MSylQZmGMqSGWUMg7IeYPS92bNXfAWOBxi3faGTnk/QArARgtP 5yy0xk/dYd3N8SaYmZpmr8mC8GD+OC0EXL0ZEay/lGznIS6N4S/9z9fDPFT18nkP G9NFTuu1R1k27uDcvFt5YGj+muUhMHmKsJGVnsAe+SpSmBi3f+g= =fCAL -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 02:37:25 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 06:37:25 +0000 Received: from localhost ([127.0.0.1]:57319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNWFA-0004ca-S8 for submit@debbugs.gnu.org; Sun, 12 Apr 2020 02:37:25 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:34892 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNWF6-0004cP-3F for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 02:37:22 -0400 Received: from pps.filterd (localhost.localdomain [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 03C6Z5KI019184; Sat, 11 Apr 2020 23:37:18 -0700 X-Eon-Originating-Account: Q_iIq66EWrnFg9yk6cxMlchBC1hDI_tQ90qVsNCI_xo X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 5a81de26) id m0117124.5e67f957.336f48; Sat, 11 Apr 2020 23:37:12 -0700 X-Eon-Sig: AQMHrIJekrcYqEzqvQIAAAAD,59231b3123686ec74976c9454b823e78 X-Eip: I910Xvq7LZcMDjYcfAyelxFZC27TBKmEyVqQscl6z2s Date: Sun, 12 Apr 2020 08:37:02 +0200 From: Bengt Richter To: "pelzflorian (Florian Pelz)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412063702.GA4097@LionPure> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200410145858.cekc55kjog3eblbu@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200410145858.cekc55kjog3eblbu@pelzflorian.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-11_06:2020-04-11, 2020-04-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004120060 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 40538 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi Ludo, Florian, On +2020-04-10 16:58:58 +0200, pelzflorian (Florian Pelz) wrote: > On Fri, Apr 10, 2020 at 04:38:37PM +0200, Ludovic Courtès wrote: > > AIUI, uvesafb is needed for ksmcon (or presumably X11) to work, but it’s > > not necessary to get the standard Linux framebuffer/console running > > (indeed, you were able to ctrl-alt-f3 to get a terminal). Is this > > correct? > > Yes, all correct. Did you mean s/ksmcon/kmscon/ ? If that is a descendant of David Herrmann's work, I wonder if it wouldn't just look for /sys/class/drm/card0 and, if found, ignore /dev/fb0 and the uvesafb (along with the latter's user stuff requirements). > > > > If that’s the case, then I think it’s acceptable for now to install a > > system that lacks uvesafb. Of course X11 won’t work (right?), > > Yes, right. > Is that as absolutely right as it sounds? I had thought that some version of Wayland/weston had a back end that could run on plain /dev/fb0, and if so could provide Xwayland for X11 clients. Of course, if /sys/class/drm/card0 is available, Wayland will prefer that, and you're home free for all kinds of GUIs. > > which is > > not great, but people can hopefully address it at the console until we > > have a better fix, possibly using ‘kernel-module-configuration-service’ > > as you write. > > > > WDYT? > > I agree. > > I will try making a patch including your suggestions in a few hours. > > > > > 2. Does "modprobe.d/uvesafb.conf" work? I thought there was nothing > > taking care of creating “modprobe.d” automatically. > > I think I tested this version of the patch and it worked. One can > test on QEMU by passing nomodeset (without uvesafb the installer stays > black, I think). It also matches the description of > kernel-module-loader-service-type that was recently added to the > manual. > > Regards, > Florian > > > -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 04:36:04 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 08:36:04 +0000 Received: from localhost ([127.0.0.1]:57334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNY5z-0007Z2-QG for submit@debbugs.gnu.org; Sun, 12 Apr 2020 04:36:04 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:37800 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNY5x-0007YY-KN for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 04:36:02 -0400 Received: from pps.filterd (omta001.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 03C8XRlu027929; Sun, 12 Apr 2020 01:36:00 -0700 X-Eon-Originating-Account: 7lJc7VNA0mD94bHMu9pbxja55rgMnJSXTgNm0EHZ2sQ X-Eon-Dm: m0116953.ppops.net Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 5a81de26) id m0116953.5e67f935.336549; Sun, 12 Apr 2020 01:35:58 -0700 X-Eon-Sig: AQMHrIJektLub0BkSgIAAAAC,4b8759dd78c9b1eb8609506f6ca9d8e7 X-Eip: qgbUfbQXg0d0-G63ZvLLEaIdY6NJOxbd-48uCkjXAZg Date: Sun, 12 Apr 2020 10:35:50 +0200 From: Bengt Richter To: "pelzflorian (Florian Pelz)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412083550.GA5546@LionPure> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200410145858.cekc55kjog3eblbu@pelzflorian.localdomain> <20200412063702.GA4097@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200412063702.GA4097@LionPure> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-12_02:2020-04-11, 2020-04-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004120079 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On +2020-04-12 08:37:02 +0200, Bengt Richter wrote: > Hi Ludo, Florian, > > On +2020-04-10 16:58:58 +0200, pelzflorian (Florian Pelz) wrote: > > On Fri, Apr 10, 2020 at 04:38:37PM +0200, Ludovic Courtès wrote: > > > AIUI, uvesafb is needed for ksmcon (or presumably X11) to work, but it’s > > > not necessary to get the standard Linux framebuffer/console running > > > (indeed, you were able to ctrl-alt-f3 to get a terminal). Is this > > > correct? > > > > Yes, all correct. > > Did you mean s/ksmcon/kmscon/ ? If that is a descendant of David Herrmann's work, > I wonder if it wouldn't just look for /sys/class/drm/card0 and, if found, > ignore /dev/fb0 and the uvesafb (along with the latter's user stuff requirements). > > > > > > > > If that’s the case, then I think it’s acceptable for now to install a > > > system that lacks uvesafb. Of course X11 won’t work (right?), > > > > Yes, right. > > > > Is that as absolutely right as it sounds? > I had thought that some version of Wayland/weston had a back end that > could run on plain /dev/fb0, and if so could provide Xwayland for X11 clients. > > Of course, if /sys/class/drm/card0 is available, Wayland will prefer that, > and you're home free for all kinds of GUIs. > Sorry, forgot to add this in context: This "hello world" might suggest what you could do at a direct-to-wayland level, without involving major GUI libs at run time: https://gitlab.com/hdante/hello_wayland (it compiled and ran fine on my PureOS debian-based system, sharing display with gnome as just another wayland client, since all the GUI runs on wayland) I'm sure someone with more guile-fu than me could provide a guile wrapper to vary text and cursor etc. faster than I can. I've been meaning to do it, but time flies :) It looks to me like a way to produce a fancy UI for a small runtime by using guix to define build-time use of major graphics and font resources etc. for the run-time wayland client. > > > which is > > > not great, but people can hopefully address it at the console until we > > > have a better fix, possibly using ‘kernel-module-configuration-service’ > > > as you write. > > > > > > WDYT? > > > > I agree. > > > > I will try making a patch including your suggestions in a few hours. > > > > > > > > 2. Does "modprobe.d/uvesafb.conf" work? I thought there was nothing > > > taking care of creating “modprobe.d” automatically. > > > > I think I tested this version of the patch and it worked. One can > > test on QEMU by passing nomodeset (without uvesafb the installer stays > > black, I think). It also matches the description of > > kernel-module-loader-service-type that was recently added to the > > manual. > > > > Regards, > > Florian > > > > > > > -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 04:56:27 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 08:56:27 +0000 Received: from localhost ([127.0.0.1]:57344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNYPi-00084X-V0 for submit@debbugs.gnu.org; Sun, 12 Apr 2020 04:56:27 -0400 Received: from pelzflorian.de ([5.45.111.108]:51910 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNYPg-00084N-Mo for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 04:56:25 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 0FB1436055C; Sun, 12 Apr 2020 10:56:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586681783; bh=SXwOJWpjBCx2A5L08aIyVk651+AhFS2fbMkaMIe27lM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=PgVgvUnT80dO0W5ChDfYgdqN95+oYmUP8x1FQtimcAQEeY8CfYDt+RAz8seP1Yt30 W1161UUnfRo5EgAdIn7ev+i33J1VOwy0A+0KKCUpsVmak6cDlcS+Rb6MHjq9wIk9M5 qWjclPshsciUZ6Wlpyr6ldGrQ8aSwmk5NMsTUcT0= Date: Sun, 12 Apr 2020 10:56:21 +0200 From: "pelzflorian (Florian Pelz)" To: Bengt Richter Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412085621.5pzvrgs3rg3mvrsy@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200410145858.cekc55kjog3eblbu@pelzflorian.localdomain> <20200412063702.GA4097@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200412063702.GA4097@LionPure> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Apr 12, 2020 at 08:37:02AM +0200, Bengt Richter wrote: > Did you mean s/ksmcon/kmscon/ ? Yes. > If that is a descendant of David Herrmann's work, > I wonder if it wouldn't just look for /sys/class/drm/card0 and, if found, > ignore /dev/fb0 and the uvesafb (along with the latter's user stuff requirements). > […] > I had thought that some version of Wayland/weston had a back end that > could run on plain /dev/fb0, and if so could provide Xwayland for X11 clients. > > Of course, if /sys/class/drm/card0 is available, Wayland will prefer that, > and you're home free for all kinds of GUIs. Well only with uvesafb I get a /dev/fb0 device and with /dev/fb0 I can use xf86-video-fbdev or kmscon. It seems kmscon has multiple backends, I do not know if it can work in other ways, but by default it does not work without uvesafb. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 05:03:00 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 09:03:00 +0000 Received: from localhost ([127.0.0.1]:57348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNYW4-0008Fy-JY for submit@debbugs.gnu.org; Sun, 12 Apr 2020 05:03:00 -0400 Received: from pelzflorian.de ([5.45.111.108]:51926 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNYW3-0008Fr-FU for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 05:02:59 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 96A4E36055C; Sun, 12 Apr 2020 11:02:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586682178; bh=/Mz66a9b6MRghgLg5J9bhkwHleYYhmGGMhPCJ9ay0v8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=kZQ+LPNyqpNg5/zkA/oZszUfIDMx+MGgAtAEHIXtbN58PPGUfSeLbTj3s2tXeIVj6 xLVyIuYHlLLK+nRlHYBnDJu8VeN4Ck5VXxdBiYlX0qgyfOrIYUW7L+RAWn2TBkSq86 LGQiK+k/sMDZuZcLIZp5tCwV/fPC+APkrq1xzv/8= Date: Sun, 12 Apr 2020 11:02:57 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874ktpspr5.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, Apr 11, 2020 at 10:59:10PM +0200, Ludovic Courtès wrote: > I made the following adjustments. Thank you. I am impressed by the speed at which you fix things. > I also confirmed that everything goes well in QEMU, but obviously we’ll > have to test on hardware. > > Let’s publish an RC2 tomorrow so we can get feedback. I believe I was mistaken to write about vga=793; it seems it has the opposite effect and breaks uvesafb. Anyway that’s only comments in the patch and commit message, and it is not on master yet. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 05:23:35 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 09:23:35 +0000 Received: from localhost ([127.0.0.1]:57360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNYpy-0000KK-Pm for submit@debbugs.gnu.org; Sun, 12 Apr 2020 05:23:35 -0400 Received: from pelzflorian.de ([5.45.111.108]:51946 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNYpw-0000KC-Li for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 05:23:33 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 6EEBE36055C; Sun, 12 Apr 2020 11:23:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586683411; bh=9QEb1B+4KQAx/UZqZp9lhXUVi/1wilkEBoUQlZZH+4s=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=kp+kh4FfosPdTGZJuOpRbrIVm68X/XHyAyyLJ2EXB7cy2aC7mdu7jK3y5nQCMoP4n 11mEuWn9/n2FZA2+73z3E3E9wDHqVbJ+WifuoxsiJVOMSHgtmKuAlcjIOkLuTH+rs6 VMB+3BtPa7/TA2mmbBsQ/gJHNCniuhEfGLA/y8BY= Date: Sun, 12 Apr 2020 11:23:30 +0200 From: "pelzflorian (Florian Pelz)" To: Efraim Flashner Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412092330.4tgmyv24wbeaopnc@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200411211152.GA31526@E5400> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="omaf2nlt6spy2zfw" Content-Disposition: inline In-Reply-To: <20200411211152.GA31526@E5400> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --omaf2nlt6spy2zfw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Apr 12, 2020 at 12:11:52AM +0300, Efraim Flashner wrote: > > (respawn? #f) > > (one-shot? #t)))) > > You don't need both of these lines. If it's a one-shot service then it > shouldn't respawn when it finishes, just when something else needs it > again. Thank you. Maybe I should push the attached patch? Regards, Florian --omaf2nlt6spy2zfw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-services-kernel-module-loader-Clean-up.patch" >From e16a277d1ec1afa14dede7bac0307b12603ebebd Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Sun, 12 Apr 2020 11:08:28 +0200 Subject: [PATCH] services: kernel-module-loader: Clean up. Suggested by Efraim Flashner . See . * gnu/services/linux.scm (kernel-module-loader-shepherd-service): Remove unneeded 'respawn?' field. --- gnu/services/linux.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/services/linux.scm b/gnu/services/linux.scm index 781a61973c..12934c2084 100644 --- a/gnu/services/linux.scm +++ b/gnu/services/linux.scm @@ -142,7 +142,6 @@ representation." (documentation "Load kernel modules.") (provision '(kernel-module-loader)) (requirement '(file-systems)) - (respawn? #f) (one-shot? #t) (modules `((srfi srfi-1) (srfi srfi-34) -- 2.26.0 --omaf2nlt6spy2zfw-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 07:24:05 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 11:24:06 +0000 Received: from localhost ([127.0.0.1]:57455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNaib-0003TY-Ke for submit@debbugs.gnu.org; Sun, 12 Apr 2020 07:24:05 -0400 Received: from pelzflorian.de ([5.45.111.108]:52110 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNaiZ-0003TM-Iv for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 07:24:04 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 18A7E36055C; Sun, 12 Apr 2020 13:24:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586690642; bh=xiS0jYUc5DYvBPbwjFNv+VwBdOE6LNqVjhHhoAJaej4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=P+4PXW6EelTxhvGUI47xs6Bn6O/4WGm9hJLwLL36w3nhfLRy09T84dHkPlrug5YLL I5wxxHtoMzAVe5WCraMYSSCWBd/3MLHxilHd5YuZ5OJTocveRNRx40WYjuwBc29ttV otLuJPHrD4r4SY01QR3h8vwerZqql4ByX6Qucni8= Date: Sun, 12 Apr 2020 13:24:00 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Apr 12, 2020 at 11:02:57AM +0200, pelzflorian (Florian Pelz) wrote: > I believe I was mistaken to write about vga=793; it seems it has the > opposite effect and breaks uvesafb. Anyway that’s only comments in > the patch and commit message, and it is not on master yet. All is fine vga=793 does not break uvesafb on my Acer Aspire but does not help either. Only on QEMU vga=793 broke everything. Maybe leave the patch as is. Also with uvesafb my Acer Aspire with ATI Radeon boots fine without kernel parameters. Without uvesafb the screen remains black until I switch to a console. I believe this issue can be closed? Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 08:33:40 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 12:33:40 +0000 Received: from localhost ([127.0.0.1]:57491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNbnw-0007EN-6f for submit@debbugs.gnu.org; Sun, 12 Apr 2020 08:33:40 -0400 Received: from pelzflorian.de ([5.45.111.108]:52272 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNbnu-0007EF-8Y for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 08:33:39 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id D3BB036055C; Sun, 12 Apr 2020 14:33:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586694816; bh=KtFAKz3ufq/AXX/ArN74IUeW0kIHKn2IMNnS0Xf13Xs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=XhIwFGZCs00xmun0dTU/2aLcvP/8YBzrgNI3VAWPKt19FFdr0NVt3hudr3EGaKKcG DwwJhAZ20y5NJsGDzeR2y++Y4wZNBhG7SiJ3MOuRlM245hUpqDW3LPcACfWVBKbIXg KwZ/j6LFDwFfeWbUfCiJHGbU/KQD8UzPozjqsEXk= Date: Sun, 12 Apr 2020 14:33:35 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412123335.s3bm4s4fktran6n5@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Apr 12, 2020 at 01:24:00PM +0200, pelzflorian (Florian Pelz) wrote: > Also with uvesafb my Acer Aspire with ATI Radeon boots fine without > kernel parameters. So does my Uniwill U50SI1 which previously did not work. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 10:28:34 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 14:28:34 +0000 Received: from localhost ([127.0.0.1]:58644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNdb8-0001tI-4X for submit@debbugs.gnu.org; Sun, 12 Apr 2020 10:28:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNdb2-0001sz-Vr for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 10:28:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jNdax-0000e9-NS; Sun, 12 Apr 2020 10:28:23 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54340 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jNdaw-0003uW-7T; Sun, 12 Apr 2020 10:28:23 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200411211152.GA31526@E5400> <20200412092330.4tgmyv24wbeaopnc@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 12 Apr 2020 16:28:20 +0200 In-Reply-To: <20200412092330.4tgmyv24wbeaopnc@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sun, 12 Apr 2020 11:23:30 +0200") Message-ID: <87pnccok1n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40538 Cc: Efraim Flashner , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, "pelzflorian (Florian Pelz)" skribis: > On Sun, Apr 12, 2020 at 12:11:52AM +0300, Efraim Flashner wrote: >> > (respawn? #f) >> > (one-shot? #t)))) >>=20 >> You don't need both of these lines. If it's a one-shot service then it >> shouldn't respawn when it finishes, just when something else needs it >> again. > > Thank you. Maybe I should push the attached patch? > > Regards, > Florian > > From e16a277d1ec1afa14dede7bac0307b12603ebebd Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Sun, 12 Apr 2020 11:08:28 +0200 > Subject: [PATCH] services: kernel-module-loader: Clean up. > > Suggested by Efraim Flashner . > See . > > * gnu/services/linux.scm (kernel-module-loader-shepherd-service): > Remove unneeded 'respawn?' field. Yes, you can push it to =E2=80=98version-1.1.0=E2=80=99, which we=E2=80=99l= l eventually merge to =E2=80=98master=E2=80=99. Also feel free to adjust the comment about vga=3D there. Thanks for testing on your machines! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 10:48:45 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 14:48:45 +0000 Received: from localhost ([127.0.0.1]:58660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNduf-0002Os-Ja for submit@debbugs.gnu.org; Sun, 12 Apr 2020 10:48:45 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:50554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNdue-0002Oe-0f for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 10:48:44 -0400 Received: by mail-wm1-f67.google.com with SMTP id x25so7241258wmc.0 for <40538@debbugs.gnu.org>; Sun, 12 Apr 2020 07:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=At4p0v8u32HI+LFShzjmQEs0z5BhSHVmw1288nsLwds=; b=KcffDrs9/VHDnI4dg4+97yyMXbWypuj2S9BxtsE6RQndkVNGKmCJzgxtnSsbGhEsDE EVUdhXHNFmJLR+6J3Jx+mhvhr4QIUO3SDm/GZWJfi8DwU4kossOOgDPk9nQF9VZ0sJHy 04hucxAtNzowux56f8HfzH1uExUdP/vyJWB8+7gRzBZVVQaGqmpBnEslERf5OBfX4TsJ p9QhAiEYnKkNRNutNc5+BITTkxVkpWv8AFq2zdVzE2/kH0JbGpyWTYACUE8YUO5PwB8e wHwqiqAB73C5tr2Wxo88q1SKOYBkCPhIbaiJUU4JXyZiKzFrBhtfnIRC1mPZL8cS4xoB ZU1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=At4p0v8u32HI+LFShzjmQEs0z5BhSHVmw1288nsLwds=; b=eSqpdJzwt6DasNe4Mley98Dz7+GGNFVcbuGkQJbqwXAAuYDonp+4LIfLhjLwPt/++m 4or0Yw5sOfeYYqelR6fXOxqUK3B3KmjP6eNDdang8Erkggl5UaO+SFXO2Qe3aISJV0c+ mgtf+gfRKQdhVNG0Sw9AieMOdoFUAnrKL9+7/FnosxAMscpL5mJqOSbf6H9fiiIeqkCr x8ownoKiI71+jlXYfN48K20d0LAemXjYda4/Bixu5aBzKUktj1qVqZsdfVAjJu7Ng9+M oD203vPjpVO86TV45s7dKlfBPWUGiG/OAeUdnR3U/TlTVIGno0Q9PyQDm29rw6N89k4s om3Q== X-Gm-Message-State: AGi0Pubt9L2z50BCFF9t2a5cPhODO6aDhHOqsKlMdCl03BSe2Ypj3qfa 7k/MbN+xL0RXeCNFsjd0mVX0gKeD/3Y= X-Google-Smtp-Source: APiQypL8apjX++75BjJGJy4rYANfECYHbMc+Ad39TO3QUICdkk8AfnK/UhTBRvChh6QGLX47FpWzhQ== X-Received: by 2002:a7b:cb86:: with SMTP id m6mr13723610wmi.64.1586702917970; Sun, 12 Apr 2020 07:48:37 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:bc45:32:8738:64bc]) by smtp.gmail.com with ESMTPSA id l185sm10807355wml.44.2020.04.12.07.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Apr 2020 07:48:37 -0700 (PDT) From: Mathieu Othacehe To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> Date: Sun, 12 Apr 2020 16:48:36 +0200 Message-ID: <874ktooj3v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 40538 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Hey! > All is fine vga=793 does not break uvesafb on my Acer Aspire but does > not help either. Only on QEMU vga=793 broke everything. Maybe leave > the patch as is. Thanks for your patch. I tried briefly 1.1.0-rc2 on some hardware of mine. On three somehow recent laptops, everything still works fine but v86d segfaults without giving much information. The 'dmesg' output looks like: --8<---------------cut here---------------start------------->8--- v86d[371]: segfault at xxxxx. uvesafb: Getting VBE info block failed (eax=0x4f00, err=1) uvesafb: vbe_init() failed with -22 uvesafb: probe of uvesafb.0 failed with error -22 --8<---------------cut here---------------end--------------->8--- On a really old Intel machine, I have a complete black screen on all TTY but that was maybe the case on older Guix System revisions and I would need to do more investigations. Mathieu From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 11:31:00 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 15:31:00 +0000 Received: from localhost ([127.0.0.1]:58677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNeZY-0003Qe-CG for submit@debbugs.gnu.org; Sun, 12 Apr 2020 11:31:00 -0400 Received: from pelzflorian.de ([5.45.111.108]:52490 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNeZV-0003QT-HE for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 11:30:59 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id A750536055C; Sun, 12 Apr 2020 17:30:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586705453; bh=B/9zrQBHUuqYsd0MOG1ztJiZlN000C7MR9leJe5y2lU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=yQ2cKX8cXY9/HT0ETFRnRj2oXgcXp4siT+5ZQG9fSefsFpQK/aY3h81OpuYN4hut1 sDpWx/oR2He68MfrI9hcLxBSoYo8i9mpa8FgDLwN+1E52T7IZkJ17zFUFLCFr+JTJR Ug2EhAh9h2sMHmSI01sC13sdqvwkp36kMIDqRH84= Date: Sun, 12 Apr 2020 17:30:52 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874ktooj3v.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Apr 12, 2020 at 04:48:36PM +0200, Mathieu Othacehe wrote: > Thanks for your patch. I tried briefly 1.1.0-rc2 on some hardware of > mine. On three somehow recent laptops, everything still works fine but > v86d segfaults without giving much information. > > The 'dmesg' output looks like: > > --8<---------------cut here---------------start------------->8--- > v86d[371]: segfault at xxxxx. > uvesafb: Getting VBE info block failed (eax=0x4f00, err=1) > uvesafb: vbe_init() failed with -22 > uvesafb: probe of uvesafb.0 failed with error -22 > --8<---------------cut here---------------end--------------->8--- > Even though I do not remember a segfault, I believe these errors come when another driver has already reserved the memory that uvesafb wants. If the other driver already works fine and that is the only error, maybe we can just ignore the uvesafb error. > On a really old Intel machine, I have a complete black screen on all TTY > but that was maybe the case on older Guix System revisions and I would > need to do more investigations. > > Mathieu Please try adding nomodeset to the kernel parameters. I hope this makes the Intel machine work fine. Thank you for your feedback and all your work! Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 13:48:35 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 17:48:35 +0000 Received: from localhost ([127.0.0.1]:58809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNgig-0006sK-P4 for submit@debbugs.gnu.org; Sun, 12 Apr 2020 13:48:35 -0400 Received: from imta-36.everyone.net ([216.200.145.36]:59350 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNgie-0006sC-Vm for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 13:48:33 -0400 Received: from pps.filterd (m0004960.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 03CHmMYh000521; Sun, 12 Apr 2020 10:48:31 -0700 X-Eon-Originating-Account: UCtamLsHlV65HAwJKPLNEjmczG4rd3ojwd0EJUOYXYY X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 5a81de26) id m0117124.5e67f957.34f3c6; Sun, 12 Apr 2020 10:48:29 -0700 X-Eon-Sig: AQMHrIJek1RtwQqqPAIAAAAD,ec41fe432d4aaec1644e057e4a7adb13 X-Eip: QKMNvZlnTC5zN6BDjkBulXGRvwEgOsb2NDoR6SdeR38 Date: Sun, 12 Apr 2020 19:48:19 +0200 From: Bengt Richter To: "pelzflorian (Florian Pelz)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412174819.GA10140@LionPure> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-12_06:2020-04-11, 2020-04-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004120164 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 40538 Cc: Mathieu Othacehe , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Hi Florian, On +2020-04-12 17:30:52 +0200, pelzflorian (Florian Pelz) wrote: > On Sun, Apr 12, 2020 at 04:48:36PM +0200, Mathieu Othacehe wrote: > > Thanks for your patch. I tried briefly 1.1.0-rc2 on some hardware of > > mine. On three somehow recent laptops, everything still works fine but > > v86d segfaults without giving much information. > > > > The 'dmesg' output looks like: > > > > --8<---------------cut here---------------start------------->8--- > > v86d[371]: segfault at xxxxx. > > uvesafb: Getting VBE info block failed (eax=0x4f00, err=1) > > uvesafb: vbe_init() failed with -22 > > uvesafb: probe of uvesafb.0 failed with error -22 > > --8<---------------cut here---------------end--------------->8--- > > > > Even though I do not remember a segfault, I believe these errors come > when another driver has already reserved the memory that uvesafb > wants. If the other driver already works fine and that is the only > error, maybe we can just ignore the uvesafb error. > > Could it be segfaulting trying to access a missing v86d ? (if so maybe you could detect its absence before it segfaults and issue a hint?) Looking at https://www.kernel.org/doc/html/latest/fb/uvesafb.html I see (hand-wrapped, and boxing what I thought might be extra interesting): --8<---------------cut here---------------start------------->8--- Unlike other drivers, uvesafb makes use of a userspace helper called v86d. v86d is used to run the x86 Video BIOS code in a simulated and controlled environment. This allows uvesafb to function on arches other than x86. Check the v86d documentation for a list of currently supported arches. v86d source code can be downloaded from the following website: https://github.com/mjanusz/v86d Please refer to the v86d documentation for detailed configuration and installation instructions. ┌───────────────────────────────────────────────────────────────┐ │ Note that the v86d userspace helper has to be available │ │ at all times in order for uvesafb to work properly. │ │ If you want to use uvesafb during early boot, │ │ you will have to include v86d into an initramfs image, │ │ and either compile it into the kernel or use it as an initrd. │ └───────────────────────────────────────────────────────────────┘ --8<---------------cut here---------------end--------------->8--- Also there are various options for compiling in vs modprobe vs kernel params etc mentioned in https://www.kernel.org/doc/html/latest/fb/uvesafb.html so I imagine v86d could be missing for various reasons in a particular run-time context? > > > On a really old Intel machine, I have a complete black screen on all TTY > > but that was maybe the case on older Guix System revisions and I would > > need to do more investigations. > > > > Mathieu > > Please try adding nomodeset to the kernel parameters. I hope this > makes the Intel machine work fine. > > Thank you for your feedback and all your work! > > Regards, > Florian > -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 14:11:10 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 18:11:10 +0000 Received: from localhost ([127.0.0.1]:58827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNh4X-0007QY-Ez for submit@debbugs.gnu.org; Sun, 12 Apr 2020 14:11:10 -0400 Received: from pelzflorian.de ([5.45.111.108]:52808 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNh4S-0007QL-Vo for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 14:11:08 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 723E036055C; Sun, 12 Apr 2020 20:11:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586715062; bh=ePDc5Gs3pj9NAf0vexzphlhJBvTrEqDzysjN+XliitU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=woishm7/CTtb30NyG0QKdfa0ee5QAg6K/A8wd1CQNXtiYhCvYdbJlK3OfYzp4WFKj EGCjXISZKlG+UWs5WrHxe7nmfnUfwXL0eiG6Avm/Y1Bkr4rHD3BXThVI9ZQ21bGlcd zPKMXCvEmgRecmSGwlBPrlwKwg+pxQZrmVUBd6LE= Date: Sun, 12 Apr 2020 20:11:01 +0200 From: "pelzflorian (Florian Pelz)" To: Bengt Richter Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412181101.tfhtbyviwqbwsaqg@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <20200412174819.GA10140@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200412174819.GA10140@LionPure> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Mathieu Othacehe , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Apr 12, 2020 at 07:48:19PM +0200, Bengt Richter wrote: > Could it be segfaulting trying to access a missing v86d ? The code for loading the uvesafb module looks like this: (invoke #+(file-append kmod "/bin/modprobe") "uvesafb" (string-append "v86d=" #$v86d "/sbin/v86d") "mode_option=1024x768")))) So it should call modprobe uvesafb v86d=/gnu/store/…-v86d-…/sbin/v86d mode_option=1024x768 and it should be impossible for v86d to be missing. On x86_64 and i686 at least, and on other architectures uvesafb will not be loaded. Then again, if the GUI works because of other drivers already, we need not fix it, I think. Also I still believe the error comes because other drivers already reserve needed memory -- passing nomodeset should make sure they don’t. Except if vesafb or xf86-video-vesa is loaded, which is not the case in the installer. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 12 14:33:59 2020 Received: (at 40538) by debbugs.gnu.org; 12 Apr 2020 18:33:59 +0000 Received: from localhost ([127.0.0.1]:58855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNhQd-00080V-Bn for submit@debbugs.gnu.org; Sun, 12 Apr 2020 14:33:59 -0400 Received: from pelzflorian.de ([5.45.111.108]:52872 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNhQc-00080O-Ep for 40538@debbugs.gnu.org; Sun, 12 Apr 2020 14:33:58 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5322136055C; Sun, 12 Apr 2020 20:33:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586716437; bh=4JxsbuESJjRAW/bQM1r1p28B7t1QTYHFMaSAFePs5L4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=3N58fPG2JCeh2/mouXDlElApRThHSw1rcvUvhPFfSwd/qltRjZSW1rkUTrFt7exC1 AAWeGh+nPhNFyQvuQYJM4HjjmuHuHjJrKZ5P7HAqpWUi27hcfEIlxcHqYZueRMWcbj DWn/XVYJpZz2QnZJrx7JyDbSOSQfrd+CJ1tSRAhg= Date: Sun, 12 Apr 2020 20:33:56 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200412183356.atvlducto244zoh2@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200411211152.GA31526@E5400> <20200412092330.4tgmyv24wbeaopnc@pelzflorian.localdomain> <87pnccok1n.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87pnccok1n.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Efraim Flashner , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Apr 12, 2020 at 04:28:20PM +0200, Ludovic Courtès wrote: > Yes, you can push it to ‘version-1.1.0’, which we’ll eventually merge to > ‘master’. > Done. > Also feel free to adjust the comment about vga= there. > > Thanks for testing on your machines! I will leave the comment as is. Sorry for the noise. (The mechanics behind vga= appear complicated, I’ve read of rumors it may help some people and passing it is only sometimes harmful.) Thank you for your amazing work! Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 01:00:42 2020 Received: (at 40538) by debbugs.gnu.org; 13 Apr 2020 05:00:42 +0000 Received: from localhost ([127.0.0.1]:59113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNrD8-0006Ch-HE for submit@debbugs.gnu.org; Mon, 13 Apr 2020 01:00:42 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:40530 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNrD6-0006CY-J0 for 40538@debbugs.gnu.org; Mon, 13 Apr 2020 01:00:41 -0400 Received: from pps.filterd (omta001.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 03D4w1Un021474; Sun, 12 Apr 2020 22:00:39 -0700 X-Eon-Originating-Account: T_h6cnI_9R3IP_xRmK_JX5slRTGApB7uHvxOHYJkAUQ X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 5a81d682) id m0116787.5e67f91f.3c4a0b; Sun, 12 Apr 2020 22:00:37 -0700 X-Eon-Sig: AQMHrIJek/H1LNUbeQIAAAAD,0d386149e43065e8fb25197407a3e4a5 X-Eip: Ku_uGvyI3Xv140xBKbKjpWJm0I5VVOyPs-nQmE1-7Ds Date: Mon, 13 Apr 2020 07:00:26 +0200 From: Bengt Richter To: "pelzflorian (Florian Pelz)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200413050026.GA17633@LionPure> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <20200412174819.GA10140@LionPure> <20200412181101.tfhtbyviwqbwsaqg@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200412181101.tfhtbyviwqbwsaqg@pelzflorian.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-13_01:2020-04-12, 2020-04-13 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004130045 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 40538 Cc: Mathieu Othacehe , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Hi Florian, On +2020-04-12 20:11:01 +0200, pelzflorian (Florian Pelz) wrote: > On Sun, Apr 12, 2020 at 07:48:19PM +0200, Bengt Richter wrote: > > Could it be segfaulting trying to access a missing v86d ? > > The code for loading the uvesafb module looks like this: > > (invoke #+(file-append kmod "/bin/modprobe") > "uvesafb" > (string-append "v86d=" #$v86d "/sbin/v86d") > "mode_option=1024x768")))) > > So it should call > > modprobe uvesafb v86d=/gnu/store/…-v86d-…/sbin/v86d mode_option=1024x768 > Thanks for explaining. I hope others benefit too :) > and it should be impossible for v86d to be missing. On x86_64 and Hm, could it be there in /gnu/store and have been built so it's a wrong version somehow for the running kernel? That's the only bug possibility I can think of now ;-) > i686 at least, and on other architectures uvesafb will not be loaded. > > Then again, if the GUI works because of other drivers already, we need > not fix it, I think. Also I still believe the error comes because > other drivers already reserve needed memory -- passing nomodeset > should make sure they don’t. Except if vesafb or xf86-video-vesa is > loaded, which is not the case in the installer. sudo dmesg|grep -i fb in that context doesn't show anything weird? Oh, well. Sorry I don't seem to be able to accept a mystery sigsev ;-) Could it be wrapped and caught in a catch? > > Regards, > Florian -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 01:37:31 2020 Received: (at 40538) by debbugs.gnu.org; 13 Apr 2020 05:37:31 +0000 Received: from localhost ([127.0.0.1]:59133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNrmk-0007Pp-SE for submit@debbugs.gnu.org; Mon, 13 Apr 2020 01:37:31 -0400 Received: from pelzflorian.de ([5.45.111.108]:53532 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNrmi-0007Pg-DX for 40538@debbugs.gnu.org; Mon, 13 Apr 2020 01:37:29 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id A32FA36055C; Mon, 13 Apr 2020 07:37:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586756246; bh=lyq3EiLuPbsBgMJruTtG1BZMvL7dPLt3z+k0mPkHpPo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dYYOUw/9QF7nJN+FqEqCmGc/ASvVBNiHzLR+wLr6GrcYwFyR0yEGIiUlNr0vrWpEs 0rV4PaE14R/PQgTdJB76aBtKS0U65EGnOtUCCeMCTup2XjRPl2LZ5eNRt0+tKP1E2M Ie5OzkFgK4u0VqcQggaJlhFRfWQxMvQ+KNiJvbpA= Date: Mon, 13 Apr 2020 07:37:25 +0200 From: "pelzflorian (Florian Pelz)" To: Bengt Richter Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200413053725.5fwe57hyz7vkhlbq@pelzflorian.localdomain> References: <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <20200412174819.GA10140@LionPure> <20200412181101.tfhtbyviwqbwsaqg@pelzflorian.localdomain> <20200413050026.GA17633@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200413050026.GA17633@LionPure> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Mathieu Othacehe , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Apr 13, 2020 at 07:00:26AM +0200, Bengt Richter wrote: > Sorry I don't seem to be able to accept a mystery sigsev ;-) Thank you for your debugging help. Of course you are right that sigsegv is not good error handling. I can look later what might be the error in /sbin/v86d. But now I am busy with other bugs. > Hm, could it be there in /gnu/store and have been built so it's a wrong > version somehow for the running kernel? That's the only bug possibility > I can think of now ;-) The latest commits to https://github.com/mjanusz/v86d are from 2014. However we patch v86d to use a more recent x86emu. Maybe there is some incompatibility. > sudo dmesg|grep -i fb in that context doesn't show anything weird? > > Oh, well. > Could it be wrapped and caught in a catch? Probably yes. I will get back to this bug later, feel free to change and catch things in the meantime. Maybe the sigsegv even shows up in QEMU? Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 03:25:02 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 07:25:02 +0000 Received: from localhost ([127.0.0.1]:33126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOFwL-00024R-UK for submit@debbugs.gnu.org; Tue, 14 Apr 2020 03:25:02 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:44363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOFwJ-00023u-Lw for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 03:25:00 -0400 Received: by mail-wr1-f52.google.com with SMTP id d17so6175240wrg.11 for <40538@debbugs.gnu.org>; Tue, 14 Apr 2020 00:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=E69M9KRJa1+UQ6yXitj47KLZsM5Msdh41lMlNjLfbn4=; b=PxJyQlayrFBgA5ISyLqcaXcjWlkpusLOvE3UDPaM8eiJ6hHxKneAEFtj1gDK7gpSiV R+0QigHGGf4yneJcrEMHV2erWdGqgAgp/01gYy8sEPG17jjZvV5KxWkPF6g0Jt0B0NBY fee8183lSDoPMZyHS6OP92PnUaz/PaSGtPoBfKAUns6UmozSotmBNQNwwWZdjSDmFsXW 4Cxf+6vzCNTkOqslburviKjOA7Z2x/04QkUkekCzq/WHoudR8BxG23ou3zvgcZ4P3LvP b0vxMW1/zIu4rMcCM2PJJFqTEkvUI1YfsfCLHCgKRrikKJ/5CI7A++KZVa4q/EMOaNNf LYhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=E69M9KRJa1+UQ6yXitj47KLZsM5Msdh41lMlNjLfbn4=; b=EyDuf+BYg058bJbnw4/KCpF8H6oPh0eSkEMKDRCVJSDzmjC/bLOHIKv7eALuJZm6FK uSAXrLkiPv2vl9GmDxRat62lRydpUaoUPGPy93ejv4tsX+OsQk9P1jljP5912tbLcZHL 8pvdYt9Yi8jjYDsa1JBnGNkzDYNsL8kiklRfnSWbeeUuItYUCd2xv5F7g8plMdzEjQ5c 5dWvnr1JCJR5WHrRcW6zvPwFBq8rb/Rff1OBW9dTdqR+xLMemInjVFJtgRceqN6lVlsM 8ZeXg28yX78ZL+YK3Q0C1EKbDhyQhnii/1pEUKGL3bSMTDxU5dQskLPXlzuOOVk1kVDn ZOVA== X-Gm-Message-State: AGi0PuY8Tc8xIvZe2UxN+FSTCzrAGicZQJpcVR8HuUPJAEc+dZC5D29a o2vff3f1fbqY7YYPCInYZcyf+OtfLmU= X-Google-Smtp-Source: APiQypJejbrnXlh/BOKRnZ0qhX0Fb68mURKZzqcKD3rJ2hLRuLZ/1eu8ugRtt2xcBiy78ndRynzxXQ== X-Received: by 2002:adf:c402:: with SMTP id v2mr2189754wrf.281.1586849093660; Tue, 14 Apr 2020 00:24:53 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:d079:6c83:cbcf:d57d]) by smtp.gmail.com with ESMTPSA id h13sm6825174wrs.22.2020.04.14.00.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 00:24:52 -0700 (PDT) From: Mathieu Othacehe To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> Date: Tue, 14 Apr 2020 09:24:52 +0200 In-Reply-To: <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sun, 12 Apr 2020 17:30:52 +0200") Message-ID: <871roqlebf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 40538 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Hello Florian, > Please try adding nomodeset to the kernel parameters. I hope this > makes the Intel machine work fine. Yes it works fine with nomodeset! Do you think we can do something about it, besides adding a few lines in the documentation to warn that old hardware may require this option? Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 04:16:57 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 08:16:57 +0000 Received: from localhost ([127.0.0.1]:33198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOGkb-0003PT-E4 for submit@debbugs.gnu.org; Tue, 14 Apr 2020 04:16:57 -0400 Received: from pelzflorian.de ([5.45.111.108]:56028 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOGkZ-0003PK-MF for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 04:16:56 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 4A10F36055C; Tue, 14 Apr 2020 10:16:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586852214; bh=1RR17eHKy1RDZYcjvxk6Yz3RY3gIvGL838Bm2uFZ840=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=aZYT8Yw+VQbU/3xJsc987/BHvegk4PFb+C/GDfFFeWL2UeHQgpIeiA2PWzZaVtzzx 3tbIL63R0AE3ddTNM/YEydSMhTGQlq/n9sL5gXFIIsSDHXmTG84nm7MMvk5yAOD51r Z/IMwRZ7TorwIcLg7GeNcMfBCh2ELbEra/cpjoro= Date: Tue, 14 Apr 2020 10:16:52 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <871roqlebf.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Apr 14, 2020 at 09:24:52AM +0200, Mathieu Othacehe wrote: > > Hello Florian, > > > Please try adding nomodeset to the kernel parameters. I hope this > > makes the Intel machine work fine. > > Yes it works fine with nomodeset! Do you think we can do something about > it, besides adding a few lines in the documentation to warn that old > hardware may require this option? > > Thanks, > > Mathieu That is good to hear! The options I know of are: 1) Make the loading of the uvesafb kernel module by the installer conditional. For your GPU, don’t load uvesafb, if before it worked without. 2) Add modprobe.blacklist=i915 to the default kernel parameters (or whatever the kernel module for this GPU is), so this kind of GPU always only uses uvesafb. 3) Add nomodeset to the default kernel parameters for the installer, so all GPUs always use uvesafb. I do not know if uvesafb works on all display technologies though. uvesafb certainly is not supported on ARM (though maybe it works; the README of uvesafb’s helper program v86d just says it is not supported). Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 04:34:38 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 08:34:38 +0000 Received: from localhost ([127.0.0.1]:33213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOH1i-0003tC-EO for submit@debbugs.gnu.org; Tue, 14 Apr 2020 04:34:38 -0400 Received: from pelzflorian.de ([5.45.111.108]:56084 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOH1g-0003t1-KB for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 04:34:37 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 2F21C36055C; Tue, 14 Apr 2020 10:34:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586853275; bh=bkE+R8FYdzTy+q/Qcod/gh6e/ZJyXiCKfPfthuroirI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=bO7MG6EHAG8GmOn9Vz6ZBcjAzoDFrPpma18wSVsa3ESEoEra2r455ZYjilYWqxGmP kV7Oe/Yns5AVxJgh6iyo9ldT1lldNp+9amvdTDdQql6dDIGP+pLDRFb9cwxmbrrSpZ hIVPuzU/G4RSXcpwVX8WIyD9Zb1rhKulscH3d2Ng= Date: Tue, 14 Apr 2020 10:34:34 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200414083434.jwx4p5psgvqtxhzp@pelzflorian.localdomain> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Apr 14, 2020 at 10:16:52AM +0200, pelzflorian (Florian Pelz) wrote: > 1) Make the loading of the uvesafb kernel module by the installer > conditional. For your GPU, don’t load uvesafb, if before it worked > without. P.S. I would suppose that a lot of cases and lspci parsing might be needed to do that for various AMD GPUs and Intel GPUs. Also the Nvidia GPU in my Macbook requires nomodeset only if booted from DVD. :/ But I think my Macbook GPU is semi-broken anyway; because I see errors from nouveau, I generally use fbdev. I also need an older kernel for GDM to log in, even though GDM itself runs fine. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 04:57:31 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 08:57:32 +0000 Received: from localhost ([127.0.0.1]:33222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOHNr-0004QM-OQ for submit@debbugs.gnu.org; Tue, 14 Apr 2020 04:57:31 -0400 Received: from pelzflorian.de ([5.45.111.108]:56192 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOHNp-0004QE-V8 for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 04:57:30 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 638B236055C; Tue, 14 Apr 2020 10:57:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586854648; bh=Onf7mjaya6YK39jIuZHRQ2bTGJBokUBRuKdZ0WXC/Lc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=R2mFXsMBDHcyggkuBCfspShiAGwod7nWmWNws3lmen6R57xyDi0VqcqgcKDjSIUlI nSrGtLAAifxRKYaIxMLdgTII6DJkL2+2nND3kSrAaxnrw5PQc93Dflcyj/wdJ4NVra zAYFyQJV543u8Lu+NPvI5to9Ym7C4OZBbx66DF08= Date: Tue, 14 Apr 2020 10:57:27 +0200 From: "pelzflorian (Florian Pelz)" To: Bengt Richter Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200414085727.jykhlpmt46tf6udt@pelzflorian.localdomain> References: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <20200412174819.GA10140@LionPure> <20200412181101.tfhtbyviwqbwsaqg@pelzflorian.localdomain> <20200413050026.GA17633@LionPure> <20200413053725.5fwe57hyz7vkhlbq@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200413053725.5fwe57hyz7vkhlbq@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Apr 13, 2020 at 07:37:25AM +0200, pelzflorian (Florian Pelz) wrote: > Maybe the sigsegv even shows up in QEMU? Sadly QEMU shows no sigsegv. Neither does a real-hardware AMD GPU PC. I have no machine with old Intel GPU. None of my machines has SIGSEGV in v86d. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 06:09:21 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 10:09:21 +0000 Received: from localhost ([127.0.0.1]:33279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOIVN-0008Ia-Ga for submit@debbugs.gnu.org; Tue, 14 Apr 2020 06:09:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOIVM-0008IN-37 for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 06:09:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jOIVG-0005q4-L0; Tue, 14 Apr 2020 06:09:14 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57218 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jOIVG-0008WS-8X; Tue, 14 Apr 2020 06:09:14 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 14 Apr 2020 12:09:12 +0200 In-Reply-To: <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 14 Apr 2020 10:16:52 +0200") Message-ID: <87h7xmz8dz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40538 Cc: Mathieu Othacehe , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, "pelzflorian (Florian Pelz)" skribis: > That is good to hear! The options I know of are: > > 1) Make the loading of the uvesafb kernel module by the installer > conditional. For your GPU, don=E2=80=99t load uvesafb, if before it work= ed > without. > > 2) Add modprobe.blacklist=3Di915 to the default kernel parameters (or > whatever the kernel module for this GPU is), so this kind of GPU > always only uses uvesafb. > > 3) Add nomodeset to the default kernel parameters for the installer, > so all GPUs always use uvesafb. > > I do not know if uvesafb works on all display technologies though. Would there be a way to load uvesabf only on hardware where it=E2=80=99s kn= own to fix things? Or better yet, is there a way to check whether KMS is already using another driver, and to not load uvesafb in that case? Probably there=E2=80= =99s some info in /sys. > uvesafb certainly is not supported on ARM (though maybe it works; the > README of uvesafb=E2=80=99s helper program v86d just says it is not suppo= rted). Let=E2=80=99s forget about ARM, we don=E2=80=99t ship Guix System installat= ion images for ARM. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 06:28:43 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 10:28:43 +0000 Received: from localhost ([127.0.0.1]:33303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOIo7-0000Qo-52 for submit@debbugs.gnu.org; Tue, 14 Apr 2020 06:28:43 -0400 Received: from pelzflorian.de ([5.45.111.108]:56470 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOIo5-0000Qg-8u for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 06:28:41 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id C608F360566; Tue, 14 Apr 2020 12:28:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586860119; bh=/GP2TpCGRJH9hw2iOHFhvBKL69KQPp3aCdXbhbusKBs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=yxM4MoBmvVBm/D7q7UoiDyKE3u8kokrnifRiksl4KEmUfH/uE+KLW+dIK0VA9dhnY 493mCEhYTmk06GP7h8xmLsUovKqopgb0KdW/TFM2U2sQ8BZ5e+iA9ZMnJjD5TV5hNI kOTPD7+nnKjBSfjc+wzaDJ+TApXVQHgTwC3HeBPI= Date: Tue, 14 Apr 2020 12:28:38 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> References: <87tv1rv21e.fsf@gnu.org> <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> <87h7xmz8dz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h7xmz8dz.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Mathieu Othacehe , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Apr 14, 2020 at 12:09:12PM +0200, Ludovic Courtès wrote: > Or better yet, is there a way to check whether KMS is already using > another driver, and to not load uvesafb in that case? Probably there’s > some info in /sys. Hmm I will try if checking for the presence of /dev/fb0 helps. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 09:14:10 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 13:14:10 +0000 Received: from localhost ([127.0.0.1]:33411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOLOE-0000QT-0e for submit@debbugs.gnu.org; Tue, 14 Apr 2020 09:14:10 -0400 Received: from pelzflorian.de ([5.45.111.108]:56694 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOLOC-0000QJ-9O for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 09:14:09 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 44B6A360566; Tue, 14 Apr 2020 15:14:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586870046; bh=2mBvFSY/pHDMbJ3w/m18hzEGy8jM6ypX/srAsZhC82c=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=yxj8/MIiySKpo2W59ILtiDqZLyXaKlwRExmhR3syO7ddnujne67bT+S6QF8Ntd71q 629CeFCp9s3uSbd+Xughvf1wny7VlOu+MXEv79MxEmpDN3QdrjQO9OqIVRECk+16DN 5588Hg9YJvj8XJokXkrnKOKfKcNdNjNWZtFCjMzo= Date: Tue, 14 Apr 2020 15:14:04 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200414131404.gzashg4iyuyfdoua@pelzflorian.localdomain> References: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> <87h7xmz8dz.fsf@gnu.org> <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Apr 14, 2020 at 12:28:38PM +0200, pelzflorian (Florian Pelz) wrote: > On Tue, Apr 14, 2020 at 12:09:12PM +0200, Ludovic Courtès wrote: > > Or better yet, is there a way to check whether KMS is already using > > another driver, and to not load uvesafb in that case? Probably there’s > > some info in /sys. > > Hmm I will try if checking for the presence of /dev/fb0 helps. I have tested and pushed a check for /dev/fb0 as 0ad60b2a89d6d387236466e0bcdd61ac489fca37 to the version-1.1.0 branch. All my machines that need uvesafb use it while those that don’t need it do not modprobe the kernel module anymore. Possibly there remain problems should the normal Kernel Mode Setting be very slow to create /dev/fb0, but otherwise the logs should no longer show uvesafb errors. They do show that the uvesafb shepherd service was started, even when it did not load uvesafb. Maybe the shepherd service should be renamed. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 12:39:10 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 16:39:10 +0000 Received: from localhost ([127.0.0.1]:34606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOOab-0001ON-V6 for submit@debbugs.gnu.org; Tue, 14 Apr 2020 12:39:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOOaa-0001O7-Ax for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 12:39:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jOMIh-00037R-16; Tue, 14 Apr 2020 10:12:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57796 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jOMIf-0000rs-Uy; Tue, 14 Apr 2020 10:12:30 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> <87h7xmz8dz.fsf@gnu.org> <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> <20200414131404.gzashg4iyuyfdoua@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 14 Apr 2020 16:12:28 +0200 In-Reply-To: <20200414131404.gzashg4iyuyfdoua@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 14 Apr 2020 15:14:04 +0200") Message-ID: <873696xik3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40538 Cc: 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Florian, "pelzflorian (Florian Pelz)" skribis: > On Tue, Apr 14, 2020 at 12:28:38PM +0200, pelzflorian (Florian Pelz) wrot= e: >> On Tue, Apr 14, 2020 at 12:09:12PM +0200, Ludovic Court=C3=A8s wrote: >> > Or better yet, is there a way to check whether KMS is already using >> > another driver, and to not load uvesafb in that case? Probably there= =E2=80=99s >> > some info in /sys. >>=20 >> Hmm I will try if checking for the presence of /dev/fb0 helps. > > I have tested and pushed a check for /dev/fb0 as > 0ad60b2a89d6d387236466e0bcdd61ac489fca37 to the version-1.1.0 branch. > > All my machines that need uvesafb use it while those that don=E2=80=99t n= eed > it do not modprobe the kernel module anymore. Possibly there remain > problems should the normal Kernel Mode Setting be very slow to create > /dev/fb0, but otherwise the logs should no longer show uvesafb errors. > > They do show that the uvesafb shepherd service was started, even when > it did not load uvesafb. Well done! I=E2=80=99ll send an image to Niels in case they can double-check that the /dev/fb0 check works for them. > Maybe the shepherd service should be renamed. To =E2=80=98maybe-uvesafb=E2=80=99? Doesn=E2=80=99t matter much to me. :-) Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 13:09:35 2020 Received: (at 40538) by debbugs.gnu.org; 14 Apr 2020 17:09:35 +0000 Received: from localhost ([127.0.0.1]:34670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOP42-0006Hg-PK for submit@debbugs.gnu.org; Tue, 14 Apr 2020 13:09:34 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:41034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOP41-0006HQ-3u for 40538@debbugs.gnu.org; Tue, 14 Apr 2020 13:09:33 -0400 Received: by mail-wr1-f47.google.com with SMTP id h9so15261939wrc.8 for <40538@debbugs.gnu.org>; Tue, 14 Apr 2020 10:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Zmcir7BbX2GI15BId2GVybIpz6gcyf65GT8oXLLdxP8=; b=sDRDh+l+OrOgWv+UZ+LAzT0ndFnqLpS67/V39j+bAySc8BuwikqtAM7/YBTVR0T8Ep pGECzOjVJ03SjnuBy7YIu5XIQECPu+4lluhzX9gnn0xGala+5cv6/j+DaTc1MCf06/Up oASrsecfM40YY6g/J3O9Fe9IgIYXa20W9KImNtp/oH90p8Ft3xCq/YZzVGvFDOI3K90O 6uhaFiM/GZxbabjf4qb5tfcViNn875qpJRknNTkYthkNIEhQoZ+3fOM1R9vfv3pNie9D 8uMl53+G+Vik+hkCAJDhb8m8A2DJeB2OXgk+PiNc8ineOoLK96K0m/6IVmiDdcRK866Q /fJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Zmcir7BbX2GI15BId2GVybIpz6gcyf65GT8oXLLdxP8=; b=SxRxp/4TNKPAnaAIVUo2cbA6OIlQfiWx9iDe2MLrt4hpPTfoLYQZKSw4NT6i1b6jq0 V9WDiNNlfqwlwq+7Lf/j8a8qR4FGUTiUgS+VHWsFSCeAepFq0j1IS0jJJYJHgz9BXiSZ H9xJ5qrHFE2/9+g8O3LxZ5imDQKQkgPib1XupbWfdOgPhiwHwN+zZLLsT5tAEtOXIit/ nQeSbjyQVpllauQT/BivTmXaUQF+jiTlypXUTQf+o+fwlDbU2EF58JGEkoAzruH/I00U 5qJs0h9WF3BecPJ6FBpa0XzRBDxlcrJ0mAmXRsYiUAReRUqaQuRPn7PC4Ew48RQYvvT0 6htg== X-Gm-Message-State: AGi0PuZgnHKPGrzL9FXr3Xojgw+EgC1iq4XVsA+zk23VqERP4qHpfkyp LdTDmviwKXXuNc+fQ0BTrobafR1F5OQ= X-Google-Smtp-Source: APiQypJnnOUdHsRy9jdLrjiEzSlKFSZilbHMG7lIpS+8nQbllhgmZpvJqqVW2ywkcR93w4Cn4+wqyg== X-Received: by 2002:a5d:568f:: with SMTP id f15mr23590717wrv.48.1586884166613; Tue, 14 Apr 2020 10:09:26 -0700 (PDT) Received: from cervin ([2a01:cb18:832e:5f00:90a:f610:d2d0:cf90]) by smtp.gmail.com with ESMTPSA id x18sm19564441wrs.11.2020.04.14.10.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 10:09:25 -0700 (PDT) From: Mathieu Othacehe To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. References: <20200411184346.c3cgop7egcjyqzwf@pelzflorian.localdomain> <874ktpspr5.fsf@gnu.org> <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> <87h7xmz8dz.fsf@gnu.org> <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> <20200414131404.gzashg4iyuyfdoua@pelzflorian.localdomain> Date: Tue, 14 Apr 2020 19:09:23 +0200 In-Reply-To: <20200414131404.gzashg4iyuyfdoua@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 14 Apr 2020 15:14:04 +0200") Message-ID: <87pnca9epo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hey Florian, > They do show that the uvesafb shepherd service was started, even when > it did not load uvesafb. Maybe the shepherd service should be > renamed. I did check on my recent hardware, the module is not loaded anymore and everything works fine. On my old Intel machine, I guess uvesafb was messing with i915, and as you pointed out, "nomodeset" was required. With your recent patch, uvesafb is not loaded and it works fine out of the box. Thanks a lot for all the effort your are investing into this :) Mathieu From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 14 17:31:40 2020 Received: (at 40538-done) by debbugs.gnu.org; 14 Apr 2020 21:31:40 +0000 Received: from localhost ([127.0.0.1]:34917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOT9g-0007nL-8s for submit@debbugs.gnu.org; Tue, 14 Apr 2020 17:31:40 -0400 Received: from pelzflorian.de ([5.45.111.108]:57448 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOT9f-0007m1-6c for 40538-done@debbugs.gnu.org; Tue, 14 Apr 2020 17:31:39 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 7EF6A360566; Tue, 14 Apr 2020 23:31:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586899898; bh=nrOex3Jtmn2yWO0IZ2lcBJOSJOQQv9IWIcfY3FLZNb8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=odgwpgT1NtRZyn0gXWmjmhXhrr9FyuDiOTOINqI6w0q6X37mEEv3XHB52eed/r7di bU3wG6SXjkqfc7hXiy8djo1zIFLXLrYaFjEtF4SsGJvuSZx2/M1UVZJeRn77VlNQdC wGgvWZ3t9LY7q0nXNEBG6T2+NCnxyGQUdJT9si7A= Date: Tue, 14 Apr 2020 23:31:37 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40538: installer: Support uvesafb to install on machines without KMS. Message-ID: <20200414213137.zerxceuddei4vga6@pelzflorian.localdomain> References: <20200412090257.jxljqbkwfhn7afnr@pelzflorian.localdomain> <20200412112400.x4qufeztdnkmzqhx@pelzflorian.localdomain> <874ktooj3v.fsf@gmail.com> <20200412153052.ewxdd6m4f6yar2jw@pelzflorian.localdomain> <871roqlebf.fsf@gmail.com> <20200414081652.vjdu7d6w2u5piud4@pelzflorian.localdomain> <87h7xmz8dz.fsf@gnu.org> <20200414102838.n776paycpuy6kykx@pelzflorian.localdomain> <20200414131404.gzashg4iyuyfdoua@pelzflorian.localdomain> <87pnca9epo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87pnca9epo.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40538-done Cc: 40538-done@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Apr 14, 2020 at 07:09:23PM +0200, Mathieu Othacehe wrote: > > Hey Florian, > > > They do show that the uvesafb shepherd service was started, even when > > it did not load uvesafb. Maybe the shepherd service should be > > renamed. > > I did check on my recent hardware, the module is not loaded anymore and > everything works fine. On my old Intel machine, I guess uvesafb was > messing with i915, and as you pointed out, "nomodeset" was required. > > With your recent patch, uvesafb is not loaded and it works fine out of > the box. > > Thanks a lot for all the effort your are investing into this :) > > Mathieu I’m glad. Thank you for testing. Closing. :) Regards, Florian From unknown Sun Jun 22 17:17:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 May 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator