Page 1 of 1

AMD Ryzen 7 2700: vMX stopped working after upgrading to 2.0.3-110

Posted: Fri Oct 16, 2020 10:53 am
by smelnik
Hello everyone.
I`ve got AMD Ryzen 7 2700 running EVE-NG community and tons of vMXs in my lab.
All was working fine until i`ve decided to upgrade to the latest version.
After upgrade i cannot make vMX FPC to start.
I can ping FPC, but it stays in Present state. After some time it goes unresponcive with this error:

Code: Select all

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab5                                                                                                                                                                                                                                                                                                                                                           8e9a3f-prebuilt.qemu.org 04/01/2014
 0000000000000004 ffff88023fc83e48 ffffffff818c8837 ffff88023fc83e70
 ffffffff810d18ab ffff880237006c00 0000000000000004 0000000000000002
 ffff88023fc83eb0 ffffffff810d1dea ffff88023fc92840 0000000000000000
Call Trace:
 <IRQ>  [<ffffffff818c8837>] dump_stack+0x19/0x1b
 [<ffffffff810d18ab>] __report_bad_irq+0x2b/0xd0
 [<ffffffff810d1dea>] note_interrupt+0x1ba/0x270
 [<ffffffff810cf4b6>] handle_irq_event_percpu+0x126/0x2a0
 [<ffffffff810421e6>] ? native_safe_halt+0x6/0x10
 [<ffffffff810cf69a>] handle_irq_event+0x6a/0x90
 [<ffffffff810d24b3>] handle_edge_irq+0x83/0x180
 [<ffffffff8101576e>] handle_irq+0x1e/0x30
 [<ffffffff818d125d>] do_IRQ+0x4d/0xc0
 [<ffffffff818ceb6d>] common_interrupt+0x6d/0x6d
 <EOI>  [<ffffffff810421e6>] ? native_safe_halt+0x6/0x10
 [<ffffffff8101ca53>] default_idle+0x23/0x160
 [<ffffffff8101d536>] arch_cpu_idle+0x26/0x30
 [<ffffffff8109d0c5>] cpu_startup_entry+0x155/0x2e0
 [<ffffffff818bd69d>] start_secondary+0x1b8/0x1bb
handlers:
[<ffffffff810cf6c0>] irq_default_primary_handler threaded [<ffffffff81472100>] s                                                                                                                                                                                                                                                                                                                                                           erial8250_interrupt
Disabling IRQ #4
BUG: sleeping function called from invalid context at /volume/build/wrlinux/vmx-                                                                                                                                                                                                                                                                                                                                                           release_18.2_sdk-20180323.0/mx86-pfe/vpfe-build/wrlinux-vmx/build-project/bitbak                                                                                                                                                                                                                                                                                                                                                           e_build/tmp/work/qemux86_64-wrs-linux/linux-windriver/3.10-r0/linux/kernel/rtmut                                                                                                                                                                                                                                                                                                                                                           ex.c:797
in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/1
Preemption disabled at:[<ffffffff8109d081>] cpu_startup_entry+0x111/0x2e0

CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W  O 3.10.55-ltsi-rt55-WR6.0.0.1                                                                                                                                                                                                                                                                                                                                                           3_preempt-rt #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab5                                                                                                                                                                                                                                                                                                                                                           8e9a3f-prebuilt.qemu.org 04/01/2014
 ffffffff82095540 ffff88023fc83dc8 ffffffff818c8837 ffff88023fc83de0
 ffffffff81085379 ffffffff82095540 ffff88023fc83df8 ffffffff818ce310
 ffffffff82095540 ffff88023fc83e28 ffffffff81062c27 ffffffff81e4fbc0
Call Trace:
 <IRQ>  [<ffffffff818c8837>] dump_stack+0x19/0x1b
 [<ffffffff81085379>] __might_sleep+0xf9/0x170
 [<ffffffff818ce310>] rt_spin_lock+0x20/0x50
 [<ffffffff81062c27>] lock_timer_base.isra.35+0x37/0x60
 [<ffffffff810630d5>] mod_timer+0x75/0x290
 [<ffffffff810d1e22>] note_interrupt+0x1f2/0x270
 [<ffffffff810cf4b6>] handle_irq_event_percpu+0x126/0x2a0
 [<ffffffff810421e6>] ? native_safe_halt+0x6/0x10
 [<ffffffff810cf69a>] handle_irq_event+0x6a/0x90
 [<ffffffff810d24b3>] handle_edge_irq+0x83/0x180
 [<ffffffff8101576e>] handle_irq+0x1e/0x30
 [<ffffffff818d125d>] do_IRQ+0x4d/0xc0
 [<ffffffff818ceb6d>] common_interrupt+0x6d/0x6d
 <EOI>  [<ffffffff810421e6>] ? native_safe_halt+0x6/0x10
 [<ffffffff8101ca53>] default_idle+0x23/0x160
 [<ffffffff8101d536>] arch_cpu_idle+0x26/0x30
 [<ffffffff8109d0c5>] cpu_startup_entry+0x155/0x2e0
 [<ffffffff818bd69d>] start_secondary+0x1b8/0x1bb

Re: AMD Ryzen 7 2700: vMX stopped working after upgrading to 2.0.3-110

Posted: Sat Oct 17, 2020 12:37 pm
by Uldis (UD)
wipe node, right click node
and start again

Re: AMD Ryzen 7 2700: vMX stopped working after upgrading to 2.0.3-110

Posted: Mon Oct 19, 2020 8:46 am
by smelnik
Hello,
nope, wiping up node didnt helped. Even installing eve-ng from scratch on fresh ubuntu 16.04 didnt helped.

Re: AMD Ryzen 7 2700: vMX stopped working after upgrading to 2.0.3-110

Posted: Mon Oct 19, 2020 11:38 am
by Uldis (UD)
It does work 100%

make sure your template fr images has set 2.4 or 2.12 qemu, create new lab and try.
If not come to eve live chat.. because it is image issue then
https://www.eve-ng.net/index.php/live-helpdesk/

Re: AMD Ryzen 7 2700: vMX stopped working after upgrading to 2.0.3-110

Posted: Mon Oct 19, 2020 12:02 pm
by smelnik
Thanks.
Setting qemu version to 2.4.0 solved problem.

Re: AMD Ryzen 7 2700: vMX stopped working after upgrading to 2.0.3-110

Posted: Mon Oct 19, 2020 1:12 pm
by Uldis (UD)
Qemu 2.4 is used for olf vMX images...
Sorry..
But I am glad you got it working back