All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Sharma <arun.sharma@intel.com>
To: eranian@hpl.hp.com
Cc: xen-devel@lists.sourceforge.net, "Magenheimer,
	Dan (HP Labs Fort Collins)" <dan.magenheimer@hp.com>,
	brett@hp.com
Subject: Re: xen/ia64 and elilo relocation
Date: Mon, 21 Feb 2005 22:26:55 -0800	[thread overview]
Message-ID: <421AD0AF.8070906@intel.com> (raw)
In-Reply-To: <20050220164246.GA17261@frankl.hpl.hp.com>

Stephane Eranian wrote:

Hi Stephane,

> elilo loads each block of text/data at the address indicated by the
> paddr of the corresponding program header.
> 
> Are you saying that the address is different only when you abort a load?

Yes, that's right. Other missing piecees of info:

- I was using the elilo shipped with a RHEL4 beta
- my elilo.conf:

image=xen
        label=xen
        initrd=xenlinux
        read-only
        append="nomca console=ttyS1,57600 root=/dev/sda2"

xenlinux is a large uncompressed binary - so it's easy to hit space to 
abort it's loading.

> Note that when an EFI program terminates, the memory is not freed. If we do
> not cleanly free the memory on load abort, then it is possible that the
> designated memory address is unavailable.

elilo.efi didn't exit yet. It dropped me back to the elilo: prompt to 
let me choose an image. I chose the same image a second time and this 
time I saw xen getting loaded at a different address.

> I quickly checked the source code
> and elilo does not try to relocate unless the option "relocatable " is specified
> either globally in elilo.conf or on the Xen image. I also checked the abort
> case and elilo does free the memory allocated for the kernel, as such you should
> be able to retry. 

Someone suggested that the RHEL4 elilo turns relocation on by default to 
support SGI boxes. I'm not sure if it does that by adding a relocatable 
flag to elilo.conf or by changing the code. I checked the SRPM and the 
fedora cvs and can't find a patch which touches the code.

> 
> You can try forcing elilo-3.4/ia64/config.c:ia64_can_relocate() to return 0
> just to make sure this is not the source of the problem.
> 

Yes, I'll check this and let you know.

	-Arun


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  reply	other threads:[~2005-02-22  6:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17  1:53 xen/ia64 and elilo relocation Arun Sharma
2005-02-20 16:42 ` Stephane Eranian
2005-02-22  6:26   ` Arun Sharma [this message]
2005-02-22 16:50     ` Stephane Eranian
2005-02-23 19:13       ` Arun Sharma
2005-02-23 20:54         ` Stephane Eranian
2005-02-23 22:20           ` Arun Sharma
2005-02-23 22:01             ` Stephane Eranian
2005-02-28 18:07               ` Brett Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=421AD0AF.8070906@intel.com \
    --to=arun.sharma@intel.com \
    --cc=brett@hp.com \
    --cc=dan.magenheimer@hp.com \
    --cc=eranian@hpl.hp.com \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.