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

[Xen-users] HVM with stub domains fails at startup: ERROR Internal error: Could not open grant table interface (22 = Invalid argument)



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


 


Rackspace

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