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:
lspci -s 0b:00 -knn
pveversion -v
lsmod | grep -i qlc
Bug:
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: