Hello all,
I have faced a problem. After upgrading proxmox 5 to 6, openvswitch keeps constantly crashes with such call trace:
Here is my /etc/network/interfaces
I have faced a problem. After upgrading proxmox 5 to 6, openvswitch keeps constantly crashes with such call trace:
Code:
Oct 11 20:19:26 vms kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
Oct 11 20:19:26 vms kernel: #PF error: [normal kernel read fault]
Oct 11 20:19:26 vms kernel: PGD 0 P4D 0
Oct 11 20:19:26 vms kernel: Oops: 0000 [#1] SMP PTI
Oct 11 20:19:26 vms kernel: CPU: 9 PID: 1472 Comm: handler34 Tainted: P IO 5.0.21-2-pve #1
Oct 11 20:19:26 vms kernel: Hardware name: Supermicro X8DT6/X8DT6, BIOS 2.0c 05/15/2012
Oct 11 20:19:26 vms kernel: RIP: 0010:kmem_cache_alloc_node+0x84/0x200
Oct 11 20:19:26 vms kernel: Code: 89 01 00 00 4d 8b 07 65 49 8b 50 08 65 4c 03 05 4a 07 39 5d 4d 8b 10 4d 85 d2 74 1a 41 83 fd ff 0f 84 84 00 00 00 49 8b 40 10 <48> 8b 00 48 c1 e8 36 41 39 c5 74 74 48 8b 4d d0 44 89 ea 44 89 e6
Oct 11 20:19:26 vms kernel: RSP: 0018:ffffb1be08a0f9f8 EFLAGS: 00010213
Oct 11 20:19:26 vms kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
Oct 11 20:19:26 vms kernel: RDX: 00000000022b0c12 RSI: 00000000006080c0 RDI: ffff961d97449200
Oct 11 20:19:26 vms kernel: RBP: ffffb1be08a0fa30 R08: ffff961d9f4eda20 R09: ffff961b24820720
Oct 11 20:19:26 vms kernel: R10: ffff961b8cc0abc0 R11: ffffffffa41ecf58 R12: 00000000006080c0
Oct 11 20:19:26 vms kernel: R13: 0000000000000000 R14: ffff961d97449200 R15: ffff961d97449200
Oct 11 20:19:26 vms kernel: FS: 00007f2a8ffff700(0000) GS:ffff961d9f4c0000(0000) knlGS:0000000000000000
Oct 11 20:19:26 vms kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 11 20:19:26 vms kernel: CR2: 0000000000000000 CR3: 00000017d3928005 CR4: 00000000000226e0
Oct 11 20:19:26 vms kernel: Call Trace:
Oct 11 20:19:26 vms kernel: ? kmem_cache_alloc+0x15f/0x1d0
Oct 11 20:19:26 vms kernel: ? ovs_flow_alloc+0x51/0x90 [openvswitch]
Oct 11 20:19:26 vms kernel: ovs_flow_alloc+0x51/0x90 [openvswitch]
Oct 11 20:19:26 vms kernel: ovs_packet_cmd_execute+0xdb/0x2a0 [openvswitch]
Oct 11 20:19:26 vms kernel: genl_family_rcv_msg+0x1d8/0x410
Oct 11 20:19:26 vms kernel: ? do_sys_poll+0x313/0x530
Oct 11 20:19:26 vms kernel: genl_rcv_msg+0x4c/0xa0
Oct 11 20:19:26 vms kernel: ? _cond_resched+0x19/0x30
Oct 11 20:19:26 vms kernel: ? genl_family_rcv_msg+0x410/0x410
Oct 11 20:19:26 vms kernel: netlink_rcv_skb+0x4f/0x120
Oct 11 20:19:26 vms kernel: genl_rcv+0x28/0x40
Oct 11 20:19:26 vms kernel: netlink_unicast+0x199/0x230
Oct 11 20:19:26 vms kernel: netlink_sendmsg+0x20d/0x3c0
Oct 11 20:19:26 vms kernel: sock_sendmsg+0x3e/0x50
Oct 11 20:19:26 vms kernel: ___sys_sendmsg+0x295/0x2f0
Oct 11 20:19:26 vms kernel: ? sock_poll+0x69/0xb0
Oct 11 20:19:26 vms kernel: ? ep_send_events_proc+0xef/0x1f0
Oct 11 20:19:26 vms kernel: ? ep_read_events_proc+0xd0/0xd0
Oct 11 20:19:26 vms kernel: ? ep_scan_ready_list.constprop.23+0x1f0/0x200
Oct 11 20:19:26 vms kernel: ? ep_poll+0x8b/0x450
Oct 11 20:19:26 vms kernel: ? __fget_light+0x54/0x60
Oct 11 20:19:26 vms kernel: __sys_sendmsg+0x5c/0xa0
Oct 11 20:19:26 vms kernel: __x64_sys_sendmsg+0x1f/0x30
Oct 11 20:19:26 vms kernel: do_syscall_64+0x5a/0x110
Oct 11 20:19:26 vms kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 11 20:19:26 vms kernel: RIP: 0033:0x7f2a96bd3467
Oct 11 20:19:26 vms kernel: Code: 44 00 00 41 54 41 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 e8 3b ed ff ff 44 89 e2 48 89 ee 89 df 41 89 c0 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 74 ed ff ff 48
Oct 11 20:19:26 vms kernel: RSP: 002b:00007f2a8ffa1100 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Oct 11 20:19:26 vms kernel: RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f2a96bd3467
Oct 11 20:19:26 vms kernel: RDX: 0000000000000000 RSI: 00007f2a8ffa1190 RDI: 0000000000000003
Oct 11 20:19:26 vms kernel: RBP: 00007f2a8ffa1190 R08: 0000000000000000 R09: 00007f2a8ffa2a10
Oct 11 20:19:26 vms kernel: R10: 00000000634f5d00 R11: 0000000000000293 R12: 0000000000000000
Oct 11 20:19:26 vms kernel: R13: 00007f2a8ffa29b8 R14: 00007f2a8ffa1630 R15: 00007f2a8ffa1190
Oct 11 20:19:26 vms kernel: Modules linked in: bluetooth ecdh_generic tcp_diag inet_diag dm_snapshot nfsv3 nfs_acl nfs lockd grace fscache xt_TCPMSS xt_tcpmss xt_policy ipt_MASQUERADE iptable_mangle iptable_nat binfmt_misc veth ebtable_filter ebtables ip6t_REJECT nf_reject_ipv6 ip6table_filter ip6_tables xt_mac ipt_REJECT nf_reject_ipv4 xt_NFLOG xt_limit xt_physdev xt_addrtype xt_multiport xt_conntrack xt_comment xt_tcpudp xt_set xt_mark ip_set_hash_net ip_set iptable_filter bpfilter openvswitch nsh nf_nat_ipv6 nf_nat_ipv4 nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 softdog nfnetlink_log intel_powerclamp kvm_intel kvm snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul mgag200 ghash_clmulni_intel ttm aesni_intel snd_hda_intel drm_kms_helper snd_hda_codec zfs(PO) aes_x86_64 drm crypto_simd zunicode(PO) snd_hda_core cryptd i2c_algo_bit ipmi_si snd_hwdep glue_helper fb_sys_fops zlua(PO) syscopyarea ipmi_devintf snd_pcm sysfillrect ipmi_msghandler sysimgblt intel_cstate pcspkr serio_raw joydev
Oct 11 20:19:26 vms kernel: input_leds snd_timer snd zcommon(PO) soundcore znvpair(PO) ioatdma zavl(PO) i7core_edac dca icp(PO) spl(O) vhost_net mac_hid vhost tap ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi w83795 i5500_temp coretemp nfnetlink_queue nfnetlink vfio_pci vfio_virqfd irqbypass vfio_iommu_type1 sunrpc vfio ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c hid_generic usbmouse usbkbd usbhid hid gpio_ich ahci mpt3sas psmouse raid_class i2c_i801 libahci lpc_ich e1000e scsi_transport_sas
Oct 11 20:19:26 vms kernel: CR2: 0000000000000000
Oct 11 20:19:26 vms kernel: ---[ end trace 7b2a753239475296 ]---
Oct 11 20:19:26 vms kernel: RIP: 0010:kmem_cache_alloc_node+0x84/0x200
Oct 11 20:19:26 vms kernel: Code: 89 01 00 00 4d 8b 07 65 49 8b 50 08 65 4c 03 05 4a 07 39 5d 4d 8b 10 4d 85 d2 74 1a 41 83 fd ff 0f 84 84 00 00 00 49 8b 40 10 <48> 8b 00 48 c1 e8 36 41 39 c5 74 74 48 8b 4d d0 44 89 ea 44 89 e6
Oct 11 20:19:26 vms kernel: RSP: 0018:ffffb1be08a0f9f8 EFLAGS: 00010213
Oct 11 20:19:26 vms kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
Oct 11 20:19:26 vms kernel: RDX: 00000000022b0c12 RSI: 00000000006080c0 RDI: ffff961d97449200
Oct 11 20:19:26 vms kernel: RBP: ffffb1be08a0fa30 R08: ffff961d9f4eda20 R09: ffff961b24820720
Oct 11 20:19:26 vms kernel: R10: ffff961b8cc0abc0 R11: ffffffffa41ecf58 R12: 00000000006080c0
Oct 11 20:19:26 vms kernel: R13: 0000000000000000 R14: ffff961d97449200 R15: ffff961d97449200
Oct 11 20:19:26 vms kernel: FS: 00007f2a8ffff700(0000) GS:ffff961d9f4c0000(0000) knlGS:0000000000000000
Oct 11 20:19:26 vms kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 11 20:19:26 vms kernel: CR2: 0000000000000000 CR3: 00000017d3928005 CR4: 00000000000226e0
Here is my /etc/network/interfaces
Code:
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds enp3s0 enp4s0
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-slb lacp=active
auto lo
iface lo inet loopback
iface enp3s0 inet manual
iface enp4s0 inet manual
allow-vmbr0 vlan8int
iface vlan8int inet static
address 9x.xxx.xxx.x1
netmask 255.255.255.224
gateway 9x.xx.xx.x3
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=8
iface vlan8int inet6 static
address 2xxx:xxxx:x::x1
netmask 112
gateway 2xxx:xxxx:x::x3
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan8int
service openvswitch-switch restart
temporary fix the problem, but after some time it happens again. Maybe someone could give an advice for my case?