Windows Server Crashes Adding more than 1 CPU
Posted: Wed Sep 11, 2019 7:06 am
Hi
I think I have faced a software defect on EVE, when I add a W2016 server, it only boots correctly when I select only 1 CPU, if I add more than 1 CPU simply the OS does not boot and it breaks the SSH connection that I have to the eve-ng
I think a need to tweak a QEMU option but I do not know which
Any help to use more than 1 CPU in Windows would be appreciated
EVE-NG is installed in google cloud, is the professional version.
The logs that I could connect tail -f /opt/unetlab/data/Logs/unl_wrapper.txt
A Success W2016 boot
root@eve-instance-01:/opt/unetlab/data/Logs# tail -f unl_wrapper.txt
Sep 11 05:55:11 Sep 11 05:55:11 Online Check state: Valid
Sep 11 05:55:11 Sep 11 05:55:11 LOG: will start node 39 0 300 1 57667
Sep 11 05:55:11 INFO: tunctl -u 33831 -g root -t vunl1_0_39_0 2>&1
Sep 11 05:55:11 INFO: sysctl -w net.ipv6.conf.vunl1_0_39_0.disable_ipv6=1
Sep 11 05:55:11 INFO: vunl1_0_39_0 -> 0,0,0,0
Sep 11 05:55:11 ERROR: QEMU Arch is not set (80015).
Sep 11 05:55:11 INFO: CWD is /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39
Sep 11 05:55:11 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -C 57667 -T 0 -D 39 -t "Winserver39" -F /opt/qemu-2.2.0/bin/qemu-system-x86_64 -d 0 -x -- -device e1000,netdev=net0,mac=50:00:00:27:00:00 -netdev tap,id=net0,ifname=vunl1_0_39_0,script=no -smp 1,sockets=1,cores=1,threads=1 -m 8192 -name Winserver39 -uuid cf33c82e-bd77-4da2-9795-f8746bf4787f -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -vnc :51767 -hda hda.qcow2 -machine type=pc-1.0,accel=kvm -cpu qemu64,+fsgsbase -vga std -usbdevice tablet -boot order=dc -drive file=/opt/qemu/share/qemu/virtio-win-drivers.img,index=1,if=floppy,readonly > /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39/wrapper.txt 2>&1 & echo $!
Sep 11 05:55:11 INFO: started process is7858
Sep 11 05:57:53 Sep 11 05:57:53 Online Check state: Valid
Sep 11 05:57:53 Sep 11 05:57:53 DEBUG int - net: vunl1_0_39_0 - pnet1
Sep 11 05:57:53 LOG: exec : brctl addif pnet1 vunl1_0_39_0 2>&1
Sep 11 05:57:53 Sep 11 05:57:53 Online Check state: Valid
Sep 11 05:57:53 INFO: vunl1_0_39_0 -> 0,0,0,0
A nonsuccess boot
CRASH
Sep 11 06:07:35 Sep 11 06:07:35 Online Check state: Valid
Sep 11 06:07:35 Sep 11 06:07:35 LOG: will start node 39 0 300 1 41475
Sep 11 06:07:35 INFO: tunctl -u 33831 -g root -t vunl1_0_39_0 2>&1
Sep 11 06:07:35 INFO: sysctl -w net.ipv6.conf.vunl1_0_39_0.disable_ipv6=1
Sep 11 06:07:35 INFO: vunl1_0_39_0 -> 0,0,0,0
Sep 11 06:07:35 LOG: exec : brctl addif pnet1 vunl1_0_39_0 2>&1
Sep 11 06:07:35 ERROR: QEMU Arch is not set (80015).
Sep 11 06:07:35 INFO: CWD is /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39
Sep 11 06:07:35 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -C 41475 -T 0 -D 39 -t "Winserver39" -F /opt/qemu-2.2.0/bin/qemu-system-x86_64 -d 0 -x -- -nographic -device e1000,netdev=net0,mac=50:00:00:27:00:00 -netdev tap,id=net0,ifname=vunl1_0_39_0,script=no -device e1000,netdev=net1,mac=50:00:00:27:00:01 -netdev user,id=net1,hostfwd=tcp::41475-:3389,net=169.254.1.100/30,dhcpstart=169.254.1.100,restrict=on -smp 4,sockets=1,cores=4,threads=1 -m 8192 -name Winserver39 -uuid cf33c82e-bd77-4da2-9795-f8746bf4787f -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -hda hda.qcow2 -machine type=pc-1.0,accel=kvm -cpu qemu64,+fsgsbase -vga std -usbdevice tablet -boot order=dc -drive file=/opt/qemu/share/qemu/virtio-win-drivers.img,index=1,if=floppy,readonly > /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39/wrapper.txt 2>&1 & echo $!
Sep 11 06:07:35 INFO: started process is18929
Sep 11 06:07:35 INFO: vunl1_0_39_0 -> 0,0,0,0
packet_write_wait: Connection to 34.69.174.44 port 22: Broken pipe
I think I have faced a software defect on EVE, when I add a W2016 server, it only boots correctly when I select only 1 CPU, if I add more than 1 CPU simply the OS does not boot and it breaks the SSH connection that I have to the eve-ng
I think a need to tweak a QEMU option but I do not know which
Any help to use more than 1 CPU in Windows would be appreciated
EVE-NG is installed in google cloud, is the professional version.
The logs that I could connect tail -f /opt/unetlab/data/Logs/unl_wrapper.txt
A Success W2016 boot
root@eve-instance-01:/opt/unetlab/data/Logs# tail -f unl_wrapper.txt
Sep 11 05:55:11 Sep 11 05:55:11 Online Check state: Valid
Sep 11 05:55:11 Sep 11 05:55:11 LOG: will start node 39 0 300 1 57667
Sep 11 05:55:11 INFO: tunctl -u 33831 -g root -t vunl1_0_39_0 2>&1
Sep 11 05:55:11 INFO: sysctl -w net.ipv6.conf.vunl1_0_39_0.disable_ipv6=1
Sep 11 05:55:11 INFO: vunl1_0_39_0 -> 0,0,0,0
Sep 11 05:55:11 ERROR: QEMU Arch is not set (80015).
Sep 11 05:55:11 INFO: CWD is /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39
Sep 11 05:55:11 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -C 57667 -T 0 -D 39 -t "Winserver39" -F /opt/qemu-2.2.0/bin/qemu-system-x86_64 -d 0 -x -- -device e1000,netdev=net0,mac=50:00:00:27:00:00 -netdev tap,id=net0,ifname=vunl1_0_39_0,script=no -smp 1,sockets=1,cores=1,threads=1 -m 8192 -name Winserver39 -uuid cf33c82e-bd77-4da2-9795-f8746bf4787f -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -vnc :51767 -hda hda.qcow2 -machine type=pc-1.0,accel=kvm -cpu qemu64,+fsgsbase -vga std -usbdevice tablet -boot order=dc -drive file=/opt/qemu/share/qemu/virtio-win-drivers.img,index=1,if=floppy,readonly > /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39/wrapper.txt 2>&1 & echo $!
Sep 11 05:55:11 INFO: started process is7858
Sep 11 05:57:53 Sep 11 05:57:53 Online Check state: Valid
Sep 11 05:57:53 Sep 11 05:57:53 DEBUG int - net: vunl1_0_39_0 - pnet1
Sep 11 05:57:53 LOG: exec : brctl addif pnet1 vunl1_0_39_0 2>&1
Sep 11 05:57:53 Sep 11 05:57:53 Online Check state: Valid
Sep 11 05:57:53 INFO: vunl1_0_39_0 -> 0,0,0,0
A nonsuccess boot
CRASH
Sep 11 06:07:35 Sep 11 06:07:35 Online Check state: Valid
Sep 11 06:07:35 Sep 11 06:07:35 LOG: will start node 39 0 300 1 41475
Sep 11 06:07:35 INFO: tunctl -u 33831 -g root -t vunl1_0_39_0 2>&1
Sep 11 06:07:35 INFO: sysctl -w net.ipv6.conf.vunl1_0_39_0.disable_ipv6=1
Sep 11 06:07:35 INFO: vunl1_0_39_0 -> 0,0,0,0
Sep 11 06:07:35 LOG: exec : brctl addif pnet1 vunl1_0_39_0 2>&1
Sep 11 06:07:35 ERROR: QEMU Arch is not set (80015).
Sep 11 06:07:35 INFO: CWD is /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39
Sep 11 06:07:35 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -C 41475 -T 0 -D 39 -t "Winserver39" -F /opt/qemu-2.2.0/bin/qemu-system-x86_64 -d 0 -x -- -nographic -device e1000,netdev=net0,mac=50:00:00:27:00:00 -netdev tap,id=net0,ifname=vunl1_0_39_0,script=no -device e1000,netdev=net1,mac=50:00:00:27:00:01 -netdev user,id=net1,hostfwd=tcp::41475-:3389,net=169.254.1.100/30,dhcpstart=169.254.1.100,restrict=on -smp 4,sockets=1,cores=4,threads=1 -m 8192 -name Winserver39 -uuid cf33c82e-bd77-4da2-9795-f8746bf4787f -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -hda hda.qcow2 -machine type=pc-1.0,accel=kvm -cpu qemu64,+fsgsbase -vga std -usbdevice tablet -boot order=dc -drive file=/opt/qemu/share/qemu/virtio-win-drivers.img,index=1,if=floppy,readonly > /opt/unetlab/tmp/0/672087a3-4ee3-4b00-b4eb-14c9e337676b/39/wrapper.txt 2>&1 & echo $!
Sep 11 06:07:35 INFO: started process is18929
Sep 11 06:07:35 INFO: vunl1_0_39_0 -> 0,0,0,0
packet_write_wait: Connection to 34.69.174.44 port 22: Broken pipe