From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LZCLQ-0007Oi-S2 for mharc-grub-devel@gnu.org; Mon, 16 Feb 2009 17:53:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZCLM-0007NN-L1 for grub-devel@gnu.org; Mon, 16 Feb 2009 17:53:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZCLL-0007N4-SQ for grub-devel@gnu.org; Mon, 16 Feb 2009 17:53:40 -0500 Received: from [199.232.76.173] (port=33733 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZCLL-0007N1-NW for grub-devel@gnu.org; Mon, 16 Feb 2009 17:53:39 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]:13058) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZCLL-0005uM-B0 for grub-devel@gnu.org; Mon, 16 Feb 2009 17:53:39 -0500 Received: by fg-out-1718.google.com with SMTP id l27so340182fgb.30 for ; Mon, 16 Feb 2009 14:53:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=/Flqo2V7nMdBNue6c27LMuhYxMPc0lXx4P8gfkG3DaQ=; b=oDWkzYSkIH6aMtFBUeTCXdcmJWkkgNwIomPIJbXwYVd3HjJWfp7VRtRbGxT4N08IiR gqzl3/T8ebiQkPaOtUAw5h+rXd7ubfoUZkRZ+IuDYA4jkY77r2nZJjM1YJaB5MDl1XWb PchNgo1ftFQ2G4/YHqzeGrcjM1FhJ14LOuKPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=SqkWlba659wGPO7KVERQCNz5XIfP1sVt2wFxUuuRubgNTroO324lpxIK/YEphPZFyO d790coEMA2QPPcs5wzFXiBdbsT/sPzsr7M+ylJxIRtM+cAJ67/f/w5/jNpMZs8gobxx7 O45tMFrPxoCSjgBKcvpTSbxSKUSJhdZnNrCqc= Received: by 10.86.61.13 with SMTP id j13mr1773025fga.6.1234824818264; Mon, 16 Feb 2009 14:53:38 -0800 (PST) Received: from ?192.168.1.2? (18-253.0-85.cust.bluewin.ch [85.0.253.18]) by mx.google.com with ESMTPS id l12sm260825fgb.51.2009.02.16.14.53.37 (version=SSLv3 cipher=RC4-MD5); Mon, 16 Feb 2009 14:53:37 -0800 (PST) Message-ID: <4999EE71.100@gmail.com> Date: Mon, 16 Feb 2009 23:53:37 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: 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: Mon, 16 Feb 2009 22:53:41 -0000 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