It is currently Tue May 21, 2019 5:32 pm


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: No terminal on QEMU in Opensuse
PostPosted: Wed Jul 20, 2011 1:20 pm 
Offline

Joined: Wed Jul 20, 2011 1:03 pm
Posts: 4
Problem:
Whenever I open the console of a QEMU host, the console window flashes briefly and vanishes in fractions of a second. This is my first time I am using GNS3.

I've also tried to patch the source of qemu before configure:
http://blog.gns3.net/2009/10/olive-juniper/2/
with no avail.

Settings:
So far I have an install of GNS3 0.7.4 and I'm using OpenSuSe 11.3 repository.

Per the documentation:
Required (Installed)
- Qt 4.5.1 (libqt4 4.7.1-7.1)
- Python 2.6 (python 2.7.2)
- Sip 4.5 (python-sip 4.12.1-3.1)
- PyQt 4.5

I can launch terminal on routers though.

Dynamips & Qemu tests pass.

Qemu options: -no-acpi
and I'm using KQemu.

Terminal settings: gnome-terminal -t %d -e 'telnet %h %p' >/dev/null 2>&1 &
QEMU Host: linux-microcore-3.4.img

I tried to install qemu both with zypper but also from source; no errors in both cases.

Thank you in advance for any help.




Top
 Profile  
 
 Post subject: Re: No terminal on QEMU in Opensuse
PostPosted: Wed Jul 20, 2011 4:56 pm 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
from where did you installed gns3 and qemu? both from sources?

i would suggest you to use home:anubisg1:networking repository (it's my home repo, but i'm also the maintainer of gns3 in opensuse, so i believe you can trust my repo (it only provides gns3 and its deps)


Top
 Profile  
 
 Post subject: Re: No terminal on QEMU in Opensuse
PostPosted: Thu Jul 21, 2011 1:39 pm 
Offline

Joined: Wed Jul 20, 2011 1:03 pm
Posts: 4
Thank you for your fast answer, anubisg1.
I tried with rpm (as su) to install your rpm's ad I get:
warning: gns3-0.7.4-58.1.src.rpm: Header V3 DSA/SHA1 Signature, key ID e558cb38: NOKEY
and when I query it (rpm -q gns3) doesn't appear to be installed.

Therefore, I've followed the instructions of Brezular from it's blog:
http://brezular.wordpress.com/2011/04/0 ... eshooting/
started the Emulator wrapper OK, and when I start gns3, I encounter a common error with SocketServer.py, which apparently is the one that has to be patched.

Exception happened during processing of request from ('127.0.0.1', 44910)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/SocketServer.py", line 582, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.7/SocketServer.py", line 641, in __init__
self.finish()
File "/usr/local/lib/python2.7/SocketServer.py", line 694, in finish
self.wfile.flush()
File "/usr/local/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
Connection from ('127.0.0.1', 44911)
Shutdown in progress...
Shutdown completed.
Qemu path is now /usr/local/bin/qemu
Qemu-img path is now qemu-img .....
----
and again the same problem with qemu consol-window.


Top
 Profile  
 
 Post subject: Re: No terminal on QEMU in Opensuse
PostPosted: Thu Jul 21, 2011 1:42 pm 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
what you have to do is to the repository to your repo list (use yast or zypper for that), than install from yast, gns3 (it will pull all the dependencies you need). in that repo there is also qemu and all you need patched to work perfectly with gns3.

also you have to start NOTHING manually, after you install gns3, go to preferences, set the path for qemu wrapper (/usr/share/gns3) and click on "test")


Top
 Profile  
 
 Post subject: Re: No terminal on QEMU in Opensuse
PostPosted: Thu Jul 21, 2011 2:09 pm 
Offline

Joined: Wed Jul 20, 2011 1:03 pm
Posts: 4
I have added with yast2 the (local) repository with all the rpm's from your folder .

When I try to install the gns3...rpm , Yast it gives me the following error:

The install link or file you opened does not contain instructions for this version of openSUSE.

Thank you again for your kind support!


Top
 Profile  
 
 Post subject: Re: No terminal on QEMU in Opensuse
PostPosted: Thu Jul 21, 2011 2:20 pm 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
opensuse 11.3 repo is:

http://download.opensuse.org/repositori ... SUSE_11.3/

suse 11.4

http://download.opensuse.org/repositori ... nSUSE_11.4


Top
 Profile  
 
 Post subject: Re: No terminal on QEMU in Opensuse
PostPosted: Fri Jul 22, 2011 6:32 am 
Offline

Joined: Wed Jul 20, 2011 1:03 pm
Posts: 4
Now it works.

I had to uncheck KQemu to do the trick.
Also, listening to the network cards using qemuwrapper.py helped me to find errors.

Thank you again, anubisg1!




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO