xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: "shyoo@os.korea.ac.kr" <shyoo@os.korea.ac.kr>
Cc: Anthony Perard <anthony.perard@citrix.com>,
	Sengul Thomas <thomas.sengul@gmail.com>,
	Xen Devel <xen-devel@lists.xen.org>,
	See-Hwan Yoo <seehwan.yoo@gmail.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: Testing xen-arm on Arndale
Date: Wed, 3 Apr 2013 14:22:33 +0100	[thread overview]
Message-ID: <515C2D19.3030707@citrix.com> (raw)
In-Reply-To: <CAM9xYLLDvchO4eJZaptu4Q8QvV8oLKK=4smQNkAhd7rLRdK2xA@mail.gmail.com>

On 04/03/2013 12:57 PM, See-Hwan Yoo wrote:

> Thank you, Stefano:
> I have checked -vvv and it seems that xl is looking for a file that is
> missing. I've included the printed message at the tail of the mail.
> I've farmed xl tools through Ian campbell's cross toolchain wiki.
> 
> Making cross toolchain using schroot is a good way around building the
> xen tools, but documentation could be improved if it includes the
> following facts.
> Because the current arndale board's rootfs snapshot does not include the
> proper python library tools, it firstly complains about some missing
> python modules such as 'commands'.
> In addition, libyajl library files are also missing. In the
> cross-compiling phase, I've installed those library's dev port to
> schroot build directory; however, it has to be explicitly copied to the
> rootfs so that libxenguest/libxenlight can refer those libraries.
> Namely, the dependent libraries have to be included in the root file
> system; I hope the document includes specifically which libraries have
> run-time dependency, and which modules are required to run.
> 
> Finally, I am curious about the mismatch in the two debug console
> options: in the bootargs options console=dbgp (given in dts), and codes
> in start_xen() shows
> exynos5_uart_init(2, FIXMAP_ADDR, ...);
> It seems like uart2 is fixed to use as console; but the code seems work
> only when console=dbgp.
> How about using console=com1/2 instead of dbgp? (it seems more intuitive.)

Xen can use up to 3 serials port with the following name: com1, com2, dbgp.
The first is assigned to value 0 and the last 2.
Here, index 2 (ie dbgp) is used because log will output to the second UART.
But it's completely unrelated, and it was for a first draft.

I'm currently trying to clean up the code for the exynos5 in order to have
a single code base for all ARM platforms. I'll plan to modify serial
handling for ARM at that time.

> The log from xl create with -vvv option is as follows:
> xl -vvv create dom1
> Parsing config from dom1
> libxl: verbose: libxl_create.c:130:libxl__domain_build_info_setdefault:
> qemu-xen is unavailable, use qemu-xen-traditional instead: No such file
> or directory
> libxl: debug: libxl_create.c:1236:do_domain_create: ao 0x2ea28: create:
> how=(nil) callback=(nil) poller=0x2e6a8
> xc: detail: domctl operation failed -- need to rebuild the user-space
> tool set?


Which tree do you use to build the tools? You need to use
git clone --branch exynos5250-2013-03-22 git://xenbits.xen.org/people/aperard/xen-arm.git
Exynos5 port uses an old tree and it's not compatible with recent xen
due to ABI breakage. It should allow you to cross compile tools.

> libxl: error: libxl_create.c:423:libxl__domain_make: domain creation fail
> libxl: error: libxl_create.c:651:initiate_domain_create: cannot make
> domain: -3
> libxl: error: libxl.c:1377:libxl__destroy_domid: non-existant domain -1
> libxl: error: libxl.c:1341:domain_destroy_callback: unable to destroy
> guest with domid 4294967295
> libxl: error: libxl_create.c:1215:domcreate_destruction_cb: unable to
> destroy domain 4294967295 following failed creation
> libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0x2ea28:
> complete, rc=-3
> libxl: debug: libxl_create.c:1249:do_domain_create: ao 0x2ea28:
> inprogress: poller=0x2e6a8, flags=ic
> libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0x2ea28: destroy
> xc: debug: hypercall buffer: total allocations:5 total releases:5
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
> xc: debug: hypercall buffer: cache current size:2
> xc: debug: hypercall buffer: cache hits:3 misses:2 toobig:0
> 


Sincerely yours,

Julien

  reply	other threads:[~2013-04-03 13:22 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJWjLtp3yQhL1x9L=Lb6zq19Qc0dJwfjarwgd1NxFYNxXfER=g@mail.gmail.com>
2013-03-26 16:04 ` Testing xen-arm on Arndale Anthony PERARD
2013-03-26 19:29   ` Julien Grall
2013-03-27  0:40     ` Sengul Thomas
2013-03-27 10:48       ` [XenARM] " Stefano Stabellini
2013-03-27  8:23     ` Sengul Thomas
2013-03-27 11:42       ` Sengul Thomas
2013-03-27 11:57         ` Stefano Stabellini
2013-03-28 10:25           ` Sengul Thomas
2013-03-28 12:09             ` Stefano Stabellini
2013-03-29  6:57               ` Sengul Thomas
2013-03-29 12:42                 ` Julien Grall
2013-03-29 12:50                   ` Stefano Stabellini
2013-03-30  3:40                   ` Sengul Thomas
2013-04-01 14:15                     ` Julien Grall
2013-04-03  9:28                       ` See-Hwan Yoo
2013-04-03 10:52                         ` Stefano Stabellini
2013-04-03 11:57                           ` See-Hwan Yoo
2013-04-03 13:22                             ` Julien Grall [this message]
2013-04-04  2:06                               ` See-Hwan Yoo
2013-04-04 13:38                                 ` Julien Grall
2013-04-05  1:26                                   ` See-Hwan Yoo
2013-04-05 11:34                                     ` Stefano Stabellini
2013-04-05 13:34                                       ` Julien Grall
2013-04-03 13:37                             ` Stefano Stabellini
2013-04-10 11:44                               ` Ian Campbell
2013-07-16  6:33     ` [XenARM] " Giridhar Maruthy
     [not found]       ` <CAHuqX+GCwz8RhC3AxKKWzF5PKf4MWWqboHnHiqde7GfzpZ+T6w@mail.gmail.com>
2013-07-17  9:39         ` Julien Grall
2013-07-17 12:53           ` Giridhar Maruthy
2013-07-17 16:38             ` Julien Grall
2013-07-18  9:58               ` Giridhar Maruthy
2013-07-18 13:43                 ` Giridhar Maruthy
2013-07-18 13:54                   ` Julien Grall
2013-07-18 14:22                     ` Giridhar Maruthy

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=515C2D19.3030707@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=seehwan.yoo@gmail.com \
    --cc=shyoo@os.korea.ac.kr \
    --cc=thomas.sengul@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).