No console in Juniper vSRX and vMX

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

ip_warrior
Posts: 14
Joined: Tue Mar 28, 2017 5:22 pm

Re: No console in Juniper vSRX and vMX

Post by ip_warrior » Wed Apr 05, 2017 1:47 am

Update:

I copied my EVE's VM to another computer, a notebook to be exactly that has an Intel i5 processor...

And SURPRISE... the vSRX and vMX runs without any modifications or issues!!! :o :o :o

So the problem is with my Desktop, an AMD Phaenom II X6 :evil: . Can someone from EVE's team check this issue with AMD processors? ;)
To remember: I can run the same Juniper's images in GNS3 successfully.

Thanks!

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: No console in Juniper vSRX and vMX

Post by Uldis (UD) » Wed Apr 05, 2017 7:54 pm

AMD is not ok with EVE VM, sorry.
Intel yes, its OK

ip_warrior
Posts: 14
Joined: Tue Mar 28, 2017 5:22 pm

Re: No console in Juniper vSRX and vMX

Post by ip_warrior » Thu Apr 06, 2017 3:01 pm

Uldis (UD) wrote:
Wed Apr 05, 2017 7:54 pm
AMD is not ok with EVE VM, sorry.
Intel yes, its OK
UD, thanks for the answer!
Do you know if the AMD support is on the roadmap? Also, I would like to be a beta tester for the AMD issues ;)

freefd
Posts: 8
Joined: Wed Mar 29, 2017 11:22 pm

Re: No console in Juniper vSRX and vMX

Post by freefd » Thu Apr 06, 2017 4:03 pm

ip_warrior
Could you please show the output for "cat /sys/module/kvm_amd/parameters/nested" from EVE-NG VM?

ip_warrior
Posts: 14
Joined: Tue Mar 28, 2017 5:22 pm

Re: No console in Juniper vSRX and vMX

Post by ip_warrior » Thu Apr 06, 2017 6:42 pm

freefd
Sure, follow below:
root@eve-ng:~# cat /sys/module/kvm_amd/parameters/nested
1
root@eve-ng:~#

Also, follow the output from 'egrep -o 'vmx|svm' /proc/cpuinfo':
root@eve-ng:~# egrep -o 'vmx|svm' /proc/cpuinfo
svm
svm
svm
svm
svm
svm
svm
svm
svm
svm
svm
svm
root@eve-ng:~#

ip_warrior
Posts: 14
Joined: Tue Mar 28, 2017 5:22 pm

Re: No console in Juniper vSRX and vMX

Post by ip_warrior » Mon Apr 17, 2017 9:09 pm

I got a good update in this case, now it's working! Both vSRX and vMX.
I changed the machine specs in their template, from pc-1.0 to pc only.

What I changed, in both files vmx.php and vsrx.php:

from line: $p['qemu_options'] = '-machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic';
to line: $p['qemu_options'] = '-machine type=pc,accel=kvm -serial mon:stdio -nographic';

So according to the qemu machine help output, I can assume that the qemu-2.4.0 version has some issue in machine type pc-1.0 with AMD processors :)
root@eve-ng:/opt/qemu/bin# ./qemu-system-x86_64 -machine help

(process:6143): GLib-WARNING **: /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmem.c:483: custom memory allocation vtable not supported
Supported machines are:
pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.4)
pc-i440fx-2.4 Standard PC (i440FX + PIIX, 1996) (default)
pc-i440fx-2.3 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.2 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.1 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996)
pc-1.3 Standard PC (i440FX + PIIX, 1996)
pc-1.2 Standard PC (i440FX + PIIX, 1996)
pc-1.1 Standard PC (i440FX + PIIX, 1996)
pc-1.0 Standard PC (i440FX + PIIX, 1996)
pc-0.15 Standard PC (i440FX + PIIX, 1996)
pc-0.14 Standard PC (i440FX + PIIX, 1996)
pc-0.13 Standard PC (i440FX + PIIX, 1996)
pc-0.12 Standard PC (i440FX + PIIX, 1996)
pc-0.11 Standard PC (i440FX + PIIX, 1996)
pc-0.10 Standard PC (i440FX + PIIX, 1996)
q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.4)
pc-q35-2.4 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.3 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.2 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.1 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.0 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.7 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.6 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.5 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.4 Standard PC (Q35 + ICH9, 2009)
isapc ISA-only PC
none empty machine
root@eve-ng:/opt/qemu/bin#
Is it possible to EVE's team, update the vmx.php and vsrx.php with that new template values?

Thanks!

Post Reply