From: Julien Grall <julien.grall@arm.com>
To: Meng Xu <mengxu@seas.upenn.edu>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Ian Campbell <ijc@hellion.org.uk>
Cc: Dushyant K Behl <dushyantbehl@in.ibm.com>,
Stefano Stabellini <sstabellini@kernel.org>
Subject: Re: Question about running Xen on NVIDIA Jetson-TK1
Date: Mon, 16 May 2016 12:33:22 +0100 [thread overview]
Message-ID: <5739B002.1080403@arm.com> (raw)
In-Reply-To: <CAENZ-+nMo9+3bC30fHsBrX6T65OuCyVon-iHzRaYNpJbX4yMAw@mail.gmail.com>
On 15/05/16 20:35, Meng Xu wrote:
> Hi Julien and Ian,
Hello Meng,
>
> I'm trying to run Xen on NVIDIA Jetson TK1 board. (Right now, Xen does
> not support the Jetson board officially. But I'm thinking it may be
> very interesting and useful to see it happens, since it has GPU inside
> which is quite popular in automotive.)
>
> Now I encountered some problem to boot dom0 in Xen environment. I want
> to debug the issues and maybe fix the issues, but I'm not so sure how
> I should debug the issue more efficiently. I really appreciate it if
> you advise me a little bit about the method of how to fix the issue.
> :-)
>
> ---Below is the details----
>
> I noticed the Dushyant from IBM also tried to run Xen on the Jetson
> board. (http://www.gossamer-threads.com/lists/xen/devel/422519). I
> used the same Linux kernel (Jan Kiszka's development tree -
> http://git.kiszka.org/linux.git/, branch queues/assorted) and Ian's
> Xen repo. with the hack for Jetson board. I can see the dom0 kernel
> can boot to some extend and then "stall/spin" before the dom0 kernel
> fully boot up.
>
> In order to figure out the possible issue, I boot the exact same Linux
> kernel in native environment on one CPU and collected the boot log
> information in [1]. I also boot the same Linux kernel as dom0 in Xen
> environment and collected the boot log information in [2].
>
> In Xen environment, dom0 hangs after the following message
> [ 10.541010] NET: Registered protocol family 10
> 6mip6: Mobile IPv6
> [ 10.542510] mi
>
> In native environment, the kernel has the following log after initializing NET.
> [ 2.934693] NET: Registered protocol family 10
> [ 2.940611] mip6: Mobile IPv6
> [ 2.943645] sit: IPv6 over IPv4 tunneling driver
> [ 2.951303] NET: Registered protocol family 17
> [ 2.955800] NET: Registered protocol family 15
> [ 2.960257] can: controller area network core (rev 20120528 abi 9)
> [ 2.966617] NET: Registered protocol family 29
> [ 2.971098] can: raw protocol (rev 20120528)
> [ 2.975384] can: broadcast manager protocol (rev 20120528 t)
> [ 2.981088] can: netlink gateway (rev 20130117) max_hops=1
> [ 2.986734] Bluetooth: RFCOMM socket layer initialized
> [ 2.991979] Bluetooth: RFCOMM ver 1.11
> [ 2.995757] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> [ 3.001109] Bluetooth: BNEP socket layer initialized
> [ 3.006089] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
> [ 3.012052] Bluetooth: HIDP socket layer initialized
> [ 3.017894] Registering SWP/SWPB emulation handler
> [ 3.029675] tegra-pcie 1003000.pcie-controller: 2x1, 1x1 configuration
> [ 3.036586] +3.3V_SYS: supplied by +VDD_MUX
> [ 3.040857] +3.3V_LP0: supplied by +3.3V_SYS
> [ 3.045509] +1.35V_LP0(sd2): supplied by +5V_SYS
> [ 3.050201] +1.05V_RUN_AVDD: supplied by +1.35V_LP0(sd2)
> [ 3.057131] tegra-pcie 1003000.pcie-controller: probing port 0, using 2 lanes
> [ 3.066479] tegra-pcie 1003000.pcie-controller: Slot present pin
> change, signature: 00000008
>
> I'm suspecting that my dom0 kernel hangs when it tries to initialize
> "can: controller area network core ". However, from Dushyant's post at
> http://www.gossamer-threads.com/lists/xen/devel/422519, it seems
> Dushyant's dom0 kernel hangs when it tries to initialize pci_bus. (The
> linux config I used may be different form Dushyant's. That could be
> the reason.)
>
> Right now, the system just hangs and has no output indicating what the
> problem could be. Although there are a lot of error message before the
> system hangs, I'm not that sure if I should start with solving all of
> those error messages. Maybe some errors can be ignored?
>
> My questions are:
> 1) Do you have suggestion on how to see more information about the
> reason why the dom0 hangs?
Have you tried to dump the registers using Xen console (CTLR-x 3 times
then 0) and see where it get stucks?
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-05-16 11:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 19:35 Question about running Xen on NVIDIA Jetson-TK1 Meng Xu
2016-05-16 11:33 ` Julien Grall [this message]
2016-05-16 16:33 ` Meng Xu
2016-05-16 17:26 ` Konrad Rzeszutek Wilk
2016-05-16 17:30 ` Julien Grall
2016-05-16 17:33 ` Julien Grall
2016-05-16 19:39 ` Meng Xu
2016-05-16 23:27 ` Kyle Temkin
2016-05-17 3:27 ` Meng Xu
2016-05-17 13:37 ` Konrad Rzeszutek Wilk
2016-05-17 16:31 ` Chris Patterson
2016-05-17 18:47 ` Konrad Rzeszutek Wilk
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=5739B002.1080403@arm.com \
--to=julien.grall@arm.com \
--cc=dushyantbehl@in.ibm.com \
--cc=ijc@hellion.org.uk \
--cc=mengxu@seas.upenn.edu \
--cc=sstabellini@kernel.org \
--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.