From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KBtH9-00058f-Ko for mharc-grub-devel@gnu.org; Thu, 26 Jun 2008 11:20:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBtH8-000587-1H for grub-devel@gnu.org; Thu, 26 Jun 2008 11:20:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBtH6-00057q-FN for grub-devel@gnu.org; Thu, 26 Jun 2008 11:20:41 -0400 Received: from [199.232.76.173] (port=34689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBtH6-00057g-3F for grub-devel@gnu.org; Thu, 26 Jun 2008 11:20:40 -0400 Received: from ug-out-1314.google.com ([66.249.92.168]:63639) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBtH5-0003JG-Ne for grub-devel@gnu.org; Thu, 26 Jun 2008 11:20:39 -0400 Received: by ug-out-1314.google.com with SMTP id l31so268426ugc.48 for ; Thu, 26 Jun 2008 08:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=+qH0sgZ1+BzT8pXo2j5hpm63lEzJ84iURxbtFaTJhEg=; b=QZxwvLZb8MpwvJv1BSZ4ZVXdJw78GVC5enaoBo7tSqegx8/LX6fKLBGgBhGAACl94f uLZl1yEBaDeGBp2Uz7Y5+IkxlYDffwRZbat9LYlQDyMatgGWqsm/aYjDmAuaQCKyF9+P 54catAbuJ9dY+DlU2/jT0/Hcki/dg0ur8Y7UA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=ipMoRhca7isSNGHyRSKsEKxLkCTZNV7VRNnjEYc2QDAee1qLkuPx2K+caEWKSgMy1M CmUGF7KvKOjklr16nJ715QGjjwXGN958Z9C9uYzkhW/Ix8AF/SDUMDqpSD5Bv1C8uLpr nm+kgkMC+3ME5H9nYrRXnjlkgBWiyziNHn35k= Received: by 10.67.106.13 with SMTP id i13mr1302920ugm.37.1214493638585; Thu, 26 Jun 2008 08:20:38 -0700 (PDT) Received: from ?192.168.1.100? ( [213.37.137.93]) by mx.google.com with ESMTPS id b35sm926648ugd.45.2008.06.26.08.20.33 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 08:20:36 -0700 (PDT) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GRUB 2 In-Reply-To: <20080626140836.GB7511@thorin> References: <20080619133147.GA5018@thorin> <485AA89A.5030404@isaac.cedarswampstudios.org> <20080621141907.GC24465@thorin> <1214058907.10018.39.camel@localhost> <20080626140836.GB7511@thorin> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-xUoJax92XfL1iuXTCIMr" Date: Thu, 26 Jun 2008 17:20:51 +0200 Message-Id: <1214493651.24653.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] add a counter in grub_dprintf 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, 26 Jun 2008 15:20:42 -0000 --=-xUoJax92XfL1iuXTCIMr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable El jue, 26-06-2008 a las 16:08 +0200, Robert Millan escribi=C3=B3: > On Sat, Jun 21, 2008 at 04:35:07PM +0200, Javier Mart=C3=ADn wrote: > >=20 > > Why not modify the build system to create _two_ instances of kernel.img= , > > one with and another without debugging? grub_mkimage would create the > > normal, smaller core.img (without dprintf) for installing and embedding= ; > > and store a core_dbg.img in the /boot/grub folder, >=20 > This breaks the design and forces grub-mkimage to have: >=20 > a) knowledge about GRUB paths >=20 > b) requirement for root perms >=20 > instead of just being an utility to generate images. I don't think it's > a good idea. >=20 Whoops, sorry, I meant that grub_mkimage would create two core.img images, one per kernel.img version, and then grub_install would copy them as usual. Then grub_setup would embed/set up the normal core.img or the debug version based on a switch. What I propose is basically modifying grub_mkimage to allow choosing the kernel.img file used and then adding some lines to grub_install so that the two versions of core.img are generated (but only the selected is embedded). --=-xUoJax92XfL1iuXTCIMr Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUASGOz06Sl+Fbdeo72AQIl4Q//cKB7GluSagWmR4QHYMqJLVU+KWLwBQWw YRfdQGOF9Qy1U7IERdcdmNDem0VaspYt2boqWlN6h7TSpzeuDoJ2ecVTuaa32Zzc 90LtAuU20qwjYwqZeDPtcu73EMT0MXr4DZsTnGkOMuY5jomqro7RgyrLbjvlArjO I11CBt5noNKGR6amns4mSZEzNssQKKuJb3Vgt3wIurraTtk8S7CY1/F9Tt+OXCrV 01EOLCZIVLcTNpSxIoxt34WFWAbIhOHQb4melwU7H/f4e/9m+C5a/O3XTUpLIwZx PivJ1ilwS8UMa91yZa4/REO3hjPElBQIYYUlTm5JfTJqOwdmhpASKAVlZIMjV/sM ZvCHkFdvdRvooh/g1bmq5q15N5DwupMihTfD0BLu0SVbzXC50fb7MSV5nJTYhqqS 7AZhW/Rs0sH+Fd6SjaOIih4kDsXS2tPywETCY+ostM6uRDmlLaa/uqEkpgZk959K dGUbBgCIn4BXbGxluzMv9hhvO8tVNsSHK6W8m0MMJ3h2HX2Z94hR4HeqVKE5aVvF YjpW6OWvYpKqmz9QyLYkuArx8JyYEKwXmNbKzyq5YuExt2rbIyig4vhIZLd6t83L UaJtMzrxtYpCQ0mGMzkb3Spb7PUHDPTLn04H7Nb2nrYlezFZ7VoeEO+6mcUUb/ru haWAClZ6O6A= =bTC6 -----END PGP SIGNATURE----- --=-xUoJax92XfL1iuXTCIMr--