Setting ostype to win10 causes VM to freeze

paul20

Member
May 30, 2018
28
1
8
33
On some of my nodes, I can't boot Windows VMs using ostype win10, only way to get it to boot is setting ostype to l26. The RAM usage stays under 100 MB, VM stats take over 20 secs to load and console times out.
Code:
pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.0.21-3-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-5.3: 6.1-5
pve-kernel-helper: 6.1-5
pve-kernel-5.0: 6.0-11
pve-kernel-5.3.18-2-pve: 5.3.18-2
pve-kernel-5.3.13-1-pve: 5.3.13-1
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-5.0.21-3-pve: 5.0.21-7
pve-kernel-5.0.21-2-pve: 5.0.21-7
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.14-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-12
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-4
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-19
pve-docs: 6.1-6
pve-edk2-firmware: 2.20191127-1
pve-firewall: 4.0-10
pve-firmware: 3.0-5
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-3
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-6
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
 
can you post your vm config ? and the error message you get when you boot the vm ?
 
qm start 5501 failed got time out
It still starts but everything times out. Here's a vid: https://gofile.io/?c=XZrVFy
Code:
agent: 1
boot: c
bootdisk: scsi0
cores: 1
cpu: host
memory: 1536
net0: virtio=02:00:00:e9:72:76,bridge=vmbr0,firewall=1,rate=20
onboot: 1
ostype: win10
scsi0: local:5501/vm-5501-disk-1.qcow2,cache=writeback,discard=on,size=25G
scsi1: local2:5501/vm-5501-disk-1.qcow2,cache=writeback,discard=on,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=d8ad7ada-1ded-4fbd-bcf7-d2c7830a856b
vmgenid: 43a39a42-cf71-42f4-b218-420574935a99
 
what is the output of 'lscpu' ?
and do you see any messages in 'dmesg' when you try to boot with win10 ?
 
dmesg I see
Code:
[Mon Feb 24 12:46:52 2020] HTB: quantum of class 10001 is big. Consider r2q change.
[Mon Feb 24 12:46:52 2020] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[Mon Feb 24 12:46:52 2020] #PF error: [INSTR]
[Mon Feb 24 12:46:52 2020] PGD 0 P4D 0
[Mon Feb 24 12:46:52 2020] Oops: 0010 [#26] SMP PTI
[Mon Feb 24 12:46:52 2020] CPU: 4 PID: 5405 Comm: kvm Tainted: G      D           5.0.15-1-pve #1
[Mon Feb 24 12:46:52 2020] Hardware name: Intel Corporation S1200SP/S1200SP, BIOS S1200SP.86B.03.01.0042.013020190050 01/30/2019
[Mon Feb 24 12:46:52 2020] RIP: 0010:          (null)
[Mon Feb 24 12:46:52 2020] Code: Bad RIP value.
[Mon Feb 24 12:46:52 2020] RSP: 0018:ffffaeb3885b3b88 EFLAGS: 00010246
[Mon Feb 24 12:46:52 2020] RAX: 0000000000000000 RBX: 00007fb18080c008 RCX: 0000000000000000
[Mon Feb 24 12:46:52 2020] RDX: 00007fb18080c008 RSI: ffffaeb3885b3d08 RDI: ffff8abdd8088000
[Mon Feb 24 12:46:52 2020] RBP: ffffaeb3885b3cc8 R08: 0000000000000007 R09: 0000000000000019
[Mon Feb 24 12:46:52 2020] R10: ffff8ac5a9bf4e00 R11: 0000000000000000 R12: ffffaeb3885b3b90
[Mon Feb 24 12:46:52 2020] R13: ffffaeb3885b3d08 R14: ffff8abdd8088058 R15: 0000000000000000
[Mon Feb 24 12:46:52 2020] FS:  00007fb18157e700(0000) GS:ffff8accb1500000(0000) knlGS:0000000000000000
[Mon Feb 24 12:46:52 2020] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Mon Feb 24 12:46:52 2020] CR2: ffffffffffffffd6 CR3: 0000000115fb0003 CR4: 00000000003626e0
[Mon Feb 24 12:46:52 2020] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[Mon Feb 24 12:46:52 2020] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[Mon Feb 24 12:46:52 2020] Call Trace:
[Mon Feb 24 12:46:52 2020]  kvm_vcpu_ioctl_get_hv_cpuid+0x44/0x220 [kvm]
[Mon Feb 24 12:46:52 2020]  ? __d_alloc+0x27/0x1d0
[Mon Feb 24 12:46:52 2020]  ? vmx_vcpu_load+0x21f/0x550 [kvm_intel]
[Mon Feb 24 12:46:52 2020]  ? apparmor_file_alloc_security+0x42/0x190
[Mon Feb 24 12:46:52 2020]  ? get_page_from_freelist+0xf55/0x1440
[Mon Feb 24 12:46:52 2020]  ? kvm_arch_vcpu_load+0x94/0x250 [kvm]
[Mon Feb 24 12:46:52 2020]  ? vmx_vcpu_put+0x1a/0x20 [kvm_intel]
[Mon Feb 24 12:46:52 2020]  kvm_arch_vcpu_ioctl+0x14b/0x11f0 [kvm]
[Mon Feb 24 12:46:52 2020]  ? __alloc_pages_nodemask+0x13f/0x2e0
[Mon Feb 24 12:46:52 2020]  ? mem_cgroup_commit_charge+0x82/0x4d0
[Mon Feb 24 12:46:52 2020]  ? mem_cgroup_try_charge+0x8b/0x190
[Mon Feb 24 12:46:52 2020]  kvm_vcpu_ioctl+0xe5/0x610 [kvm]
[Mon Feb 24 12:46:52 2020]  do_vfs_ioctl+0xa9/0x640
[Mon Feb 24 12:46:52 2020]  ? handle_mm_fault+0xe1/0x210
[Mon Feb 24 12:46:53 2020]  ksys_ioctl+0x67/0x90
[Mon Feb 24 12:46:53 2020]  __x64_sys_ioctl+0x1a/0x20
[Mon Feb 24 12:46:53 2020]  do_syscall_64+0x5a/0x110
[Mon Feb 24 12:46:53 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[Mon Feb 24 12:46:53 2020] RIP: 0033:0x7fb18f19e427
[Mon Feb 24 12:46:53 2020] Code: 00 00 90 48 8b 05 69 aa 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 aa 0c 00 f7 d8 64 89 01 48
[Mon Feb 24 12:46:53 2020] RSP: 002b:00007fb181578668 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[Mon Feb 24 12:46:53 2020] RAX: ffffffffffffffda RBX: 00000000c008aec1 RCX: 00007fb18f19e427
[Mon Feb 24 12:46:53 2020] RDX: 00007fb18080c000 RSI: ffffffffc008aec1 RDI: 0000000000000019
[Mon Feb 24 12:46:53 2020] RBP: 00007fb18080c000 R08: 0000000000000000 R09: 00007fb18157afe0
[Mon Feb 24 12:46:53 2020] R10: 0000000000005000 R11: 0000000000000246 R12: 00007fb181f3c280
[Mon Feb 24 12:46:53 2020] R13: 00007fb181f3c280 R14: 00007fb18080c000 R15: 00007fb181f3c280
[Mon Feb 24 12:46:53 2020] Modules linked in: ebt_arp xt_hashlimit nf_log_ipv6 sctp nf_conntrack_netlink xfrm_user ip6t_rpfilter ebtable_nat ebtable_broute ip6table_security iptable_security cfg80211 xt_state nft_counter nft_chain_nat_ipv4 nft_compat ip6t_MASQUERADE ipt_MASQUERADE udp_diag nf_log_ipv4 nf_log_common xt_LOG xt_recent xt_u32 xt_limit ts_bm nfnetlink_queue bluetooth ecdh_generic xt_time ip6table_raw ip6table_nat nf_nat_ipv6 iptable_raw xt_CT ts_kmp xt_length nbd act_police cls_basic sch_ingress sch_htb xt_nat tcp_diag inet_diag quota_v2 quota_tree xt_connmark ip6table_mangle xt_string xt_connlimit nf_conncount iptable_nat nf_nat_ipv4 nf_nat iptable_mangle veth rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache ebtable_filter ebtables ip6t_REJECT nf_reject_ipv6 ip6table_filter ip6_tables xt_mac ipt_REJECT nf_reject_ipv4 xt_mark xt_set xt_physdev xt_addrtype xt_comment xt_multiport xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp iptable_filter bpfilter ip_set_hash_net
[Mon Feb 24 12:46:53 2020]  ip_set nf_tables softdog nfnetlink_log nfnetlink nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 kvmgt vfio_mdev ppdev mdev vfio_iommu_type1 vfio kvm ttm irqbypass aesni_intel drm_kms_helper snd_pcm snd_timer aes_x86_64 drm crypto_simd snd cryptd ipmi_si soundcore glue_helper fb_sys_fops syscopyarea ipmi_devintf sysfillrect intel_cstate joydev input_leds parport_pc mei_me pcspkr intel_rapl_perf sysimgblt ipmi_msghandler mei intel_pch_thermal intel_wmi_thunderbolt parport intel_vbtn sparse_keymap mac_hid acpi_power_meter acpi_pad vhost_net vhost tap sunrpc ip_tables x_tables autofs4 btrfs zstd_compress raid10 multipath linear pata_via netxen_nic 3w_9xxx qlge ixgbe xfrm_algo mdio sata_nv forcedeth via686a mptctl mptsas scsi_transport_sas mptspi mptscsih mptbase dm_crypt raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c dm_mirror dm_region_hash dm_log
[Mon Feb 24 12:46:53 2020]  sata_via sata_sis sym53c8xx megaraid_sas megaraid aic7xxx scsi_transport_spi 3w_xxxx sky2 r8169 realtek skge e1000e e1000 via_rhine sis900 8139too e100 mii hid_generic raid1 raid0 usbkbd usbmouse igb i2c_algo_bit usbhid i2c_i801 dca ahci hid libahci wmi video
[Mon Feb 24 12:46:53 2020] CR2: 0000000000000000
[Mon Feb 24 12:46:53 2020] ---[ end trace 537eaf3c7ee7bb6e ]---
[Mon Feb 24 12:46:53 2020] RIP: 0010:          (null)
[Mon Feb 24 12:46:53 2020] Code: Bad RIP value.
[Mon Feb 24 12:46:53 2020] RSP: 0018:ffffaeb38987bb88 EFLAGS: 00010246
[Mon Feb 24 12:46:53 2020] RAX: 0000000000000000 RBX: 00007f16d780c008 RCX: 0000000000000000
[Mon Feb 24 12:46:53 2020] RDX: 00007f16d780c008 RSI: ffffaeb38987bd08 RDI: ffff8abdefa58000
[Mon Feb 24 12:46:53 2020] RBP: ffffaeb38987bcc8 R08: 0000000000000007 R09: 0000000000000019
[Mon Feb 24 12:46:53 2020] R10: ffff8abe3cd7cd00 R11: 0000000000000000 R12: ffffaeb38987bb90
[Mon Feb 24 12:46:53 2020] R13: ffffaeb38987bd08 R14: ffff8abdefa58058 R15: 0000000000000000
[Mon Feb 24 12:46:53 2020] FS:  00007fb18157e700(0000) GS:ffff8accb1500000(0000) knlGS:0000000000000000
[Mon Feb 24 12:46:53 2020] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Mon Feb 24 12:46:53 2020] CR2: ffffffffffffffd6 CR3: 0000000115fb0003 CR4: 00000000003626e0
[Mon Feb 24 12:46:53 2020] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[Mon Feb 24 12:46:53 2020] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Code:
lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       39 bits physical, 48 bits virtual
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  2
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               158
Model name:          Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Stepping:            9
CPU MHz:             4400.004
CPU max MHz:         4500.0000
CPU min MHz:         800.0000
BogoMIPS:            8400.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            8192K
NUMA node0 CPU(s):   0-7
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
 
proxmox-ve: 6.1-2 (running kernel: 5.0.21-3-pve)
just saw that you still run an older kernel, please try again after a reboot to load the new kernel
 
Shouldn't it still throw an error instead of doing this?
generally yes, but it is hard to determine if its some bug with our code, with the (old) kernel or with something else (hardware maybe)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!