[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] PV Grub Questions


  • To: "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxxx>, "xen-devel mailing list" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.