From nobody Mon Jan 03 13:42:08 2022 X-Original-To: wireless@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 0294B1929789 for ; Mon, 3 Jan 2022 13:42:09 +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 4JSH3h51B8z3jTg for ; Mon, 3 Jan 2022 13:42:08 +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 8D734264D2 for ; Mon, 3 Jan 2022 13:42:08 +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 203Dg8N3097332 for ; Mon, 3 Jan 2022 13:42:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 203Dg8kp097331 for wireless@FreeBSD.org; Mon, 3 Jan 2022 13:42:08 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: wireless@FreeBSD.org Subject: [Bug 260907] if_iwm: i7260 dropping connections silently, module load results in ping > 5000 ms Date: Mon, 03 Jan 2022 13:42:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641217328; 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; bh=Er3CQ1ANQH74Bt9I+Ha+vS2E+0AZTls81TAvPlAG4iY=; b=Htmnkm6TnJjpsz+nn3RN/Bzw1vOIfxru7JBEoo/P6bAMvtzsZjwqRY2u5Mip9vW+5aHjBt 8IxUVdMma8v0X4FfwtvFJQwWNyyx9BEjmV+VGvqu73U1M4XXJtN6yVeuKnjbxYSCM8D9LU W9CPzN/9pDOaXe0fl3S5ZAcmVnd09w9hvsdUGQGVyaQhURokmvvhPOX6dPkLnPLj/nSQup mqVl877rP/ryI97NbsRMpqqh84tP7uF9UF7yWKFP0nkQK1jVF6HHcnt7eCi+tSiVTUguxT mxX9BRUFqI07mpqEj4ejcUEmBa+zxnTw9s1vXk7+RLbFc8NgRu+rOoRBnnEN3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641217328; a=rsa-sha256; cv=none; b=lF02qham83ROaeOslWlIluiNiYfDToQCey+OBO8Kaw9irdeJh9rlhKm9HdjPkPPfA7DKSr Ymu/BVU7LyBhLK5w2cf8Ed8GYPZJLwsFbh8CH4qwf4BiCkQcnJ2X+FmPyLv6QWP2lyCbpI QdAd8AX/z6KqSJ1pCpXvdrBjRFy7cjQTONjJ7W7Foqd6RpFCSdqhSWejoYe7obSX02hu8H EFy0fNYZrNSv99qBycAjCmNbjUufALpFAni5TZ/44mpbeV4/prKkKH0HpY13LY1fMq+pzt BNy3cC1wf5yquYNgJ6XsAMwXqLx1xsqMzd/4kB+Lo8WQ9/+HkC3yZoh6kMC5WQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260907 Bug ID: 260907 Summary: if_iwm: i7260 dropping connections silently, module load results in ping > 5000 ms Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: ohartmann@walstatt.org The base is a Lenovo E450 notebook running recent 13/STABLE: FreeBSD 13.0-STABLE #54 stable/13-n248811-2572b6bd6bf: Sun Jan 2 22:46:43 = CET 2022 amd64 [...] CPU microcode: updated from 0x25 to 0x28 CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (2494.37-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306c3 Family=3D0x6 Model=3D0x3c Steppi= ng=3D3 =20 Features=3D0xbfebfbff =20 Features2=3D0x7fdafbbf AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x27ab Structured Extended Features3=3D0x9c000600 XSAVE Features=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 17179869184 (16384 MB) avail memory =3D 16502960128 (15738 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. Security policy loaded: MAC/ntpd (mac_ntpd) Security policy loaded: TrustedBSD MAC/BSD Extended (mac_bsdextended) ioapic0 irqs 0-23 Launching APs: 1 3 2 random: entropy device external interface kbd1 at kbdmux0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s aesni0: acpi0: acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) [...] The WiFi NIC is a Intel i7260: iwm0@pci0:5:0:0: class=3D0x028000 rev=3D0x73 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x08b2 subvendor=3D0x8086 subdevice=3D0x4262 vendor =3D 'Intel Corporation' device =3D 'Wireless 7260' class =3D network bar [10] =3D type Memory, range 64, base 0xf1c00000, size 8192, enabl= ed cap 01[c8] =3D powerspec 3 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit enabled with 1 message cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) FLR RO NS max read 128 link x1(x1) speed 2.5(2.5) ASPM L1(L0s/L1) ClockPM enabled ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected ecap 0003[140] =3D Serial 1 .... ecap 0018[14c] =3D LTR 1 ecap 000b[154] =3D Vendor [1] ID cafe Rev 1 Length 20 First observation: With different networks and access points, the WiFi NIC results very often = in loosing network connection, it is more a freezing, since ifconfig reports s= till IP and wpa_cli shows still some association to the AP, but there is no pack= et flow anymore. I reported in this issue recently on freebsd-wireless and got= the advice to wait for the if_iwlwifi driver. Since this driver seems to be qui= te far from ready to be used and with the above mentioned OS version unusable = (no FW is loaded), I'll report this issue in. I have no clue why and how the connection of the i7260 WiFi NIC gets broken, but it seems to be somehow related to the number of networks on the 2,4 GHz band, but this observation is not accurate. Second observation: Since a couple of years for now I compile the if_iwm driver statically as w= ell as the (supposedly correct) firmware via device iwm device iwmfw into the kernel. This procedure results in the above observed dropouts. With the upcoming if_iwlwifi at hand I started loading (exclusive) either iwm or iwlwifi via /boot/loader.conf.local into the kernel. Loading the if_iwm dri= ver this way results in a unusable state: very often and reproducable a ping reaches latencies larger than 5000 - 6000 ms, with the result of a corrupti= on of the connections made and rapidly with the finale state as observed and reported above - the frozen state. --=20 You are receiving this mail because: You are the assignee for the bug.=