From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J7R9e-0003KK-Jb for mharc-grub-devel@gnu.org; Wed, 26 Dec 2007 02:58:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J7R9c-0003Jm-Tm for grub-devel@gnu.org; Wed, 26 Dec 2007 02:58:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J7R9b-0003JV-Bo for grub-devel@gnu.org; Wed, 26 Dec 2007 02:58:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7R9b-0003JR-79 for grub-devel@gnu.org; Wed, 26 Dec 2007 02:58:15 -0500 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J7R9a-0001Fy-SG for grub-devel@gnu.org; Wed, 26 Dec 2007 02:58:15 -0500 Received: from aybabtu.com ([69.60.117.155]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J7R9a-00037i-3x for grub-devel@gnu.org; Wed, 26 Dec 2007 02:58:14 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1J7R9X-0000DM-MI for grub-devel@gnu.org; Wed, 26 Dec 2007 08:58:13 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1J7R9A-0002fh-77 for grub-devel@gnu.org; Wed, 26 Dec 2007 08:57:48 +0100 Date: Wed, 26 Dec 2007 08:57:48 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20071226075748.GB9681@thorin> References: <20071216153046.GA11912@thorin> <87prx5nwd5.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87prx5nwd5.fsf@xs4all.nl> 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.13 (2006-08-11) X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: avoid firmware in grub-mkrescue (Re: moving ata initialisation to a command) 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, 26 Dec 2007 07:58:17 -0000 On Mon, Dec 17, 2007 at 05:01:42PM +0100, Marco Gerards wrote: > Robert Millan writes: > > > I'd like to move ata.mod initialisation away from its _init routine and into > > a separate command. This way it isn't a nuissance when it gets included in > > monolithic builds (such as the ones made by grub-mkrescue) and disables biosdisk > > completely. > > > > Does that sound fine? > > No. What if you put ata.mod in core.img? You would expect your disks > will be detected and that grub.cfg will be loaded immediately. The > user doesn't want to run a command to enable ata.mod and afterwards > load the grub.cfg manually. > > A better solution, IMO, would be changing grub-mkrescue so it doesn't > load all modules. I'd suggest standarising in something that can work later for keyboards and such. How about: grub-mkrescue --avoid-firmware=disk ? So that we can later add "disk,keyboard,screen" etc, and at the same time it'd also work if grub-mkrescue was implemented for other platforms. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)