All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Peng Fan <van.freenix@gmail.com>, Ian Campbell <ian.campbell@citrix.com>
Cc: xen-users <xen-users@lists.xen.org>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Dom0 kernel panic when porting xen to new arm soc
Date: Fri, 26 Jun 2015 18:27:50 +0200	[thread overview]
Message-ID: <558D7D86.3000202@citrix.com> (raw)
In-Reply-To: <558C0B89.7070809@gmail.com>



On 25/06/2015 16:09, Peng Fan wrote:
> Hi Julien,

Hi,

> On 6/23/2015 9:56 PM, Peng Fan wrote:
>> Hi,
>>
>> On 6/23/2015 9:36 PM, Julien Grall wrote:
>>> Hi,
>>>
>>> On 23/06/15 14:03, Peng Fan wrote:
>>>> I did not enable LPAE for DOM0 kernel, use shor page table.
>>>> Following is the full log from uboot to kernel with DOM0 512M:
>>>
>>> Which CONFIG_VMSPLIT_* do you use? Can you try to use another one? I
>>> remembered it had some effect on the offset between physical and virtual
>>> address.
>>   CONFIG_VMSPLIT_2G=y
>>
>> CONFIG_PAGE_OFFSET=0x80000000
>>
>> ok. Will try 3G:1G split.
> Later I'll reply with log info about this(Do not have log at hand).
> Still panic, maybe something wrong with gnutab configration in my side,
> I use default gnutab address/size.

Did you check that the gnttab doesn't overlap a device/RAM region of 
your hardware?

I've posted a patch a week ago to find automatically a region for the 
grant table [1] in DOM0 memory. It will avoid you to go through the 
datasheet.

> Current I met a DomU boot issue, if do not use blk backend, DomU can
> boot with ramfs as rootfs. If use an image file as rootfs, DomU can not
> boot.
>
> I am not sure why this happends:"
> libxl: error: libxl_create.c:1195:domcreate_launch_dm: unable to add
> disk devices
> libxl: error: libxl_device.c:799:libxl__initiate_device_remove: unable
> to get my domid
> "
> By using gdb, I found domcreate_launch_dm fails to get domid, then it
> reports unable to add disk devices. I am not familiar with xenstore and
> etc. Did I miss some configuation?

The "unable to get my domid" looks like an issue with xenstore. Is 
xenstored running?

Also, did you built you DOM0 kernel with CONFIG_XEN_BLKDEV_BACKEND?

Regards,

[1] http://lists.xen.org/archives/html/xen-devel/2015-06/msg02831.html

-- 
Julien Grall

      reply	other threads:[~2015-06-26 16:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 14:09 Dom0 kernel panic when porting xen to new arm soc Peng Fan
2015-06-18 14:24 ` Julien Grall
2015-06-18 14:54 ` Ian Campbell
2015-06-19 13:22   ` Peng Fan
2015-06-20 10:19     ` Julien Grall
2015-06-20 14:08       ` Peng Fan
2015-06-20 14:47         ` Peng Fan
2015-06-22 10:20           ` Julien Grall
2015-06-22 11:17             ` Peng Fan
2015-06-22 14:02               ` Julien Grall
2015-06-23 13:03                 ` Peng Fan
2015-06-23 13:36                   ` Julien Grall
2015-06-23 13:56                     ` Peng Fan
2015-06-25 14:09                       ` Peng Fan
2015-06-26 16:27                         ` Julien Grall [this message]

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=558D7D86.3000202@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=van.freenix@gmail.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xen-users@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 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.