Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LtRTg-000074-8W for mharc-grub-devel@gnu.org; Mon, 13 Apr 2009 15:05:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtRTf-00006c-00 for grub-devel@gnu.org; Mon, 13 Apr 2009 15:05:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtRTa-0008WP-An for grub-devel@gnu.org; Mon, 13 Apr 2009 15:05:54 -0400 Received: from [199.232.76.173] (port=58204 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtRTa-0008WK-19 for grub-devel@gnu.org; Mon, 13 Apr 2009 15:05:50 -0400 Received: from aybabtu.com ([69.60.117.155]:48861) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtRTZ-00031A-Bs for grub-devel@gnu.org; Mon, 13 Apr 2009 15:05:49 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1LtRI6-0007ZM-Uy for grub-devel@gnu.org; Mon, 13 Apr 2009 20:53:59 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1LtRTW-0006Ht-7i for grub-devel@gnu.org; Mon, 13 Apr 2009 21:05:46 +0200 Date: Mon, 13 Apr 2009 21:05:46 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090413190546.GB24072@thorin> References: <1239032043.8986.27.camel@mj> <20090413141657.GE12170@thorin> <20090413144558.GA22165@thorin> <1239637296.3549.9.camel@mj> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1239637296.3549.9.camel@mj> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] Video mode fixes in linux loader 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: Mon, 13 Apr 2009 19:05:55 -0000 On Mon, Apr 13, 2009 at 11:41:36AM -0400, Pavel Roskin wrote: > I actually installed GRUB with gfxterm on a laptop that has Intel > framebuffer support. Now the kernel starts in VESA mode and then the > screen goes blank because intelfb cannot deal with it. Sure, intelfb > should be fixed, but we should be liberal in what we accept. We could detect this situation by checking video= parameter, and setting text mode if intelfb is found. But then again do we want to prevent future versions of intelfb from gracefuly transitioning from vesa mode without screen glitch? > Some > kernels may not support VESA modes at all. I don't think this is applicable; all modern versions of Linux include vesa modesetting in its 16-bit entry code, and older versions are already detected by the new loader (user is prompted to use linux16). > Adding vga=0 to the kernel command line didn't fix it. That's bad. > "vga=0" means text mode 80x25. Adding "vga=1" fixed the problem. The > text mode was 80x25, not 80x50, so that's another issue. Shouldn't be hard to fix. Do you know how to switch to 80x50 mode? > "vga=ask" is not a warning now. It causes "error: You need to load the > kernel first", apparently from initrd. In other words, the "linux" > command fails and there is no visible warning. Sounds like my error code is wrong, but we could turn it into a warning like you suggested. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."