WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] PV Grub Questions

To: "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxxx>, "xen-devel mailing list" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV Grub Questions
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Wed, 27 Aug 2008 15:33:40 -0400
Cc:
Delivery-date: Wed, 27 Aug 2008 12:34:03 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kjT/99QLEH0JIzAVxD7/3mIcX8mZNQoUJZv2y6s5Y6Y=; b=b4AO+Up5jicWo6WYWvZJzkveDSi4H+JJPUo5MSomjj3FOc8nOl3gAgDRtmVlpo/gGP nV4DHNHDhDKqoe8Xu49WfSauHhireHncEbbIJ4d1ip9lwj5n2wP4NkHDiSIOpUm+FoML PZxr+rNmi29XWlPf9U/Kcj/Qq4OnzjgVI6lcI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ltUcT3H/2KbkpFUqmKKxFz10F0baBJrqfwTfLNoYXrfjvQhJaLuxpuN2tbx8KXEKvt a7FEVpFrB1zPuC2muJnu8UZUGRpka6NZyPi7Y3nGbcYUfpAH4dnM62ku9UuqPPmOyd+e Qlf/qDpaP76VojtxpG1l2MS4U8W8gvx3wtluk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080827153342.GX4535@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1e16a9ed0808261257p763cb14uc6a3b28513cf94d2@xxxxxxxxxxxxxx> <20080827153342.GX4535@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

On Wed, Aug 27, 2008 at 11:33 AM, Samuel Thibault
<samuel.thibault@xxxxxxxxxxxxx> wrote:
> Hello,
>
> Todd Deshane, le Tue 26 Aug 2008 15:57:50 -0400, a écrit :
>> kernel (hd0,1)/boot/vmlinuz-2.6.18.8-xen
>> initrd (hd0,1)/boot/initrd.img-2.6.18.8-xen
>> boot
>>
>> In this case, I get
>> Page fault in pagetable walk (access to invalid memory?).
>
> It looks like a stack overflow, possibly because initrd.img is a bit big
> (6MB), I'm looking in the zlib code to see where that could come from.
> In the meanwhile, you can try to increase __STACK_SIZE_PAGE_ORDER to 5
> in extras/mini-os/include/x86/arch_limits.h, that works for me.
>

I made the change in the file above as:

#define __STACK_SIZE_PAGE_ORDER  5

Now I get:
grubdom> kernel (hd0,1)/boot/vmlinuz-2.6.18.8-xen
grubdom> initrd (hd0,1)/boot/initrd.img-2.6.18.8-xen

grubdom> boot
Cannot handle page request order 0!
Page fault at linear address 0x0, rip 0x4f730, regs 0xa9fd08, sp
0xa9fdb0, our_sp 0xa9fcd0, code 2
Thread: main
RIP: e030:[<000000000004f730>]
RSP: e02b:0000000000a9fdb0  EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000200685bcd8 RCX: 0000000000000020
RDX: 0000000000001000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000a9fde8 R08: 0101010101010101 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000000003f R12: 000000000010e79d
R13: 000000000000d368 R14: 0000000000001a6d R15: 0000002006803d80
base is 0xa9fde8 caller is 0x187ca
base is 0xa9fe58 caller is 0x3c63
base is 0xa9fe68 caller is 0x8e65
base is 0xa9fe88 caller is 0xaa9f
base is 0xa9feb8 caller is 0x10bd3
base is 0xa9ff58 caller is 0x4129
base is 0xa9ff68 caller is 0x425ad
base is 0xa9ffe8 caller is 0x33da

a9fda0: b0 fd a9 00 00 00 00 00 2b e0 00 00 00 00 00 00
a9fdb0: 95 84 01 00 00 00 00 00 00 1c 00 00 00 00 00 00
a9fdc0: 80 3d 80 06 20 00 00 00 60 3d 00 04 20 00 00 00
a9fdd0: 20 d3 72 00 00 00 00 00 70 3d 80 04 20 00 00 00

a9fdd0: 20 d3 72 00 00 00 00 00 70 3d 80 04 20 00 00 00
a9fde0: 00 18 34 01 00 00 00 00 58 fe a9 00 00 00 00 00
a9fdf0: ca 87 01 00 00 00 00 00 0d 00 00 00 4e 00 00 00
a9fe00: 09 00 00 00 00 00 00 00 c8 03 00 00 00 00 00 00

4f720: 48 81 fa 00 01 00 00 72 78 48 c1 e9 07 0f 1f 00
4f730: 48 0f c3 07 48 0f c3 47 08 48 0f c3 47 10 48 0f
4f740: c3 47 18 48 0f c3 47 20 48 0f c3 47 28 48 0f c3
4f750: 47 30 48 0f c3 47 38 48 0f c3 47 40 48 0f c3 47
Pagetable walk from virt 0, base 9f0000:
 L4 = 00000001113b7067 (0x9f1000)  [offset = 0]
  L3 = 00000001113b6067 (0x9f2000)  [offset = 0]
   L2 = 0000000102cb9067 (0x9f3000)  [offset = 0]
    L1 = 0000000000000000 [offset = 0]

Again, I get bumped from the guest and xm console back
in brings me to a grubdom prompt.

Any ideas?

Cheers,
Todd


-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel