i''m still having trouble connecting to consoles, the error i get from xend is something like: xen1:~# telnet localhost 9601 Trying 127.0.0.1... Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 160, in _doReadOrWrite why = selectable.doRead() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 635, in doRead protocol.makeConnection(transport) File "/usr/lib/python2.3/site-packages/twisted/internet/protocol.py", line 310, in makeConnection self.connectionMade() File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 32, in connectionMade self.addr = (peer.host, peer.port) exceptions.AttributeError: ''tuple'' object has no attribute ''host'' i''m running debian sarge with python 2.3 and twisted 1.2.0-1.1 (debian package version) Could that be the cause of the problems? from the looks of it i can probably fix it myself but i''d rather fix twisted if that is what''s broken. thanks james
okay cancel that. I just installed 1.3.0 from debian testing and it appears to work fine. *yay* James From: James Harper Sent: Mon 28/06/2004 5:11 PM To: xen-devel@lists.sourceforge.net Subject: [Xen-devel] twisted consoles i''m still having trouble connecting to consoles, the error i get from xend is something like: xen1:~# telnet localhost 9601 Trying 127.0.0.1... Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 160, in _doReadOrWrite why = selectable.doRead() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 635, in doRead protocol.makeConnection(transport) File "/usr/lib/python2.3/site-packages/twisted/internet/protocol.py", line 310, in makeConnection self.connectionMade() File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 32, in connectionMade self.addr = (peer.host, peer.port) exceptions.AttributeError: ''tuple'' object has no attribute ''host'' i''m running debian sarge with python 2.3 and twisted 1.2.0-1.1 (debian package version) Could that be the cause of the problems? from the looks of it i can probably fix it myself but i''d rather fix twisted if that is what''s broken. thanks james
Xiaofang Chen
2004-Jun-28 08:39 UTC
[Xen-devel] Interrupt handler for ''__HYPERVISOR_event_channel_op''?
Hi, all I am interested in how the guest OS''s network works. For example, in the receiving side, when ''HYPERVISOR_event_channel_op()'' is called in /include/asm-xen/hypervisor.h, __asm__ __volatile__( TRAP_INSTR : "=a" (ret) : "0" (__HYPERVISOR_event_channel_op), "b" (op) : "memory" ); What is the corresponding interrupt handler for __HYPERVISOR_event_channel_op (21)? I searched, but with no result. Thanks. Xiaofang ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2004-Jun-28 09:36 UTC
Re: [Xen-devel] Interrupt handler for ''__HYPERVISOR_event_channel_op''?
HYPERVISOR_event_channel_op() wraps a hypercall into Xen. The table of hypercall handlers is at the end of xen/arch/x86/entry.S -- there you will see that entry 21 is function do_event_channel_op. -- Keir> Hi, all > > I am interested in how the guest OS''s network works. > For example, in the receiving side, when ''HYPERVISOR_event_channel_op()'' > is called in /include/asm-xen/hypervisor.h, > __asm__ __volatile__( > TRAP_INSTR > : "=a" (ret) : "0" (__HYPERVISOR_event_channel_op), > "b" (op) : "memory" > ); > > What is the corresponding interrupt handler for > __HYPERVISOR_event_channel_op (21)? I searched, but with no result. > > Thanks. > Xiaofang > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
James, Did you pull from the terrabox.com/debian sources.list entry? I just searched pacckages.debian.org and did not find a reference to version 1.3 in there yet. I did the original forward upgrade from Adam''s 1.2 package to 1.3. It''s still a VERY rough package (both 1.3 and 1.2) due to being a moving target and would love some feedback on it. Once the developers say they have a fixed target on the utility names and such I will be updating the TerraBox.com packages to the first working target I get to compile and run. :) What install tasks are missing that you would like to see in it? I''m debating creating any packages of third party modules like iSCSI and whatnot. Brian Wolfe On Mon, 28 Jun 2004 17:20:05 +1000 James Harper <JamesH@bendigoit.com.au> said... okay cancel that. I just installed 1.3.0 from debian testing and it appears to work fine. *yay* James From: James Harper Sent: Mon 28/06/2004 5:11 PM To: xen-devel@lists.sourceforge.net Subject: [Xen-devel] twisted consoles i''m still having trouble connecting to consoles, the error i get from xend is something like: xen1:~# telnet localhost 9601 Trying 127.0.0.1... Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 160, in _doReadOrWrite why i''m running debian sarge with python 2.3 and twisted 1.2.0-1.1 (debian package version) Could that be the cause of the problems? from the looks of it i can probably fix it myself but i''d rather fix twisted if that is what''s broken. thanks james
Mark Williamson
2004-Jun-28 19:33 UTC
Re: [Xen-devel] Interrupt handler for ''__HYPERVISOR_event_channel_op''?
HYPERVISOR_event_channel_op() does a hypercall into Xen in order to manipulate event channels. It can be used to configure event channels and to send events on existing channels. A guest can use event channels to signal to another domain. In XenoLinux, event channels can be bound to IRQs so that an IRQ occurs when an event channel signal is received: i.e. once an interdomain event channel is bound to an IRQ in Domain A, the domain at the other end of the event channel can cause the corresponding IRQ handler in Domain A to be executed. This mechanism enables the backend and frontend network drivers to notify each other when necessary. HTH, Mark ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Testing Xen for CERN Hi, I am currently testing Xen and other virtual monitors for CERN and have some “abstract” questions. We might want to use it in the Grid project if the benchmarking tests give good results. 1. Will there by any port to IA64 or other platforms in the future? 2. When will Xen upgrade to 2.6 ? 3. Does Xen support dual processors? 4. Benchmarking a virtual monitor can give some strange results. Which method do you use for Xen? 5. How would you say Xen has an advantage over other virtual monitors like vmware, plex86, uml etc. regards Rune J.Andresen
> Testing Xen for CERN > > Hi, I am currently testing Xen and other virtual monitors for CERN and > have some “abstract” questions. We might want to use it in the > Grid project if the benchmarking tests give good results. > > 1. Will there by any port to IA64 or other platforms in the > future?x86 and x86_64 are the core architectures, but IA64 is in progress as a background activity by one developer. I''d like to see a PPC port at some point. Virtualization of RISC architectures is generally much easier than x86...> 2. When will Xen upgrade to 2.6 ?Very soon. Now that common distros are beginning to upgrade to 2.6 we''ll move over. XenLinux 2.6 already booted some time ago, but hasn''t kept pace with other Xen changes.> 3. Does Xen support dual processors?Xen supports multiprocessor machines (including hyperthreading), but individual guest operating systems are currently uniprocessor (i.e. you have to run multiple guests to make use of a multiprocessor box). We intend to add SMP guest support in due course.> 4. Benchmarking a virtual monitor can give some strange results. Which > method do you use for Xen?Xen has been independently benchmarked by a team at Clarkson: http://www.clarkson.edu/class/cs644/xen/files/repeatedxen-usenix04.pdf There''s also our SOSP paper. http://www.cl.cam.ac.uk/netos/papers/2003-xensosp.pdf Xen''s new IO architecture will have changed some of the numbers, but the overall result will be similar.> 5. How would you say Xen has an advantage over other virtual monitors > like > vmware, plex86, uml etc.Xen''s big plus points are: * Performance. Xen is very close to native performance. * "live migration" of VMs between nodes in a cluster * Released under GPL The negatives relative to some of the other VMMs are: 1 requires guest OS to be ported 2 poor documentation 3 weak support for CoW sparse virtual disks Point 1 you''ll have to live with. We hope the community will fix 2. A solution to point 3 already exists but needs to be integrated. Xen has a good track record for stability. We''re hoping to do an Alpha testing release of "Xen 2.0" in the next week, once the new control tools have settled down. Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Tue, 29 Jun 2004 19:13:50 +0100 Ian Pratt <Ian.Pratt@cl.cam.ac.uk> wrote:> The negatives relative to some of the other VMMs are: > 1 requires guest OS to be ported > 2 poor documentation > 3 weak support for CoW sparse virtual disks > > Point 1 you''ll have to live with. We hope the community will fix > 2. A solution to point 3 already exists but needs to be > integrated.Hi Rune, Concerning point 1, an important point is that it is just the kernel that needs to be ported (I don''t know about the Windows XP port). And most of the patches are in the architecture dependent or memory parts which means a lot of other kernel patches can coexist with the patch! (i.e., not as bad as it sounds) Tim ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel