I have the same issues in proxmox 6.1-3
Since pve-kernel 5.0.15-18 my firewall opnsense vm under freebsd freezes/hang randomly and don't responde every 1 or 2 days.
It become impossible to access the console or shutdown the vm, except stop it.
At this stat only the memory still be used by de guest vm and cpu is 0% use.
Once you stop it, you can not restart it unless you clone it or reboot the host.
The above fix have sometimes work
## Creating line
## in file
## and typing
But since the i update to pve-kernel 5.3.10-1, it still freeze again every 4 hours and the fix don't work anymore.
All other linux vm are not impacted.
Is there an issue with freebsd os like (pfsense, opensense, freenas, .... ) on proxmox ?
#pve-version
Here is what i have in syslog when the freeze happen. The vmid 101 and 102 are two debian 8.3 vm.
Same kernel bug at other time
Since pve-kernel 5.0.15-18 my firewall opnsense vm under freebsd freezes/hang randomly and don't responde every 1 or 2 days.
It become impossible to access the console or shutdown the vm, except stop it.
At this stat only the memory still be used by de guest vm and cpu is 0% use.
Code:
#qm shutdown vmid
VM quit/powerdown failed
#qm stop vmid
VM quit/powerdown failed - terminating now with SIGTERM
VM still running - terminating now with SIGKILL
Once you stop it, you can not restart it unless you clone it or reboot the host.
Code:
#qm start vmid
timeout waiting on systemd
The above fix have sometimes work
## Creating line
Code:
options vhost_net experimental_zcopytx=0
Code:
/etc/modprobe.d/vhost-net.conf
Code:
update-initramfs -u
update-grup
reboot
But since the i update to pve-kernel 5.3.10-1, it still freeze again every 4 hours and the fix don't work anymore.
All other linux vm are not impacted.
Is there an issue with freebsd os like (pfsense, opensense, freenas, .... ) on proxmox ?
#pve-version
Code:
proxmox-ve: 6.1-2 (running kernel: 5.3.10-1-pve)
pve-manager: 6.1-3 (running version: 6.1-3/37248ce6)
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.0: 6.0-11
pve-kernel-5.3.10-1-pve: 5.3.10-1
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-5.0.21-4-pve: 5.0.21-9
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.2-pve4
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.13-pve1
libpve-access-control: 6.0-5
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-9
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-3
libpve-storage-perl: 6.1-2
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve3
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-1
pve-cluster: 6.1-2
pve-container: 3.0-14
pve-docs: 6.1-3
pve-edk2-firmware: 2.20191002-1
pve-firewall: 4.0-9
pve-firmware: 3.0-4
pve-ha-manager: 3.0-8
pve-i18n: 2.0-3
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 3.13.2-1
qemu-server: 6.1-2
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.2-pve2
Here is what i have in syslog when the freeze happen. The vmid 101 and 102 are two debian 8.3 vm.
Code:
Dec 8 13:04:18 proxmox kernel: [85040.060348] usercopy: Kernel memory exposure attempt detected from SLUB object 'eventpoll_pwq(1505:pve-container@101.service)' (offset 37, size 80)!
Dec 8 13:04:18 proxmox kernel: [85040.060378] kernel BUG at mm/usercopy.c:102!
Dec 8 13:04:18 proxmox kernel: [85040.060400] CPU: 1 PID: 20720 Comm: vhost-20635 Tainted: P W O 5.3.10-1-pve #1
Dec 8 13:04:18 proxmox kernel: [85040.060429] Code: 0f 45 c6 51 48 89 f9 48 c7 c2 e5 e2 72 bc 41 52 48 c7 c6 26 c2 71 bc 48 c7 c7 b0 e3 72 bc 48 0f 45 f2 48 89 c2 e8 8d 67 e5 ff <0f> 0b 4d 89 e0 31 c9 44 89 ea 31 f6 48 c7 c7 19 e3 72 bc e8 6e ff
Dec 8 13:04:18 proxmox kernel: [85040.060452] RDX: 0000000000000000 RSI: ffff95c533296448 RDI: ffff95c533296448
Dec 8 13:04:18 proxmox kernel: [85040.060469] R13: 0000000000000001 R14: ffff95c4e84d8075 R15: 0000000000000000
Dec 8 13:04:18 proxmox kernel: [85040.060487] CR2: 00007f7c4ac45488 CR3: 00000003285cc000 CR4: 00000000000406e0
Dec 8 13:04:18 proxmox kernel: [85040.060514] __check_object_size+0x16b/0x17c
Dec 8 13:04:18 proxmox kernel: [85040.060537] ? skb_kill_datagram+0x70/0x70
Dec 8 13:04:18 proxmox kernel: [85040.060559] tun_recvmsg+0x76/0x110
Dec 8 13:04:18 proxmox kernel: [85040.060594] vhost_worker+0xba/0x110 [vhost]
Dec 8 13:04:18 proxmox kernel: [85040.060615] ? __kthread_parkme+0x70/0x70
Dec 8 13:04:18 proxmox kernel: [85040.060629] Modules linked in: tcp_diag inet_diag veth ebtable_filter ebtables ip6table_raw ip6t_REJECT nf_reject_ipv6 ip6table_filter ip6_tables iptable_raw xt_mac ipt_REJECT nf_reject_ipv4 xt_mark xt_NFLOG xt_limit xt_set xt_physdev xt_addrtype xt_comment xt_multiport xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp ip_set_hash_net ip_set arc4 md4 cmac nls_utf8 cifs ccm fscache iptable_filter bpfilter softdog nfnetlink_log nfnetlink amdgpu chash amd_iommu_v2 gpu_sched amd_freq_sensitivity edac_mce_amd kvm_amd ccp kvm irqbypass radeon ttm crct10dif_pclmul crc32_pclmul cypress_m8 drm_kms_helper ghash_clmulni_intel drm usbserial aesni_intel fb_sys_fops syscopyarea sysfillrect k10temp aes_x86_64 sysimgblt crypto_simd cryptd glue_helper fam15h_power mac_hid pcspkr zfs(PO) zunicode(PO) zlua(PO) zcommon(PO) znvpair(PO) zavl(PO) icp(PO) spl(O) vhost_net vhost tap ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp sunrpc libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables
Dec 8 13:04:18 proxmox kernel: [85040.060766] ---[ end trace 846f4459fd1deb5d ]---
Dec 8 13:04:18 proxmox kernel: [85040.060779] Code: 0f 45 c6 51 48 89 f9 48 c7 c2 e5 e2 72 bc 41 52 48 c7 c6 26 c2 71 bc 48 c7 c7 b0 e3 72 bc 48 0f 45 f2 48 89 c2 e8 8d 67 e5 ff <0f> 0b 4d 89 e0 31 c9 44 89 ea 31 f6 48 c7 c7 19 e3 72 bc e8 6e ff
Dec 8 13:04:18 proxmox kernel: [85040.060801] RDX: 0000000000000000 RSI: ffff95c533296448 RDI: ffff95c533296448
Dec 8 13:04:18 proxmox kernel: [85040.060818] R13: 0000000000000001 R14: ffff95c4e84d8075 R15: 0000000000000000
Dec 8 13:04:18 proxmox kernel: [85040.060836] CR2: 00007f7c4ac45488 CR3: 00000003285cc000 CR4: 00000000000406e0
Same kernel bug at other time
Code:
Dec 8 21:24:02 proxmox systemd[1]: Started Proxmox VE replication runner.
Dec 8 21:25:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Dec 8 21:25:02 proxmox systemd[1]: pvesr.service: Succeeded.
Dec 8 21:25:02 proxmox systemd[1]: Started Proxmox VE replication runner.
Dec 8 21:25:37 proxmox kernel: [24904.860975] usercopy: Kernel memory exposure attempt detec ted from SLUB object 'anon_vma_chain(990:pve-firewall.service)' (offset 22, size 95)!
Dec 8 21:25:37 proxmox kernel: [24904.861004] kernel BUG at mm/usercopy.c:99!
Dec 8 21:25:37 proxmox kernel: [24904.861018] invalid opcode: 0000 [#1] SMP NOPTI
Dec 8 21:25:37 proxmox kernel: [24904.861033] Hardware name: To Be Filled By O.E.M. To Be Fi lled By O.E.M./AM1B-ITX, BIOS P1.60 04/29/2015
Dec 8 21:25:37 proxmox kernel: [24904.861056] Code: 0f 45 c6 51 48 89 f9 48 c7 c2 d5 c2 56 9 8 41 52 48 c7 c6 7d 94 55 98 48 c7 c7 a0 c3 56 98 48 0f 45 f2 48 89 c2 e8 1d 7e e4 ff <0f> 0b 4d 89 e0 31 c9 44 89 ea 31 f6 48 c7 c7 09 c3 56 98 e8 6e ff
Dec 8 21:25:37 proxmox kernel: [24904.861073] RAX: 0000000000000083 RBX: ffff92eafc4f0016 RC X: 0000000000000000
Dec 8 21:25:37 proxmox kernel: [24904.861084] RBP: ffffb2464731bb60 R08: 000000000000061e R0 9: 0720072007200720
Dec 8 21:25:37 proxmox kernel: [24904.861095] R13: 0000000000000001 R14: ffff92eafc4f0075 R1 5: 0000000000000000
Dec 8 21:25:37 proxmox kernel: [24904.861109] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050 033
Dec 8 21:25:37 proxmox kernel: [24904.861119] Call Trace:
Dec 8 21:25:37 proxmox kernel: [24904.861139] __check_object_size+0x16b/0x17c
Dec 8 21:25:37 proxmox kernel: [24904.861160] ? skb_kill_datagram+0x70/0x70
Dec 8 21:25:37 proxmox kernel: [24904.861175] tun_do_read+0x4e2/0x6d0
Dec 8 21:25:37 proxmox kernel: [24904.861202] handle_rx+0x5d4/0xa20 [vhost_net]
Dec 8 21:25:37 proxmox kernel: [24904.861232] kthread+0x120/0x140
Dec 8 21:25:37 proxmox kernel: [24904.861255] ret_from_fork+0x22/0x40
Dec 8 21:25:37 proxmox kernel: [24904.861405] ---[ end trace 0990a558043d7237 ]---
Dec 8 21:25:37 proxmox kernel: [24904.861429] RSP: 0018:ffffb2464731bb48 EFLAGS: 00010246
Dec 8 21:25:37 proxmox kernel: [24904.861446] RBP: ffffb2464731bb60 R08: 000000000000061e R0 9: 0720072007200720
Dec 8 21:25:37 proxmox kernel: [24904.861463] FS: 0000000000000000(0000) GS:ffff92edb338000 0(0000) knlGS:0000000000000000
Dec 8 21:26:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Dec 8 21:26:02 proxmox systemd[1]: pvesr.service: Succeeded.
Dec 8 21:26:02 proxmox systemd[1]: Started Proxmox VE replication runner.
Dec 8 21:27:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Dec 8 21:27:02 proxmox systemd[1]: pvesr.service: Succeeded.
Last edited: