Xen Virtualization

Status
Not open for further replies.

nileshgr

Wise Old Owl
1Hi guys. I have installed xen and required packages. Since I got a new box (see my sig), I want to do virtualization for windows (for the sake of VB n Oracle in my 11th syllabus!). I am presently doing this with qemu.. but it turns out to be a bit slow even after allocating 600 MB of RAM and 1 VCPU. I have done virtualization for RHEL 5 and I have seen that using Xen its fast. But I think I have to boot using the Xen kernel right ?? But I have troubles in booting with it. It just initializes the hardware and then freezes. :( Also I am unable to start xend on the default kernel. I even tried kernel-PAE (but that's not required i assume coz my RAM is < 4 GB).

When I try to start xend with the xend the command in default kernel, it gives my the following error-

Code:
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
  File "/usr/sbin/xend", line 15, in <module>
    from xen.xend.server import SrvDaemon
  File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module>
    import relocate
  File "/usr/lib/python2.5/site-packages/xen/xend/server/relocate.py", line 26, in <module>
    from xen.xend import XendDomain
  File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 35, in <module>
    from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
  File "/usr/lib/python2.5/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module>
    from xen.xend import balloon, sxp, image
  File "/usr/lib/python2.5/site-packages/xen/xend/image.py", line 36, in <module>
    xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)')

Please help me!!!
 

mehulved

18 Till I Die............
Sorry, not the correct answer but if you have hardware virtualisation, I have signatures turned off so can't see your config, then have you given KVM a shot?
 
OP
nileshgr

nileshgr

Wise Old Owl
Sorry, not the correct answer but if you have hardware virtualisation, I have signatures turned off so can't see your config, then have you given KVM a shot?
my config is
Intel Dual Core 2*2 Ghz, 200 GB HDD (160 SATA+40 IDE); 1 GB RAM; LG DVD-RW; Intel 945 mobo

what do u mean by hardware virtualization ?? :?
 

mehulved

18 Till I Die............
Dual Core as in Pentium D or Core2? Core2 has hardware based virt. If unsure check
Code:
cat /proc/cpuinfo | grep -o vmx
More details :- *gentoo-wiki.com/Cpuinfo
 
OP
nileshgr

nileshgr

Wise Old Owl
Dual Core as in Pentium D or Core2? Core2 has hardware based virt. If unsure check
Code:
cat /proc/cpuinfo | grep -o vmx
More details :- *gentoo-wiki.com/Cpuinfo
Its a Dual Core.. I don't think its Pentium-D that's wat the vendor said. He said its between Pentium-D and Core2Duo. BTW, the above command gave me no output.

I tried to install KVM but the hardware accelerator option doesn't come in Virt-Manager.
 

mehulved

18 Till I Die............
I guess you got the e4xxx series or something.
Do this
Code:
grep 'model name' /proc/cpuinfo
 
OP
nileshgr

nileshgr

Wise Old Owl
I guess you got the e4xxx series or something.
Do this
Code:
grep 'model name' /proc/cpuinfo
Result:

Code:
model name	: Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz
model name	: Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz
 
Status
Not open for further replies.
Top Bottom