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


[-- Attachment #1.1: Type: text/plain, Size: 2295 bytes --]

Hello Andrii,

>> What defconfig are you based on? Do you have a device-tree support
enabled?

I use *omap2plus_defconfig* . Yes , device tree support is there and the
dts file used is

*omap5-uevm.dts>> *But it did not get a command line to setup console on
hvc0, or the kernel crashed in earliest stages.

Is there a way to debug which one of the above two possibilities has lead
to the issue ? As I'm using the dom0 kernel image for my guest, is it still
possible that it could be a kernel crash since it has already booted up for
dom0.

Thanks and Regards,

On Wed, Nov 15, 2017 at 4:31 PM, Andrii Anisov <andrii_anisov@epam.com>
wrote:

> 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*
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 3395 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

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

  reply	other threads:[~2017-11-15 11:34 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
2017-11-15 11:34           ` Jayadev Kumaran [this message]
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='CAOG0fenL3PAnKevm=mSwVhgrPdzVqVLgtNuwYtVG1G6T68jQtA@mail.gmail.com' \
    --to=jayadevk123@gmail.com \
    --cc=andrii_anisov@epam.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).