[CentOS-virt] Using the parallel port from domU
Manuel Wolfshant
wolfy at nobugconsulting.ro
Tue Feb 3 09:33:14 UTC 2009
Just for the record: due to lack of time (I am really really under
pressure and I do not have the time to compile the xen version from 5.3
), I have switched to a custom built xen-3.3.0 and it works as it should.
Manuel
Manuel Wolfshant wrote:
> Hello
>
> I use xen and I am trying to use the parallel port of Centos 5.2
> host from a Windows XP (HVM) guest. I have tried to transfer control
> of the port by blacklisting lp, parport and parport_pc + adding:
> ioports = [ "0378-037a" ]
> to the xen configuration file.
>
> However, in the presence of this line, xm create replies with:
>
> Error: function takes exactly 4 arguments (3 given)
>
> In xend.log I see:
> [2009-02-02 15:36:34 xend.XendDomainInfo 6246] DEBUG
> (XendDomainInfo:1603) XendDomainInfo.destroy: domid=13
> [2009-02-02 15:36:34 xend 6246] ERROR (xmlrpclib2:184) function takes
> exactly 4 arguments (3 given)
> Traceback (most recent call last):
> File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py",
> line 162, in _marshaled_dispatch
> response = self._dispatch(method, params)
> File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in
> _dispatch
> return func(*params)
> File
> "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py",
> line 64, in domain_create
> info = XendDomain.instance().domain_create(config)
> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py",
> line 238, in domain_create
> dominfo = XendDomainInfo.create(config)
> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 205, in create
> vm.initDomain()
> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 1507, in initDomain
> self.createDevices()
> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 1716, in createDevices
> self.createDevice(n, c)
> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 1189, in createDevice
> return self.getDeviceController(deviceClass).createDevice(devconfig)
> File
> "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
> line 80, in createDevice
> (devid, back, front) = self.getDeviceDetails(config)
> File "/usr/lib64/python2.4/site-packages/xen/xend/server/iopif.py",
> line 78, in getDeviceDetails
> allow_access = True)
> TypeError: function takes exactly 4 arguments (3 given)
>
>
> Except of a bug from 2007 and which should be fixed for a long time
> (and which is only PARTIALLY included in xen as available in 5.2), I
> have not found anything. I did apply the unapplied part of
> http://bugs.centos.org/file_download.php?file_id=474&type=bug but
> there is no change.
>
> Any ideas ?
> TIA
>
> manuel
>
--
Manuel Wolfshant linux registered user #131416
IT manager NoBug Consulting SRL
A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?
More information about the CentOS-virt
mailing list