Hi, i tried to give a domain acces to the parallel port. Here is what i have done: Domain-0 # cat /proc/ioports [...] 0378-037a : parport0 0778-077a : parport0 [...] Domain-0 # cat /proc/interrupts [...] 7: 0 0 Phys-irq parport0 [...] Domain-0 # vi /etc/xen/vm/xendom1 [...] ioports = [ "0378-037a", "0778-077a" ] irq = [ 7 ] [...] Domain-0 # xm create xendom1 Using config file "/etc/xen/vm/xendom1". Error: function takes exactly 3 arguments (2 given) Is this a (known?) bug or am i doing something stupid? Greetings, -timo -- Timo Benk - Jabber ID: timo@jabber.de - ICQ ID: #153604896 PGP Public Key: http://www.m64s19.vlinux.de/timo_benk_gpg_key.asc _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Jun-28 19:22 UTC
Re: [Xen-devel] irq and ioports not working in 3.0.4-1 ?
Is there a backtrace in /var/log/xen/xend.log? K. On 28/6/07 20:18, "Timo Benk" <timo.benk@gmx.de> wrote:> Hi, > > i tried to give a domain acces to the parallel port. Here is what i have > done: > > Domain-0 # cat /proc/ioports > [...] > 0378-037a : parport0 > 0778-077a : parport0 > [...] > > Domain-0 # cat /proc/interrupts > [...] > 7: 0 0 Phys-irq parport0 > [...] > > Domain-0 # vi /etc/xen/vm/xendom1 > [...] > ioports = [ "0378-037a", "0778-077a" ] > irq = [ 7 ] > [...] > > Domain-0 # xm create xendom1 > Using config file "/etc/xen/vm/xendom1". > Error: function takes exactly 3 arguments (2 given) > > > Is this a (known?) bug or am i doing something stupid? > > Greetings, > -timo_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser wrote:> Is there a backtrace in /var/log/xen/xend.log?Yepp, xend.log is attached.> On 28/6/07 20:18, "Timo Benk" <timo.benk@gmx.de> wrote: > >> Hi, >> >> i tried to give a domain acces to the parallel port. Here is what i have >> done: >> >> Domain-0 # cat /proc/ioports >> [...] >> 0378-037a : parport0 >> 0778-077a : parport0 >> [...] >> >> Domain-0 # cat /proc/interrupts >> [...] >> 7: 0 0 Phys-irq parport0 >> [...] >> >> Domain-0 # vi /etc/xen/vm/xendom1 >> [...] >> ioports = [ "0378-037a", "0778-077a" ] >> irq = [ 7 ] >> [...] >> >> Domain-0 # xm create xendom1 >> Using config file "/etc/xen/vm/xendom1". >> Error: function takes exactly 3 arguments (2 given) >> >> >> Is this a (known?) bug or am i doing something stupid? >> >> Greetings, >> -timo > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >-- Timo Benk - Jabber ID: timo@jabber.de - ICQ ID: #153604896 PGP Public Key: http://www.m64s19.vlinux.de/timo_benk_gpg_key.asc _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Jun-28 19:36 UTC
Re: [Xen-devel] irq and ioports not working in 3.0.4-1 ?
Now fixed in the staging tree. Line 64 of tools/python/xen/xend/server/irqif.py should be ''domid = ...'' rather than ''dom = ...''. -- Keir On 28/6/07 20:27, "Timo Benk" <timo.benk@gmx.de> wrote:> Keir Fraser wrote: >> Is there a backtrace in /var/log/xen/xend.log? > Yepp, xend.log is attached. > > >> On 28/6/07 20:18, "Timo Benk" <timo.benk@gmx.de> wrote: >> >>> Hi, >>> >>> i tried to give a domain acces to the parallel port. Here is what i have >>> done: >>> >>> Domain-0 # cat /proc/ioports >>> [...] >>> 0378-037a : parport0 >>> 0778-077a : parport0 >>> [...] >>> >>> Domain-0 # cat /proc/interrupts >>> [...] >>> 7: 0 0 Phys-irq parport0 >>> [...] >>> >>> Domain-0 # vi /etc/xen/vm/xendom1 >>> [...] >>> ioports = [ "0378-037a", "0778-077a" ] >>> irq = [ 7 ] >>> [...] >>> >>> Domain-0 # xm create xendom1 >>> Using config file "/etc/xen/vm/xendom1". >>> Error: function takes exactly 3 arguments (2 given) >>> >>> >>> Is this a (known?) bug or am i doing something stupid? >>> >>> Greetings, >>> -timo >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel