From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHxuD-000745-5Q for mharc-grub-devel@gnu.org; Thu, 24 Jan 2008 03:57:53 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHxu9-00071h-Tz for grub-devel@gnu.org; Thu, 24 Jan 2008 03:57:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHxu8-00071L-RE for grub-devel@gnu.org; Thu, 24 Jan 2008 03:57:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHxu8-00071B-E3 for grub-devel@gnu.org; Thu, 24 Jan 2008 03:57:48 -0500 Received: from ns39764.ovh.net ([91.121.25.85] helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHxu7-00072T-UH for grub-devel@gnu.org; Thu, 24 Jan 2008 03:57:48 -0500 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id BA2DF3EB23 for ; Thu, 24 Jan 2008 10:03:53 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Thu, 24 Jan 2008 09:57:45 +0100 User-Agent: KMail/1.9.4 References: <20080123195839.GA24785@thorin> In-Reply-To: <20080123195839.GA24785@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801240957.45953.okuji@enbug.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: grub_dl_unload_all() 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: Thu, 24 Jan 2008 08:57:50 -0000 On Wednesday 23 January 2008 20:58, Robert Millan wrote: > Is GRUB supposed to always call grub_dl_unload_all() when preparing to > jump into a loaded multiboot image? Yes. > How important is it to unload all modules? What do you suggest? Do we fix > everything to unload all modules (is that even possible?)? Do we unload > all modules on i386-pc "because we can" and not do this on ieee1275 > platforms? It is important so that we can make sure that all cleanups are executed before transferring control. For example, if serial settings have been tweaked by GRUB, they should be reverted to the original state. At least, this is considered to be a good manner. Another example is video settings. Let's say, GRUB changes video mode to show a fancy menu. Some operating systems may not work well in graphical mode, then GRUB must turn it back to text mode. Okuji