Donglai Zhang
2009-Jul-12 06:42 UTC
[Xen-users] domU image with "VmError: Invalid mode" information
Hi, I am trying to use domU image in my Xen system. My domU configuration file "xmdomU"is as following: kernel = "/boot/vmlinuz-2.6.18.8-xen" ramdisk = "/boot/initrd-2.6.18.8-xen.img" memory = 256 name = "ExampleDomain01" vif = [ '''' ] disk = [ ''tap:aio:/srv/xenimage/XenGuest1.img, xvda1, w'', ''tap:aio:/srv/xenimage/XenGuest1.swap,xvda2,w'' ] root = "/dev/xvda1 ro" extra = "4" extra = "xencons=tty" When I run: # xm create xmdomU Using config file "./xmdomU" Error: Invalid mode I am not quite sure what this means. Went to /var/log/xen and in xend.log got following information: [2009-07-12 16:05:26 19154] ERROR (XendDomainInfo:97) Domain construction failed Traceback (most recent call last): File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 95, in create vm.start() File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 456, in start XendTask.log_progress(31, 60, self._initDomain) File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2576, in _initDomain raise exn VmError: Invalid mode I am very appreciated if you could give some hints!! Dong _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2009-Jul-12 08:08 UTC
RE: [Xen-users] domU image with "VmError: Invalid mode" information
> Hi, > > I am trying to use domU image in my Xen system. > My domU configuration file "xmdomU"is as following: > > kernel = "/boot/vmlinuz-2.6.18.8-xen" > ramdisk = "/boot/initrd-2.6.18.8-xen.img" > memory = 256 > name = "ExampleDomain01" > vif = [ '''' ] > disk = [ ''tap:aio:/srv/xenimage/XenGuest1.img, xvda1, w'',Try getting rid of the spaces, especially between the '','' and the ''w'', so it would become: ''tap:aio:/srv/xenimage/XenGuest1.img,xvda1,w'', James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users