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-users

[Xen-users] HVM with stub domains fails at startup: ERROR Internal error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] HVM with stub domains fails at startup: ERROR Internal error: Could not open grant table interface (22 = Invalid argument)
From: Martin Tröster <TroyMcClure@xxxxxx>
Date: Fri, 02 Oct 2009 17:20:39 +0200
Delivery-date: Fri, 02 Oct 2009 08:21:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: http://freemail.web.de/
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I tried to use stub domains for some performance testing with this interesting 
environment. Unfortunately, I did not find so much information so far, so I am 
not too surprised not having success here ;-) Anyway, some hints on what is 
going on may be helpful. I got a very brief description from a German IT mag, 
which I tried to follow, but I only got limited success:

My Environment:
Host: CentOS 5.3 64bit with Xen 3.4.1 RPMs from gitco
Domain: 32 bit DomU (SuSE based)

Config for DomU (named hvm_stub.conf):
name = "hvm_stub"
device_model = '/usr/lib/xen/bin/stubdom-dm'
builder = "hvm"
kernel =  "/usr/lib/xen/boot/hvmloader"
memory = "1024"
disk =  [ 'tap:aio:/test/test.raw,ioemu:xvda,w' ]
vif = [ 
'type=ioemu,mac=02:00:00:00:00:01','type=ioemu,bridge=eth0,mac=02:00:00:00:01:86'
 ]
sdl = 0
vnc = 1
vncviewer = 0

Config for HVM Stubdom (named hvm_stubdom-dm.conf):
kernel =  "/usr/lib/xen/boot/ioemu-stubdom.gz"
disk =  [ 'tap:aio:/test/testraw,ioemu:xvda,w' ]
vif = [ 
'type=ioemu,mac=02:00:00:00:00:01','type=ioemu,bridge=eth0,mac=02:00:00:00:01:86'
 ]

Procedure:
1. start fs-backend in the background (as user root)
/usr/sbin/fs-backend
2. start VM with xm create -c hvm_stub.conf
3. error logs on command line, both DomUs are listed by xm, but stay with 0 CPU 
time

Error (output from cmd line, no error at all in qemu- or xend logs):
Started domain hvm_stub (id=12)          
Path changed backend/vfs/exports/requests/13/0/frontend
Handling connection from dom=13, for export=0                           
Frontend found at: /local/domain/13/device/vfs/0 (gref=2047, evtchn=4)  
ERROR Internal error: Could not open grant table interface (22 = Invalid 
argument)
ERROR: Couldn't open gnttab!                                                    
  
Awaiting next connection.                                                       
  
Path changed backend/vfs/exports/requests/13/0/frontend 

Hints:
1. I thought I would have to use a 64bit stubdom device model 
(/usr/lib64/xen/bin/stubdom-dm instead of /usr/lib/xen/bin/stubdom-dm), but 
that does not exist. Might this be a problem?
2. is 64/32bit mixing allowed in this config?

Any help is appreciated, thanks in advance!

Regards,
Martin
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/


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