Timos and telnet

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

cisco001
Posts: 11
Joined: Sat Jun 03, 2017 4:02 am

Timos and telnet

Post by cisco001 » Sat Jun 03, 2017 4:23 am

Hi,
I am new to eve-ng/unl. I just installed eve-ng using the baremetal machine.
Installation went fine and I have manage to upload a timos image to the eve-ng server and have tried to boot the timos node. This is where i have run into issue.
I click and start the timos node but when i telnet to it, i get a a screen with a cursor and no text and pressing any key does not change anything in telnet session. i am using putty to telnet to the port provided by eve-ng.
How do I check if the 7750 timos is running? is there anything i can do on the server locally. I know this image works becuase I have booted it in GNS3 and it works in GNS3. I am wanting to switch to eve-ng but I cannot get timos working.
My server is a 6 core xeon with 16GB of memory.
I am trying to boot SROS/timos 14.0R7 version.
I have created following directory:
/opt/unetlab/addons/qemu/timos-14.0.R7
and have include following image insside the directory:
hda.qcow2

How do i debug this scenario to fix this issue?

Thanks for all your help

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Timos and telnet

Post by ecze » Sat Jun 03, 2017 1:15 pm

Launch your timos from Web interface

on cli:
Look into: /opt/unetlab/data/Logs/unl_wrapper.txt

You should see commands to run timos:

Code: Select all

root@eve-ng:~# cat /opt/unetlab/data/Logs/unl_wrapper.txt
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_0 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_1 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_2 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_3 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_4 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_5 2>&1
Jun 03 14:59:10 INFO: CWD is /opt/unetlab/tmp/24/749a0f62-d70b-481a-bb84-c4e9ebd30eef/1
Jun 03 14:59:10 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -T 24 -D 1 -t "7750SR" -F /opt/qemu/bin/qemu-system-x86_64 -d 0 --  -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc > /opt/unetlab/tmp/24/749a0f62-d70b-481a-bb84-c4e9ebd30eef/1/wrapper.txt 2>&1 &
root@eve-ng:~#
From Web UI, stop your timos then on cli,
go into the same directory

Code: Select all

cd /opt/unetlab/tmp/24/749a0f62-d70b-481a-bb84-c4e9ebd30eef/1

After run the same command.

Code: Select all

 /opt/unetlab/wrappers/qemu_wrapper -T 24 -D 1 -t "7750SR" -F /opt/qemu/bin/qemu-system-x86_64 -d 0 --  -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc 
You should see start ..... process used to start...

Code: Select all

3/5 13:3:45.919 INF	Tennant_id = 24
3/5 13:3:45.919 INF	Device_id = 1
3/5 13:3:45.919 INF	TS configured.
3/5 13:3:45.919 INF	Starting child (/opt/qemu/bin/qemu-system-x86_64 -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc).

press ctrl+c
an launch the subcommand showed:

Code: Select all

/opt/qemu/bin/qemu-system-x86_64 -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc
Now you should see on cli how timos works...

PS: btw I found a bug in templates of timos...

I will update template file for future release

in the meantime, change /opt/unetlab/html/templates/timos.php

and just before last line ( $p['qemu_options'] .= ' -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc';) add :

$p['cpu'] = 2;
$p['qemu_options'] = '-machine type=pc-1.0,accel=kvm';

cisco001
Posts: 11
Joined: Sat Jun 03, 2017 4:02 am

Re: Timos and telnet

Post by cisco001 » Sat Jun 03, 2017 2:43 pm

I followed your instructions and I get following error message which now explains why timos is not working on my system.
Any ideas how i fix this issue.

/opt/unetlab/tmp/0/c6737d78-cf33-4f34-b0bb-7c6244430c40/2# /opt/qemu/bin/qemu-system-x86_64 -nographic -device e1000,netdev=net0,mac=50:00:00:02:00:00 -netdev tap,id=net0,ifname=vunl0_2_0,script=no -device e1000,netdev=net1,mac=50:00:00:02:00:01 -netdev tap,id=net1,ifname=vunl0_2_1,script=no -device e1000,netdev=net2,mac=50:00:00:02:00:02 -netdev tap,id=net2,ifname=vunl0_2_2,script=no -device e1000,netdev=net3,mac=50:00:00:02:00:03 -netdev tap,id=net3,ifname=vunl0_2_3,script=no -device e1000,netdev=net4,mac=50:00:00:02:00:04 -netdev tap,id=net4,ifname=vunl0_2_4,script=no -device e1000,netdev=net5,mac=50:00:00:02:00:05 -netdev tap,id=net5,ifname=vunl0_2_5,script=no -smp 2 -m 2048 -name 7750SR -uuid 3ef36612-afdc-4631-914a-cc721f20f8d5 -hda hda.qcow2 -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc

(process:7926): GLib-WARNING **: /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmem.c:483: custom memory allocation vtable not supported
KVM internal error. Suberror: 1
emulation failure
EAX=00000000 EBX=00000000 ECX=00000046 EDX=00000001
ESI=00000000 EDI=00000000 EBP=00007614 ESP=000075f8
EIP=f000ff53 EFL=00250012 [----A--] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
GS =0030 200ec000 ffffffff 00c09300 DPL=0 DS [-WA]
LDT=0000 00000000 ffffffff 00c00000
TR =0008 00000580 00000067 00008b00 DPL=0 TSS32-busy
GDT= 00001000 000000af
IDT= 20111000 000007ff
CR0=40000011 CR2=00000000 CR3=00000000 CR4=00000200
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Timos and telnet

Post by ecze » Sat Jun 03, 2017 3:53 pm

which type of CPU are U using ?

BTW, Don't have nokia access to d/l this release to test it...

Need some help from collaborators to get it and check requirements... But at first sight, this image needs a valid license to avoid reboot ( Old one 13, was able to run 60 min w/o lic )

cisco001
Posts: 11
Joined: Sat Jun 03, 2017 4:02 am

Re: Timos and telnet

Post by cisco001 » Sat Jun 03, 2017 9:00 pm

That is of R13 SROS image:
My CPU info is:
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 1269.023
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 4
cpu cores : 6
apicid : 8
initial apicid : 8
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 1270.117
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 5
cpu cores : 6
apicid : 10
initial apicid : 10
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 1209.003
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 0
cpu cores : 6
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 1206.542
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 1
cpu cores : 6
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 8
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 2078.125
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 2
cpu cores : 6
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 9
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 1269.160
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 3
cpu cores : 6
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 10
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 1211.191
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 4
cpu cores : 6
apicid : 9
initial apicid : 9
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 11
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 1280.234
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 5
cpu cores : 6
apicid : 11
initial apicid : 11
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse s se2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aper fmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic po pcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vp id fsgsbase smep erms xsaveopt
bugs :
bogomips : 6982.78
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Timos and telnet

Post by ecze » Sat Jun 03, 2017 10:30 pm

try add
-cpu host

to the command-line

E.

cisco001
Posts: 11
Joined: Sat Jun 03, 2017 4:02 am

Re: Timos and telnet

Post by cisco001 » Sun Jun 04, 2017 10:54 am

Hi there,
I tried your suggestion of -cpu host. But still no luck,
I did manage to boot SROS (timos) version 12.0R6 but I cannot really use this version any more as this is a really old SROS version now and SROS is up to release 15 now. I need the advance features in release 14 which is what I am trying to boot up in eve-ng.
If it helps all the releases are working fine in GNS3 (looks like for now I will have to stick with GNS3, did really like the web interface concept of eve-ng). Here is the command that gets execute in GNS3 that boots up SROS 14.0R7 image.
Start QEMU with /usr/bin/qemu-system-x86_64 -name R1 -m 2000M -smp cpus=2 -enable-kvm -machine smm=off -boot order=n -drive file=/home/project-files/qemu/hda_disk.qcow2,if=ide,index=0,media=disk -serial telnet:127.0.0.1:2000,server,nowait -monitor tcp:127.0.0.1:37750,server,nowait -net none -device e1000,mac=00:53:f7:90:47:00 -device e1000,mac=00:53:f7:90:47:01,netdev=gns3-1 -netdev socket,id=gns3-1,udp=127.0.0.1:10000,localaddr=127.0.0.1:10001 -device e1000,mac=00:53:f7:90:47:02,netdev=gns3-2 -netdev socket,id=gns3-2,udp=127.0.0.1:10002,localaddr=127.0.0.1:10003 -device e1000,mac=00:53:f7:90:47:03 -device e1000,mac=00:53:f7:90:47:04 -device e1000,mac=00:53:f7:90:47:05 -uuid <snip> -enable-kvm

I also noted that GNS3 uses QEMU version 2.5.0 eve-ng uses QEMU version 2.4.0. Not sure if this makes a difference.

Hope that helps and maybe someone can get to the bottom of this issue. Also note that release 14 onwards requires a license but without a license you can still boot up the image but you will not be able to configure anything on it, but you can still interact and just do show commands. In my case I am using it with license in GNS3 and this works fine.
I have used this tool to load the license into the image and also made the modification for release 14 regarding the memory requirement and after this the image works fine in GNS3. Here is the link:
https://gitlab.com/ALU/vsrlj
Once you have the R14 image working in eve-ng, you may want to implement something similar to this tool (vsrlj) to help with license integration.

I will keep an eye to see if this issue is fixed ion future and maybe give eve-ng another try.
Note I also tried Cisco xrv and had the similar issue with eve-ng.

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Timos and telnet

Post by ecze » Sun Jun 04, 2017 8:21 pm

I'm waiting the image to test next week.
We will find a fix quickly...

Stay tuned and many thanks for your help

E.

rifster
Posts: 21
Joined: Wed Mar 22, 2017 8:14 am

Re: Timos and telnet

Post by rifster » Tue Jun 06, 2017 9:35 am

Hi,
This is a qemu line I'm running TiMOS with:
$p['qemu_options'] .= ' -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -smbios type=1,product=\"TIMOS:slot=A chassis=SR-c12 card=cfm-xp mda/1=m10-1gb-xp-sfp\"’;

I removed type=pc-1.0 and left the system choose default. It did not want to boot with type=pc-1.0. Additionally latest releases of TiMOS are more memory hungry. Try 3GB, recommended by ALU/Nokia is 4GB. When you update this line, remember as well about the " " (space) between ' and - right before word serial.

cisco001
Posts: 11
Joined: Sat Jun 03, 2017 4:02 am

Re: Timos and telnet

Post by cisco001 » Wed Jun 07, 2017 12:06 pm

Here is my configuration file for timos.
I have copied the line you suggested and pasted it in my config file but still cannot get sros to boot. I have also tried RAM to be 3GB but still no luck.
Does this match your config file if not can provide your timos config file. Thanks

Code: Select all

$p['type'] = 'qemu';
$p['name'] = '7750SR';
$p['icon'] = 'Router.png';
if (function_exists('isVirtual') && isVirtual()) {
        $p['cpu'] = 1;
} else {
        $p['cpu'] = 2;
}
$p['ram'] = 2048;
$p['ethernet'] = 6;
$p['console'] = 'telnet';
$p['qemu_arch'] = 'x86_64';
if (function_exists('isVirtual') && isVirtual()) {
        $p['qemu_options'] = 'accel=tcg';
} else {
        $p['qemu_options'] = 'accel=kvm';
}
$p['cpu'] = 2;
$p['qemu_options'] = 'accel=kvm';
#$p['qemu_options'] .= ' -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc';
$p['qemu_options'] .= ' -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -smbios type=1,product=\"TIMOS:slot=A chassis=SR-c12 card=cfm-xp mda/1=m10-1gb-xp-sfp\"';
?>

Locked