Project

General

Profile

Actions

Bug #13028

closed

Crash when reconfiguring interface using if_qlnxe

Added by J Radmacher about 2 years ago. Updated about 2 years ago.

Status:
Needs Patch
Priority:
Normal
Assignee:
-
Category:
FreeBSD
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
amd64

Description

We are using a "FastLinQ 41232 Dual Port" (OCP 3.0) in our Dell R650xs for our WAN connection. Any "bigger" change seem to end in a Kernel Panic.

  1. This happens directly, when booting via UEFI and autoloading the driver: if_qlnxe_load="YES"
    UEFI Boot crash
  2. Booting via BIOS CSM and running the Wizard with ql0 as the WAN Interface.
  3. Booting via BIOS CSM and reassiaging ql0 as WAN interaface (console)

Shortend crash log for the last test:

<118>Enter the WAN interface name or 'a' for auto-detection 
<118>(bge0 bge1 ixl0 ixl1 ixl2 ixl3 ql0 ql1 or a): 
<118>Enter the LAN interface name or 'a' for auto-detection 
<118>NOTE: this enables full Firewalling/NAT mode.
<118>(bge0 bge1 ixl0 ixl1 ixl2 ixl3 ql1 a or nothing if finished): 
<118>Enter the Optional 1 interface name or 'a' for auto-detection
<118>(bge0 bge1 ixl0 ixl1 ixl2 ql1 a or nothing if finished): 
<118>The interfaces will be assigned as follows:
<118>
<118>WAN  -> ql0
<118>LAN  -> ixl3
<118>
<118>Do you want to proceed [y|n]? 
<118>Writing configuration...done.
<118>One moment while the settings are reloading... done!
<118>..Configuring loopback interface...
<6>lo0: link state changed to UP
<118>done.
<118>Configuring LAN interface...
<6>ixl3: link state changed to DOWN
<118>done.
<118>Configuring WAN interface...
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<5>ixl3: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: CL74 FC-FEC/BASE-R, Autoneg: True, Flow Control: N
<6>ixl3: link state changed to UP
<5>one
<118>done.
<118>Checking config backups consistency...done.
<118>Setting up extended sysctls...done.
<118>Setting timezone...done.
<118>Configuring loopback interface...done.
<118>Starting syslog...done.
<118>Setting up interfaces microcode...
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<118>done.
<118>Configuring loopback interface...done.
<118>Configuring LAN interface...
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
<118>done.
<118>Configuring WAN interface...
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<118>done.
<118>Configuring CARP settings...done.
<118>Syncing OpenVPN settings...done.
<118>Configuring firewall.
<6>pflog0: promiscuous mode enabled
<118>.....done.
<118>Starting PFLOG...done.
<118>Setting up gateway monitors...done.
<118>Setting up static routes...done.
<118>Setting up DNSs...
<118>Starting DNS Resolver...done.
<118>Synchronizing user settings...done.
<118>Configuring CRON...done.
<118>Bootstrapping clock...done.
<118>Starting NTP Server...done.
<118>Starting webConfigurator...done.
<118>Starting DHCP service...done.
<118>Starting DHCPv6 service...done.
<118>Configuring firewall......done.
<118>Generating RRD graphs...done.
<118>Starting syslog...done.
<118>Starting CRON... done.
<118>pfSense 2.6.0-RELEASE amd64 Mon Jan 31 19:57:53 UTC 2022
<118>Bootup complete
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
<6>ql0: link state changed to DOWN
<6>ixl3: link state changed to DOWN
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<5>ixl3: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: CL74 FC-FEC/BASE-R, Autoneg: True, Flow Control: None
<6>ixl3: link state changed to UP
<6>ql0: link state changed to UP
ixl3: Failed to remove 0/2 filters, error I40E_AQ_RC_ENOENT
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
<6>ql0: link state changed to DOWN
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
ixl3: Failed to remove 0/1 filters, error I40E_AQ_RC_ENOENT
<6>ql0: link state changed to UP
<6>ql0: link state changed to DOWN
Sleeping thread (tid 100500, pid 58095) owns a non-sleepable lock
KDB: stack backtrace of thread 100500:
sched_switch() at sched_switch+0x630/frame 0xffffffff840f6df0
mi_switch() at mi_switch+0xd4/frame 0xffffffff840f6e20
sleepq_timedwait() at sleepq_timedwait+0x2f/frame 0xffffffff840f6e60
_sleep() at _sleep+0x1c8/frame 0xffffffff840f6ee0
pause_sbt() at pause_sbt+0xf1/frame 0xffffffff840f6f10
qlnx_stop() at qlnx_stop+0x4b5/frame 0xffffffff840f6fa0
qlnx_init_locked() at qlnx_init_locked+0x2a/frame 0xffffffff840f7070
qlnx_ioctl() at qlnx_ioctl+0x53a/frame 0xffffffff840f70d0
ifhwioctl() at ifhwioctl+0x596/frame 0xffffffff840f7150
ifioctl() at ifioctl+0x4bc/frame 0xffffffff840f7210
kern_ioctl() at kern_ioctl+0x2b7/frame 0xffffffff840f7270
sys_ioctl() at sys_ioctl+0x101/frame 0xffffffff840f7340
amd64_syscall() at amd64_syscall+0x387/frame 0xffffffff840f7470
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xffffffff840f7470
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800b54d4a, rsp = 0x7fffffffd198, rbp = 0x7fffffffd210 ---
panic: sleeping thread
cpuid = 0
time = 1648741554
KDB: enter: panic


Files

qlnxe_opcode.png (129 KB) qlnxe_opcode.png UEFI Boot crash J Radmacher, 04/05/2022 08:58 AM
Actions #2

Updated by Jim Pingle about 2 years ago

  • Category changed from Hardware / Drivers to FreeBSD
  • Status changed from New to Needs Patch

It's either a bug in the FreeBSD driver or a hardware issue.

Either way here it's not something we can address. If it's fixable in FreeBSD, we'll pick up the fix after it's integrated upstream.

Your best course of action would be to install a plain FreeBSD build and see if you can reproduce it there. If you can reproduce it there and it doesn't match one of the existing FreeBSD bug entries, then report it upstream.

Actions

Also available in: Atom PDF