From nobody Wed Jun 22 17:10:56 2022 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5B30E865754 for ; Wed, 22 Jun 2022 17:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LSqf810WBz3BwL for ; Wed, 22 Jun 2022 17:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 041C72045 for ; Wed, 22 Jun 2022 17:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25MHAt57009092 for ; Wed, 22 Jun 2022 17:10:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25MHAtLm009091 for net@FreeBSD.org; Wed, 22 Jun 2022 17:10:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 252626] ixl: panic on attach of X722 on-motherboard interfaces Date: Wed, 22 Jun 2022 17:10:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: benoitc@enki-multimedia.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655917856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IljZ3KbGQl4+3s1Hoj1iUxHZsv9AcjNf5bWQ/ERG3cE=; b=BMcebP2VIEJK8bBwjYUIkJfLw5df6Jl8Sj4Djm1lKESYRaP8TgU8n42pi1KmBX8K8PVK1/ +ApAYXs5FihZSSWRZE99UILnjsZqsFMv5djK63Ryej85LpUVfku3AFxNkj8m3p5MgOMwe3 2rka346oPY5PlMJACxRV4RZdlP5wh40F27u6Ex4U5tbp75fHugyRN7VeMm8n8hoLqA6BYB 77J5nXWX1tECuT40e9o4g2vtWgdAugRkXLq5dnFLxr3PR8vH2N01aIsJMDdK+6C68HTdZR NiagvpHSbjprQhjtKMSKJphWoNHgtP1YYRaFb7yrkVxEa4zRNZdgVQjw3AJc9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655917856; a=rsa-sha256; cv=none; b=EUgish9hFo7DycTH3Qg6uJz1lJBTjhCMCJMtXne2gdWbixLOranjnVv8nvaAO8U8ieUfvd JtnY0Y0SOXFcP9JtvnEDsaW9D3mV2ulCcRiwJgyNOfImXlurc8Fmc3ipZ7JTH6qGOf7NsJ QCYcrfqYrLqrVHwfEdkhK9pfwVgjNm+pQqTjK2+aKv6TPcpmueMWxq8+2aqCH2pHdrEIlw q9dHqquTYT9VuG2VR3njw7HWZEdchqCau8xZclPlW/XStqzPvUv9vXvgEHv09oI7f+GMUX ebKgjp8hEuL4Jp//A9DdwdYaxd/RWry6Z784VtCK/RWnD6D7ZcshbnhcA4qz1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252626 benoitc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |benoitc@enki-multimedia.eu --- Comment #8 from benoitc --- i hve same chipset intel card on HPE (both media card with 1Gb and 10Gb). W= hen IOV is enabled using the stock kernel IXL driver of freebsd I get a panic at boot.=20 When using the intel-ixl-kmod driver it works but once SRV is enabled I get= the bug #234073. When, I upgrade to latest intel-ixl-kmod, the kernel panics and reboot. ``` dmesg |grep ixl module_register: cannot register pci/ixl from kernel; already loaded from if_ixl_updated.ko Module pci/ixl failed to register: 17 ixl0: = mem 0xeb000000-0xebffffff,0xef000000-0xef007fff at device 0.0 numa-domain 0 on = pci9 ixl0: using 1024 tx descriptors and 1024 rx descriptors ixl0: fw 5.5.67510 api 1.12 nvm 5.50 etid 80003373 oem 1.268.0 ixl0: The driver for the device detected a newer version of the NVM image t= han expected. ixl0: Please install the most recent version of the network driver. ixl0: PF-ID[0]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, MDIO shared ixl0: Using MSI-X interrupts with 9 vectors ixl0: Allocating 8 queues for PF LAN VSI; 8 queues active ixl0: Ethernet address: b4:7a:f1:dd:c6:00 ixl0: SR-IOV ready ixl0: The device is not iWARP enabled ixl1: = mem 0xec000000-0xecffffff,0xef008000-0xef00ffff at device 0.1 numa-domain 0 on = pci9 ixl1: using 1024 tx descriptors and 1024 rx descriptors ixl1: fw 5.5.67510 api 1.12 nvm 5.50 etid 80003373 oem 1.268.0 ixl1: The driver for the device detected a newer version of the NVM image t= han expected. ixl1: Please install the most recent version of the network driver. ixl1: PF-ID[1]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, MDIO shared ixl1: Using MSI-X interrupts with 9 vectors ixl1: Allocating 8 queues for PF LAN VSI; 8 queues active ixl1: Ethernet address: b4:7a:f1:dd:c6:01 ixl1: SR-IOV ready ixl1: The device is not iWARP enabled ixl2: = mem 0xed000000-0xedffffff,0xef010000-0xef017fff at device 0.2 numa-domain 0 on = pci9 ixl2: using 1024 tx descriptors and 1024 rx descriptors ixl2: fw 5.5.67510 api 1.12 nvm 5.50 etid 80003373 oem 1.268.0 ixl2: The driver for the device detected a newer version of the NVM image t= han expected. ixl2: Please install the most recent version of the network driver. ixl2: PF-ID[2]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, I2C ixl2: Using MSI-X interrupts with 9 vectors ixl2: Allocating 8 queues for PF LAN VSI; 8 queues active ixl2: Ethernet address: b4:7a:f1:dd:c6:02 ixl2: SR-IOV ready ixl2: The device is not iWARP enabled ixl3: = mem 0xee000000-0xeeffffff,0xef018000-0xef01ffff at device 0.3 numa-domain 0 on = pci9 ixl3: using 1024 tx descriptors and 1024 rx descriptors ixl3: fw 5.5.67510 api 1.12 nvm 5.50 etid 80003373 oem 1.268.0 ixl3: The driver for the device detected a newer version of the NVM image t= han expected. ixl3: Please install the most recent version of the network driver. ixl3: PF-ID[3]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, I2C ixl3: Using MSI-X interrupts with 9 vectors ixl3: Allocating 8 queues for PF LAN VSI; 8 queues active ixl3: Ethernet address: b4:7a:f1:dd:c6:03 ixl3: SR-IOV ready ixl3: The device is not iWARP enabled ixl2: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: None, Autoneg: False, Flow Control: None ixl2: link state changed to UP ixl3: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: None, Autoneg: False, Flow Control: None ixl3: link state changed to UP ``` ``` pciconf -vl ixl2 ixl2@pci0:100:0:2: class=3D0x020000 rev=3D0x09 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x37d3 subvendor=3D0x1590 subdevice=3D0x0219 vendor =3D 'Intel Corporation' device =3D 'Ethernet Connection X722 for 10GbE SFP+' class =3D network subclass =3D ethernet ``` ried it (112.35 with netmap support disabled and got a kernel panic: ``` Fatal trap 12: page fault while in kernel mode cpuid =3D 10; apic id =3D 0a fault virtual address=3D 0x54 fault code=3D supervisor read data, page not present instruction pointer=3D 0x20:0xffffffff82f04b8a stack pointer =3D 0x28:0xfffffe020d8108a0 frame pointer =3D 0x28:0xfffffe020d8108e0 code segment=3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags=3D interrupt enabled, resume, IOPL =3D 0 current process=3D 21330 (iovctl) trap number=3D 12 panic: page fault cpuid =3D 10 time =3D 1655897957 KDB: stack backtrace: #0 0xffffffff80c69465 at kdb_backtrace+0x65 #1 0xffffffff80c1bb1f at vpanic+0x17f #2 0xffffffff80c1b993 at panic+0x43 #3 0xffffffff810afdf5 at trap_fatal+0x385 #4 0xffffffff810afe4f at trap_pfault+0x4f #5 0xffffffff81087528 at calltrap+0x8 #6 0xffffffff82efe716 at ixl_reconfigure_filters+0x66 #7 0xffffffff82f24b90 at ixl_vf_setup_vsi+0x3b0 #8 0xffffffff82f2469e at ixl_add_vf+0x1ee #9 0xffffffff8086e407 at pci_iov_ioctl+0x1497 #10 0xffffffff80ab4e46 at devfs_ioctl+0xc6 #11 0xffffffff80d0cde4 at vn_ioctl+0x1a4 #12 0xffffffff80ab54fe at devfs_ioctl_f+0x1e #13 0xffffffff80c897cb at kern_ioctl+0x25b #14 0xffffffff80c894d1 at sys_ioctl+0xf1 #15 0xffffffff810b06ec at amd64_syscall+0x10c #16 0xffffffff81087e3b at fast_syscall_common+0xf8 Uptime: 13s ``` --=20 You are receiving this mail because: You are the assignee for the bug.=