Skip to contentSkip to conversation

xway issues / bugs

DISCUSSION Muhammad Atif 5 participants 9 messages Dec 31, 2007 – Feb 26, 2008

lore
Share & tools
lore
#0 lore raw

Dear Developers,
I have tried using the interdomain communication patch for xen (Xway, http://sourceforge.net/projects/xway) a link of which is there at Xen wiki. I am having troubles getting it going.
I am using AMD Opteron 248 (64-bit), with 2 GHz ram and IWILL motherboard. My distribution is ubuntu 7.04 and I am using Xen 3.0.3 for i686, as xway patch suggests that it is only for 32 bit systems. The GCC version is 4.1.2. I have also tried xway on another machine which has 32 bit intel processor.
During the boot time, i see in the dmesg output giving me "net/ipv4/xway_proto.c:xsw_accept:143: inet_accept() err=-11" on Opteron. The intel 32 bit gives NO message of this type. Now to the heart of the issue
I can get the xway daemon and other related stuff loaded without any errors or warning. Upon simple ssh from one domU to another (i have compiled the ip addresses as instructed) i get a printf on screen on the receiving domain "client_sock = 5" and that is where both the domains stop processing i.e. ssh doe not seem to progress any further. strace is not helping me that much. I have noticed that xwayd.c (daemon) gives a write() call and this call is returning 0, instead of the message size.

Has anyone ever come across this error/bug? or simply has anyone ever tried xway?

Best Regards,
Atif

      ____________________________________________________________________________________

Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

migrateDevices( ) ?

hi
I read the code of migration,and i am confused about the function of
migrateDevices(), it is called for 3times,and what is the function for it ? could someone help me out

Thanks in advance

#2 lore raw

Re: migrateDevices( ) ?

[email protected] wrote on 01/02/2008 01:41:56 AM:

Quoted 4 lines

hi
I read the code of migration,and i am confused about the function of
migrateDevices(), it is called for 3times,and what is the function for it ? could someone help me out

The purpose of this function is to enable the migration of 'external devices', i.e. this would be disk images or TPM state, from one physical machine to another while migrating a vm.

The prototype of the migrate function explains the different steps.

http://xenbits.xensource.com/xen-unstable.hg?file/2491691e3e69/tools/python/xen/xend/server/DevController.py

Stefan

Quoted 7 lines

Thanks in advance

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Re: migrateDevices( ) ?

hi
Thank you for your explanation
and when xen processes " live migration",xend will fork a process to do xc_linux_save,and also call the helphandler which will call migrateDevices() in three steps,that is ,migrateDevices() will copy the devices' state to the destination when the iterative pre-copying of the VM memory state is completed ,is it? or what is the tricks behind? i read DevController.py,but still not clear, and i am confused about which code is called in the destination node to cooperate with for migration, that is ,on the destination node ,which code will invoke the receiving function there? is it httpserver? then ,which function code will it call to receive ,or what to do ?i guess some functions will be called to deal with something ,then call the restore function or something, but which function is called before the restore function is called ? i am lost in it

Thanks in advance

Quoted 25 lines · Stefan Berger

[email protected] wrote on 01/02/2008 01:41:56 AM:

Quoted 4 lines

hi
I read the code of migration,and i am confused about the function of migrateDevices(), it is called for 3times,and what is the function for it ? could someone help me out

The purpose of this function is to enable the migration of 'external devices', i.e. this would be disk images or TPM state, from one physical machine to another while migrating a vm.

The prototype of the migrate function explains the different steps.

http://xenbits.xensource.com/xen-unstable.hg?file/2491691e3e69/tools/python/xen/xend/server/DevController.py

Stefan

Quoted 7 lines

Thanks in advance

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

device models?

In reply to Stefan Berger

hi
what does the device models mean in the xen? I read it in summit pdf
and some code reference somewhere ,and i am not clear about it? what does it refer to?

Thanks in advance

#5 lore raw

Re: device models?

Quoted 1 line · tgh, le Fri 04 Jan 2008 13:59:19 +0800, a écrit :

what does the device models mean in the xen?

That's the program which emulates devices by answering to i/o requests. Currently, that's basically a qemu process in dom0.

Samuel

#6 lore raw

migration and relocation server?

In reply to Stefan Berger

hi
I read the code of migration,and i have got some confusions, the source node sock connect the destination node with which port? 8000,is it ?and when migration is processing ,the relocation server is invoked ,is it ? and the relocation server is using port:8002? is it ?and the source node copy the memory state ,say dirty page, through port:8000 to the destination node, while the VM-migrating's networking data is send to relocation server, is it? or how does it work? could someone help me

Thanks in advance

#7 lore raw

code read problems

hi
I try to read the code of migration,and there are some python code and
some c code( in guestOS application) and some c code( in guestOS kernel ) and some c code (in xen) , and i want to trace the processing path in these code , and how could i achieve it,
in what way should i compile these code?

could someone help me

Thanks in advance

#8 lore raw
In reply to Muhammad Atif

Hi

Sorry you're having trouble with xway. I've not tried it myself and I've also not known of anyone else actually running it... It might be a good idea to try and contact the xway developers directly in case they don't read this list, or you could cc them on these e-mails..

Perhaps there's a contact e-mail address for the developers somewhere in the source code?

I have a Powerpoint presentation on Xway that I downloaded when it was first announced; the presentation was by "Kangho Kim, System Software Team, ETRI". ETRI = Electronics and Telecommunications Research Institute. Maybe you can find some contact details for him through Google?

Cheers,
Mark

Quoted 35 lines

Dear Developers,
I have tried using the interdomain communication patch for xen (Xway,
http://sourceforge.net/projects/xway) a link of which is there at Xen wiki. I am having troubles getting it going. I am using AMD Opteron 248 (64-bit), with 2 GHz ram and IWILL motherboard. My distribution is ubuntu 7.04 and I am using Xen 3.0.3 for i686, as xway patch suggests that it is only for 32 bit systems. The GCC version is 4.1.2. I have also tried xway on another machine which has 32 bit intel processor. During the boot time, i see in the dmesg output giving me "net/ipv4/xway_proto.c:xsw_accept:143:
inet_accept() err=-11" on Opteron. The intel 32 bit gives NO message of this type. Now to the heart of the issue I can get the xway daemon and other related stuff loaded without any errors or warning. Upon simple ssh from one domU to another (i have compiled the ip addresses as instructed) i get a printf on screen on the receiving domain "client_sock = 5" and that is where both the domains stop processing i.e. ssh doe not seem to progress any further. strace is not helping me that much. I have noticed that xwayd.c (daemon) gives a write() call and this call is returning 0, instead of the message size.

Has anyone ever come across this error/bug? or simply has anyone ever tried xway?

Best Regards,
Atif

___________________________________________________________________________
_________ Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!