Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MTZbt-0005hQ-Qg for mharc-grub-devel@gnu.org; Wed, 22 Jul 2009 07:03:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTZbs-0005e6-D6 for grub-devel@gnu.org; Wed, 22 Jul 2009 07:03:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTZbn-0005MC-8D for grub-devel@gnu.org; Wed, 22 Jul 2009 07:03:43 -0400 Received: from [199.232.76.173] (port=52344 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTZbn-0005Le-2Q for grub-devel@gnu.org; Wed, 22 Jul 2009 07:03:39 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:65477) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTZbl-0004fN-Mj for grub-devel@gnu.org; Wed, 22 Jul 2009 07:03:38 -0400 Received: from [85.180.36.146] (e180036146.adsl.alicedsl.de [85.180.36.146]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MKuxg-1MTZbk0s54-000M07; Wed, 22 Jul 2009 13:03:36 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: References: <1244022215.3429.17.camel@fz.local> <1244062540.20653.11.camel@mj> <1244067102.3407.51.camel@fz.local> Content-Type: text/plain; charset="UTF-8" Date: Wed, 22 Jul 2009 13:04:21 +0200 Message-Id: <1248260661.3517.7.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.27.4 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V01U2FsdGVkX1927mPzitHInDbjbYjjhk/15THDHc9Uw5iqsLW +ap3UKCJWhi6EETHlxso17GCN71kSv6jfqNkEBxevd8Q4Mq16e lg0FQbr98TnUx+f3pwDEw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: grub-mkconfig fails on every non i386-pc because of gfxterm/vbe X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 11:03:44 -0000 Am Donnerstag, den 11.06.2009, 18:09 +0200 schrieb Vladimir 'phcoder' Serbinenko: > On Thu, Jun 4, 2009 at 12:11 AM, Felix Zielcke wrote: > > Am Mittwoch, den 03.06.2009, 16:55 -0400 schrieb Pavel Roskin: > >> On Wed, 2009-06-03 at 11:43 +0200, Felix Zielcke wrote: > >> > I wonder why nobody on this list noticed this yet. > >> > Jordi reported this already on Debian a while ago [0] > >> > > >> > It fails with `No suitable backend could be found for gfxterm.' > >> > The problem is that gfxterm is used when nothing is explicitly speci= fied > >> > and the fonts were compiled, but the fails because vbe.mod only gets > >> > compiled for i386-pc whereas gfxterm.mod gets compiled for every arc= hes. > >> > >> It looks like a conflict between grub-mkconfig and 00_header. > >> grub-mkconfig sets GRUB_TERMINAL_OUTPUT to gfxterm because gfxterm.mod > >> is present, but 00_header refuses to use it because vbe.mod is absent. > >> > >> Or maybe Debian sets GRUB_TERMINAL_OUTPUT to gfxterm somewhere. > > > > No, by default we don't set GRUB_TERMINAL_OUTPUT at all. > The correct solution would be to check the presence of graphical > backend and base the default on it. Or even better is to make the > default depend on platform. It would solve the situations in which > video backend is available but known to cause problems Pavel already wanted that gfxterm isn't anymore the default but didn't replied yet to my other mail about it. > > > >> > I suggest as Jordi to just change the `exit 1' to =C2=B4exit 0' and = telling > >> > the user that it falls back to native terminal: > >> > >> I believe it's a wrong fix, as it would not prevent adding the gfxterm > >> code to grub.cfg. > > > > Yes it won't. It would only prevent it from completely failing if > > gfxterm isn't avaible. > > > >> I believe the fix belongs to grub-mkconfig (if it's not a Debian > >> specific issue). Setting defaults in grub-mkconfig should be done ver= y > >> carefully, as the numbered scripts treat those defaults as explicit > >> requests by the user. > > > > So you would prefer something like the attached patch? > > Though then we'll need to tell people to explicit enable gfxterm. > > > > -- > > Felix Zielcke > > > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > http://lists.gnu.org/mailman/listinfo/grub-devel > > > > >=20 >=20 >=20 --=20 Felix Zielcke