HP NC523SFP - driver bug UBSAN: shift-out-of-bounds

Naga

New Member
Sep 16, 2022
1
0
1
Hey there,

wanted to upgrade my net to 10G but apparently the qlcnic driver bugs out on my system.
Anybody has this card working? Kernels tested were 5.15 and 5.19

I can see the Nics in ip addr, but they remain down.
When setting them to up via ip link set <dev> up, they appear as up, but nothing goes over it.


ip addr:
Code:
2: enp11s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a0:48:1c:75:3f:22 brd ff:ff:ff:ff:ff:ff
3: enp11s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a0:48:1c:75:3f:23 brd ff:ff:ff:ff:ff:ff

lspci -s 0b:00 -knn
Code:
0b:00.0 Ethernet controller [0200]: QLogic Corp. cLOM8214 1/10GbE Controller [1077:8020] (rev 54)
    Subsystem: Hewlett-Packard Company NC523SFP 10Gb 2-port Server Adapter [103c:3733]
    Kernel driver in use: qlcnic
    Kernel modules: qlcnic
0b:00.1 Ethernet controller [0200]: QLogic Corp. cLOM8214 1/10GbE Controller [1077:8020] (rev 54)
    Subsystem: Hewlett-Packard Company NC523SFP 10Gb 2-port Server Adapter [103c:3733]
    Kernel driver in use: qlcnic
    Kernel modules: qlcnic

pveversion -v

Code:
proxmox-ve: 7.2-1 (running kernel: 5.19.7-1-pve)
pve-manager: 7.2-11 (running version: 7.2-11/b76d3178)
pve-kernel-helper: 7.2-12
pve-kernel-5.19: 7.2-11
pve-kernel-5.15: 7.2-10
pve-kernel-5.13: 7.1-9
pve-kernel-5.19.7-1-pve: 5.19.7-1
pve-kernel-5.15.53-1-pve: 5.15.53-1
pve-kernel-5.15.39-4-pve: 5.15.39-4
pve-kernel-5.15.35-3-pve: 5.15.35-6
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph-fuse: 15.2.15-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve1
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-2
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-3
libpve-storage-perl: 7.2-8
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
openvswitch-switch: 2.15.0+ds1-2+deb11u1
proxmox-backup-client: 2.2.6-1
proxmox-backup-file-restore: 2.2.6-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-2
pve-container: 4.2-2
pve-docs: 7.2-2
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-6
pve-firmware: 3.5-1
pve-ha-manager: 3.4.0
pve-i18n: 2.7-2
pve-qemu-kvm: 7.0.0-3
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.5-pve1

lsmod | grep -i qlc
Code:
qlcnic                352256  0



Bug:
Code:
[   41.216904] ================================================================================
[   41.216905] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:225:10
[   41.216905] shift exponent 59311617 is too large for 32-bit type 'int'
[   41.216906] CPU: 4 PID: 276 Comm: systemd-udevd Not tainted 5.19.7-1-pve #1
[   41.216907] Hardware name: To Be Filled By O.E.M. X570 Phantom Gaming 4/X570 Phantom Gaming 4, BIOS P4.30 02/23/2022
[   41.216908] Call Trace:
[   41.216908]  <TASK>
[   41.216908]  dump_stack_lvl+0x49/0x63
[   41.216909]  dump_stack+0x10/0x16
[   41.216910]  ubsan_epilogue+0x9/0x3f
[   41.216911]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[   41.216912]  ? dma_free_attrs+0x30/0x60
[   41.216914]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
[   41.216920]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
[   41.216926]  qlcnic_dcb_map_cee_params.cold+0x135/0x1f0 [qlcnic]
[   41.216934]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
[   41.216940]  __qlcnic_dcb_get_info+0x3b/0x50 [qlcnic]
[   41.216946]  qlcnic_probe.part.0.cold+0xd7b/0x10e6 [qlcnic]
[   41.216954]  ? pci_enable_device_flags+0x144/0x180
[   41.216955]  qlcnic_probe+0x27/0x40 [qlcnic]
[   41.216962]  local_pci_probe+0x4b/0x90
[   41.216963]  ? pci_match_device+0xe2/0x140
[   41.216965]  pci_device_probe+0xc8/0x270
[   41.216967]  really_probe+0x1d6/0x3b0
[   41.216968]  __driver_probe_device+0x119/0x190
[   41.216969]  driver_probe_device+0x23/0xc0
[   41.216970]  __driver_attach+0xbd/0x200
[   41.216971]  ? __device_attach_driver+0x120/0x120
[   41.216972]  bus_for_each_dev+0x7e/0xd0
[   41.216973]  driver_attach+0x1e/0x30
[   41.216974]  bus_add_driver+0x178/0x220
[   41.216976]  driver_register+0x91/0x100
[   41.216977]  ? 0xffffffffc05fc000
[   41.216977]  __pci_register_driver+0x68/0x70
[   41.216979]  qlcnic_init_module+0x50/0x1000 [qlcnic]
[   41.216985]  ? 0xffffffffc05fc000
[   41.216986]  do_one_initcall+0x48/0x210
[   41.216987]  ? kmem_cache_alloc_trace+0x1a6/0x320
[   41.216989]  do_init_module+0x52/0x210
[   41.216990]  load_module+0x1d9c/0x21d0
[   41.216991]  ? kernel_read_file+0x230/0x290
[   41.216993]  __do_sys_finit_module+0xc8/0x140
[   41.216995]  __x64_sys_finit_module+0x1a/0x20
[   41.216996]  do_syscall_64+0x5c/0x90
[   41.216997]  ? do_syscall_64+0x69/0x90
[   41.216999]  ? irqentry_exit_to_user_mode+0x9/0x20
[   41.217000]  ? irqentry_exit+0x3b/0x50
[   41.217001]  ? exc_page_fault+0x87/0x180
[   41.217002]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[   41.217003] RIP: 0033:0x7fe1208243a9
[   41.217004] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b7 8a 0d 00 f7 d8 64 89 01 48
[   41.217005] RSP: 002b:00007fffda4a0d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   41.217006] RAX: ffffffffffffffda RBX: 00005580528de440 RCX: 00007fe1208243a9
[   41.217006] RDX: 0000000000000000 RSI: 00007fe1209c1e2d RDI: 0000000000000005
[   41.217007] RBP: 0000000000020000 R08: 0000000000000000 R09: 00005580528c2500
[   41.217008] R10: 0000000000000005 R11: 0000000000000246 R12: 00007fe1209c1e2d
[   41.217009] R13: 0000000000000000 R14: 00005580528e0750 R15: 00005580528de440
[   41.217010]  </TASK>
[   41.217010] ================================================================================
 
Last edited:
Hi, I had the same problem with this NIC.

Got it working on 5.11.0-37-generic (Ubuntu 20.04)
 
Hi, we're also affected, same NIC model and also on the default 5.15.53-1 kernel:
Code:
root@proxmox13:~# lspci -s 65:00 -knn
65:00.0 Ethernet controller [0200]: QLogic Corp. cLOM8214 1/10GbE Controller [1077:8020] (rev 54)
        Subsystem: Hewlett-Packard Company NC523SFP 10Gb 2-port Server Adapter [103c:3733]
        Kernel driver in use: qlcnic
        Kernel modules: qlcnic
65:00.1 Ethernet controller [0200]: QLogic Corp. cLOM8214 1/10GbE Controller [1077:8020] (rev 54)
        Subsystem: Hewlett-Packard Company NC523SFP 10Gb 2-port Server Adapter [103c:3733]
        Kernel driver in use: qlcnic
        Kernel modules: qlcnic

Code:
root@proxmox13:~# uname -a
Linux proxmox13 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200) x86_64 GNU/Linux

The traces we get are these, just shortly after booting, then the card seems to work normally, though:

Code:
[    4.532769] ================================================================================
[    4.532847] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:677:11
[    4.532926] shift exponent 32 is too large for 32-bit type 'unsigned int'
[    4.532998] CPU: 0 PID: 6 Comm: kworker/0:0 Not tainted 5.15.53-1-pve #1
[    4.533002] Hardware name: Supermicro Super Server/X11SPL-F, BIOS 2.1 06/15/2018
[    4.533004] Workqueue: events work_for_cpu_fn
[    4.533014] Call Trace:
[    4.533016]  <TASK>
[    4.533019]  dump_stack_lvl+0x4a/0x63
[    4.533025]  dump_stack+0x10/0x16
[    4.533029]  ubsan_epilogue+0x9/0x49
[    4.533033]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[    4.533036]  ? dma_free_attrs+0x3c/0x60
[    4.533041]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
[    4.533071]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
[    4.533096]  qlcnic_dcb_map_cee_params.cold+0xea/0x1f0 [qlcnic]
[    4.533122]  ? alloc_workqueue+0x3e4/0x4e0
[    4.533127]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
[    4.533149]  __qlcnic_dcb_get_info+0x38/0x50 [qlcnic]
[    4.533170]  qlcnic_probe.cold+0xcc6/0x103a [qlcnic]
[    4.533194]  local_pci_probe+0x48/0x90
[    4.533200]  work_for_cpu_fn+0x17/0x30
[    4.533205]  process_one_work+0x228/0x3d0
[    4.533209]  worker_thread+0x223/0x420
[    4.533212]  ? process_one_work+0x3d0/0x3d0
[    4.533215]  kthread+0x127/0x150
[    4.533221]  ? set_kthread_struct+0x50/0x50
[    4.533226]  ret_from_fork+0x1f/0x30
[    4.533234]  </TASK>
[    4.533236] ================================================================================
[    4.533312] ================================================================================
[    4.533387] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:700:13
[    4.533465] shift exponent 32 is too large for 32-bit type 'unsigned int'
[    4.533535] CPU: 0 PID: 6 Comm: kworker/0:0 Not tainted 5.15.53-1-pve #1
[    4.533538] Hardware name: Supermicro Super Server/X11SPL-F, BIOS 2.1 06/15/2018
[    4.533539] Workqueue: events work_for_cpu_fn
[    4.533545] Call Trace:
[    4.533546]  <TASK>
[    4.533547]  dump_stack_lvl+0x4a/0x63
[    4.533551]  dump_stack+0x10/0x16
[    4.533554]  ubsan_epilogue+0x9/0x49
[    4.533558]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[    4.533562]  ? dma_free_attrs+0x3c/0x60
[    4.533564]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
[    4.533585]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
[    4.533604]  qlcnic_dcb_map_cee_params.cold+0x7c/0x1f0 [qlcnic]
[    4.533628]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
[    4.533648]  __qlcnic_dcb_get_info+0x38/0x50 [qlcnic]
[    4.533666]  qlcnic_probe.cold+0xcc6/0x103a [qlcnic]
[    4.533689]  local_pci_probe+0x48/0x90
[    4.533693]  work_for_cpu_fn+0x17/0x30
[    4.533698]  process_one_work+0x228/0x3d0
[    4.533702]  worker_thread+0x223/0x420
[    4.533705]  ? process_one_work+0x3d0/0x3d0
[    4.533708]  kthread+0x127/0x150
[    4.533713]  ? set_kthread_struct+0x50/0x50
[    4.533718]  ret_from_fork+0x1f/0x30
[    4.533725]  </TASK>
[    4.533726] ================================================================================
[    4.533801] ================================================================================
[    4.533876] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:701:10
[    4.533954] shift exponent 32 is too large for 32-bit type 'unsigned int'
[    4.534024] CPU: 0 PID: 6 Comm: kworker/0:0 Not tainted 5.15.53-1-pve #1
[    4.534027] Hardware name: Supermicro Super Server/X11SPL-F, BIOS 2.1 06/15/2018
[    4.534028] Workqueue: events work_for_cpu_fn
[    4.534033] Call Trace:
[    4.534034]  <TASK>
[    4.534036]  dump_stack_lvl+0x4a/0x63
[    4.534039]  dump_stack+0x10/0x16
[    4.534043]  ubsan_epilogue+0x9/0x49
[    4.534046]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[    4.534049]  ? dma_free_attrs+0x3c/0x60
[    4.534052]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
[    4.534072]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
[    4.534091]  qlcnic_dcb_map_cee_params.cold+0x99/0x1f0 [qlcnic]
[    4.534114]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
[    4.534132]  __qlcnic_dcb_get_info+0x38/0x50 [qlcnic]
[    4.534150]  qlcnic_probe.cold+0xcc6/0x103a [qlcnic]
[    4.534173]  local_pci_probe+0x48/0x90
[    4.534176]  work_for_cpu_fn+0x17/0x30
[    4.534181]  process_one_work+0x228/0x3d0
[    4.534185]  worker_thread+0x223/0x420
[    4.534188]  ? process_one_work+0x3d0/0x3d0
[    4.534192]  kthread+0x127/0x150
[    4.534196]  ? set_kthread_struct+0x50/0x50
[    4.534202]  ret_from_fork+0x1f/0x30
[    4.534208]  </TASK>
[    4.534210] ================================================================================
[    4.534448] qlcnic 0000:65:00.0: using msi-x interrupts
[    4.587791] usb 1-2: new low-speed USB device number 3 using xhci_hcd
[    4.611154] qlcnic 0000:65:00.0: eth0: XGbE port initialized
[    4.611386] qlcnic 0000:65:00.1: 2048KB memory map
[    4.657245] qlcnic 0000:65:00.1: Default minidump capture mask 0x1f
[    4.657248] qlcnic 0000:65:00.1: FW dump enabled
[    4.657250] qlcnic 0000:65:00.1: Supports FW dump capability
[    4.657252] qlcnic 0000:65:00.1: Driver v5.3.66, firmware v4.14.24

Code:
root@proxmox13:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.53-1-pve)
pve-manager: 7.2-11 (running version: 7.2-11/b76d3178)
pve-kernel-helper: 7.2-12
pve-kernel-5.15: 7.2-10
pve-kernel-5.4: 6.4-20
pve-kernel-5.15.53-1-pve: 5.15.53-1
pve-kernel-5.4.203-1-pve: 5.4.203-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph-fuse: 14.2.21-1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve1
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-2
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-3
libpve-storage-perl: 7.2-8
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.6-1
proxmox-backup-file-restore: 2.2.6-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-2
pve-container: 4.2-2
pve-docs: 7.2-2
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-6
pve-firmware: 3.5-2
pve-ha-manager: 3.4.0
pve-i18n: 2.7-2
pve-qemu-kvm: 7.0.0-3
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.5-pve1

The error messages appeared just after updating all cluster hosts from latest 6.4 to latest 7.2 version of proxmox. 6.4 did not show the error, running on kernel 5.4.203-1-pve:
Code:
 Linux version 5.4.203-1-pve (build@proxmox) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.203-1 (Fri, 26 Aug 2022 14:43:35 +0200)

Again, the NIC works. But the trace message is definitely worrying.

Are there any safe kernel version choices to try without risking breaking other PVE functionality?
Thx and best regards from Cologne!
 
Hello, i have same problem with 10G nic:

Code:
[Mon Oct 10 14:32:33 2022] ================================================================================
[Mon Oct 10 14:32:33 2022] UBSAN: shift-out-of-bounds in drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:353:18
[Mon Oct 10 14:32:33 2022] shift exponent 4294967295 is too large for 32-bit type 'int'
[Mon Oct 10 14:32:33 2022] CPU: 2 PID: 693 Comm: kworker/u112:1 Tainted: P           O      5.15.30-2-pve #1
[Mon Oct 10 14:32:33 2022] Hardware name: Dell Inc. PowerEdge R730xd/072T6D, BIOS 2.15.0 06/27/2022
[Mon Oct 10 14:32:33 2022] Workqueue: bnx2x bnx2x_sp_task [bnx2x]
[Mon Oct 10 14:32:33 2022] Call Trace:
[Mon Oct 10 14:32:33 2022]  <TASK>
[Mon Oct 10 14:32:33 2022]  dump_stack_lvl+0x4a/0x5f
[Mon Oct 10 14:32:33 2022]  dump_stack+0x10/0x12
[Mon Oct 10 14:32:33 2022]  ubsan_epilogue+0x9/0x45
[Mon Oct 10 14:32:33 2022]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[Mon Oct 10 14:32:33 2022]  ? update_cfs_group+0x9c/0xb0
[Mon Oct 10 14:32:33 2022]  ? enqueue_entity+0x17d/0x750
[Mon Oct 10 14:32:33 2022]  bnx2x_get_dcbx_drv_param.cold+0x4c1/0x7c7 [bnx2x]
[Mon Oct 10 14:32:33 2022]  bnx2x_dcbx_set_params+0x20c/0xb60 [bnx2x]
[Mon Oct 10 14:32:33 2022]  ? update_load_avg+0x82/0x630
[Mon Oct 10 14:32:33 2022]  bnx2x_sp_task+0xfde/0x2170 [bnx2x]
[Mon Oct 10 14:32:33 2022]  ? psi_task_switch+0xc6/0x220
[Mon Oct 10 14:32:33 2022]  ? add_timer+0x20/0x30
[Mon Oct 10 14:32:33 2022]  process_one_work+0x22b/0x3d0
[Mon Oct 10 14:32:33 2022]  worker_thread+0x53/0x410
[Mon Oct 10 14:32:33 2022]  ? process_one_work+0x3d0/0x3d0
[Mon Oct 10 14:32:33 2022]  kthread+0x12a/0x150
[Mon Oct 10 14:32:33 2022]  ? set_kthread_struct+0x50/0x50
[Mon Oct 10 14:32:33 2022]  ret_from_fork+0x22/0x30
[Mon Oct 10 14:32:33 2022]  </TASK>
[Mon Oct 10 14:32:33 2022] ================================================================================
[Mon Oct 10 14:32:33 2022] ================================================================================
[Mon Oct 10 14:32:33 2022] UBSAN: shift-out-of-bounds in drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:359:19
[Mon Oct 10 14:32:33 2022] shift exponent 4294967295 is too large for 32-bit type 'int'
[Mon Oct 10 14:32:33 2022] CPU: 2 PID: 693 Comm: kworker/u112:1 Tainted: P           O      5.15.30-2-pve #1
[Mon Oct 10 14:32:33 2022] Hardware name: Dell Inc. PowerEdge R730xd/072T6D, BIOS 2.15.0 06/27/2022
[Mon Oct 10 14:32:33 2022] Workqueue: bnx2x bnx2x_sp_task [bnx2x]
[Mon Oct 10 14:32:33 2022] Call Trace:
[Mon Oct 10 14:32:33 2022]  <TASK>
[Mon Oct 10 14:32:33 2022]  dump_stack_lvl+0x4a/0x5f
[Mon Oct 10 14:32:33 2022]  dump_stack+0x10/0x12
[Mon Oct 10 14:32:33 2022]  ubsan_epilogue+0x9/0x45
[Mon Oct 10 14:32:33 2022]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[Mon Oct 10 14:32:33 2022]  ? update_cfs_group+0x9c/0xb0
[Mon Oct 10 14:32:33 2022]  ? enqueue_entity+0x17d/0x750
[Mon Oct 10 14:32:33 2022]  bnx2x_get_dcbx_drv_param.cold+0x33e/0x7c7 [bnx2x]
[Mon Oct 10 14:32:33 2022]  bnx2x_dcbx_set_params+0x20c/0xb60 [bnx2x]
[Mon Oct 10 14:32:33 2022]  ? update_load_avg+0x82/0x630
[Mon Oct 10 14:32:33 2022]  bnx2x_sp_task+0xfde/0x2170 [bnx2x]
[Mon Oct 10 14:32:33 2022]  ? psi_task_switch+0xc6/0x220
[Mon Oct 10 14:32:33 2022]  ? add_timer+0x20/0x30
[Mon Oct 10 14:32:33 2022]  process_one_work+0x22b/0x3d0
[Mon Oct 10 14:32:33 2022]  worker_thread+0x53/0x410
[Mon Oct 10 14:32:33 2022]  ? process_one_work+0x3d0/0x3d0
[Mon Oct 10 14:32:33 2022]  kthread+0x12a/0x150
[Mon Oct 10 14:32:33 2022]  ? set_kthread_struct+0x50/0x50
[Mon Oct 10 14:32:33 2022]  ret_from_fork+0x22/0x30
[Mon Oct 10 14:32:33 2022]  </TASK>
[Mon Oct 10 14:32:33 2022] ================================================================================
[Mon Oct 10 14:32:33 2022] ================================================================================
[Mon Oct 10 14:32:33 2022] UBSAN: shift-out-of-bounds in drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:1875:15
[Mon Oct 10 14:32:33 2022] shift exponent 255 is too large for 32-bit type 'int'
[Mon Oct 10 14:32:33 2022] CPU: 32 PID: 535 Comm: kworker/32:2 Tainted: P           O      5.15.30-2-pve #1
[Mon Oct 10 14:32:33 2022] Hardware name: Dell Inc. PowerEdge R730xd/072T6D, BIOS 2.15.0 06/27/2022
[Mon Oct 10 14:32:33 2022] Workqueue: events bnx2x_sp_rtnl_task [bnx2x]
[Mon Oct 10 14:32:33 2022] Call Trace:
[Mon Oct 10 14:32:33 2022]  <TASK>
[Mon Oct 10 14:32:33 2022]  dump_stack_lvl+0x4a/0x5f
[Mon Oct 10 14:32:33 2022]  dump_stack+0x10/0x12
[Mon Oct 10 14:32:33 2022]  ubsan_epilogue+0x9/0x45
[Mon Oct 10 14:32:33 2022]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[Mon Oct 10 14:32:33 2022]  ? bnx2x_func_wait_comp+0x7a/0xc0 [bnx2x]
[Mon Oct 10 14:32:33 2022]  bnx2x_dcbx_resume_hw_tx.cold+0x6e/0x312 [bnx2x]
[Mon Oct 10 14:32:33 2022]  bnx2x_sp_rtnl_task+0x30a/0x800 [bnx2x]
[Mon Oct 10 14:32:33 2022]  ? __schedule+0x345/0x1750
[Mon Oct 10 14:32:33 2022]  process_one_work+0x22b/0x3d0
[Mon Oct 10 14:32:33 2022]  worker_thread+0x53/0x410
[Mon Oct 10 14:32:33 2022]  ? process_one_work+0x3d0/0x3d0
[Mon Oct 10 14:32:33 2022]  kthread+0x12a/0x150
[Mon Oct 10 14:32:33 2022]  ? set_kthread_struct+0x50/0x50
[Mon Oct 10 14:32:33 2022]  ret_from_fork+0x22/0x30
[Mon Oct 10 14:32:33 2022]  </TASK>
[Mon Oct 10 14:32:33 2022] ================================================================================

on fresh installed proxmox VE 7.2:
Code:
# uname -a
Linux pve3 5.15.30-2-pve #1 SMP PVE 5.15.30-3 (Fri, 22 Apr 2022 18:08:27 +0200) x86_64 GNU/Linux

Will it be better to setup the previous version 7.1 or just downgrade pve-kernel to 5.13.19-6-pve?


update:

with "testing" repo same situation.
Code:
# uname -a
Linux pve3 5.15.60-2-pve #1 SMP PVE 5.15.60-2 (Tue, 04 Oct 2022 16:52:28 +0200) x86_64 GNU/Linux

and with pve-kernel-5.19.7-2-pve also same.
 
Last edited:
Just upgraded a 7.2 PVE to 7.3 and this bug persists, but the card works.

pveversion -v
Code:
proxmox-ve: 7.3-1 (running kernel: 5.15.74-1-pve)
pve-manager: 7.3-3 (running version: 7.3-3/c3928077)
pve-kernel-5.15: 7.2-14
pve-kernel-helper: 7.2-14
pve-kernel-5.15.74-1-pve: 5.15.74-1
pve-kernel-5.15.64-1-pve: 5.15.64-1
pve-kernel-5.15.60-2-pve: 5.15.60-2
pve-kernel-5.15.30-2-pve: 5.15.30-3
ceph-fuse: 15.2.16-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-5
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-1
libpve-guest-common-perl: 4.2-3
libpve-http-server-perl: 4.1-5
libpve-storage-perl: 7.3-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.3.1-1
proxmox-backup-file-restore: 2.3.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-offline-mirror-helper: 0.5.0-1
proxmox-widget-toolkit: 3.5.3
pve-cluster: 7.3-1
pve-container: 4.4-2
pve-docs: 7.3-1
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-7
pve-firmware: 3.5-6
pve-ha-manager: 3.5.1
pve-i18n: 2.8-1
pve-qemu-kvm: 7.1.0-4
pve-xtermjs: 4.16.0-1
qemu-server: 7.3-1
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+2
vncterm: 1.7-1
zfsutils-linux: 2.1.6-pve1


lsmod | grep -i qlc
Code:
qlcnic                348160  0


dmesg
Code:
    [    1.741496] ================================================================================
    [    1.741498] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:677:11
    [    1.741501] shift exponent 32 is too large for 32-bit type 'unsigned int'
    [    1.741503] CPU: 2 PID: 191 Comm: systemd-udevd Not tainted 5.15.74-1-pve #1
    [    1.741505] Hardware name: ASUS All Series/H97M-PLUS, BIOS 3602 04/08/2018
    [    1.741506] Call Trace:
    [    1.741508]  <TASK>
    [    1.741509]  dump_stack_lvl+0x4a/0x63
    [    1.741514]  dump_stack+0x10/0x16
    [    1.741516]  ubsan_epilogue+0x9/0x49
    [    1.741518]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
    [    1.741520]  ? dma_free_attrs+0x3c/0x60
    [    1.741523]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
    [    1.741538]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
    [    1.741549]  qlcnic_dcb_map_cee_params.cold+0xea/0x1f0 [qlcnic]
    [    1.741561]  ? alloc_workqueue+0x414/0x4e0
    [    1.741564]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
    [    1.741575]  __qlcnic_dcb_get_info+0x3b/0x50 [qlcnic]
    [    1.741585]  qlcnic_probe.cold+0xcc9/0x103a [qlcnic]
    [    1.741597]  local_pci_probe+0x4b/0x90
    [    1.741600]  pci_device_probe+0x119/0x1f0
    [    1.741603]  really_probe+0x222/0x420
    [    1.741605]  __driver_probe_device+0x119/0x190
    [    1.741608]  driver_probe_device+0x23/0xc0
    [    1.741610]  __driver_attach+0xbb/0x220
    [    1.741612]  ? __device_attach_driver+0x140/0x140
    [    1.741615]  bus_for_each_dev+0x7e/0xd0
    [    1.741617]  driver_attach+0x1e/0x30
    [    1.741619]  bus_add_driver+0x148/0x220
    [    1.741621]  ? __cond_resched+0x1a/0x50
    [    1.741623]  driver_register+0x91/0xf0
    [    1.741626]  ? 0xffffffffc04f0000
    [    1.741627]  __pci_register_driver+0x68/0x70
    [    1.741629]  qlcnic_init_module+0x50/0x1000 [qlcnic]
    [    1.741638]  ? 0xffffffffc04f0000
    [    1.741639]  do_one_initcall+0x48/0x1e0
    [    1.741642]  ? kmem_cache_alloc_trace+0x19e/0x2e0
    [    1.741645]  do_init_module+0x52/0x280
    [    1.741648]  load_module+0x25b6/0x2a20
    [    1.741651]  __do_sys_finit_module+0xbf/0x120
    [    1.741654]  __x64_sys_finit_module+0x1a/0x20
    [    1.741656]  do_syscall_64+0x5c/0xc0
    [    1.741658]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.741661]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.741663]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.741665]  ? __x64_sys_mmap+0x33/0x50
    [    1.741667]  ? do_syscall_64+0x69/0xc0
    [    1.741669]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.741671]  ? __x64_sys_newstat+0x16/0x20
    [    1.741673]  ? do_syscall_64+0x69/0xc0
    [    1.741675]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
    [    1.741678] RIP: 0033:0x7f951d8f42e9
    [    1.741680] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 77 8b 0d 00 f7 d8 64 89 01 48
    [    1.741683] RSP: 002b:00007ffcdf212d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
    [    1.741685] RAX: ffffffffffffffda RBX: 00005627e109d030 RCX: 00007f951d8f42e9
    [    1.741687] RDX: 0000000000000000 RSI: 00007f951da91e2d RDI: 0000000000000005
    [    1.741688] RBP: 0000000000020000 R08: 0000000000000000 R09: 00005627e1081400
    [    1.741690] R10: 0000000000000005 R11: 0000000000000246 R12: 00007f951da91e2d
    [    1.741691] R13: 0000000000000000 R14: 00005627e109b560 R15: 00005627e109d030
    [    1.741693]  </TASK>
    [    1.741694] ================================================================================
    [    1.741696] ================================================================================
    [    1.741697] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:700:13
    [    1.741699] shift exponent 32 is too large for 32-bit type 'unsigned int'
    [    1.741701] CPU: 2 PID: 191 Comm: systemd-udevd Not tainted 5.15.74-1-pve #1
    [    1.741703] Hardware name: ASUS All Series/H97M-PLUS, BIOS 3602 04/08/2018
    [    1.741704] Call Trace:
    [    1.741705]  <TASK>
    [    1.741706]  dump_stack_lvl+0x4a/0x63
    [    1.741708]  dump_stack+0x10/0x16
    [    1.741710]  ubsan_epilogue+0x9/0x49
    [    1.741712]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
    [    1.741715]  ? dma_free_attrs+0x3c/0x60
    [    1.741716]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
    [    1.741727]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
    [    1.741738]  qlcnic_dcb_map_cee_params.cold+0x7c/0x1f0 [qlcnic]
    [    1.741751]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
    [    1.741762]  __qlcnic_dcb_get_info+0x3b/0x50 [qlcnic]
    [    1.741771]  qlcnic_probe.cold+0xcc9/0x103a [qlcnic]
    [    1.741783]  local_pci_probe+0x4b/0x90
    [    1.741786]  pci_device_probe+0x119/0x1f0
    [    1.741788]  really_probe+0x222/0x420
    [    1.741790]  __driver_probe_device+0x119/0x190
    [    1.741792]  driver_probe_device+0x23/0xc0
    [    1.741795]  __driver_attach+0xbb/0x220
    [    1.741797]  ? __device_attach_driver+0x140/0x140
    [    1.741799]  bus_for_each_dev+0x7e/0xd0
    [    1.741801]  driver_attach+0x1e/0x30
    [    1.741803]  bus_add_driver+0x148/0x220
    [    1.741805]  ? __cond_resched+0x1a/0x50
    [    1.741807]  driver_register+0x91/0xf0
    [    1.741809]  ? 0xffffffffc04f0000
    [    1.741811]  __pci_register_driver+0x68/0x70
    [    1.741813]  qlcnic_init_module+0x50/0x1000 [qlcnic]
    [    1.741821]  ? 0xffffffffc04f0000
    [    1.741822]  do_one_initcall+0x48/0x1e0
    [    1.741825]  ? kmem_cache_alloc_trace+0x19e/0x2e0
    [    1.741827]  do_init_module+0x52/0x280
    [    1.741830]  load_module+0x25b6/0x2a20
    [    1.741833]  __do_sys_finit_module+0xbf/0x120
    [    1.741836]  __x64_sys_finit_module+0x1a/0x20
    [    1.741838]  do_syscall_64+0x5c/0xc0
    [    1.741840]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.741842]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.741844]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.741846]  ? __x64_sys_mmap+0x33/0x50
    [    1.741848]  ? do_syscall_64+0x69/0xc0
    [    1.741849]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.741852]  ? __x64_sys_newstat+0x16/0x20
    [    1.741854]  ? do_syscall_64+0x69/0xc0
    [    1.741855]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
    [    1.741858] RIP: 0033:0x7f951d8f42e9
    [    1.741859] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 77 8b 0d 00 f7 d8 64 89 01 48
    [    1.741862] RSP: 002b:00007ffcdf212d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
    [    1.741864] RAX: ffffffffffffffda RBX: 00005627e109d030 RCX: 00007f951d8f42e9
    [    1.741866] RDX: 0000000000000000 RSI: 00007f951da91e2d RDI: 0000000000000005
    [    1.741867] RBP: 0000000000020000 R08: 0000000000000000 R09: 00005627e1081400
    [    1.741869] R10: 0000000000000005 R11: 0000000000000246 R12: 00007f951da91e2d
    [    1.741870] R13: 0000000000000000 R14: 00005627e109b560 R15: 00005627e109d030
    [    1.741872]  </TASK>
    [    1.741873] ================================================================================
    [    1.741874] ================================================================================
    [    1.741876] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:701:10
    [    1.741878] shift exponent 32 is too large for 32-bit type 'unsigned int'
    [    1.741879] CPU: 2 PID: 191 Comm: systemd-udevd Not tainted 5.15.74-1-pve #1
    [    1.741881] Hardware name: ASUS All Series/H97M-PLUS, BIOS 3602 04/08/2018
    [    1.741882] Call Trace:
    [    1.741883]  <TASK>
    [    1.741884]  dump_stack_lvl+0x4a/0x63
    [    1.741886]  dump_stack+0x10/0x16
    [    1.741888]  ubsan_epilogue+0x9/0x49
    [    1.741890]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
    [    1.741892]  ? dma_free_attrs+0x3c/0x60
    [    1.741894]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
    [    1.741905]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
    [    1.741916]  qlcnic_dcb_map_cee_params.cold+0x99/0x1f0 [qlcnic]
    [    1.741928]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
    [    1.741939]  __qlcnic_dcb_get_info+0x3b/0x50 [qlcnic]
    [    1.741949]  qlcnic_probe.cold+0xcc9/0x103a [qlcnic]
    [    1.741961]  local_pci_probe+0x4b/0x90
    [    1.741963]  pci_device_probe+0x119/0x1f0
    [    1.741965]  really_probe+0x222/0x420
    [    1.741968]  __driver_probe_device+0x119/0x190
    [    1.741970]  driver_probe_device+0x23/0xc0
    [    1.741972]  __driver_attach+0xbb/0x220
    [    1.741974]  ? __device_attach_driver+0x140/0x140
    [    1.741976]  bus_for_each_dev+0x7e/0xd0
    [    1.741979]  driver_attach+0x1e/0x30
    [    1.741981]  bus_add_driver+0x148/0x220
    [    1.741983]  ? __cond_resched+0x1a/0x50
    [    1.741985]  driver_register+0x91/0xf0
    [    1.741987]  ? 0xffffffffc04f0000
    [    1.741988]  __pci_register_driver+0x68/0x70
    [    1.741990]  qlcnic_init_module+0x50/0x1000 [qlcnic]
    [    1.741998]  ? 0xffffffffc04f0000
    [    1.741999]  do_one_initcall+0x48/0x1e0
    [    1.742002]  ? kmem_cache_alloc_trace+0x19e/0x2e0
    [    1.742004]  do_init_module+0x52/0x280
    [    1.742007]  load_module+0x25b6/0x2a20
    [    1.742010]  __do_sys_finit_module+0xbf/0x120
    [    1.742012]  __x64_sys_finit_module+0x1a/0x20
    [    1.742014]  do_syscall_64+0x5c/0xc0
    [    1.742016]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.742018]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.742020]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.742022]  ? __x64_sys_mmap+0x33/0x50
    [    1.742024]  ? do_syscall_64+0x69/0xc0
    [    1.742026]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.742028]  ? __x64_sys_newstat+0x16/0x20
    [    1.742030]  ? do_syscall_64+0x69/0xc0
    [    1.742031]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
    [    1.742034] RIP: 0033:0x7f951d8f42e9
    [    1.742035] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 77 8b 0d 00 f7 d8 64 89 01 48
    [    1.742038] RSP: 002b:00007ffcdf212d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
    [    1.742040] RAX: ffffffffffffffda RBX: 00005627e109d030 RCX: 00007f951d8f42e9
    [    1.742041] RDX: 0000000000000000 RSI: 00007f951da91e2d RDI: 0000000000000005
    [    1.742043] RBP: 0000000000020000 R08: 0000000000000000 R09: 00005627e1081400
    [    1.742044] R10: 0000000000000005 R11: 0000000000000246 R12: 00007f951da91e2d
    [    1.742046] R13: 0000000000000000 R14: 00005627e109b560 R15: 00005627e109d030
    [    1.742048]  </TASK>
    [    1.742049] ================================================================================
    [    1.742050] ================================================================================
    [    1.742051] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:225:10
    [    1.742054] shift exponent 59311617 is too large for 32-bit type 'int'
    [    1.742055] CPU: 2 PID: 191 Comm: systemd-udevd Not tainted 5.15.74-1-pve #1
    [    1.742057] Hardware name: ASUS All Series/H97M-PLUS, BIOS 3602 04/08/2018
    [    1.742058] Call Trace:
    [    1.742059]  <TASK>
    [    1.742060]  dump_stack_lvl+0x4a/0x63
    [    1.742062]  dump_stack+0x10/0x16
    [    1.742064]  ubsan_epilogue+0x9/0x49
    [    1.742066]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
    [    1.742068]  ? dma_free_attrs+0x3c/0x60
    [    1.742070]  ? qlcnic_82xx_dcb_query_cee_param+0xbd/0x290 [qlcnic]
    [    1.742081]  ? __qlcnic_dcb_query_hw_capability+0xbd/0xf0 [qlcnic]
    [    1.742092]  qlcnic_dcb_map_cee_params.cold+0x135/0x1f0 [qlcnic]
    [    1.742104]  qlcnic_82xx_dcb_get_cee_cfg+0xbc/0x110 [qlcnic]
    [    1.742115]  __qlcnic_dcb_get_info+0x3b/0x50 [qlcnic]
    [    1.742125]  qlcnic_probe.cold+0xcc9/0x103a [qlcnic]
    [    1.742137]  local_pci_probe+0x4b/0x90
    [    1.742139]  pci_device_probe+0x119/0x1f0
    [    1.742141]  really_probe+0x222/0x420
    [    1.742143]  __driver_probe_device+0x119/0x190
    [    1.742146]  driver_probe_device+0x23/0xc0
    [    1.742148]  __driver_attach+0xbb/0x220
    [    1.742150]  ? __device_attach_driver+0x140/0x140
    [    1.742152]  bus_for_each_dev+0x7e/0xd0
    [    1.742154]  driver_attach+0x1e/0x30
    [    1.742156]  bus_add_driver+0x148/0x220
    [    1.742158]  ? __cond_resched+0x1a/0x50
    [    1.742160]  driver_register+0x91/0xf0
    [    1.742163]  ? 0xffffffffc04f0000
    [    1.742164]  __pci_register_driver+0x68/0x70
    [    1.742166]  qlcnic_init_module+0x50/0x1000 [qlcnic]
    [    1.742174]  ? 0xffffffffc04f0000
    [    1.742175]  do_one_initcall+0x48/0x1e0
    [    1.742178]  ? kmem_cache_alloc_trace+0x19e/0x2e0
    [    1.742180]  do_init_module+0x52/0x280
    [    1.742182]  load_module+0x25b6/0x2a20
    [    1.742185]  __do_sys_finit_module+0xbf/0x120
    [    1.742188]  __x64_sys_finit_module+0x1a/0x20
    [    1.742190]  do_syscall_64+0x5c/0xc0
    [    1.742192]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.742194]  ? exit_to_user_mode_prepare+0x37/0x1b0
    [    1.742196]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.742198]  ? __x64_sys_mmap+0x33/0x50
    [    1.742200]  ? do_syscall_64+0x69/0xc0
    [    1.742201]  ? syscall_exit_to_user_mode+0x27/0x50
    [    1.742203]  ? __x64_sys_newstat+0x16/0x20
    [    1.742205]  ? do_syscall_64+0x69/0xc0
    [    1.742207]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
    [    1.742210] RIP: 0033:0x7f951d8f42e9
    [    1.742211] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 77 8b 0d 00 f7 d8 64 89 01 48
    [    1.742214] RSP: 002b:00007ffcdf212d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
    [    1.742216] RAX: ffffffffffffffda RBX: 00005627e109d030 RCX: 00007f951d8f42e9
    [    1.742217] RDX: 0000000000000000 RSI: 00007f951da91e2d RDI: 0000000000000005
    [    1.742219] RBP: 0000000000020000 R08: 0000000000000000 R09: 00005627e1081400
    [    1.742220] R10: 0000000000000005 R11: 0000000000000246 R12: 00007f951da91e2d
    [    1.742221] R13: 0000000000000000 R14: 00005627e109b560 R15: 00005627e109d030
    [    1.742223]  </TASK>
    [    1.742224] ================================================================================
    [    1.742324] qlcnic 0000:05:00.0: using msi-x interrupts
 
Same and or very similar issue during boot messages,

Code:
...
[  +0.028873] qlcnic: 28:80:23:41:22:b8: NC523SFP 10Gb 2-port Server Adapter Board Chip rev 0x54
[  +0.155134] ================================================================================
[  +0.000116] UBSAN: shift-out-of-bounds in drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:677:11
[  +0.000119] shift exponent 32 is too large for 32-bit type 'unsigned int'
...

Code:
[root@itc-a] ~# uname -a
Linux itc-a 5.15.85-1-pve #1 SMP PVE 5.15.85-1 (2023-02-01T00:00Z) x86_64 GNU/Linux


Code:
[root@itc-a] ~# pveversion
pve-manager/7.3-6/723bb6ec (running kernel: 5.15.85-1-pve)

Code:
[root@itc-a] ~# pveversion -v

proxmox-ve: 7.3-1 (running kernel: 5.15.85-1-pve)
pve-manager: 7.3-6 (running version: 7.3-6/723bb6ec)

pve-kernel-helper: 7.3-4
pve-kernel-5.15: 7.3-2
pve-kernel-5.13: 7.1-9
pve-kernel-5.4: 6.4-4
pve-kernel-5.15.85-1-pve: 5.15.85-1
pve-kernel-5.15.83-1-pve: 5.15.83-1
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-5.4.124-1-pve: 5.4.124-1
pve-kernel-5.4.106-1-pve: 5.4.106-1

ceph-fuse: 16.2.9-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1

ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3

ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2

libproxmox-acme-perl: 1.4.3
libproxmox-backup-qemu0: 1.3.1-1

libpve-access-control: 7.3-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-2
libpve-guest-common-perl: 4.2-3
libpve-http-server-perl: 4.1-5
libpve-storage-perl: 7.3-2

libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1

lvm2: 2.03.11-2.1

lxc-pve: 5.0.2-1
lxcfs: 5.0.3-pve1

novnc-pve: 1.3.0-3

proxmox-backup-client: 2.3.3-1
proxmox-backup-file-restore: 2.3.3-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-offline-mirror-helper: 0.5.1-1
proxmox-widget-toolkit: 3.5.5

pve-cluster: 7.3-2
pve-container: 4.4-2
pve-docs: 7.3-1
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-7
pve-firmware: 3.6-3
pve-ha-manager: 3.5.1
pve-i18n: 2.8-2
pve-qemu-kvm: 7.1.0-4
pve-xtermjs: 4.16.0-1

qemu-server: 7.3-3

smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+2
vncterm: 1.7-1

zfsutils-linux: 2.1.9-pve1


Due its, testing env. I can and will try during day to switch it to different op.modes, if possible.
Its just assupmtion, but looks like CNA/vNIC setup with virtual ports created, not FC and or pure 10gig NIC.

Code:
Device-3: QLogic cLOM8214 1/10GbE vendor: Hewlett-Packard NC523SFP 10Gb 2-port Server driver: qlcnic v: 5.3.66
           port: 9800 bus ID: 07:00.0 chip ID: 1077:8020
Device-4: QLogic cLOM8214 1/10GbE vendor: Hewlett-Packard NC523SFP 10Gb 2-port Server driver: qlcnic v: 5.3.66
           port: 9800 bus ID: 07:00.1 chip ID: 1077:8020
Device-5: QLogic cLOM8214 1/10GbE vendor: Hewlett-Packard NC523SFP 10Gb 2-port Server driver: qlcnic v: 5.3.66
           port: 9800 bus ID: 07:00.4 chip ID: 1077:8020
Device-6: QLogic cLOM8214 1/10GbE vendor: Hewlett-Packard NC523SFP 10Gb 2-port Server driver: qlcnic v: 5.3.66
           port: 9800 bus ID: 07:00.5 chip ID: 1077:8020
Device-7: QLogic cLOM8214 1/10GbE vendor: Hewlett-Packard NC523SFP 10Gb 2-port Server driver: qlcnic v: 5.3.66
           port: 9800 bus ID: 07:00.6 chip ID: 1077:8020
Device-8: QLogic cLOM8214 1/10GbE vendor: Hewlett-Packard NC523SFP 10Gb 2-port Server driver: qlcnic v: 5.3.66
           port: 9800 bus ID: 07:00.7 chip ID: 1077:8020
 
Just wondering if this was ever solved?

I have a few Dell QL8272's which I believe are the same card and have the same issue; i.e. they work but produce the out of bounds error.

I found a thread at https://github.com/liamalxd/kmod-qlcnic which has instructions for compiling a new driver for Centos from fairly recent driver code at https://github.com/torvalds/linux/tree/master/drivers/net/ethernet/qlogic/qlcnic

I had a go at it and couldn't get the driver to compile on Debian, but no doubt it's doable.

Anyone out there willing to have a crack at this?
 

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!