Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waiting for port connection #48

Open
priyangavij opened this issue Oct 12, 2019 · 12 comments
Open

waiting for port connection #48

priyangavij opened this issue Oct 12, 2019 · 12 comments

Comments

@priyangavij
Copy link

The host OS displays "Awaiting connection on 'ubuntu' on port 10012" after the 3 files dispatch,vm-node and svm-node are run. The guest OS is also running crete-run command which displays "Waiting for port". How do I complete the port connection for the tests and traces to run?

@moralismercatus
Copy link
Collaborator

Is there any indication that vm-node has connected to crete-dispatch?

@priyangavij
Copy link
Author

Screenshot (127)

@priyangavij
Copy link
Author

When I ran the vm-node script, the dispatch terminal displayed saying "Awaiting connection on 'ubuntu' on port '10012'.

@moralismercatus
Copy link
Collaborator

moralismercatus commented Oct 15, 2019

Thank you for the screenshot.

"Awaiting connection on 'ubuntu' on port '10012'" just means that dispatch is open to new connections - not necessarily that anything is wrong.

It would appear that the file hostfile/port is not being found by the VM.

I see that the mode is "distributed" - meaning crete-vm-node was the one who started the VM?

Check to ensure vm/1/hostfile/port exists. If not, it may be worthwhile to rm -rf vm and restart. Something may have gotten corrupted.

@priyangavij
Copy link
Author

priyangavij commented Oct 16, 2019

There is a port and pid file existing in the /vm/1/hostfile/ directory. The situation in the screenshot is still persisting even after removing the file and restarting.

@moralismercatus
Copy link
Collaborator

I may have to reproduce your env, to get to the bottom of this.

Can you supply the following:

  1. Config files; dispatch, nodes, and run (for good measure).
  2. Version of CRETE being used (SVL-PSU HEAD?).
  3. OS version.
  4. Guest OS info.

@zheli-1
Copy link
Collaborator

zheli-1 commented Oct 17, 2019

Hi, I want to make sure that the sequences you are running it are qemu dispatch vm and then svm right?
because the order matters as well
Can you provide your svm vm and dispatch script that you are running according to your screenshot.

@zheli-1
Copy link
Collaborator

zheli-1 commented Oct 18, 2019

Thanks for sending the scripts via emails. It looks like you are not using crete-qemu-2.3-system-x86_64 which is a modified qemu by crete to run the snapshot. 

@priyangavij
Copy link
Author

$CRETEPATH/crete-qemu-2.3-system-x86_64 $COMM_CMD -m $MEM_SIZE -loadvm test -device cirrus-vga &> qemu_log.txt

@priyangavij
Copy link
Author

This is the command I used to load the snapshot.

@zheli-1
Copy link
Collaborator

zheli-1 commented Oct 18, 2019

Command looks right. Can you provide the configuration files of vm dispatch svm as well?

@priyangavij
Copy link
Author

Where are the output files located? Also, how to analyze them for the sample configuration file provided I just changed the binary target?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants