From nobody Thu Jun 23 18:33:57 2022 X-Original-To: ports-bugs@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 E2E4A85CC28 for ; Thu, 23 Jun 2022 18:33:57 +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 4LTTRT5Mjfz3mlp for ; Thu, 23 Jun 2022 18:33:57 +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 9A24320624 for ; Thu, 23 Jun 2022 18:33:57 +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 25NIXvtT082092 for ; Thu, 23 Jun 2022 18:33:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25NIXvs2082091 for ports-bugs@FreeBSD.org; Thu, 23 Jun 2022 18:33:57 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: ports-bugs@FreeBSD.org Subject: [Bug 264809] net/intel-ixl-kmod: Driver is broken with netmap and FreeBSD-13.1 Date: Thu, 23 Jun 2022 18:33:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sm@codenetworks.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656009237; 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=QeU1Ez3RiNBmJSHwuJO/iafvmRjUxjSxr+Y0YXbWySk=; b=dWu2i1WpcAQqXrz4IQ5y49F1gcxK0wZRy3M3sS1KbI72QG0VAKG0iZKdAKl+E3a/uoDSig jJumeTOAIV5jKMNP4pGi9JtiTg7vDF585RmQM6xq0ZsEyYAQDzv0BA7wKKF1iZJ0VsMLlh jgHo1cDsPF2XF2QxG/eGYwdB9lS8MpWzAQkiG+4+iglJfH6XqmSQx2v3zGypGYq6hkwKnR J3iJ40u87CwoU64ZlydZHPpgcrOo33Z7YTf+GQsAgTiu7LffQ61Xsf5JCH9N3m6lDpnISL cW1x20JL6BnwIEXKKQD4Bv/0tC3inIq87mHa2dpWr8YAlcaMh1qVLQXVmFk77Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656009237; a=rsa-sha256; cv=none; b=dC392PhifsZIpTC1Ohn605cIVbOdWgZH2e8KrAUIBYDEks1AevwJIqlNIw0fFTVxOr7Y2u Zba/OXW1yUojMdGAnC02tj7deIWGzlxDY2SFJ2y6HkHdhEquPqJ9X50ZwB5XgZbBIpA0hh UdhR7BNvE7zNZki/xyK8+7pw2koXakBR97K1lRSrizfVNVhxIv/Qv37lKn7B0ei7GtQGFy f6aGFGSkyXWOJewF7UBZn8obBZWfk2WQzUZQyAGkgUs1Hp7CTo3F3MdmVHi7VqVqn0xRVz Kqnj4R+l/vTg6JS5V9fOZwsTkp7t47r6B0Pac/4p5y/E1Z4WkkPRgToHz6inLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264809 --- Comment #2 from Santiago Martinez --- this is with auto. which when loaded and interfaces come up, makes the kern= el to panic. =3D=3D> Building for intel-ixl-kmod-1.12.2 --- objwarn --- Warning: Object directory not changed from original /usr/ports/net/intel-ixl-kmod/work/ixl-1.12.2/src --- if_ixl.o --- --- ixl_txrx.o --- --- if_ixl.o --- cc -O2 -pipe -fno-strict-aliasing -DSMP -DINET -DINET6 -DIXL_STANDALONE_B= UILD -DPCI_IOV -DIXL_IW -D_KERNEL -DKLD_MODULE -nostdinc -include /usr/ports/net/intel-ixl-kmod/work/ixl-1.12.2/src/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common=20 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -MD -MF.depend.i= f_ixl.o -MTif_ixl.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float= =20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W= all -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co= mpare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mno-aes -mn= o-avx=20 -std=3Diso9899:1999 -c if_ixl.c -o if_ixl.o --- ixl_txrx.o --- cc -O2 -pipe -fno-strict-aliasing -DSMP -DINET -DINET6 -DIXL_STANDALONE_B= UILD -DPCI_IOV -DIXL_IW -D_KERNEL -DKLD_MODULE -nostdinc -include /usr/ports/net/intel-ixl-kmod/work/ixl-1.12.2/src/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common=20 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -MD=20 -MF.depend.ixl_txrx.o -MTixl_txrx.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwra= pv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co= mpare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mno-aes -mn= o-avx=20 -std=3Diso9899:1999 -c ixl_txrx.c -o ixl_txrx.o ixl_txrx.c:474:12: warning: incompatible pointer types initializing 'device= _t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types] device_t dev =3D vsi->dev; ^ ~~~~~~~~ --- if_ixl.o --- if_ixl.c:355:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types] device_t dev =3D pf->dev; ^ ~~~~~~~ if_ixl.c:366:22: warning: incompatible pointer types passing 'struct device= *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] ixl_setup_interface(pf->dev, vsi); ^~~~~~~ ./ixl_pf.h:296:33: note: passing argument to parameter here int ixl_setup_interface(device_t, struct ixl_vsi *); ^ --- ixl_txrx.o --- ixl_txrx.c:918:23: warning: variable 'tx_desc' set but not used [-Wunused-but-set-variable] struct i40e_tx_desc *tx_desc, *eop_desc; ^ ixl_txrx.c:918:33: warning: variable 'eop_desc' set but not used [-Wunused-but-set-variable] struct i40e_tx_desc *tx_desc, *eop_desc; ^ --- if_ixl.o --- if_ixl.c:433:10: warning: incompatible pointer types assigning to 'struct device *' from 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] pf->dev =3D pf->osdep.dev =3D dev; ^ ~~~~~~~~~~~~~~~~~~~ --- ixl_txrx.o --- ixl_txrx.c:1038:23: warning: variable 'tx_desc' set but not used [-Wunused-but-set-variable] struct i40e_tx_desc *tx_desc, *eop_desc; ^ ixl_txrx.c:1267:13: warning: incompatible pointer types initializing 'devic= e_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types] device_t dev =3D vsi->dev; ^ ~~~~~~~~ --- if_ixl.o --- if_ixl.c:876:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types] device_t dev =3D pf->dev; ^ ~~~~~~~ --- ixl_txrx.o --- ixl_txrx.c:2059:17: warning: incompatible pointer types passing 'struct dev= ice *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] device_printf(dev, "Invalid tx_ring_size value of %d set!\n= ", ^~~ /usr/src/sys/sys/bus.h:608:28: note: passing argument to parameter 'dev' he= re int device_printf(device_t dev, const char *, ...) __printflike(2, 3); ^ ixl_txrx.c:2061:17: warning: incompatible pointer types passing 'struct dev= ice *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] device_printf(dev, "tx_ring_size must be between %d and %d,= " ^~~ /usr/src/sys/sys/bus.h:608:28: note: passing argument to parameter 'dev' he= re int device_printf(device_t dev, const char *, ...) __printflike(2, 3); ^ ixl_txrx.c:2064:17: warning: incompatible pointer types passing 'struct dev= ice *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] device_printf(dev, "Using default value of %d instead\n", ^~~ /usr/src/sys/sys/bus.h:608:28: note: passing argument to parameter 'dev' he= re int device_printf(device_t dev, const char *, ...) __printflike(2, 3); ^ ixl_txrx.c:2073:17: warning: incompatible pointer types passing 'struct dev= ice *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] device_printf(dev, "Invalid rx_ring_size value of %d set!\n= ", ^~~ /usr/src/sys/sys/bus.h:608:28: note: passing argument to parameter 'dev' he= re int device_printf(device_t dev, const char *, ...) __printflike(2, 3); ^ ixl_txrx.c:2075:17: warning: incompatible pointer types passing 'struct dev= ice *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] device_printf(dev, "rx_ring_size must be between %d and %d,= " ^~~ /usr/src/sys/sys/bus.h:608:28: note: passing argument to parameter 'dev' he= re int device_printf(device_t dev, const char *, ...) __printflike(2, 3); ^ ixl_txrx.c:2078:17: warning: incompatible pointer types passing 'struct dev= ice *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] device_printf(dev, "Using default value of %d instead\n", ^~~ /usr/src/sys/sys/bus.h:608:28: note: passing argument to parameter 'dev' he= re int device_printf(device_t dev, const char *, ...) __printflike(2, 3); ^ ixl_txrx.c:2084:16: warning: incompatible pointer types passing 'struct dev= ice *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types] device_printf(dev, "using %d tx descriptors and %d rx descriptors\n= ", ^~~ /usr/src/sys/sys/bus.h:608:28: note: passing argument to parameter 'dev' he= re int device_printf(device_t dev, const char *, ...) __printflike(2, 3); ^ ixl_txrx.c:2107:11: warning: incompatible pointer types initializing 'devic= e_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types] device_t dev =3D vsi->dev; ^ ~~~~~~~~ --- if_ixl.o --- 4 warnings generated. --- ixl_txrx.o --- 13 warnings generated. --- if_ixl.ko --- ld -m elf_x86_64_fbsd -d -warn-common --build-id=3Dsha1 -T /usr/src/sys/conf/ldscript.kmod.amd64 -r -d -o if_ixl.ko if_ixl.o ixl_pf_main.o ixl_pf_qmgr.o ixl_txrx.o ixl_pf_i2c.o i40e_osdep.o i40e_commo= n.o i40e_nvm.o i40e_adminq.o i40e_lan_hmc.o i40e_hmc.o i40e_dcb.o freebsd_compat_common.o ixl_pf_iov.o ixl_iw.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_ixl.ko export_syms | xargs -J% objcopy % if_ixl.ko objcopy --strip-debug if_ixl.ko =3D=3D=3D> Staging for intel-ixl-kmod-1.12.2 =3D=3D=3D> Generating temporary packing list install -m 555 /usr/ports/net/intel-ixl-kmod/work/ixl-1.12.2/src/if_ixl.ko /usr/ports/net/intel-ixl-kmod/work/stage/boot/modules/if_ixl_updated.ko install -m 444 /usr/ports/net/intel-ixl-kmod/work/ixl-1.12.2/src/ixl.4 /usr/ports/net/intel-ixl-kmod/work/stage/usr/local/man/man4/ /bin/ln /usr/ports/net/intel-ixl-kmod/work/stage/usr/local/man/man4/ixl.4 /usr/ports/net/intel-ixl-kmod/work/stage/usr/local/man/man4/if_ixl.4 --=20 You are receiving this mail because: You are the assignee for the bug.=