All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksandr <olekstysh@gmail.com>
To: Amit Tomer <amittomer25@gmail.com>
Cc: xen-devel@lists.xenproject.org
Subject: Re: XEN on R-CAR H3
Date: Sat, 9 Feb 2019 18:48:09 +0200	[thread overview]
Message-ID: <62049eee-60e5-a770-908a-43b1014f3fea@gmail.com> (raw)
In-Reply-To: <CABHD4K9_G__3-u3ma-WGTeiB+DhBW+w4LGLPQJ0JKEDf56_MYw@mail.gmail.com>


On 08.02.19 20:21, Amit Tomer wrote:
> Hi,

Hi

>> Would try changes mentioned by you.
> We managed to boot XEN with dom0 kernel on H3.

That's great.

> But we see following , when we try to domU guest:
>
> # xl create -c config.xl
> Parsing config from config.xl
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> /etc/xen/scripts/block add [2417] exited with error status 1
> libxl: error: libxl_device.c:1286:device_hotplug_child_death_cb:
> script: File /home/amit_new/guest_domU/rootfs.img is read-only, and so
> I willt
> mount it read-write in a guest domain.
> libxl: error: libxl_create.c:1318:domcreate_launch_dm: Domain 1:unable
> to add disk devices
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> /etc/xen/scripts/block remove [2461] exited with error status 1
> libxl: error: libxl_device.c:1286:device_hotplug_child_death_cb:
> script: /etc/xen/scripts/block failed; error detected.
> (XEN) mm.c:1401:d0v0 gnttab_mark_dirty not implemented yet
> libxl: error: libxl_domain.c:1038:libxl__destroy_domid: Domain
> 1:Non-existant domain
> libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain
> 1:Unable to destroy guest
> libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain
> 1:Destruction of domain failed
>
> where #cat config.xl
> name = "guest-1"
> kernel = "Image"
> extra = "root=/dev/xvda rw xencons=tty console=hvc0"
> memory = 256
> vcpus = 1
> disk = [ 'rootfs.img,raw,xvda,rw' ]
>
> Any idea what is going wrong here ?

Looks like, something incorrect with you block device settings.

Maybe, enabling verbose output will provide more informative output:

xl -v -v -v create -c config.xl


I assume, your have the following option enabled in your Linux defconfig:

CONFIG_XEN_BLKDEV_BACKEND=y


Personally I have never tried to run guest domain with such disk option:

disk = [ 'rootfs.img,raw,xvda,rw' ]

So, can't say anything about it.


Do you have any storage device in your Dom0 (SD, eMMC, etc)? If yes, you 
can put rootfs for your guest domain on it.

And then add the following to guest config file, taking care of changing 
it according to actual partitions:

disk = [ 'phy:/dev/sda1,xvda1' ]

or

disk = [ 'phy:/dev/mmcblk1p1,xvda1' ]

This everything works for me.


>
> -Thanks,
> Amit

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-02-09 16:48 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06 14:41 XEN on R-CAR H3 Amit Tomer
2019-02-06 15:03 ` Oleksandr
2019-02-06 15:18   ` Amit Tomer
2019-02-08 18:21     ` Amit Tomer
2019-02-09 16:48       ` Oleksandr [this message]
2019-02-15 14:17         ` Amit Tomer
2019-02-15 19:51           ` Oleksandr
2019-02-18 12:53             ` Amit Tomer
2019-02-18 20:00               ` Oleksandr
2019-02-19 16:46                 ` Amit Tomer
2019-02-20 18:13                   ` Oleksandr
2019-02-20 18:31                     ` Amit Tomer
2019-02-20 20:13                   ` Julien Grall
2019-02-20 21:28                     ` Oleksandr Tyshchenko
2019-02-21 10:11                       ` Julien Grall
2019-02-21 19:28                         ` Oleksandr
2019-02-25 14:43                           ` Oleksandr
2019-02-25 23:23                             ` Julien Grall
2019-02-26 18:09                               ` Oleksandr
2019-02-21 18:20                       ` Amit Tomer
2019-02-21 18:44                         ` Oleksandr
2019-02-22 19:15                           ` Oleksandr
2019-02-22 20:08                             ` Amit Tomer
2019-02-23 13:05                               ` Amit Tomer
2019-02-25 13:12                                 ` Oleksandr
2019-02-27 20:03                                   ` Oleksandr
2019-03-05 16:50                                     ` Amit Tomer
2019-03-05 18:07                                       ` Oleksandr
2019-03-05 18:10                                         ` Amit Tomer
2019-03-05 19:40                                           ` Oleksandr
2019-03-13 12:41                                             ` Amit Tomer
2019-03-15 18:50                                               ` Oleksandr
2019-02-21 18:15                     ` Amit Tomer
2019-02-27 11:00                       ` Julien Grall

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=62049eee-60e5-a770-908a-43b1014f3fea@gmail.com \
    --to=olekstysh@gmail.com \
    --cc=amittomer25@gmail.com \
    --cc=xen-devel@lists.xenproject.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 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.