Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LZG8N-0000Ki-DH for mharc-grub-devel@gnu.org; Mon, 16 Feb 2009 21:56:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZG8L-0000J7-2Y for grub-devel@gnu.org; Mon, 16 Feb 2009 21:56:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZG8J-0000ID-FC for grub-devel@gnu.org; Mon, 16 Feb 2009 21:56:28 -0500 Received: from [199.232.76.173] (port=52442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZG8J-0000I6-AA for grub-devel@gnu.org; Mon, 16 Feb 2009 21:56:27 -0500 Received: from rv-out-0708.google.com ([209.85.198.251]:42951) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZG8I-00050m-N4 for grub-devel@gnu.org; Mon, 16 Feb 2009 21:56:27 -0500 Received: by rv-out-0708.google.com with SMTP id f25so2285687rvb.6 for ; Mon, 16 Feb 2009 18:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+iSL7BhGPgk6PiJXYwiWjgF1xMl60U16K/8INx/NwWE=; b=aGXUrHTNmpHIm/7pi4eokla6jcNQAApHSqkiLh2SrD9QoEuJXLxsbpOhJp3xrilQdG 1PutglXYQHRM3g8D4SVH1W3vujwN97JjNleoY290+f8MBLAGNnswiIGwf+FzRcaDkFDw zAkHEm9bD5UbChVeJI3twSxCPZYSSLJ33zyM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wagz+Gi/fZptyX1I2/lNaO1c+us5NT+GeXlyoPJ/jrRmHgTrtWxrAehjrLZzBbuZhX jK4b0f3vDOhUiGbLrgGHuASk62fG1k497hKlARj1K+E1S8PdFikOefEwzTu8GZfgs0TG AIFLcfiaqwiCXdw+u2GDU8Dw9SfTz2ZMAymGc= MIME-Version: 1.0 Received: by 10.114.73.6 with SMTP id v6mr1637240waa.48.1234839384833; Mon, 16 Feb 2009 18:56:24 -0800 (PST) In-Reply-To: <4999EE71.100@gmail.com> References: <4999EE71.100@gmail.com> Date: Tue, 17 Feb 2009 13:56:24 +1100 Message-ID: <48f46e890902161856p59ea40acxdb26903f02d3238f@mail.gmail.com> From: Peter Cros To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=001636417e65e33e8d0463147204 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub_machine_fini on efi systems 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: Tue, 17 Feb 2009 02:56:29 -0000 --001636417e65e33e8d0463147204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit There is also a problem with Apple 64 bit grub.efi booting ubuntu 2.6.27 linux in which the kernel is booted and starting but all video is lost after the boot command. I don't know if there may be a connection. A temporary fix is to change Video frame buufer settings in /loader/i386/efi/linux.c: grub_find_video_card and grub_linux_setup_video Then proceeds to the next bug (libata hangup during initrd ). On Tue, Feb 17, 2009 at 9:53 AM, phcoder wrote: > Hello. I found a serious problem which may be the cause of linux not > booting on some efi systems. grub_machine_fini is called before > grub_linux_boot. grub_machine_fini returns all memory allocated by grub2 to > efi. This includes all memory used to load modules. So actually efi can > rightfully destroy linux module before it has slightest chance to do its > job. I asked step21 to declare linux boot as returnable to stop > grub_machine_fini. However it's nothing more then a workaround. I hope that > someone will find a way to fix this nicely because for the moment I see > none. (perhaps tomorrow I'll find sth) > Regards > Vladimir 'phcoder' Serbinenko > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Cros --001636417e65e33e8d0463147204 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
There is also a problem with Apple 64 bit grub.efi booting ubuntu 2.6.= 27 linux in which the kernel is booted and starting but all video is lost a= fter the boot command. I don't know if there may be a connection.

 A temporary fix is to change Video frame buufer s= ettings in /loader/i386/efi/linux.c: 
grub_find_video_card a= nd grub_linux_setup_video 

Then proceeds to t= he next bug (libata hangup during initrd ).


On Tue, Feb 17, 2009 at 9:53 = AM, phcoder <phco= der@gmail.com> wrote:
Hello. I found a serious problem which may be the cause of linux not bootin= g on some efi systems. grub_machine_fini is called before grub_linux_boot. = grub_machine_fini returns all memory allocated by grub2 to efi. This includ= es all memory used to load modules. So actually efi can rightfully destroy = linux module before it has slightest chance to do its job. I asked step21 t= o declare linux boot as returnable to stop grub_machine_fini. However it= 9;s nothing more then a workaround. I hope that someone will find a way to = fix this nicely because for the moment I see none. (perhaps tomorrow I'= ll find sth)
Regards
Vladimir 'phcoder' Serbinenko


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org<= /a>
http://lists.gnu.org/mailman/listinfo/grub-devel



--
Cros
--001636417e65e33e8d0463147204--