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>, "Todd Deshane" <deshantm@xxxxxxxxx>, "xen-devel mailing list" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV Grub Questions
From: "Marco Sinhoreli" <msinhore@xxxxxxxxx>
Date: Wed, 3 Sep 2008 09:18:02 -0300
Cc:
Delivery-date: Wed, 03 Sep 2008 05:18:25 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=b11YE3S6HbUsEiLGz81JwmOR/cLewbHH/TpibAv9QfM=; b=UR6/LHCoorSN45eRHK0W8pbM3j4jYfM7mZbj4Ukcn3FdyQFjIIpDH3GPibxd+zoZSq A7r3R6UwgbBRvxH9D93pDCijjpTS8RRhmPhjFUr+snXewAqu5kRF/q3NgfEwCWHnOisq u3LheHxQMzQEcUK546yk7j6WKpjqemAINQLVA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HzMWbHqizzm5hP1wSd69SegWa6MUFtkoczxaESZBEOiNv48AUWRObhPP/Tl5MpZ48d A6KOroyNkww599PzGU0t7h9NiXQ3Q402HddElj1wkMd5SGW2N2Pi8OgwoYGzrm4y+7gF zAujnUnGxHY+cPAqnO10KrifLzN4KqsFbHnnE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080828173312.GF4523@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: <20080827153342.GX4535@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080827230502.GB4516@implementation> <1e16a9ed0808271748r18452b1fvebfb4d8f74d499dc@xxxxxxxxxxxxxx> <20080828085757.GC4523@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0808280634m3cbc52d9w5b408be5a8a829bd@xxxxxxxxxxxxxx> <20080828134842.GS4523@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0808281017y3cbee03ei5bfee912b59efaf9@xxxxxxxxxxxxxx> <20080828172517.GC4523@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0808281031p6c48151l90e9c8155ab0c2c9@xxxxxxxxxxxxxx> <20080828173312.GF4523@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Samuel, xen devels,

After apply the Samuel's patch in tools/libxc/xc_minios.c, I continue
having the same problem after boot the kenrel: "Page fault in
pagetable walk (access to invalid memory?)."

More informations:

# xm create -c pvmtest
Using config file "./pvmtest".
Started domain pvmtest
                      Xen Minimal OS!
start_info:   0xa8f000
  nr_pages:   131072  shared_inf: bfcd6000
  pt_base:    0xa92000  mod_start:  0x0
  mod_len:    0
  flags:      0x0
  cmd_line:   (hd0,0)/boot/grub/menu.lst
  stack:      0x94e860-0x96e860
MM: Init
  _text:        0x0
  _etext:       0x5dfe7
  _erodata:     0x75000
  _edata:       0x7f3e0
  stack start:  0x94e860
  _end:         0x98ee48
  start_pfn:    a9e
  max_pfn:      20000
Mapping memory range 0xc00000 - 0x20000000
setting 0x0-0x75000 readonly
skipped 0x1000
MM: Initialise page allocator for b98000(b98000)-20000000(20000000)
MM: done
Demand map pfns at 20001000-2020001000.
Heap resides at 2020002000-4020002000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x20001000.
Initialising scheduler
Thread "Idle": pointer: 0x2020002010, stack: 0xcb0000
Initialising xenbus
Thread "xenstore": pointer: 0x20200027c0, stack: 0xcc0000
Dummy main: start_info=0x96e960
Thread "main": pointer: 0x2020002f70, stack: 0xcd0000
"main" "(hd0,0)/boot/grub/menu.lst"
vbd 768 is hd0
******************* BLKFRONT for device/vbd/768 **********


backend at /local/domain/0/backend/vbd/107/768
Failed to read /local/domain/0/backend/vbd/107/768/feature-flush-cache.
20971520 sectors of 512 bytes
**************************


## menu.lst

title           Debian GNU/Linux, kernel 2.6.18.8-xen
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro quiet
initrd          /boot/initrd.img-2.6.18.8-xen



# sed '/^#/d;/^$/d' pvmtest.cfg
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd0,0)/boot/grub/menu.lst"
memory = 512
name = "pvmtest"
vcpus = 1
vif = [ 'bridge=eth0' ]
disk = [ 'phy:empirevg/lenny.pvm,hda,w' ]
vfb = [ 'type=vnc' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'



Best regards,

-- 
Marco Sinhoreli

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

<Prev in Thread] Current Thread [Next in Thread>