xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrii Anisov <andrii_anisov@epam.com>
To: Jayadev Kumaran <jayadevk123@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Unable to create guest PV domain on OMAP5432
Date: Wed, 15 Nov 2017 13:01:40 +0200	[thread overview]
Message-ID: <e067c426-09f0-1e99-3951-ecd14a47bd7c@epam.com> (raw)
In-Reply-To: <CAOG0feng1v3WTr9icHnFY-Ae8PG1PqsRhEbr=p66NWYAzqU5Rw@mail.gmail.com>

Hello Jayadev,


On 15.11.17 12:46, Jayadev Kumaran wrote:
> Hello Andrii,
>
> >> What kernel do you use for DomU? Please make sure you have in that 
> kernel configuration XEN support enabled (together with hypervisor 
> console support).
>
> I use a 3.15 kernel 
> (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> <http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git>) 
> with the following configs enabled for Xen support.
> CONFIG_XEN_DOM0=y
> CONFIG_XEN=y
> CONFIG_XEN_BLKDEV_FRONTEND=y
> CONFIG_XEN_BLKDEV_BACKEND=y
> CONFIG_XEN_NETDEV_FRONTEND=y
> CONFIG_XEN_NETDEV_BACKEND=y
> CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
> CONFIG_HVC_XEN=y
> CONFIG_HVC_XEN_FRONTEND=y
> CONFIG_XEN_DEV_EVTCHN=y
> CONFIG_XEN_BACKEND=y
> CONFIG_XENFS=y
> CONFIG_XEN_COMPAT_XENFS=y
> CONFIG_XEN_SYS_HYPERVISOR=y
> CONFIG_XEN_XENBUS_FRONTEND=y
> CONFIG_XEN_GNTDEV=y
> CONFIG_XEN_GRANT_DEV_ALLOC=y
> CONFIG_XEN_PRIVCMD=y
>
> In fact, it is the same kernel as that of dom0, just to check if Xen 
> is properly configured.
What defconfig are you based on? Do you have a device-tree support enabled?

> Also, I had previously tried with a kernel image with no Xen support 
> and the results were quite similar - guest domain gets created and is 
> shown in a running state as per /'xl list' /, however /'xl console/' 
> shows nothing but hangs until I press Ctrl+5 .
Your guest is created and XEN treats it as being running, you can see 
this in `xl list`.
But it did not get a command line to setup console on hvc0, or the 
kernel crashed in earliest stages.


-- 

*Andrii Anisov*



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

  reply	other threads:[~2017-11-15 11:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-08  5:17 Unable to create guest PV domain on OMAP5432 Jayadev Kumaran
2017-11-08 14:52 ` Konrad Rzeszutek Wilk
2017-11-09  6:39   ` Jayadev Kumaran
2017-11-09  6:43     ` Jayadev Kumaran
2017-11-17 18:54   ` Julien Grall
2017-11-09 14:52 ` Andrii Anisov
2017-11-15  6:08   ` Jayadev Kumaran
2017-11-15 10:15     ` Andrii Anisov
2017-11-15 10:46       ` Jayadev Kumaran
2017-11-15 11:01         ` Andrii Anisov [this message]
2017-11-15 11:34           ` Jayadev Kumaran
2017-11-17 11:53             ` Andrii Anisov
2017-11-17 12:15               ` Volodymyr Babchuk
2017-11-17 19:00                 ` Julien Grall
2017-11-17 19:11             ` 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=e067c426-09f0-1e99-3951-ecd14a47bd7c@epam.com \
    --to=andrii_anisov@epam.com \
    --cc=jayadevk123@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).