Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MGxfa-0003yx-U8 for mharc-grub-devel@gnu.org; Wed, 17 Jun 2009 12:07:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGxfX-0003xl-56 for grub-devel@gnu.org; Wed, 17 Jun 2009 12:07:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGxfQ-0003uH-6X for grub-devel@gnu.org; Wed, 17 Jun 2009 12:07:22 -0400 Received: from [199.232.76.173] (port=44836 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGxfP-0003uB-Uk for grub-devel@gnu.org; Wed, 17 Jun 2009 12:07:16 -0400 Received: from mail-bw0-f213.google.com ([209.85.218.213]:44885) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGxfO-0002st-JB for grub-devel@gnu.org; Wed, 17 Jun 2009 12:07:15 -0400 Received: by bwz9 with SMTP id 9so694593bwz.42 for ; Wed, 17 Jun 2009 09:07:11 -0700 (PDT) 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=O4T4VOKv7qodXq6cWdEvrZRtDwgFO6yJs9PKlTGDe3s=; b=JSUoxNkIoi2jDmTLjoZMsEwUldedZdOahmo55AEJyY1dW6qYXtS3yjBrJhim+RA4dt y0syPxCCO2uaeZJ16tf0M4nGXDyhhzdHgCH4gCk3p2bwhrSpsDfPnIh5eGTM3ApOv5Tu p49Xu8cu8YtDqU4xxhu2JF4vvo9z/jTl0I6Fg= 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=tZesvTO1k3kr0uFqQZxwhJot0I2qqNF+/Pb7BNUGWkDNNz/hZrNN5enYnkNRHhEKEv lKiVRBW8FSz63lPog0hQdmFfyTmg2oqWc7Xne+TUlNF4bFkhhJHjNGESV15XVzT4E8xH LHnMHJJSsuJ//QB2tM98FopA90tShhfecUZ20= MIME-Version: 1.0 Received: by 10.204.116.9 with SMTP id k9mr256242bkq.164.1245254831669; Wed, 17 Jun 2009 09:07:11 -0700 (PDT) In-Reply-To: <4A390AB7.5070609@ed.ac.uk> References: <4A2CF763.50105@ed.ac.uk> <4A2D14A7.4040405@ed.ac.uk> <48f46e890906082047j51afd316gf2bd1566c45875f8@mail.gmail.com> <4A2E751F.5090905@ed.ac.uk> <4A37A79C.4020106@ed.ac.uk> <4A390AB7.5070609@ed.ac.uk> Date: Wed, 17 Jun 2009 18:07:11 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=0016368e2b1de581fc046c8d7b0b X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: echo and hello bug 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, 17 Jun 2009 16:07:23 -0000 --0016368e2b1de581fc046c8d7b0b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jun 17, 2009 at 5:24 PM, James Jarvis wrote: > Vladimir 'phcoder' Serbinenko wrote: > >> >> >> On Tue, Jun 16, 2009 at 4:09 PM, James Jarvis > James.Jarvis@ed.ac.uk>> wrote: >> >> Vladimir 'phcoder' Serbinenko wrote: >> >> tried this module list in grub-mkimage on 2282 but it hung! >> >> I think you have a problem with you building system. If you >> want ping >> me (phcoder) on IRC and I'll compile for you >> >> Shamed me into looking deeper! I discover that by listing hello >> and echo first in the grub-mkimage command they both work as >> expected. Not sure why this occurs - is there a file detailing >> module dependencies one can look at? >> >> You have probably hit a memory access bug in a secondary module. Post the >> list of modules you integrate and try removing some of these modules >> > It appears that if the "echo" and "hello" modules are in the efi image > before the "kernel" module they work but if after they don't. > > Moving "kernel" to the end means that "echo" "hello" and "ls" work > correctly. I need kernel so I just need to remember to put it as the last > module. Presumably I am not the first to come across this problem but it was > not one that came up easily in searches. I'll add to the bug report. > Never specify kernel.mod explicitely. It's added automatically > > > James > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko --0016368e2b1de581fc046c8d7b0b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Jun 17, 2009 at 5:24 PM, James J= arvis <James.= Jarvis@ed.ac.uk> wrote:
Vladimir 'phcoder' Serbinenko wrote:



On Tue, Jun 16, 2009 at 4:09 PM, James Jarvis <James.Jarvis@ed.ac.uk <mailto:James.Jarvis@ed.ac.u= k>> wrote:

=A0 =A0Vladimir 'phcoder' Serbinenko wrote:

=A0 =A0 =A0 =A0 =A0 =A0tried this module list in grub-mkimage on 2282 but = it hung!
=A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0 =A0 =A0 =A0I think you have a problem with you building system. If you=
=A0 =A0 =A0 =A0want ping
=A0 =A0 =A0 =A0me (phcoder) on IRC and I'll compile for you
=A0 =A0 =A0 =A0
=A0 =A0Shamed me into looking deeper! I discover that by listing hello
=A0 =A0and echo first in the grub-mkimage command they both work as
=A0 =A0expected. Not sure why this occurs - is there a file detailing
=A0 =A0module dependencies one can look at?

You have probably hit a memory access bug in a secondary module. Post the l= ist of modules you integrate and try removing some of these modules
It appears that if the "echo" and "hello" modules are i= n the efi image before the "kernel" module they work but if after= they don't.

Moving "kernel" to the end means that "echo" "hell= o" and "ls" work correctly. I need kernel so I just need to = remember to put it as the last module. Presumably I am not the first to com= e across this problem but it was not one that came up easily in searches. I= 'll add to the bug report.
Never specify ke= rnel.mod explicitely. It's added automatically


James


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



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



--
Regards
= Vladimir 'phcoder' Serbinenko
--0016368e2b1de581fc046c8d7b0b--