It is currently Sun Sep 23, 2018 6:23 pm


All times are UTC




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Qemu starts but ASA doesn't
PostPosted: Fri Feb 14, 2014 12:05 am 
Offline

Joined: Wed Dec 11, 2013 9:58 pm
Posts: 27
[*]Try selecting 6 e1000 NICs on the ASA. Why did you go with 2 instead of six?

Exponent - I only need 2 interfaces and it makes for a faster boot and configuration. It is exactly the same behavior with 6 interfaces.

[*]Post the output from ps aux | grep qemu. From my experience, the qemuwrapper invokes qemu in a way that doesn't work. Unless you give me some command output to work with, i cant do much.

Here is output of ps aux | grep qemu.
Code:
mantissa 10542 10518  0 16:03 pts/5    00:00:00 /usr/bin/python /usr/share/gns3/qemuwrapper.py --listen 127.0.0.1 --port 10525 --no-path-check
mantissa 10582 10542 81 16:03 pts/5    00:00:17 /usr/local/bin/qemu-system-i386 -name ASA1 -m 512 -hda /tmp/GNS3_iuGVTZ/qemu-flash-drives/ASA1/FLASH -kernel /home/mantissa/Images/ASA/asa842-vmlinuz -initrd /home/mantissa/Images/ASA/asa842-initrd.gz -append auto nousb ide1=noprobe bigphysarea=16384 console=ttyS0,9600n8 hda=980,16,32 -device e1000,mac=00:ab:cd:92:52:00,netdev=gns3-0 -netdev socket,id=gns3-0,udp=127.0.0.1:10001,localaddr=127.0.0.1:40000 -device e1000,mac=00:ab:cd:92:52:01,netdev=gns3-1 -netdev socket,id=gns3-1,udp=127.0.0.1:10002,localaddr=127.0.0.1:40001 -serial telnet:127.0.0.1:3001,server,nowait -vga none -hdachs 980,16,32
mantissa 10702 10596  0 16:03 pts/6    00:00:00 grep --colour=auto qemu


Exponent - Yes you are correct the qemuwrapper is indeed the problem. There is some kind of a path issue I believe. I am almost certain that the wrapper is indeed the problem.

Did you invoke qemu with the 8.4 image from the terminal and did it work?

Yes - I did invoke qemu from the terminal and it worked flawlessly.

I may pla around with the settings a bit more. Just out of curiosity have you tried 1.6.2 or 1.7.0. The reason I ask is that it takes so long to compile and setup that I am just trying to get a feel for what works and what doesn't.




Top
 Profile  
 
 Post subject: Re: Qemu starts but ASA doesn't
PostPosted: Fri Feb 14, 2014 1:34 am 
Offline

Joined: Wed Dec 11, 2013 9:58 pm
Posts: 27
You are correct - it is the qemuwrapper that is causing all the problems. I had a look at the puthon script but I aint gonna touch it. I guess if needed I can just test the ASA as a standalone under qemu and telnet. It (Qemu/ASA) works in windows but it crawls compared to Linux. The router works flawlessly and I have run as many as a dozen 7200s! I know the problem isnt qemu and it isnt the images. All arrows point to the wrapper.


Top
 Profile  
 
 Post subject: Re: Qemu starts but ASA doesn't
PostPosted: Fri Feb 14, 2014 6:48 am 
Offline

Joined: Mon Jan 27, 2014 7:41 pm
Posts: 19
I cant pinpoint the problem, but from what you are posting your ASA should have been working.

Try the following:
  1. ASA RAM-memory: 1024 (instead of your 512)
  2. qemu options: -vnc none -vga none -icount auto -hdachs 980,16,32 -cpu coreduo -nographic
  3. Kernel cmd line:ide_generic.probe_mask=0x01 ide_core.chs=0.0:980,16,32 auto nousb console=ttyS0,9600 bigphysarea=65536 ide1=noprobe no-hlt

I used qemu 1.7.0. I only like troubleshooting using the latest stable releases, because i always assume they fix things. I mean, check out http://wiki.qemu.org/ChangeLog/1.7. I have heard of no-one having trouble with qemu 1.6.2 though, so you should be fine.

I think your problem is the RAM you gave to your ASA, i think 8.4(2) needs 1024 MB RAM. Give the above a shot, and please post the results of your attempts (and please include ps aux | grep qemu so we can see what the qemuwrapper actually invoked). And at the end, post the output of the following commands:
Code:
dynamips | grep version
gns3 --version
qemu-system-i386 --version
uname -a

Good luck!


Top
 Profile  
 
 Post subject: Re: Qemu starts but ASA doesn't
PostPosted: Fri Feb 14, 2014 10:39 pm 
Offline

Joined: Wed Dec 11, 2013 9:58 pm
Posts: 27
Houston - we have main stage ignition. That worked like a charm. No errors. The console came up no problem. I posted a howto on this as it was quite a bit of work getting it running but in the end it worked. Thanks for your help.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO