From nobody Sun Nov 26 06:04:24 2023 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 4SdJ8935r7z52RlD for ; Sun, 26 Nov 2023 06:04:25 +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 4SdJ890VCZz4Kgt for ; Sun, 26 Nov 2023 06:04:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700978665; 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=QVY4sNXGLw/qqrLY8fwvHbl4xukxtxC0hAlIWwEiWPo=; b=ASCk45w+zCOkQs+8mWTZVUawXI1qLVVa9j2twUDGJgk5x3yMH1NbT8tNyDuc7+qVUVjxTx 4oGXJnS4opTUQna7BZ4ht1/sUNvulF04V/Yx0Y9Q2FFiSQa1LBnQltCrQ7GLMyHWUcEzCq Y283xdR+7B9QmJleRe90jhK7pw6wlMCOLC4c1RI/hdOzCVgsQzhkAjNDFZNw+8NJ5mk60L RFXIRobjbUaskRumrpG0KcekXb3GYI+h25q7FjQxH0vLR5vnvQ+gx81XzxrAlkW2JR/yQt ZNQZnii8hy3Pl09zYS0jqw75FjIgFNmpobdm2fsM6/KjNXh4k5lkVZCDcxDYDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700978665; a=rsa-sha256; cv=none; b=aYlIxjv3QYZrF1CxMNpYCtHmoNHEELeid9OttH+3icJR+FUvr0uxmqp6rgSOPrgsmAHTtX HUImSGmQwewopHcTdPWdcF+0EgVEfuTysVmxlBP4myGWljokYEwgQmQuhPyn7qgWY/h1vo 0o7OS1jqEJ13ml6P3b5FB5UUYmHcN89vaYInTOpVermmCLkRziyMXGVGqAz9iqk0tmbMV2 1KKNczEvvIpy5+VezsZfbmSSSN8DWli41fjxX9VAASn8tkrgtFiX1qICryhGw4t2eBSvYw N3joQsxe6NYpTWcBT8hiZ6VMDLmU8sPTFPS0LAJ0VGTOtsLxuosQZHVUtFwFFw== 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 4SdJ885QXjzkfY for ; Sun, 26 Nov 2023 06:04:24 +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 3AQ64OlA036256 for ; Sun, 26 Nov 2023 06:04:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AQ64OnB036254 for wireless@FreeBSD.org; Sun, 26 Nov 2023 06:04:24 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 275344] RTL8192EU usb wifi, hostapd error Date: Sun, 26 Nov 2023 06:04:24 +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: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamas.csabi@gmail.com 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 attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 Bug ID: 275344 Summary: RTL8192EU usb wifi, hostapd error Product: Base System Version: 14.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: tamas.csabi@gmail.com Created attachment 246572 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246572&action= =3Dedit error-messages Hello everyone. I ran into a problem, if someone could test it I would appreciate it: System: FreeBSD 14.0 - fresh install USB wifi dongle - Realtek RTL8192EU Modules: rtwn if_rtwn_usb I configure the wlan0 interface: ifconfig wlan0 create wlandev rtwn0 wlanmode hostap ifconfig wlan0 inet 10.0.0.1 netmask 255.255.255.0 ssid FreeBSD-AP mode 11g channel 3 country HU the interface works: wlan0: flags=3D8843 metric 0 mtu 15= 00 ether 77:bc:b5:1b:1c:96 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 groups: wlan ssid FreeBSD-AP channel 3 (2422 MHz 11g) bssid 77:bc:b5:1b:1c:96 regdomain ETSI country HU authmode OPEN privacy OFF txpower 30 scanvalid 60 protmode CTS wme dtimperiod 1 -dfs parent interface: rtwn0 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running nd6 options=3D29 I'm setting up hostapd: /etc/hostapd.conf: ssid=3DFreeBSD-AP interface=3Dwlan0 channel=3D3 country_code=3DHU ctrl_interface=3D/var/run/hostapd hw_mode=3Dg wmm_enabled=3D1 logger_syslog=3D-1 logger_syslog_level=3D2 wpa=3D2 wpa_key_mgmt=3DWPA-PSK WPA-EAP wpa_pairwise=3DTKIP CCMP wpa_passphrase=3DPASSWORD Hostapd starts: At this moment, the dongle will stop and sends an error message that the usb device is not available. The same configuration worked perfectly on 13.2 until now. Reloading the modules doesn't make a difference either. I will send the error messages Thank you for your help. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Nov 26 21:00:48 2023 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 4Sdh2T12Ksz522W4 for ; Sun, 26 Nov 2023 21:00:49 +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 4Sdh2S5j0yz4Fgb for ; Sun, 26 Nov 2023 21:00:48 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701032448; 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=AKXqS5PYnYftMxegAVRp3D0hQFc8xncctA5OQNYAbmM=; b=FOxo6Of2lo+8mgsHSLWwwtH6pnKVGpQEe1vxNQrEtW5IsfS5Lm4Kz/1bQM1SASIBUFoNkV IZ7Hk6nMuun7MbCu/iL8PET0sAJz2oTAB0xax8HO2Po73gjqxVum+k6zCcqQdNRWvHLaai 2t1J1egJrcAXZn6mzQua+coYjSEgyx8AZp8tACOD3tJEiNn8eCNKdPkmlrPY93VQF/gsyM dGQYoPYoszMdNXsMoLCZRJQWQwxrlCrXUf/oCXIWVxPIBzNPHZ/FWiaJTpEmFKtcod7X6G TqGFCa2nkHIPaRwwWM/i65fjWWrXE/TfeT6cmtSj3krCeetXPFiLhGyOqFsY/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701032448; a=rsa-sha256; cv=none; b=pP3znx0kFV35KBbwaoDimnIM5Erv5VFbbBcpmkqsUNDgr3iNCVEkygoJd0iI5VQHCT7GQY hondMf9h+viHyJFHiLrDuvYI6ZxHJ+B3tqG7X4flgXWw5qWfm03ZXOG7dEr1NqqJiyKCQU eR3DTLxCDu6utOAN7ZreQj9I19UfwDOPsZzN3hyt8VfKb+KM14uuFLLfjVmNC29kx4UF/M P/WRJIyZfbjgM20yAehXcVnDpxceJ1P5sSrYMezUXj4zOfZNAy8hiX/vM+TSxV186gVXkC 3mxCY41x6KnMAHrOhbMljJXV+ECkOxivPNNcq0yGGxvi510mW++2VuFZtawXeA== 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 4Sdh2S4kfhz1968 for ; Sun, 26 Nov 2023 21:00:48 +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 3AQL0m9M014001 for ; Sun, 26 Nov 2023 21:00:48 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AQL0mx8014000 for wireless@FreeBSD.org; Sun, 26 Nov 2023 21:00:48 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202311262100.3AQL0mx8014000@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: wireless@FreeBSD.org Subject: Problem reports for wireless@FreeBSD.org that need special attention Date: Sun, 26 Nov 2023 21:00:48 +0000 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 Content-Type: multipart/alternative; boundary="17010324482.FEc8F.10853" Content-Transfer-Encoding: 7bit --17010324482.FEc8F.10853 Date: Sun, 26 Nov 2023 21:00:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 238636 | ath: Fix kernel addresses printed in if_ath_sysct 1 problems total for which you should take action. --17010324482.FEc8F.10853 Date: Sun, 26 Nov 2023 21:00:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    238636 | ath: Fix kernel addresses printed in if_ath_sysct

1 problems total for which you should take action.
--17010324482.FEc8F.10853-- From nobody Mon Nov 27 20:19:21 2023 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 4SfH4B42dDz52bJN for ; Mon, 27 Nov 2023 20:19:22 +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 4SfH4B2xrHz4DtQ for ; Mon, 27 Nov 2023 20:19:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701116362; 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=KvqzBdc36dMBEOrBiGU2OP7h4dmSWd9XVdwDv1iGlXQ=; b=eWwcgOEVjqeUzhxq4osTowj14JCZgM2jaRVbki4pUvpx82v4i9YFCBjKU4YxsMCBdGd+bV /GEDXP4okR9SsnSSq6K56DoDJCKWlH4sMQdRV9TW0EXEqQX/KbywC9LXg0KPzzU+AF3Q7f uEPjdcuaR3Dl/QvW3DOG393/hV3RRKkTr7Pu886iy4Ug/FD4kZhZyT3LgFio+dQsK/xZIJ XCKnsqCKjtNgQf8+xGNH4I4nQZnUV+lg9OM5+Wcq8758u6YGGdXeyWs5y1+Z1sclz0aB4f hVRqL7ilJfI+4xBB/ALTah2OQ9A4iJYba07SlYJX/FWpe5jEc4KR4GIpWdItsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701116362; a=rsa-sha256; cv=none; b=Y1L/fYuk0vU/OhJlPA1cWSE1TKW4SAzAZCggl5FCuCcENCulVEIjxv3F/Lm05F0tcTMhRv ZkJJt/q/cW5tWwXdtugkOqEGsd3N7uwSpNJWYBanxkdegzGTsYN1rJkHlbmX21hMrW8f9r /DgmVrgJyLUXfESUzV7WR16R04UqmHTeWklw8R/ujLucmpj5tZIAuxBvyEfSnC+m/mBn1s ABT9PkIP7Bh3uzUsht6GtfXOCU1wO5++hh+gmL/9/AjqjUk+Ns8wxsYu2W1BEUtdxR9Pvr FtDL4GmMBI5WSBtvKrtHRcnOzsApi1d8tNSThR7wDzVkP71IACkOYEf/URteOg== 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 4SfH4B22KGzs12 for ; Mon, 27 Nov 2023 20:19:22 +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 3ARKJMaU046825 for ; Mon, 27 Nov 2023 20:19:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ARKJMHM046824 for wireless@FreeBSD.org; Mon, 27 Nov 2023 20:19:22 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 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1 Date: Mon, 27 Nov 2023 20:19:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@centromere.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #36 from Alex Wied --- I am on 15.0-CURRENT (305a2676ae93fb50a623024d51039415521cb2da), I have multiple base stations under one SSID, and I am experiencing this same cras= h on boot: wlans_iwlwifi0=3D"wlan0" ifconfig_wlan0=3D"WPA SYNCDHCP" ifconfig_wlan0_ipv6=3D"inet6 auto_linklocal accept_rtadv" #32 0xffffffff80dd3b08 in lkpi_sta_auth_to_scan (vap=3D0xfffffe01636e8010, nstate=3DIEEE80211_S_SCAN, arg=3D1) at /usr/src/sys/compat/linuxkpi/common/src/linux_80211.c:1175 #33 0xffffffff80ddb263 in lkpi_iv_newstate (vap=3D0xfffffe01636e8010, nstate=3DIEEE80211_S_SCAN, arg=3D1) at /usr/src/sys/compat/linuxkpi/common/src/linux_80211.c:2113 #34 0xffffffff80cffee7 in ieee80211_newstate_cb (xvap=3D0xfffffe01636e8010, npending=3D) at /usr/src/sys/net80211/ieee80211_proto.c:2546 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 29 01:44:19 2023 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 4Sg2Dg3qwnz52sXy for ; Wed, 29 Nov 2023 01:44:19 +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 4Sg2Dg2p3Cz3gMd for ; Wed, 29 Nov 2023 01:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701222259; 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=4ysdoxNBcHTPROcQ3UMvM8Qi875saMCd4HgWPxp4j3A=; b=CWZybJrD7oH1M3k8/SHLuOp7hHHo0Ix4jyM9FlIxNJfEKbZGEiQFAZHAYKVr4OTgjJgmiq MJNlAfqDuB/zh60H4ra6RC/obo1qz5gr/u6q8KQJkHsFt4PvbcJgQX1YLt961K8SYN7XiY OzvJCOre9WnER2aB5Qts+vFIwwDedatRYghHgpFdsVIMqsXZVY2WRhQNRGTASVzsldlcSc 8EUm7hVVLnHD4yD2vQT61aVzWy/czZkD1gq8/rpv/FZ+48NeCz5PcY2C8T/ulaLDpHqAAC 0rLWFlB6d2swzlHFmlTPxJiJX4MnweIsQKXYNM7NkgmCzv7OrrF9qqoRpfMApQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701222259; a=rsa-sha256; cv=none; b=LmJLFo8MNySuaqyuNwjMKfhMaO0fAD5JRinyPB6R7uLNqcU1RpO+IFx04PNrbNPJ3GjHBL yKe47iWB4MKSOIzhi/3ctSAXld9Q2qPFHvhaEYVk4wTc/ipxxc7Bib88x0R9rAwoEVArsO RyqX9PdLuE2kMlo0SZ2XQKXZdo9as7CCxRBM+mkLIQ5fDMeo1Ydxrzym3DCtO4ZRPmFgcm oJuJKHe0TAOqvbOAJnsAxSBJ5zOkyyKGcUgd6PCcuM7QkJBTeXv0bg8PBy34bHuLnvu8hE KhHAm2VsV5VpLiLTKZ0UiUkGH5V7OOV9rBUWifbi/RkeCyWumcmsrVx9KiVtUA== 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 4Sg2Dg1tfmzmgs for ; Wed, 29 Nov 2023 01:44:19 +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 3AT1iJTB033968 for ; Wed, 29 Nov 2023 01:44:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AT1iJFW033967 for wireless@FreeBSD.org; Wed, 29 Nov 2023 01:44:19 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 273620] iwlwifi meta-bug Date: Wed, 29 Nov 2023 01:44:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273620 Bug 273620 depends on bug 249287, which changed state. Bug 249287 Summary: 12.2-BETA1 Intel 9560 init fails on ThinkPad X1 Carbon = Gen7 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249287 What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |Feedback Timeout --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 29 01:50:33 2023 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 4Sg2Mt4FmPz52tG3 for ; Wed, 29 Nov 2023 01:50:34 +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 4Sg2Mt3906z3gZ9 for ; Wed, 29 Nov 2023 01:50:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701222634; 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=N9CyW5aEtXhGcDH8MMcwrgjmTtKSdxS1U/fzuzWj+8M=; b=j6naFHhi2hBn3Enf3w3LiYrTW6QK/INGrfBUXWd9MWBwS2DWokPdQay2fIlBPuw9Txj4Ka 06KfS5aT6hYwbFSr1WkGbCbqnJxFBVZmKfnakKDQ/b7vzkvzgjywsLFyJ/Gg57SohraQj8 MI3YI8pSaFwYH6sRObC8ezqs4nAUTbVJkMhv6VE8AqSehvxNwruCj8Z+R6bCvMBTNlljgW U4gncuGxTxlukqTeX9BzSPTi36nTWnff/hzNDl7iEP0N8HieT2en1bBj1ggA/FQEKA+wsI vFKO71v7ddX38wnITIio/4PqpzbJC+1kBLCfT8ec+254nBZeDGbYYlCQ70KMeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701222634; a=rsa-sha256; cv=none; b=VRrtf6n1SXRTnQypZwdGqmhpQiFRn9ip+TAEHfHbHNiqRR7sKkc/l8U6dxssEszSJOizGZ 8XUkcd6DlHpfkHQbO/F0NcBmyRizVK8miFah3djyUdgGeCJ7tt6gUSQAgCuyUV2WLaD81D 1/s88h1tlTpxtRFB3X2R7aPC+Yd5hOnshJppKF7QBFNDimhprM6YdI88d9wtOCbBg41deq RBvUJR7EojK9T7owhjb29/VmeIDH0qV44hGeE2DAKX5EXbpEeFUp270djNoV9c+kiuD9Uf K7iIoFMXMQVXAokYyJ+Q7wlwMqQR2/D+XvfjVcB4rehdVlWMQujVJD0e+erkzg== 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 4Sg2Mt2FC2zmTs for ; Wed, 29 Nov 2023 01:50:34 +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 3AT1oY7H036953 for ; Wed, 29 Nov 2023 01:50:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AT1oYhT036952 for wireless@FreeBSD.org; Wed, 29 Nov 2023 01:50:34 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 274990] [wpa] wpa_cli scan_results times out after 10s with no output, making installer wifi unusable Date: Wed, 29 Nov 2023 01:50:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274990 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 719 | |88 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 01:59:06 2023 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 4Sg2Yl0Qc9z52tYT for ; Wed, 29 Nov 2023 01:59:07 +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 4Sg2Yk4HSfz4K6X for ; Wed, 29 Nov 2023 01:59:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701223146; 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=5aDJcLnFx2/bIRFOMghUkyy5gCgugwtCRK2Pwqtwk0k=; b=B9uSVQH83q7oG5kpQA0Ym+8GZ52WkBBuPLEYHRVt8cQhx5BX5c2Qq+Xd0bLU1Dd6hb0ChP n1OIP96RTUHLH75NmGBOKHGQ/lmlGxzvZ+l4YPVlWkvJ2kMKwe9dRKWAgSRdIte50l7qpj IldKojg+Ci3eFdeMTZbrE+tidwVVHdJytP4ZqqGZfJjNvaH6tO7AQmVQl7XQr1tbxk53kj M41Ta4ZXTgpfJ1nvJD54qfHVRSVopfwmUBMb6uo/btLDnNLo7RbI8VwZX4goiBICDFwMoo LL/fKoaIfwJyu/HH6qELIv7HvAJOywh4KABxFf5pKH8wV7G9ow0MT1b0GNOhmQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701223146; a=rsa-sha256; cv=none; b=c0frT3BD6uzqe94zieFFRtGNAY5S0xuJFhO3tpgiXF7Zifn4yMMgj8xNTzLSOLtKR972iu TeQ/LImEjVjpTZPNst40LKdp8XFpXrfyGWtEpamQ6DM2HElseprsDpjiJ4OXQDeUr54Jz4 I5PxJW7so3erTrnlIS/iASsR0lGW7m2OgzfMf9YEJj0dqZ1104q/4rMvfj7HnD8mtJpDQq JattGro3GFCJ92oD3QlcUyyIvb/mqXdYXWgGqoUGYEM8jAlyR+iDSHpKl6b2GSMXgiy2CD jTnSNuwzcANY/AiBJMem4pd3eUsw451Qq6hLyArdOEYjh4jbBu1o8IBPxsZ0dg== 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 4Sg2Yk3G5jzmVg for ; Wed, 29 Nov 2023 01:59:06 +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 3AT1x6Ga052801 for ; Wed, 29 Nov 2023 01:59:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AT1x6P5052800 for wireless@FreeBSD.org; Wed, 29 Nov 2023 01:59:06 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 01:59:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |bz@FreeBSD.org --- Comment #1 from Bjoern A. Zeeb --- Can you share the USB device_descr, e.g.: usbconfig -d 0.9 dump_device_desc (change -d 0.9 to the number for your rtwn); possibly also the full usbcon= fig output listing all devices? What is the exact error message? We'll see if this is a USB or WiFi problem. Just as a note so I don't forget -- in the future if needed -- Can you possibly also increase usb debugging changing the sysctl (from man 4 usb): hw.usb.debug Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 02:42:27 2023 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 4Sg3Wl2RKXz52wj5 for ; Wed, 29 Nov 2023 02:42:27 +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 4Sg3Wk6Ypfz4MFf for ; Wed, 29 Nov 2023 02:42:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701225746; 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=Ma3+vUj38Pg6Rkel3R6N0F1NY5z8m1GM2N3e7vffEcM=; b=r0jq/GrNO1jpp8eEW59C1tzZ7atBZw3a56sahFWdGDW82wu//1+0oHgiApBYyUxvy36IWS bm4JUaY8wwmnfzEBz+x45o9QvNRbKHgmD+6UzSa4ctGqLiAjVb/aYl01e+zS2ahdju3eQS XXNytfi3uWwrRY++CaJI9LKLvnMIDCx+d9zFNskHFTz9x3vyg5RnL83VeovdaFsNzEKkc3 5y9SZjErTbaXDr/sXRHDKCH0L10o+fMu0sC3DFx/PL76znM3v6OOBa+JNjhfbQmZ8R9cNr x+8gc8K4egxJYcskt/vP0mmA/i4xNNMFOyq0NReVnGW4rmyzvAh6FAfRh7SwVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701225746; a=rsa-sha256; cv=none; b=BQJX70nAgZygCC03dO8CETNwRkJVlADl/ytovZIeqaNiIVwbimIDFaRxYJmJ9biH8DFVhX fedeJ+x2LucI3h6U5dTlbvjuI5dfhDNraUxIrsU+wnIcHdugI4gxJ/KHlaE2LDbZdNnIwx hI0C6eKpVnSPy+Lv5F41rzTO/oAt3WQ8A9GMAWGAi1wisQn6JwRs7jc5BHjNcF2iK9l1C1 tdPHdKZzIbQ0mCHi3QXON5n8hSxlgmPMCh3DKlrx3Utm/dFMQqI7fTnwxvpXkdYMka+mhI r0gqE1B+e1DATtaV9dWEPWOBYBxKMMhB+AIzdXj9lxQgw9k13ILqJ9xfl40rNQ== 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 4Sg3Wk5dyNzpBb for ; Wed, 29 Nov 2023 02:42:26 +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 3AT2gQNu036068 for ; Wed, 29 Nov 2023 02:42:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AT2gQvx036047 for wireless@FreeBSD.org; Wed, 29 Nov 2023 02:42:26 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 274990] [wpa] wpa_cli scan_results times out after 10s with no output, making installer wifi unusable Date: Wed, 29 Nov 2023 02:42:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274990 --- Comment #13 from Cy Schubert --- Can you try wpa_supplicant with the -dd option? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 02:44:54 2023 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 4Sg3ZZ0wNhz52wpn for ; Wed, 29 Nov 2023 02:44:54 +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 4Sg3ZY66MRz4Ms7 for ; Wed, 29 Nov 2023 02:44:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701225893; 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=HoiOmruCpy3nhruOlkOIzSOWeAXa70AnyWUZzVFMTvA=; b=ciGqmuqShmh9+CHUP1/QiY1OOcA9lZ0sttMgSf8yCa0Fn5xg9JuqM//skoliHF3mwL6x5I GDcvm+ZGoPjbc0G370caGSbnq26N/Q9jvqydgpsi7moVw16UoyBlastrO2jNeXilgFOP0S YjR/Eju6heiJF5AMv8pMjB/d0O8MvB1jz4D+kXxUEAIVLa6CQTfHZ40OqVVDdD6Cf6pzv2 Q3YN0z7NkQo4wkXHJwzCAkKbWMHndAsLP+XkBvLnVyMxlTegqfuyQnckuqGCCtWmNAANTE VfocOgTqs6U7Ai+baXmvsOkJhneXbW8h3OOxpmNkP0lOHJGobLVj2zUJYQLzQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701225893; a=rsa-sha256; cv=none; b=MWtFn0ejd73akJK89nuShVzo+ZsXvdzKDU/Da1hoLmeW79JNpXh5J7s7OvVKmk7EyYeB5s eVELaNa1F58TCDnLcyxvRflHx9KINCyc/PL+IhuKep/KJ7yRoRGffKjj2UA3CzN3hsfo8B IDBcVBHppa3aEpC7BfcAlhk52dfmepa8vEAXwErGVEXwa8PgovCDC0V27D1+WKYE9uQm5R R4Uq71OKVBxYPvMVle5Bqc2C0ODo8e5ApzLGmiMu2iTgb353MhdPMvQoBQSd90DrJVL7eA m2lUwt0S0xNH+ZlnYWT++jCYH2u4t32Dqfn33k5AzgDnhz27+FXnMPtb43c1ew== 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 4Sg3ZY5BHWznkd for ; Wed, 29 Nov 2023 02:44:53 +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 3AT2ir0K037360 for ; Wed, 29 Nov 2023 02:44:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AT2ir8P037359 for wireless@FreeBSD.org; Wed, 29 Nov 2023 02:44:53 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 274990] [wpa] wpa_cli scan_results times out after 10s with no output, making installer wifi unusable Date: Wed, 29 Nov 2023 02:44:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274990 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glebius@FreeBSD.org --- Comment #14 from Bjoern A. Zeeb --- (In reply to Cy Schubert from comment #13) @cy; see comment #9 and the review in comment #12. Should really assign this to glebius@ by now. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 08:34:40 2023 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 4SgCL92Jm2z52MHF for ; Wed, 29 Nov 2023 08:34:41 +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 4SgCL866jRz3T3Z for ; Wed, 29 Nov 2023 08:34:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701246880; 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=sCFYb5TuD047BysyGKrDEkA5DsewGXDqsr9dBXUZREY=; b=s3wyQADwfIrRDJAdjMzYQtpldzXSI715Nfu13xT/YooW1sWrI2kG6sOsV9Jfi/sZIsaalw KEDOmgy8tlGlcUoxFUyFX9WhuwuxkvB6QqFBur+n4zUtdqexWvdD21tt+88/8Va6N0G3wV ph7YU46F8uuKHdHcZ21tlZr4SzciefghcvrdC0e7qkAMXJN2WzbLVuc18eWifbC2N2GlUP JxiR7KSE7ewPoS2KUV0xXICYCPRhH8LOOkNjZysTKKIbGsdfL90Te+H639XrCueMjY9cCf ygw/3jHnH6OCEgrhMQtIYp+H1tfIlKUbZ0Ch1DuRXC8Sn03AzGAHSDmzL5TGmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701246880; a=rsa-sha256; cv=none; b=Jr5iD1J3Q7ULAIZVMgrvMPekHQSXBrQdysiThYDD/Mt9Lp1hnjcZ4+kk5UjrSUpjn0JllK 9xZTAAY+3rGEZ5/Ljb1VDI+Pi0Fd3qfI/IYh+P7GHNQyWephC4Mv5bw+voPO0jcGciPYFx t8w4SfzIh04Ae8KDbKbPjPb8e2jPkqTerhss3AGmz1kN2QLI09NlI0wQJ0n26ePPJPuD6z RX8xLRqap66ijK3HCgY/hMhAtOEqtb3hhGo2QaI4/gSJJi0LmXuKsGzcqqq0HMaOdgB26W /wB+6OMOWoOj+QAq7evZ5z5DCDYbqN0I5QIBSOI+tNqRqikJLoN5t4pg45uoew== 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 4SgCL8554vzyG0 for ; Wed, 29 Nov 2023 08:34:40 +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 3AT8YeiW024613 for ; Wed, 29 Nov 2023 08:34:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AT8YesR024612 for wireless@FreeBSD.org; Wed, 29 Nov 2023 08:34:40 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 275424] IEEE80211_IOC_SCAN_MAX_SSID differs from IEEE80211_SCAN_MAX_SSID Date: Wed, 29 Nov 2023 08:34:40 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: misha@freebsd.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 attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275424 Bug ID: 275424 Summary: IEEE80211_IOC_SCAN_MAX_SSID differs from IEEE80211_SCAN_MAX_SSID Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: misha@freebsd.org Created attachment 246653 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246653&action= =3Dedit Change IEEE80211_IOC_SCAN_MAX_SSID to match IEEE80211_SCAN_MAX_SSID v1 Ioctl for scan requests takes up to IEEE80211_IOC_SCAN_MAX_SSID (3) ssid's,= but scan module defines maximum supported SSID's for scan (IEEE80211_SCAN_MAX_S= SID) as 1, and throws away everything above that.=20 IEEE80211_IOC_SCAN_MAX_SSID (3) define is picked up by wpa_supplicant in ba= se to export this as BSD driver maximum scan ssids. Suggested patch changes IEEE80211_IOC_SCAN_MAX_SSID to 1. Other option would be to make it other way around, changing IEEE80211_SCAN_MAX_SSID to 3, but it seems that iwi driver is capable of 1 directed scan maximum - not sure if this show-stopper. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:13:28 2023 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 4SgPWY0Y5Mz52vSb for ; Wed, 29 Nov 2023 16:13:29 +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 4SgPWX4qXVz3CFm for ; Wed, 29 Nov 2023 16:13:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701274408; 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=mOGRiBIvn0a15i3B3l8+Bv2dw+Gfv62ZlTlEKDkw2qk=; b=ZHbOlLNZ4fqnGf7NaggnViIM09/dwlvS0REgkeQkQx8mr/xKAHSgf8EQJlVcnMH8yC/5Hn wQaxdNbF6QdturMYsJkMCZDAez+jBDYgahMHPXdu0AEkF2Kd4KbKSUg/3p2XgyNLg8ZvuZ XBq9dXbn6ef4Tiezh4tqw1LCj5YtsGig8xHo76gUh1SSh+lI2rN6S9GvWtvqvo6/vi2jRF PzPKL1y3BgG1sf7wol77CX6oLgdaJ3wnvqvqpEAhkIJrsHSk2Fqgse1krH9McXZHbcaEh1 4hU/LZ1cw+4LoukNg8uzAKn0CIXoYhqXeTzmIyKFY98GsEdUkrvTL0Y1QHPfcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701274408; a=rsa-sha256; cv=none; b=FaHgcOazVnOoAFp8kIp2UwDkmS5ATYgKZ5exBesDB4MsKZ8MDtXvngefRp2rXdOOABpNlp 7IJsah4yNcFvFJh0HVDFkKRPktUzPUtmJyTnfZ+M+K9GdZUiHmOWEmzo7NYOlKeQWJRmyj g73QqKo30u6cQwQXwzauTn2aPCm5BL194XQXIyrRgjr1YXH3qfcNjgaT+HMwktdMaeO2jw Mwh7rvw8j+hmS6KJuOAuzgUc4Xdrp4KBoa/8kSgx9zZ36dBlA4waU+nUU3aubffHJ+qiHX cVSPzGNCiABgSh6CXXn8ImU9OofhGpeOsxivRh0BFKlTURhLuwCNpFQjKqcM+g== 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 4SgPWX3wPZz1Bfm for ; Wed, 29 Nov 2023 16:13:28 +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 3ATGDSUi050876 for ; Wed, 29 Nov 2023 16:13:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGDSU0050875 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:13:28 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 16:13:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamas.csabi@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #2 from tamas.csabi --- Created attachment 246659 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246659&action= =3Dedit /var/log/messages --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:18:36 2023 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 4SgPdS4t9qz52vLn for ; Wed, 29 Nov 2023 16:18:36 +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 4SgPdS3s0Yz3CHr for ; Wed, 29 Nov 2023 16:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701274716; 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=w6IhdqT9ZFOEesiYc62YYJnJLsNL3H7r+xz1sQYe96k=; b=kvFd6609a65X52DboUPgWhtUqf1QrF4NJ7pr7cJv6jrMJtpDFfId4zkHv6lzGSWTrBpC39 RBvSxedfOb5iY9emYRRuYp8UD3BpF0nOtcHFbC3w5qnlT5IKji9yRsD47AgmMxo63dToRl LfUyHoPLj3x00BEfdl7tPSqVTYLUrttcBfAKcrmo8DXkiK4zdGwW3WwTnvaVXli/iVE3Ww ZH5ygb3Nw4xV7fdwNxsXrwkHbqddwMCNjqnQV72EMRyhH6SlMgcKmJMFAKG3YNLvM08KpE WAXqbJ7hHEEcOEGU4HsaiegXXiidYUaH0Ee+6M7cGL586TbPBWYfo7cs/hGAiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701274716; a=rsa-sha256; cv=none; b=BYmhkUdnCfhQZSKbmJtETq/2moBsGP4x+y+tkaG8pyfBgOusBnUtiEGgnfeVRENQ0QOu/K RiBtRYNj5QRvNNcZF3lAEOcekOZSxNGMPT+jh3GIOuEoHAwwQ2f0rBWsTbbhdZ9UNOOr0S 8mebsaHClslQBN2Kb3W4FTvD37muvbg4OzrxQ3oVksPbhXWVPhSW9FVXNNYwNw1jaSIuI+ eQSjmRFd32neAUCVDH0jhuteiRf8m0sA8pCNr/q+yLXatsSh5R+a4NEZm426QEoI4MPVxG /zKXPi8qD1QqipO3M2YIEABZE+ibFAr9j8mQTvuKnIDpfa+9GFt1YdBX441wBQ== 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 4SgPdS2pXCz1BdQ for ; Wed, 29 Nov 2023 16:18:36 +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 3ATGIawM052811 for ; Wed, 29 Nov 2023 16:18:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGIaDD052810 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:18:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274990] [wpa] wpa_cli scan_results times out after 10s with no output, making installer wifi unusable Date: Wed, 29 Nov 2023 16:18:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274990 --- Comment #15 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D60c99d3a93081cc603e104c0e6c9fe3= 89e774657 commit 60c99d3a93081cc603e104c0e6c9fe389e774657 Author: Cy Schubert AuthorDate: 2023-11-29 16:16:49 +0000 Commit: Cy Schubert CommitDate: 2023-11-29 16:18:11 +0000 security/wpa_supplicant*: ctrl_iface set sendbuf size In order to avoid running into the default net.local.dgram.maxdgram of 2K currently when calling sendto(2) try to set the sndbuf size to the maximum ctrl message size. The problem occured, e.g., when the scan_list result had enough BSSIDs so the text output would exceed 2048 bytes. Written by: bz PR: 274990 Obtained from: https://reviews.freebsd.org/D42558 security/wpa_supplicant-devel/Makefile | 1 + ...patch-wpa__supplicant_ctrl__iface__unix.c (new) | 36 ++++++++++++++++++= ++++ security/wpa_supplicant/Makefile | 2 +- ...patch-wpa__supplicant_ctrl__iface__unix.c (new) | 36 ++++++++++++++++++= ++++ 4 files changed, 74 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:22:21 2023 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 4SgPjn27SYz52vxh for ; Wed, 29 Nov 2023 16:22:21 +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 4SgPjn0qvdz3DJ3 for ; Wed, 29 Nov 2023 16:22:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701274941; 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=noP4PBQ+M7VJoD6V3nXDa5/WdKLwBjb+cAkDJygLex8=; b=R/XOtz1KBFBu8/MyLLCS7ZZP5QKVupx0o4/3sFJ/irQp0w67w5dzMWICiqq+AAnCoqQzgo 9hE6zZ1tXGWKwywRAaaEyVlNrWzqR97Opg0RwmgNtf0neoE11U5mMkQemjTRlLE3XOa8yI xQ1RJ2zZycdT9P199LD63yZ78ejzSvn/Llqkh4aVleV+QMp+DdZ26lj3Pg5KE9ymJ3ru7h G1RWilVtflWdE2t8QzJu4iXmGrrVFYDvkUw7I4IaPsiI/7gzxE4iO5l25zczV6bQ79VEoT 1zdTNQowIIziP6zfZi6Tjh+EqXVG9Hj82qkxN8sQhBSvEO38lQxHlPaN30SmzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701274941; a=rsa-sha256; cv=none; b=YB3lgJU3OhaAtms8VzWHkGURrtgeiiXE4Jd7sKoz9q0f5dmlHcPSGAlC06aOm5CPcyLe6K GOfNMieRYSjHCRRJV2lprCxvy6D7wUwiRUXDGyPUb6k9CUXpdqH1PkRS7wPr14pw7FpNMg zXjUX4tZVERmUTmwZ3LbXTYmA7qUgyjuhGfAg9ZcVAPRJo05xwiPQoVLRMK0bLdRjnsqT+ JY+lPynxrwgiAjTwugXoav9bhNgzBTBLMaZTq7hQ/s4J7kN+hf5cYQsOfpv/UbFzK5UIti /k+BsRTB3laphjyBmpXERBDK1TUnVScLSUiALCYHQDzUpUr1iJQdneeqz9uwiw== 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 4SgPjm728hz1CMq for ; Wed, 29 Nov 2023 16:22:20 +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 3ATGMKkF063412 for ; Wed, 29 Nov 2023 16:22:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGMKQA063411 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:22:20 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 16:22:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamas.csabi@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #3 from tamas.csabi --- (In reply to Bjoern A. Zeeb from comment #1) Thanks for helping me, I appreciate it. I will try to send everything. % usbconfig -d 1.2 dump_device_desc ugen1.2: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480= Mbps) pwr=3DON (500mA) bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0210 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0040 idVendor =3D 0x2357 idProduct =3D 0x0107 bcdDevice =3D 0x0200 iManufacturer =3D 0x0001 iProduct =3D 0x0002 <802.11n NIC > iSerialNumber =3D 0x0003 <00e04c000001> bNumConfigurations =3D 0x0001 % usbconfig ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH (480Mb= ps) pwr=3DSAVE (0mA) ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL (12Mbp= s) pwr=3DSAVE (0mA) ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480Mb= ps) pwr=3DSAVE (0mA) ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbp= s) pwr=3DSAVE (0mA) ugen3.2: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH= (480Mbps) pwr=3DON (500mA) ugen3.3: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH (480M= bps) pwr=3DON (500mA) ugen1.2: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480= Mbps) pwr=3DON (500mA) messages.txt is from /var/log/messages. usbdump.txt is the output of "usbdump -i usbus1 -f 2 -s 65536 -vvv" command. hostap_dd.txt is the output of hostapd -dd /etc/hostapd.conf. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:23:10 2023 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 4SgPkk4Gsbz52w1K for ; Wed, 29 Nov 2023 16:23:10 +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 4SgPkk2JpYz3DMn for ; Wed, 29 Nov 2023 16:23:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701274990; 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=UbqcM37J+rssUIqZNxdcVcKgYEZlEigB9C+jR0FwlZk=; b=FP/u5NadRCtBbDjQyDY3WBTExZMwbTf93cdSJHv6vBhDcsFbXZe+q/Zf1Dr102Ik2jN3TN iFgNlQkzTcksysf0rL+ss3BiOseMHPQDuBM+8/YAk/lciajvJ5aK7TyLgjYkHPb4YopbTL FpUOrSo8kzZQvCVNtYsGiNBWLZ3UTFF6/9kuMOBMWje224PkEhxdqsILq38Am9M/9xX3Lx rDXhyaZ0B9KmeXsh9d8lllI6HfKTmHU6ehrq0pWNbARV4tnSHT3+2yXD8lkudSfYxcjVBf +BX6iXTevl95nnd9opvbsg6TJRCkQ0dl9jdv4Jlk8GJYTKo3WV/oRLIbeEP6Dw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701274990; a=rsa-sha256; cv=none; b=sJzbXFFiruCTr5QFE6q/cDUe/8zmRIhemLueAuPN1egulrw2eSdk2NQ+V/bqU/V4aGtedf jWKxEKw3afEu3AivzEjosnpGzFIwoZR/pUYKoEzDSV2PUH2TyKOYRvtdQ0QnPEp1ZeDk9a fVoSV9k2wT5Yj9whwoV3xFJo/mWcQkH6tKVP+YNbB4bLPnbus4/y5YFVQljXMHciYdHZ5t J9+fHt5dSQkBNQfb8D83i+q6Y0FcM/02KtGd3guIWhB1Yx88Bi2BV9VaNSYCanMzUzYtoH KuZH5m84q7R4HDONdV1bJIfc02iemCJPZLE0LEkobl+LwLNvNOd3Ryb677YX0w== 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 4SgPkk1Pm5z1C6b for ; Wed, 29 Nov 2023 16:23:10 +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 3ATGNAoY064639 for ; Wed, 29 Nov 2023 16:23:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGNAxF064638 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:23:10 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 16:23:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamas.csabi@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #4 from tamas.csabi --- Created attachment 246661 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246661&action= =3Dedit hostapdd --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:23:52 2023 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 4SgPlX6tCwz52wHs for ; Wed, 29 Nov 2023 16:23:52 +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 4SgPlX4xlmz3DbJ for ; Wed, 29 Nov 2023 16:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701275032; 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=L7eoO5soVEc5z8VQcR4ovFmWgBrvUSOsxL7Mn9We+F0=; b=L3BD4PweYL/4HdqmJy30rvg56GzX4Fe9OvbnmcryXpr7uMPp60YpXQ+kMVQaO8zTU98KbD mXvmtJbUu9c9uqInryquHgNN3QZfFWSYhxu5qelAFzusCmpmXfHX+B7iHjgwporD8C9ulK 9KpKv0f88wZr/9eAvTAki1DI597CWHwtcKNUbi2XGrE3arabXKj/uQ6o4cLtWMnXJiCLkO P33Zl4lmnVLrJSyij2P/kiNhcByalVXtfLT2+tiKp9e0UfdG2Fd7aiQL2gzJQSY6GQkTWu O7BWGREDgOaOygJgGmLTgKelGwqMziEHAqi44hnUWSSdDovLlpwEj0LfjX8hYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701275032; a=rsa-sha256; cv=none; b=Uenjoe3eo3pl1wtbUt/d5PP8iontclC4v06SZFNnGKnUsxmVRbPoIPfBmNlbm4KrcE6Dt3 p+Vamddk7HUSkDgNUWvp2nRh8Wsx/Pwmbx6t9g3abEEvaUlfWN5bybXH0QoY1e93NdJ42t uEKScI7zw+V349n7DNVOwmFPiGsytDwpf99kBOW6hLxqhqKlGVidRoviAlbEy3Cm8mvh+V nfwkSFO2JnRFUcG7eQTSODB56Su8CfxBfCy62JIARxOXqGFHgQBl0gcZCmhhQ+DQVtUNnv 5gmERCRxMmGUu8WvQOPWQFPFKvHstfuzsJBVfTUf71qwSaS2tjMlLxz8ttE11g== 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 4SgPlX40bZz1CP1 for ; Wed, 29 Nov 2023 16:23:52 +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 3ATGNqEO064876 for ; Wed, 29 Nov 2023 16:23:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGNqmm064875 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:23:52 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 16:23:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamas.csabi@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #5 from tamas.csabi --- Created attachment 246662 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246662&action= =3Dedit usbdump --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:27:58 2023 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 4SgPrH0Lxmz52w4v for ; Wed, 29 Nov 2023 16:27:59 +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 4SgPrG5RrHz3DwQ for ; Wed, 29 Nov 2023 16:27:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701275278; 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=kVLHxwM1836l4L5/VXCqabvcKk7aPb7JEwRk1uBh7R4=; b=dKz45KqvXZG00WzSF4Bl9Sp8q3ZK+FRP3+6MSI34e/XSJqHpsDBG0+ij567IGoRddEB1tI I2EAnREfXcQjY94uRxXrgRHHQJ/3z9J+3Kx7M/EE+XFJ3Goy5BkNiyNcWRoZdNTBcmtCL7 dq6dOUkVv70TAGD0Wddm046r/ia0bZ5S7WdzY63vZoTCQXkYzCCRG4ak+5Rc8oWKvNX+YN nV1q8wwLnJClDnMyINuRYal5ljDU23erbLRmz+kFDnyNyAegTfIE2QOoXilamk5lguPEHa 3OVoVpBKEC8OjKkX+3ZBboEof5cqlhjIfwpjc5BwGGQXSXRt/AfnSskmBH5p3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701275278; a=rsa-sha256; cv=none; b=Qf13NlCfPkwAfFW4+jKV5cqKoXroHOIK7s9wNRJ1fRuYwpMsK5BneCNIpzp2sdnv2fNVYb lFBmKaS+/6koMyPcV084+KVfhIphqdQpkwxoFOcYsz0MGNh76qZrTzK5TNzjt5djNVlNyc Tg/hpc0ya1De+g9TnERhkzpK5jEgV7a0NVjU3M6gdmfK+5EW0Xm5FRfGsuzsrOjuOkB787 39re0b5l52z8nx8V7DvsLGK2lE5TwUam3WUvJYvxNIwTnb3kcMEtfed7WBVdb9icw3xQGj k9MJwLlXdFdbVG/8FfeWiLKlIwpeT12/F1PXMtYg1YG6NAab83FhV72kiEne0Q== 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 4SgPrG4LTdz1C1T for ; Wed, 29 Nov 2023 16:27:58 +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 3ATGRwRT066600 for ; Wed, 29 Nov 2023 16:27:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGRwor066599 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:27:58 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 16:27:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamas.csabi@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #6 from tamas.csabi --- Created attachment 246663 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246663&action= =3Dedit /var/log/messages_2 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:35:26 2023 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 4SgQ0t0xW9z52wrQ for ; Wed, 29 Nov 2023 16:35:26 +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 4SgQ0s6yzSz3Fmq for ; Wed, 29 Nov 2023 16:35:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701275726; 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=rocECtyVLYjwB/jp/AG3T4sof4/92N8kbuuqcwYEd4E=; b=YSAiM9BSc8moSXM6YJca18U8z6WpD8njjj4PEQWBKwDTBzel9cF7DVoS5SbhR7AXb5lZa4 KGwjMqVLDVccMmaUV/UD5jnKNEUQf64/29uj3RVJEQhWYRUTaQbrGDzQWf16nXf2lpnXiL J7fEj5fFD5ZtD72TlniC/XuzHhkZiLH/8G9SHOozHhK2aPU12p/TcqE7nRGxorxZSm+gcX 23x2rIjKtMirCJYTrNkZuPXTo1NFWVeLg1e98rqsiD3EKgZsaEvtOdfsR7ZrGIKp553hN6 nCuxi8sRLfnkaeDKeWKgptk7fHkFm4vvMj0+er9yj9herzgyb3EFC43TnNvzpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701275726; a=rsa-sha256; cv=none; b=rWjDwzHtV8cT2QRkYkFsjMclYUbkxMCicgHiIkQ6PAOJ322KfO2HZ3PrZMSDMQSuKHzmnm j6paRxPnQePP4FbGhJaOPaHXTo1azh861FpuCDm5PGBOpLGpjeg/TYfnhOd05IS86jN1ud /SXDJFL6K+wwOnEQAoq1AlW8BcwSSZ4On/gxJxE+xbKuG6Nbnlc06trv2j5aMTttUxNHhY 6R9s3IdYLwhv7EgAUTn86SxWbh5wvuS2984oQ4vu/YuY0dyZx+U277kB8fe3gsqx3ZVON5 uBzuu3ea8upKk/hqjHaV2WFsUEuOSvfIF8zNKynTjm0JkPSyhJxqfKSjYjwNmg== 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 4SgQ0s65J4z1C7N for ; Wed, 29 Nov 2023 16:35:25 +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 3ATGZPM2080600 for ; Wed, 29 Nov 2023 16:35:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGZPpB080599 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:35:25 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 16:35:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #7 from Bjoern A. Zeeb --- (In reply to tamas.csabi from comment #5) > "At this moment, the dongle will stop and sends an error message that the= usb device is not available." Can you help me sieving through all this by pointing out the specific error message it spits out? I tried to see it in the messages but probably been blind. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 16:39:42 2023 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 4SgQ5q0j7Zz52xHZ for ; Wed, 29 Nov 2023 16:39:43 +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 4SgQ5p6JdGz3NBN for ; Wed, 29 Nov 2023 16:39:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701275982; 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=fBunTZRgea0SAyPznT1x6+mLfDJEArnQWcTjhFFaZ3o=; b=ca0e+8k5v+xWAQrpjLKM9VudTP+6CMidgdRhAclTkjBz9lglMvA7+DHZ0UHy/dKUA+zeKq L4bLJSocxVvD1NYeWskJzw2hYdLBLiuTKqu3nUxhnfX8QDbjmW6geptyzfNcR5ztLJyDY7 8Nq8vRRQ7LNKh2RQmI9akap6nVG6pvA5y7UHwT1etqxseNkRp0P94T4suE85sKRaaukH4b cKaJUy1eJ9+NHP28CWvAoHGKjlwDJtCBK+1JRYZ8ZPFxP/vLvKIUD4Hti/jY6Ci2LprtFq NXA9ASMNBAdb5pQz/aLUbh0eEYxs0FdBmVxszJ5DuGh2G20UkRO+OrYVFf9VFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701275982; a=rsa-sha256; cv=none; b=a76pIIo9QhPv5n0mOUn7sWzuuINoKAmZ5dT65DSA7DFj/15RX59juIZl97N00c4CRKLCcz pubb84dHfPDGZyXyi814OXZsvEEQjsxlaxHODgREC5LnfRDsxmtSaA+ZKmYnKZ7+yaZ0Ms ByptAQbIaoXMDaKo7cnfjalRX85qzxKdZghyytuNqjAsSwsueb0t6HkO9K0Dlobe+7ce+F 2deacDMW3WomGWdnzv8sChXZhrReCT4vjBnqTiSBBWoHcVocdGjZkbNKZuH6P3MKglRtxi lpdfhDFXMkuahz7kAxkllSkGaDgkL87mOGdKBorwCteT+E+mTwH2ErHjdmFIAQ== 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 4SgQ5p5CK8z1Bh8 for ; Wed, 29 Nov 2023 16:39:42 +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 3ATGdgfo082407 for ; Wed, 29 Nov 2023 16:39:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGdgg6082406 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:39:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Wed, 29 Nov 2023 16:39:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #9 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3cd4af3825b564a6bf249b0f8d2e5dd13= 68ca49a commit 3cd4af3825b564a6bf249b0f8d2e5dd1368ca49a Author: Bjoern A. Zeeb AuthorDate: 2023-10-09 19:47:39 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-11-29 16:36:11 +0000 iwlwifi: re-enable "Invalid TXQ id" logging Various reports recently hit the "Invalid TXQ id" in iwlwifi again. Unconditionally enable logging and add a note to report to a specific PR in the log message for now. Along with 018d93ece16b this will hopefully help us to understand what is going on. Sponsored by: The FreeBSD Foundation PR: 274382 (cherry picked from commit ad134f8ab768e3b1d2db203f1cc963bdf0eea857) sys/contrib/dev/iwlwifi/mvm/tx.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 29 16:57:52 2023 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 4SgQVm3jf6z52xxR for ; Wed, 29 Nov 2023 16:57:52 +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 4SgQVm1qqRz3bYT for ; Wed, 29 Nov 2023 16:57:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701277072; 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=1NiUGFEh1xsN/Wm8todVEYZpc4WGdo+yGAL89W5pcaw=; b=SpnEnB296JjApGAy4PnES/3s1lsWnafn3nxDXuhrB/AF1etlwck9jPsDYUh9A1yRSGeTa1 PQiXir8sxibzb6mMW9RovgQaivLpCfyLNQb+SQfgv4GloyimkGqC1BjBTXCfALGUNVEqNG qDNMjlHkw0HnYve7vpi3i3Y268/zjeJV0wcqdw0VBp0N6V090k7O2YTb4QDG5ryawmEVs4 2wG9xsuDYIomQXNzD/uDwCPIWFAsGEb3gdhDpeT6yS9dqtbILOjzY9iCZ8iCfpT0DCqhSD LlonpjyyCFjGaEgmzcUzPzOynKMIcgD5dnWKK1/Ce89+ynae/BuuVv+dP2C+Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701277072; a=rsa-sha256; cv=none; b=QfvDS2opyfomw0gQ/ZJ3nwJrYW6yC69ABFNDwdC/eNzMLOgASzhNYL65upPWuZOEJZrGZ8 IIanlseqvWA/ixo0d0eSJaiMHP36y9KGPzFEHQtkQgvVGCLHEs3O72NOBwG6vLUKOwI3Cd GZzChZMeSZJGIO3AZ6mx3/XfGn2eF5ukrdSTTwWW25ZUmLKWw41fGqTHg4vBMxHqoY+jt5 aKq2V9sgSCMhZptR6VU0sY8Xycxw16GcZcZ5+ycIUAwA4cgbceQFzFfFunL/ZgG3twt7Su WC2AmBYJb4EAv69wqDkshr3tbuwk6Kh2bfbXk6iKZr7jCLGar0Jb4wholp0WRQ== 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 4SgQVm0xPpz1Cxc for ; Wed, 29 Nov 2023 16:57:52 +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 3ATGvqw3011334 for ; Wed, 29 Nov 2023 16:57:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATGvquC011333 for wireless@FreeBSD.org; Wed, 29 Nov 2023 16:57:52 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 275344] RTL8192EU usb wifi, hostapd error Date: Wed, 29 Nov 2023 16:57:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamas.csabi@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #8 from tamas.csabi --- (In reply to Bjoern A. Zeeb from comment #7) On the USB dongle, the flashing LED goes off and the following message is s= ent: ugen1.2: at usbus1 (disconnected) rtwn0: at uhub2, port 1, addr 2 (disconnected) rtwn0: r92e_power_off: failed to block Tx queues rtwn0: detached usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR uhub_reattach_port: could not allocate new device --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 29 17:49:46 2023 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 4SgRff3zXJz5320R for ; Wed, 29 Nov 2023 17:49:46 +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 4SgRff25TNz4DKv for ; Wed, 29 Nov 2023 17:49:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701280186; 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=z8Z+EnJIhkMpNYtjbOXxLIdS39nSY16wBXYia3v8q90=; b=WAHQt3CfpiAwmFO56CWt5B2eI7Ft0Bjkww0je0KhfX9N5kEvbWsfDd4mOpJEa+ELi72giJ rQdOHdUanm5wZxpoEH0zvZ8qk5r18lWeC2rhRgL2O+Frq0IhDJFYtllThNoYx4OuO+Ncs3 eO1OioJMYgaFql2ngNgLYUdjdTMBnvWlQPRd8o6U5TIORGeBAYAjU5jT17xI0HvDMM0nny BQvh4q2q+kT6bxGgpQSQ4OqQTrEczi6CBkEFYGrXiZ3Ev0+/AQQrQyHspt2475aT2jqASi jQpEbxVRrOk/3rIr6Pk6q5ke2gbZOx2YNN1Yokkwu5XzRTj4oPr2pp8cLDCH1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701280186; a=rsa-sha256; cv=none; b=xCN5s2wCtQLxJmPzJoHLQn+Ua7VuJgem0U0AIRIRHpY67+1s/4epGFMrismeAf3sHCdLcg gjkeRvN3QpxuP4u4mWDS8yYUwdwbN3/8qq/xGwrSfVaEI4E+KxJnhp+sBwUmtpI87mVNq3 ZtICUJXGOvjTDOKPFu5coSyMOpfIUYUhuer0n8sf3OJwaFFXe5asEXta0mF51Y+/+Xz6OP tu+jXG1OGTnf6RAgjUHSns5Dr43bGWEDlQYnIJo0I1Lc+DCbqDSTUednT+VJcvVJhsYb+s lczmigMVQnF5LFWzjFRXdoqn5IG0e5G+hx9+qMUcBjteVHW5ETdvmNRmSe35+A== 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 4SgRff19Grz1HP for ; Wed, 29 Nov 2023 17:49:46 +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 3ATHnkfN090617 for ; Wed, 29 Nov 2023 17:49:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATHnkqx090616 for wireless@FreeBSD.org; Wed, 29 Nov 2023 17:49:46 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 275424] IEEE80211_IOC_SCAN_MAX_SSID differs from IEEE80211_SCAN_MAX_SSID Date: Wed, 29 Nov 2023 17:49:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275424 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org Status|New |Open --- Comment #1 from Bjoern A. Zeeb --- If you look at net80211::ieee80211_scanreq(): you'll find the following comment: /* NB: silently reduce ssid count to what is supported */ It's hard to say (given the huge updates pushed back then) why the IOC vers= ion was introduced but it seems it was done on purpose. The hostap history says it was done for FreeBSD 8 support: 88487b0e0b524aae7603c17b7db7985ae9a810c9 If you look further at the code, you'll find that despite being capped (fur= ther down the stack, e.g. down to ieee80211_scan_copy_ssid()) the number of SSID= s is passed down. If you look further in scan_curchan()/ieee80211_swscan_probe_curchan() you = can see that it would send a probe request per SSID and that matches the commen= t in ieee80211_scan.h. But that code was there before already. Seems to have c= ome in with 68e8e04e93c1ec3d37022223b69073f50d3d4981. I wonder if this is missing follow-up work to finish it given modern hardwa= re can probe 16/20/.. SSIDs? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Nov 30 00:39:13 2023 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 4Sgcl52PzWz52V6k for ; Thu, 30 Nov 2023 00:39:13 +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 4Sgcl51B1Yz3R65 for ; Thu, 30 Nov 2023 00:39:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701304753; 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=4ZXGBAoxvzhiQrHprZJfCXs5MjCIBZM/FHUlCPYrG/I=; b=bsn35l/jCr6qgbAt29khNYM3T665tRh+MnIW9kVT/lT0XW6D3aZQz2usV2VQ0hrN7Ne9p/ GTTORNrN++wqMU5e565Ubgmm8c6C4CbDr/7ENAW9nj4heYYcUCZpIErWEIUledJ8EnlMl5 VQHKkbkfM9MSH3PaP/ckS7OI0yG+M0BJmHZoL5P/wyMwhj9UsQPKBbpyPNja1b6hG9j8Ay neU57N316MA4ZXNxdiZAYgxfoDtAsWB8wVWHbBWvsxQ/WKgLw7qs3L/tBIpKhwZ6Wl3t1L C2oYVts2vJbpCfEdyyjoPp5EcvSmj9v/CBsjEDEKrQ29NNEwaY97QemHRr2S0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701304753; a=rsa-sha256; cv=none; b=uZZ6ZCr4BRlo/pmnSsJQdMVdiR/hBPgUc8cN0d9/8rGyRjkCaoKZjCdZSMYA2LU1Cnde1T eYUcaG7gS/1m26J9/xdQbEBOPRppx85YmTXI9rGkY3yeEnUWwen/6IM6RCp2vfXL5LUUUc gNcRDN41ww1xUkBG0Ulu3P5dYjdAu6Zy9HVXjbEEMtQhfeTbVUplaHKqSVh0S7y3+GWUVk clrw6bv6lldAcTdKld9jzUsmoV71DTZDZCaEI1h98w29U013ZNfTnLYuFDZ1Khdy/KGbGI a+PgOuNifG82C0we4h0JsvrhSod8FWNDTsSahySamzu1SLGGQXqwXHR3LLtqVA== 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 4Sgcl46tT7zD6Q for ; Thu, 30 Nov 2023 00:39:12 +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 3AU0dCc7038209 for ; Thu, 30 Nov 2023 00:39:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AU0dCDT038208 for wireless@FreeBSD.org; Thu, 30 Nov 2023 00:39:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Thu, 30 Nov 2023 00:39:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dd27f3b8c7e6486ed0750286d7ec65e619= 35ce409 commit d27f3b8c7e6486ed0750286d7ec65e61935ce409 Author: Bjoern A. Zeeb AuthorDate: 2023-10-09 19:47:39 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-11-30 00:36:57 +0000 iwlwifi: re-enable "Invalid TXQ id" logging Various reports recently hit the "Invalid TXQ id" in iwlwifi again. Unconditionally enable logging and add a note to report to a specific PR in the log message for now. Along with 018d93ece16b this will hopefully help us to understand what is going on. Sponsored by: The FreeBSD Foundation PR: 274382 (cherry picked from commit ad134f8ab768e3b1d2db203f1cc963bdf0eea857) sys/contrib/dev/iwlwifi/mvm/tx.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Nov 30 06:12:08 2023 X-Original-To: freebsd-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 4Sgm7j4QP5z52ssd for ; Thu, 30 Nov 2023 06:12:33 +0000 (UTC) (envelope-from farhan@farhan.codes) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Sgm7h5HBbz4TQh for ; Thu, 30 Nov 2023 06:12:32 +0000 (UTC) (envelope-from farhan@farhan.codes) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farhan.codes header.s=fm3 header.b=XfNUvN9Z; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=gJn94Qwn; spf=pass (mx1.freebsd.org: domain of farhan@farhan.codes designates 64.147.123.25 as permitted sender) smtp.mailfrom=farhan@farhan.codes; dmarc=none Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 32A133200B09 for ; Thu, 30 Nov 2023 01:12:30 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute5.internal (MEProxy); Thu, 30 Nov 2023 01:12:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farhan.codes; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1701324749; x=1701411149; bh=g/GJ4tSdOaPgfYckFMDznFr1Q cboqykntTsSesiPnss=; b=XfNUvN9Z/2yUG513QQwkdlkve8EFc7PmGTtBC1/HZ gk6/Y+acoOQEAImasmEgmZ/0AcdDkV9C+mxIKJz1nKHJixPqeQ6OmCsDFkt7UXfd kuGm5UOjIHq5V4qXce4+iMjWOuqDP7DDCp64vmq8HX5AFFb4O6q7gm+WsMop0a2Y /L2rqv7pFRVT+9C4Y8XwYRdjLh9pokWCeJU1mrPKItOyBmYggHVMMze4FPQd0W7R mTVZXUX6wkfURcGyIzSiNaQeKrVsFOxGJ/jWHulal3wJiEOgOaUGsyTimvSqb3sN ExsKkFtPui1++M8zdmgimcccXGJl9OQM3rtU0hjn8FOhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701324749; x=1701411149; bh=g/GJ4tSdOaPgfYckFMDznFr1QcboqykntTs SesiPnss=; b=gJn94QwnYAxkbfAcbGaD6yYsblbfi1VotWxvn26M9oul6i2OB2T WMgk9L1HqpI7Hx+w1OQ0FORJ/IRpH7u0y+ofKJDDPZHMKZjlTfc3rFlOzdyMaWTU Nm2uchBHAHgtaKjR3IWsMW5su1GOKI9BjuX3Gyidg8Hg3JgGKh31ee0IsLSC1ire PU3hGyAsvUoxAh7lYre/kjaiWITG/zN4lhYUDyHgLC1smnHnszLtQHT0kWtntSV+ kw8xFbG9n1dkE5W+wQ40fgUpUuLWNe771KojNmzi2BLiDZCWCMjXTZaZ6K3P4Ltl XD5CX4ZqMgOuvw4j6qMvAcuQBaoYVJ25QMg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeiiedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfhfgrrhhhrghnucfmhhgrnhdfuceofhgrrhhhrghnsehfrghr hhgrnhdrtghouggvsheqnecuggftrfgrthhtvghrnhepieejtdegteevhfegvdefieeghe ethfduudffkeevffejueegudevfeffuddvheegnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepfhgrrhhhrghnsehfrghrhhgrnhdrtghouggvsh X-ME-Proxy: Feedback-ID: i61914458:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7949F272007B; Thu, 30 Nov 2023 01:12:29 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1238-g6cccb1fa34-fm-20231128.002-g6cccb1fa 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 Message-Id: <629e3534-705a-4dcc-ad16-edba170da251@app.fastmail.com> Date: Thu, 30 Nov 2023 01:12:08 -0500 From: "Farhan Khan" To: freebsd-wireless Subject: Why newstate handler runs IEEE80211_LOCK/UNLOCK? Content-Type: text/plain X-Spamd-Result: default: False [-3.79 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[farhan.codes:s=fm3,messagingengine.com:s=fm1]; RWL_MAILSPIKE_VERYGOOD(-0.20)[64.147.123.25:from]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; DMARC_NA(0.00)[farhan.codes]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[farhan.codes:+,messagingengine.com:+]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4Sgm7h5HBbz4TQh X-Spamd-Bar: --- Hi all, I'm studying the implementations of net80211 and noticed that in all newstate handlers the code begins by running IEEE80211_UNLOCK(ic) and ends with IEEE80211_LOCK(ic). I was not clear on why this was, I would have expected the opposite order. Also, why not just use the softc device-wide mutex over one for ieee80211com. Overall, I do not seem to understand the intent of the unlock and am seeking clarification. Thank you, -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE From nobody Thu Nov 30 06:24:36 2023 X-Original-To: freebsd-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 4SgmPx0pxbz52tqx for ; Thu, 30 Nov 2023 06:24:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgmPw418Kz4VBn for ; Thu, 30 Nov 2023 06:24:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50bba815f30so807273e87.2 for ; Wed, 29 Nov 2023 22:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701325490; x=1701930290; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=I8JDdCiWOQX8Quq4m975NQtFZqKldPS7uVitdTqYRwA=; b=ZT6FRTbqibhfaicAKRsqZfK2inyum0FKlbyDgGMO8NI2ZWfinqhrSInBV146s7XOq6 sMyJa6wV6K/rKo+Iq45dNLU/PGSZO2Oend/fXz2u4Pzm3y+MaUf0EnHdouxcMZqHQ1xt ic6QtGqF3ljRiSKj6d5or7Fc0auwXIi2PdJOgIa1Z0DN9xNMAuCKAYsZ5hX7qEQSIx1r Na997Ln5lOxwn4ueDLIdTB9sDcgTWJ8H8XDI3J0XmnbSZYIG3dI9uj0VpxV9Uvx1pwnK S0L/wdXYker0akuB0tBl6jT6wZFPZGO/fipkI7UqCHoPVNOzyyQl61OGBGIo6tmfaMIm G0Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701325490; x=1701930290; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I8JDdCiWOQX8Quq4m975NQtFZqKldPS7uVitdTqYRwA=; b=VPuEY0DtoN2OtcfLMiDWLJ+sljQKyP2kkSTSzZmQ1NSmUVEAnCRGnpQwb1hUp7X+ss U6aitd2hmQV72PKdhFkyHaQJ3PlhviULv6MoirOEV1mgMuXm2Dgb2+cH8sn3BIcCYfgH 6uAiHomqZRseRBEG1/99YqQ6qZFv6CbUkcTAXJdd9dSmvSlm3mY6iAHldw3S2rsxIsh0 wcaA5TFfGPP7ErzHlBLUUvA4wewawRWv6eoZMFAy30vGarMJevBFon9upCPx1PhyLDnf 9+hrSMfEb2mryMosrZXtdMcor5zUKBtuYeTBp3eifw7TV7hYbwf9CebAuy+bTw9+k4Zl UxaQ== X-Gm-Message-State: AOJu0Yzkvkt03gqG9HNGkAOIf9h3yMc4wofOpVdOeBVGh0P6gJooRBCO Cv7UAy/v7WwjW4VS23pGTncypR+AtylMruxPqUpKIrE1 X-Google-Smtp-Source: AGHT+IH7K0qN4Ab/n7nblVby5k1Y3Rz5WTEP4QowMXVqsU4B0ZJ/b0pInBpSzmZeklZ/OEkL8ocpJrKNimexzfG9Ll8= X-Received: by 2002:a05:6512:124e:b0:500:9a45:63b with SMTP id fb14-20020a056512124e00b005009a45063bmr13502691lfb.13.1701325489916; Wed, 29 Nov 2023 22:24:49 -0800 (PST) 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 References: <629e3534-705a-4dcc-ad16-edba170da251@app.fastmail.com> In-Reply-To: <629e3534-705a-4dcc-ad16-edba170da251@app.fastmail.com> From: Adrian Chadd Date: Wed, 29 Nov 2023 22:24:36 -0800 Message-ID: Subject: Re: Why newstate handler runs IEEE80211_LOCK/UNLOCK? To: Farhan Khan Cc: freebsd-wireless Content-Type: multipart/alternative; boundary="000000000000794ee0060b58b5a3" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4SgmPw418Kz4VBn --000000000000794ee0060b58b5a3 Content-Type: text/plain; charset="UTF-8" On Wed, 29 Nov 2023 at 22:12, Farhan Khan wrote: > Hi all, > > I'm studying the implementations of net80211 and noticed that in all > newstate handlers the code begins by running IEEE80211_UNLOCK(ic) and ends > with IEEE80211_LOCK(ic). I was not clear on why this was, I would have > expected the opposite order. Also, why not just use the softc device-wide > mutex over one for ieee80211com. Overall, I do not seem to understand the > intent of the unlock and am seeking clarification. > That part of the net80211 locking handling is ... unfortunately unfun. Without doing that, there'd be lots of lock order inversion issues and sleeping whilst lock held issues (since it's a mutex, not a sleep lock.) The newstate code in net80211 at least (now?) runs in a taskqueue, so whenever something changes state, it isn't happening in a random drivers rx/tx/ioctl path. That way newstate transitions are at hopefully serialised and not running in overlapping/concurrent threads. However, since drivers do a /lot/ of potentially sleeping work in the newstate path - think all the sleeping that goes on when things wait for firmware commands to complete - you can't hold a mutex across those. I tried cleaning that up years ago but it was .. very tricky to try and change. The wireless drivers would need to make sure they do /no/ blocking activity in the newstate routines, which is .. tricky. -adrian > > Thank you, > -- > Farhan Khan > PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE > > > --000000000000794ee0060b58b5a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, 29 Nov 2023 at 22:12, Farhan = Khan <farhan@farhan.codes> wrote:
Hi all,

I'm studying the implementations of net80211 and noticed that in all ne= wstate handlers the code begins by running IEEE80211_UNLOCK(ic) and ends wi= th IEEE80211_LOCK(ic). I was not clear on why this was, I would have expect= ed the opposite order. Also, why not just use the softc device-wide mutex o= ver one for ieee80211com. Overall, I do not seem to understand the intent o= f the unlock and am seeking clarification.

<= div>That part of the net80211 locking handling is ... unfortunately unfun. = Without doing that, there'd be lots of lock order inversion issues and = sleeping whilst lock=C2=A0held issues (since it's a mutex, not a sleep = lock.)
The newstate code in net80211 at least (now?) runs in a ta= skqueue, so whenever something changes state, it isn't happening in a r= andom drivers rx/tx/ioctl path. That way newstate transitions are at hopefu= lly=C2=A0serialised and not running in overlapping/concurrent threads.

However, since drivers do a /lot/ of potentially sleep= ing work in the newstate path - think all the sleeping that goes on when th= ings wait for firmware commands to complete - you can't hold a mutex ac= ross those.

I tried cleaning that up years ago but= it was .. very tricky to try and change. The wireless drivers would need t= o make sure they do /no/ blocking activity in the newstate routines, which = is .. tricky.



-adria= n

=C2=A0

Thank you,
--
Farhan Khan
PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE


--000000000000794ee0060b58b5a3-- From nobody Thu Nov 30 16:09:53 2023 X-Original-To: freebsd-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 4Sh1PT3M1Zz52FYB for ; Thu, 30 Nov 2023 16:10:21 +0000 (UTC) (envelope-from farhan@farhan.codes) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Sh1PS3r4yz4T1x for ; Thu, 30 Nov 2023 16:10:20 +0000 (UTC) (envelope-from farhan@farhan.codes) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farhan.codes header.s=fm3 header.b=k97HRkcT; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=DcRsCKga; spf=pass (mx1.freebsd.org: domain of farhan@farhan.codes designates 66.111.4.25 as permitted sender) smtp.mailfrom=farhan@farhan.codes; dmarc=none Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 24C345C0367; Thu, 30 Nov 2023 11:10:19 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute5.internal (MEProxy); Thu, 30 Nov 2023 11:10:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farhan.codes; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1701360619; x=1701447019; bh=F1 H6XzgOog5hrHPP7BFjxP5PquJ26/VRvc9HSjdDZzI=; b=k97HRkcTr1NaC0xwAt Nvuu/75gUpQ/UMUOnFPpWWeCjIqwhBJFUjURFCmEKnyvvVEqBAziiNUstrPme5zS /t5hOx69v3vWxfeSB6HPT3uPfJzXp+BUwH2DotvSVcpDN2ANKX/SSbUerElMVG9E 5W6FmKKKbFqYH8okU+preZBHrY7GevQG9z1MNWZXUQn+3io8n1g7Sv+5mJsKOMsU pTpbiHz1CxyAHOG2ekDp28JORZKeLGtVX6bHjGe020teXg2xr25WXd2BJZjUFDbX vVlr3yII3P3vS0LNjzYeiJy0JBRpVd67FagCjZHfFO+Y/+Pbfw/ZGhxus3Q/o57M ciPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1701360619; x=1701447019; bh=F1H6XzgOog5hr HPP7BFjxP5PquJ26/VRvc9HSjdDZzI=; b=DcRsCKga4JCd1LKf06Saxx/dgD1bj BZm50UGg/bbzSInSdlhFzepvTPIfgCaiZMTYzqt0sT5EunGk9wBqMytkcwSzvsao 22nY/x0x9Wq0ujmqa0Gkr/HVDGpLA1bZY1jX1RvSE2Qcqm90F+FlY+CrmpXimeyA zU1Fp755n05DfFZ2XFoGK4dP3iY7x1GXiWlEmTvIxIGhseWJKhnwV53S7O/2WHRk SEA2URUoWzhnhA3KnPHfXdK98C7ZWLGbOPEb+eA8Ax3JJJJqmBOFzcP9APyJqXPH 4LfvC/Pi8jNLN6POsa+gLMtIK1Jl6t+mSjD7Eeyp+GhvLlczAV5amvsDw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeijedgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfhfgr rhhhrghnucfmhhgrnhdfuceofhgrrhhhrghnsehfrghrhhgrnhdrtghouggvsheqnecugg ftrfgrthhtvghrnhepuedtffetlefgiedtteeileduieekgfegteektdelteegueevgeeu udfhtefhhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepfhgrrhhhrghnsehfrghrhhgrnhdrtghouggvsh X-ME-Proxy: Feedback-ID: i61914458:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A3DCB272007C; Thu, 30 Nov 2023 11:10:18 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1238-g6cccb1fa34-fm-20231128.002-g6cccb1fa 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 Message-Id: In-Reply-To: References: <629e3534-705a-4dcc-ad16-edba170da251@app.fastmail.com> Date: Thu, 30 Nov 2023 11:09:53 -0500 From: "Farhan Khan" To: "Adrian Chadd" Cc: freebsd-wireless Subject: Re: Why newstate handler runs IEEE80211_LOCK/UNLOCK? Content-Type: text/plain X-Spamd-Result: default: False [-3.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; R_DKIM_ALLOW(-0.20)[farhan.codes:s=fm3,messagingengine.com:s=fm1]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.25:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[farhan.codes]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[farhan.codes:+,messagingengine.com:+]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org] X-Rspamd-Queue-Id: 4Sh1PS3r4yz4T1x X-Spamd-Bar: --- On Thu, Nov 30, 2023, at 1:24 AM, Adrian Chadd wrote: > On Wed, 29 Nov 2023 at 22:12, Farhan Khan wrote: >> Hi all, >> >> I'm studying the implementations of net80211 and noticed that in all newstate handlers the code begins by running IEEE80211_UNLOCK(ic) and ends with IEEE80211_LOCK(ic). I was not clear on why this was, I would have expected the opposite order. Also, why not just use the softc device-wide mutex over one for ieee80211com. Overall, I do not seem to understand the intent of the unlock and am seeking clarification. > > That part of the net80211 locking handling is ... unfortunately unfun. > Without doing that, there'd be lots of lock order inversion issues and > sleeping whilst lock held issues (since it's a mutex, not a sleep lock.) > The newstate code in net80211 at least (now?) runs in a taskqueue, so > whenever something changes state, it isn't happening in a random > drivers rx/tx/ioctl path. That way newstate transitions are at > hopefully serialised and not running in overlapping/concurrent threads. I'm still a little unclear here. Why does it inverted UNLOCK first? Wouldn't that mean the state /can/ change until still be a LOCK first? And, why not just do a softc-wide lock, why IEEE80211's lock function? But then there is also a driver softc lock, which confuses me. I'm also not understanding the double lock mechanism. > > However, since drivers do a /lot/ of potentially sleeping work in the > newstate path - think all the sleeping that goes on when things wait > for firmware commands to complete - you can't hold a mutex across those. This seems relevant but I did not understand. :/ -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE From nobody Thu Nov 30 22:13:55 2023 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 4Sh9Sz1rmNz52clY for ; Thu, 30 Nov 2023 22:13:55 +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 4Sh9Sy70Hkz3Zc9 for ; Thu, 30 Nov 2023 22:13:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701382435; 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=Ce6lWvjEO2G55xBmIVdD2GiqUw8k9/43We7HYf3S1z0=; b=nZwwZ0xY5BHWif5TJoow6m3JcTgHD4HSX8+MEIk9dQFOOjLZFwOqajusolBMlmITJYwEjf EcHlJyLXJuxxouY9erlOHDnFyF+r6ep+8zo7k0xP/8TIy409G8hQTIaT+1O6RIgrun7J/+ jK3lyQPFv1hSYebMlaR+LqifNggZCBEnZRV8JPnKwmMm08jilq/aj35s9zSeO+JEnbHWUv f9AsKjL3rMQTdwhHPVWqdSVV4auvjqlymPJNEWuEQD81N7xG+Ayg6iskQMLxpMfTJSfbuv 0KcQ9pdYVXsO1hpn3G60mhcQWko6cY9ojmcsSIa7BbiAVsemff6nNjx3xRAaQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701382435; a=rsa-sha256; cv=none; b=ffKtQObG2yKZ/1Q+f7+tCvbwogrc7niuqefgFcVLIxcLFim82n5FoemdvPVCxPAdrIsxLJ s2POpBpWnmAsw9Wd2WF2nmw2UKvMGx+vEs2l15ivNPdGVxmzEFcTNecZw2NVJJmjq+VfOA Ff8wHsA29bedrD9CtRwtxLEQ4jReoegvbrc4nIV6FE0xFb4mshjXSXgDe5ENyl/dGWZBsv b8bf5jWlLt/2kQGtHsUh01bzDT5mhkbY88/d+vAAuAluiNa4t6AKKSr99N6QfXTnxFDAaO Ar9PDVSuLhFufrBRFRyL8ekxUxALemvtgesE0x9kYw6xf81SFtZNZxtiz86PpA== 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 4Sh9Sy6302z1768 for ; Thu, 30 Nov 2023 22:13:54 +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 3AUMDshU017662 for ; Thu, 30 Nov 2023 22:13:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AUMDses017661 for wireless@FreeBSD.org; Thu, 30 Nov 2023 22:13:54 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 275344] RTL8192EU usb wifi, hostapd error Date: Thu, 30 Nov 2023 22:13:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275344 --- Comment #9 from Bjoern A. Zeeb --- Just as a note (related or unrelated but given I hadn't seen this before either). I just tested rtwn sta and monitor and ended up in: wlan113: link state changed to UP rtwn0: device timeout wlan113: link state changed to DOWN firmware: 'rtwn-rtl8188eufw' version 111: 13904 bytes loaded at 0xffffffff82a9d000 xhci0: Resetting controller=20=20=20 uhub0: at usbus0, port 1, addr 1 (disconnected)=20=20=20=20=20=20=20=20=20= =20=20 ... I believe this is likely an unrelated problem but also rtwn/usb. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Nov 30 22:51:59 2023 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 4ShBJv4S9Vz52vdS for ; Thu, 30 Nov 2023 22:51:59 +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 4ShBJv3RVJz3csn for ; Thu, 30 Nov 2023 22:51:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701384719; 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=q7yc0cfhyhicSa6sGxt5w/r1B/n7mcQXUG0LhrBpSa0=; b=J7fcpB//2rvVwBKyr4T6C0QWUb/fnSDyOjr32Klq0uJPEymcwyQ8OdgHH9QECCrY+SSsoj 373cxYxgFxx61+SHMzUGP/87cm3uThXI2abEjTpjPnWTy9Hpu8ZvvDynuFwtezblaIVrB3 vWum5BM9CGMGDb/vDprcBu3Ty6YjPxaltLbyG2koqhh/jwz4fzc1dx624xiCO5ogumHFzH L+vsBA+1aB58z9TQEyTgN+4WHKwbLRoMDspjX3BkAjzM75NWpGD7GRFkiZVA0SqTeBLl03 cuHl2Orq1OqXM01aqmOTs8gyy1NUBEVivyIdfHtB7OTIIy6KwB28ZgSVKJ6XKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701384719; a=rsa-sha256; cv=none; b=m9i9SMBKX/eG9W1r05DwhfCw/q3O4ISyVaMtsIQRHr2ZM+17M1N/TwKsyZ+EowCy9F730p +wwC8zUoAnEICp2gWM0ZtiVADpVDJxfE9p6cXIBjjf11VdVAcTfSPvD9tXWAPhaJKNToSG hsvan7peMfMOP9rKcWwQEho8fRIOsbJtq1sgp6lbsF5wQXbjcUvXIY+LpCEGamUPg3Bk3p fKCldKwOCBUjJuBz9ZMUYS0XyG4HXQQM4BZcGTO+fHfRlr6ySOWUmvo8wjLmvO3SmhGEgj FW0pDzj18BqdM1D1g5EDDPNGwjG4BC6j8s00fvgZQy9Bt7QwHwC/Vzff+NsMhQ== 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 4ShBJv2XlPz183T for ; Thu, 30 Nov 2023 22:51:59 +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 3AUMpxNt076971 for ; Thu, 30 Nov 2023 22:51:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AUMpxvo076970 for wireless@FreeBSD.org; Thu, 30 Nov 2023 22:51:59 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 275255] iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Date: Thu, 30 Nov 2023 22:51:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275255 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |--- Status|Closed |Open --- Comment #2 from Bjoern A. Zeeb --- I'll re-open this. lkpi_sta_run_to_init() should not be affected by the problem in 271979 give= n it does not re-lookup ni -- at least not in my local tree. Also you made it all to mo_sta_state(NOTEXIST). That smells like a bss_conf update removed the sta for us. I've hit this before. Maybe only with pre-22000 cards? Test case (likely to reproduce): get into RUN take your AP away wait for connection loss to happen that will trigger the RUN -> INIT newstate change. Things will proceed from that. My 8265 is currently buried somewhere but I'll go and give it a try in a few days hopefully. Can you reproduce this somehow? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Nov 30 22:51:59 2023 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 4ShBJx1ZZ4z52vhM for ; Thu, 30 Nov 2023 22:52:01 +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 4ShBJx03Jdz3ct8 for ; Thu, 30 Nov 2023 22:52:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701384721; 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=cHpIQGrhJw04tJ9T1OHTc/yudsIPO7oC16evDPf3q7o=; b=tY0ph3o6FPemO7X/yq2ibkqJVTGn/fLad4bCbGI+IFNnugmY61XGqIKMX+4J+dzPH9XTmT fZ8GjWhwsjnlyVVlgDKLR+hLFdxZOpuYzsCpFeVBIN/R3Q2J/z7DXYzGIEBVoon5LvSM1w 13YEfWSAdS/5abrNOHh2u+aRqSKVu+XBtk2KnyN8iBlWbphutgrr92CvYjvgabBQHgwRJN 2J7ZvFtl6T8NEDlxEIk0lix4+F/5N0r+++AmSbyOR5OYk/5uk8bvql5d5kD7kmOgrVkxcu aySivYbIoKaWb7NQmqms45cX+xiGhMDBQnRdyoP5DQriJs16VZXR2D6GqAKfaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701384721; a=rsa-sha256; cv=none; b=QCuATngUYc10RVvvC3GqphbJUiHGkC3TmZhaMKaYLBEyqvNWImw1drdy+UKjVFFLCx6Mbw o7h8rTQ2lSUZ6fxL9lxXxKWR6gZqVo5iMMKYvKoZv3nIcqpmr3ef86ozp3+rBpd/zoX2zL HpeNr/kfT0EDLu2H63eDlzOzPBTUnSfGipZ5qRalo6CaMbXmBvCupPhHA84aWkXxgIC8bP AdA7963F/MGd9Y98E5vUDV9nDRe/ysWHzGBjshFAoRnzoiC1YxH/1AAWiMaOYy0jflRsDv 3/VVoN2x4KgtwSgh+sjr9lXG1RK5XX7qehlqsNZR2OvevjeuRkK2eiNZzqMqBg== 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 4ShBJw63fpz181J for ; Thu, 30 Nov 2023 22:52:00 +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 3AUMq0WZ077086 for ; Thu, 30 Nov 2023 22:52:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AUMq0oU077085 for wireless@FreeBSD.org; Thu, 30 Nov 2023 22:52:00 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 273620] iwlwifi meta-bug Date: Thu, 30 Nov 2023 22:51:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273620 Bug 273620 depends on bug 275255, which changed state. Bug 275255 Summary: iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error = -5 during state transition 5 (RUN) -> 0 (INIT) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275255 What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |Open Resolution|DUPLICATE |--- --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 1 00:28:25 2023 X-Original-To: freebsd-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 4ShDSc6l8dz5319m for ; Fri, 1 Dec 2023 00:28:48 +0000 (UTC) (envelope-from farhan@farhan.codes) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4ShDSc1DwZz4KV7 for ; Fri, 1 Dec 2023 00:28:48 +0000 (UTC) (envelope-from farhan@farhan.codes) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farhan.codes header.s=fm3 header.b=FxoILyQO; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="w/QRLmDx"; spf=pass (mx1.freebsd.org: domain of farhan@farhan.codes designates 64.147.123.20 as permitted sender) smtp.mailfrom=farhan@farhan.codes; dmarc=none Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 81F423200B83 for ; Thu, 30 Nov 2023 19:28:46 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute5.internal (MEProxy); Thu, 30 Nov 2023 19:28:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farhan.codes; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1701390526; x=1701476926; bh=2bS9dtMRvPP4Ykyr846DPLjpX La+vZpjaqcrbv08Xwg=; b=FxoILyQOEONBgi6lLo9jpCG2QLWf1uBMplx8XkJSk jWELsLEZZ/o2mjmDvTcZW6FKp+ujbO3O4wqnohko6LzjeprMKxKeJ/6jghL0mtR6 BVWgfBvXeWQHw1sYMRop52CmxNR7fc/aT2CtWtZAM3xFqLb8caG6z7IrmsnB6f4z qZ1zkuYkODZneaq18OUbLG8sVJ8wcdvqMBeLLW/9CxMdlimlfsoZwDYfd84Eoa7U wFqvEUJR26OygVvzygChkdF+A2mjRV9up+cynquRyosRgzpYXwVVQP5QshqvqEKh Gr1uAX5KjQ8BYHRX9BurH2wJZSIM7+o6Cl4mlHob9IGjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701390526; x=1701476926; bh=2bS9dtMRvPP4Ykyr846DPLjpXLa+vZpjaqc rbv08Xwg=; b=w/QRLmDxrrslEwY2XkkJS5K6BzhiN6cGR5DdiQ3jNKyoUgyW9RV PhKGBZaJ6J8DNiTSB1QF0PWr/eNLBTGf2BpJoCbkNVBKh3XB7lOqeX7otlX+wTQD /KigRF+QaiVQgUZu6IIkYW+NwqWF60XmWvj+Jsh7FqhLv/3l+xGXVjD8VIxvXrn7 XwWjrG/PnDS3cG8mUtthxt2NAnqwW/cDnfmbrQ0VgKXm56ekaFUzmPP85a9hi8lg VCxVgE+AgeGR5Oa9RaYCGggyC5FIrvVR/6/3t970Yec5E9sfWZJ8KCLrIlETaoN5 EidsGxxT7giQVH49tT/kpCTiqV//EKQhOjA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeikedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfhfgrrhhhrghnucfmhhgrnhdfuceofhgrrhhhrghnsehfrghr hhgrnhdrtghouggvsheqnecuggftrfgrthhtvghrnhepieejtdegteevhfegvdefieeghe ethfduudffkeevffejueegudevfeffuddvheegnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepfhgrrhhhrghnsehfrghrhhgrnhdrtghouggvsh X-ME-Proxy: Feedback-ID: i61914458:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C1E5E272007B; Thu, 30 Nov 2023 19:28:45 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1238-g6cccb1fa34-fm-20231128.002-g6cccb1fa 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 Message-Id: Date: Thu, 30 Nov 2023 19:28:25 -0500 From: "Farhan Khan" To: freebsd-wireless Subject: net80211 specific questions Content-Type: text/plain X-Spamd-Result: default: False [-4.99 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RWL_MAILSPIKE_EXCELLENT(-0.40)[64.147.123.20:from]; R_DKIM_ALLOW(-0.20)[farhan.codes:s=fm3,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.20:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; DKIM_TRACE(0.00)[farhan.codes:+,messagingengine.com:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[farhan.codes]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4ShDSc1DwZz4KV7 X-Spamd-Bar: ---- Hi all, I have a two questions regarding net80211's drivers: A) What is the difference between ic->ic_transmit and ic->ic_raw_xmit? B) What is the difference between sc_snd (which queues mbufs for sending via ic->ic_raw_xmit) versus using sc->sc_tx and sc->sc_rx? Both seem to queue mbufs and transmit them. Thank you! -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE From nobody Fri Dec 1 00:39:20 2023 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 4ShDhm2HQZz532BX for ; Fri, 1 Dec 2023 00:39:20 +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 4ShDhl6m3zz4Nfn for ; Fri, 1 Dec 2023 00:39:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701391159; 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=H4d8ymXJ0bmQCveNyQ5UgjxG0HfqjRg3p2bVwym1WCI=; b=N2nej2B4jbpG7nVvFEgNJYz3FYCbu1o3na0PWcFdGiCUgEsuc0Cpvtu18kQ0G2FXurWuZ6 +hMHsR9LMIkfiqyvozpqYw6yjLoJl6eS8bvWgqcSoT5L1kvQbKnQtf9iJ4N/03iYakAfbu Ds7L1Ry23VbeXg7KjovbyvnqiCKhBDBiVP4jfN/kQpn4mONKFNIT3bLFuwSDaoU7vaU/tS wxuWEK73hW6iIy83gqyXOx5Bnr9HqTjC5YcG9L6P4NMaANAwm5HnyRgRMwT6fEWejLZBCs RvoFC00e1uFnxGAfMVbqkUtRhL1B34VTYqmyTJoy8QpG3O+mIf3cqu/nrI/MQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701391159; a=rsa-sha256; cv=none; b=nZ+5x62dE6rw5xmKpdXcu27nsver0K2IUMYS+Lpjyz/0J5HmJzepENHlacUHZe5w2DEfEw x15fLtBjGhLOi94yaEua/buFWYUOoxuT6hmW5xvxKP8QtzYyzA/UZipc4ZvgjoUvei+rNT YSiaZeTlzAnxvVsoDKPKEwY8iu0nDGWLiCwgJcOYsorJa5wkeM6FfsLxCy7jCGgrcG3WLQ zAY49tkEy0yMWA2EDErsSCbteSez+/t+0l9VxyFLLeZe0srKpkJmhBBv8FBBYwqmLerxv4 hPvOVruizO419PQelogvHAi7v0TtCcptvrjwaRACzGy6iUSHCotdusC+2eaOAw== 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 4ShDhl5pslz1BBC for ; Fri, 1 Dec 2023 00:39:19 +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 3B10dJKj044911 for ; Fri, 1 Dec 2023 00:39:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B10dJSP044910 for wireless@FreeBSD.org; Fri, 1 Dec 2023 00:39:19 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 275255] iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Date: Fri, 01 Dec 2023 00:39:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275255 --- Comment #3 from Bjoern A. Zeeb --- (In reply to Bjoern A. Zeeb from comment #2) obviously we do hist the beacon loss first: [2339.509731] iwlwifi0: linuxkpi_ieee80211_beacon_loss: vif 0xffff0001d6b09= c80 vap 0xffff0001d6b09010 state RUN [2339.612089] iwlwifi0: linuxkpi_ieee80211_beacon_loss: vif 0xffff0001d6b09= c80 vap 0xffff0001d6b09010 state RUN [2339.618158] wlan1: link state changed to DOWN which will get us into sta_beacon_miss and switch to SCAN. And lkpi_sta_run_to_scan simply calls lkpi_sta_run_to_init. Doesn't go kaboom on a modern card; in this case a B200. I'll go and find my 8265 and try again the next days. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 1 01:14:21 2023 X-Original-To: freebsd-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 4ShFTX5qWQz533pX for ; Fri, 1 Dec 2023 01:14:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ShFTX480Jz4SyS for ; Fri, 1 Dec 2023 01:14:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50bc57d81f4so2320229e87.2 for ; Thu, 30 Nov 2023 17:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701393276; x=1701998076; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=A0vJEaLzZIWbUgIp6qaxp3ddTQ7GmdruHcbAWgqR15w=; b=JmFr8bulvHFg3WDCN4HIlrz/MItE4oh5KbSKayAcv/Wt6m23JgXqp883Jptxs69UZ4 i5jTn3Vcc7Wkd2zLK2VSp3ngFJAbnj1QbB+ZUgAkXRKzDWJbaW1lGJxguroHtTaWCL5l gNQJM9oaLWWLmaO+UcgwS1mV6lrbbpTWXnrmSOj26EPjraJrPMtufaO9mBBRAgxufxnl gDotTYJsvZzTrbSkJXrEnKAGavJQ+nvtIxN4GMevXOYlK026+qQ9wXaRZTz7FpVE5Lgj l2NEi2RYqZ8z0muRapN+7M4V92+P2SZ1OWb5LDfkrn9BS3kgzTQHg2BiachOGAokaYRC hhDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701393276; x=1701998076; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=A0vJEaLzZIWbUgIp6qaxp3ddTQ7GmdruHcbAWgqR15w=; b=BGxjRdk3/Qe3MDaiDRBfK/kNuBeNCg2yoyQ99+JBKU09BQY2QT/sRo73si25PMSR9/ crgrAHCVVU74OtXOO7xM8kssJHDGsWL6J56cCXN75eySnelFAftKDddhgE5Jd+F6L0+q 170Gv5TIoECJ6ecU2EXyRo8z7lQ3iv7/WCmiYtBcZEx4er1bhTosk+VI+QdhJxFdyUyW 4zd2k4p5sYJVN3cAvu/JANuP97Sl+5qbhIXdsxv68VcotLV7KdCkfHtgw9pMeKm3Lbtf LssXXZRjtboXpIJfMRW288mzc7CT6GBYnwb0DlR8elnsHBYNPT+yHVVYAd45CIss2boK XAnA== X-Gm-Message-State: AOJu0YwzctKeWHVAB9bEa5ymsbhy3FjhJHhyYHaN9zl+mgDQf67SIjFi 7lI5lmLX10YkxilLQxbZWhq+MlZijprjWTFb7U71IPPn X-Google-Smtp-Source: AGHT+IESRvqZWI2rBLZmGOk696HsyWzAvLiPYecfCnUcquvuIwTycV9VdHA16XgIi56WQKWy+EItBerWaWU3WgOf4HM= X-Received: by 2002:ac2:5f62:0:b0:50b:c9ab:a41c with SMTP id c2-20020ac25f62000000b0050bc9aba41cmr147119lfc.56.1701393275797; Thu, 30 Nov 2023 17:14:35 -0800 (PST) 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 References: <629e3534-705a-4dcc-ad16-edba170da251@app.fastmail.com> In-Reply-To: From: Adrian Chadd Date: Thu, 30 Nov 2023 17:14:21 -0800 Message-ID: Subject: Re: Why newstate handler runs IEEE80211_LOCK/UNLOCK? To: Farhan Khan Cc: freebsd-wireless Content-Type: multipart/alternative; boundary="000000000000d3c6fa060b687d04" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4ShFTX480Jz4SyS --000000000000d3c6fa060b687d04 Content-Type: text/plain; charset="UTF-8" On Thu, 30 Nov 2023 at 08:10, Farhan Khan wrote: > On Thu, Nov 30, 2023, at 1:24 AM, Adrian Chadd wrote: > > On Wed, 29 Nov 2023 at 22:12, Farhan Khan wrote: > >> Hi all, > >> > >> I'm studying the implementations of net80211 and noticed that in all > newstate handlers the code begins by running IEEE80211_UNLOCK(ic) and ends > with IEEE80211_LOCK(ic). I was not clear on why this was, I would have > expected the opposite order. Also, why not just use the softc device-wide > mutex over one for ieee80211com. Overall, I do not seem to understand the > intent of the unlock and am seeking clarification. > > > > That part of the net80211 locking handling is ... unfortunately unfun. > > Without doing that, there'd be lots of lock order inversion issues and > > sleeping whilst lock held issues (since it's a mutex, not a sleep lock.) > > The newstate code in net80211 at least (now?) runs in a taskqueue, so > > whenever something changes state, it isn't happening in a random > > drivers rx/tx/ioctl path. That way newstate transitions are at > > hopefully serialised and not running in overlapping/concurrent threads. > > I'm still a little unclear here. Why does it inverted UNLOCK first? > Wouldn't that mean the state /can/ change until still be a LOCK first? And, > why not just do a softc-wide lock, why IEEE80211's lock function? But then > there is also a driver softc lock, which confuses me. I'm also not > understanding the double lock mechanism. > > (bz@ please correct me if things have changed :-) ) The only thing that TECHNICALLY should be driving state changes are calls to ieee80211_newstate() which will eventually schedule a newstate taskqueue item or a callout. I forget. Thus all of the state changes are serialised by that single newstate. It's one of tehe reasons why there's those occasional "state change lost" messages - there's no queue of state changes. Just the state change call, some currenat and new state, and then that callout. Changing the upcoming state is protected by the IEEE80211_LOCK mutex. But, it does lock, vap->iv_newstate or whichever method it is, then lock because you can't sleep whilst holding a mutex (eg what happens when you do a firmware command send in the intel drivers that completes via an interrupt / another kernel thread.) Ideally the net80211 lock would just be held across the whole thing - and for the driver net80211 was written for - if_ath - that would've been possible! But the moment sam brought in other drivers for firmware chipsets, this model broke. Lots of drivers, wifi and otherwise do this, especially in their receive packet path. It's quite frankly a terrible code pattern. One that I've had to carefully use. :-) > > > However, since drivers do a /lot/ of potentially sleeping work in the > > newstate path - think all the sleeping that goes on when things wait > > for firmware commands to complete - you can't hold a mutex across those. > > This seems relevant but I did not understand. :/ > You can't hold a mutex and sleep. You need to use a sleep lock (man sx, or man sx_lock, I forget.) If you're still having trouble understanding the freebsd locks, mutexes and net epoch stuff then it may be worthwhile for us to post a quick overview of it. ;) -a --000000000000d3c6fa060b687d04 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, 30 Nov 2023 at 08:10, Farhan = Khan <farhan@farhan.codes> wrote:
On Thu, Nov 30, 2023, at 1:24 AM, Adrian Chadd wrot= e:
> On Wed, 29 Nov 2023 at 22:12, Farhan Khan <farhan@farhan.codes> = wrote:
>> Hi all,
>>
>> I'm studying the implementations of net80211 and noticed that = in all newstate handlers the code begins by running IEEE80211_UNLOCK(ic) an= d ends with IEEE80211_LOCK(ic). I was not clear on why this was, I would ha= ve expected the opposite order. Also, why not just use the softc device-wid= e mutex over one for ieee80211com. Overall, I do not seem to understand the= intent of the unlock and am seeking clarification.
>
> That part of the net80211 locking handling is ... unfortunately unfun.=
> Without doing that, there'd be lots of lock order inversion issues= and
> sleeping whilst lock held issues (since it's a mutex, not a sleep = lock.)
> The newstate code in net80211 at least (now?) runs in a taskqueue, so =
> whenever something changes state, it isn't happening in a random <= br> > drivers rx/tx/ioctl path. That way newstate transitions are at
> hopefully serialised and not running in overlapping/concurrent threads= .

I'm still a little unclear here. Why does it inverted UNLOCK first? Wou= ldn't that mean the state /can/ change until still be a LOCK first? And= , why not just do a softc-wide lock, why IEEE80211's lock function? But= then there is also a driver softc lock, which confuses me. I'm also no= t understanding the double lock mechanism.


(bz@ please correct me if things have = changed :-) )=C2=A0

The only thing that TECHNICALL= Y should be driving=C2=A0 state changes are calls to ieee80211_newstate() w= hich will eventually schedule a newstate taskqueue item or a callout. I for= get.
Thus all of the state changes are serialised by that single = newstate. It's one of tehe reasons why there's those occasional &qu= ot;state change lost" messages - there's no queue of state changes= . Just the state change call, some currenat and new state, and then that ca= llout.

=C2=A0Changing the upcoming state is protec= ted by the IEEE80211_LOCK mutex.

But, it does lock= , vap->iv_newstate or whichever method it is, then lock because you can&= #39;t sleep whilst holding a mutex (eg what happens when you do a firmware = command send in the intel drivers that completes via an interrupt / another= kernel thread.) Ideally the net80211 lock would just be held across the wh= ole thing - and for the driver net80211 was written for - if_ath - that wou= ld've been possible! But the moment sam brought in other drivers for fi= rmware chipsets, this model broke. Lots of drivers, wifi and otherwise do t= his, especially in their receive packet path. It's quite frankly a terr= ible code pattern. One that I've had to carefully use. :-)

>
> However, since drivers do a /lot/ of potentially sleeping work in the =
> newstate path - think all the sleeping that goes on when things wait <= br> > for firmware commands to complete - you can't hold a mutex across = those.

This seems relevant but I did not understand. :/

<= /div>
You can't hold a mutex and sleep. You need to use a sleep loc= k (man sx, or man sx_lock, I forget.)

If you'r= e still having trouble understanding the freebsd locks, mutexes and net epo= ch stuff then it may be worthwhile for us to post a quick overview of it. ;= )


-a

--000000000000d3c6fa060b687d04-- From nobody Fri Dec 1 01:49:16 2023 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 4ShGFS5Y6mz5358R for ; Fri, 1 Dec 2023 01:49:16 +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 4ShGFS4Sm3z4Y8v for ; Fri, 1 Dec 2023 01:49:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701395356; 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=l3jdjksxpQyNejtaienOGR6DD99b4gzlmv6FyQJsPG8=; b=SWlzySQvJAZoN6FSEawVEisXaq1W8ntKnhgXteJ6huKPmPy4BtzQv3LaU8FjgEbVk4z/E3 yNAE7xkIGd8ooEyUZm8Q4M1j1NXhSK/bdgcN2MGWi/1VB7eiRBO8o9qf2L2DC40tgewB02 NzIj0lpj7iw9cduFzMmhNQBjQu8xQloTstJ4D9e6SEE5bzh07AyyQuxFhzFVaxSN9m8gw6 hBBoP2LmC/yr1VjfEtSCEFZTuEYpCIdV5jQFdA9XSMmOB9f1gcW5fnYGltMCNIfOAFDcGS Fxbn/EIwKtib1yqRIvAH3CA7QT5qnkY6JseyUQjs9PXOjzBWTOxNMipQYzRAOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701395356; a=rsa-sha256; cv=none; b=t5pd7cLvHHdQ5R/FBzv832Tx0wJNBjF8VSm4Mbj6Aoa+sk+y77YsRBDYD2cNzeeOKe0Bhm n7qi3XgyoYSCdeUZCA6mZp7GY/fOo8hyzod34pJAv3M3wWCmYscwLvuZKX1lH50Edawb86 Mp8w3Djtg3DhmG1MymfA41TZZHEWMpATejtzkDtHckAJ6sAKhxsV+GxHM7hw/LXUzbEerX JelqR+Ypb4HqmeDJAqCM4WKxZwEbRT7VkCj/CbR1sCnZcfknyegxcWmsnrEL8dxYYrUmH0 I5NylqXIKuJL/4FkoYtPfDDphetgj68XEx5fUs0LFJep9kI/N1DO2I5QNpMRYA== 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 4ShGFS3Xr8zTn for ; Fri, 1 Dec 2023 01:49:16 +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 3B11nGDR051027 for ; Fri, 1 Dec 2023 01:49:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B11nGb5051026 for wireless@FreeBSD.org; Fri, 1 Dec 2023 01:49:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1 Date: Fri, 01 Dec 2023 01:49:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #37 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D643d6dce6c1e39f067f8d0feea8615913= b324891 commit 643d6dce6c1e39f067f8d0feea8615913b324891 Author: Bjoern A. Zeeb AuthorDate: 2023-12-01 01:37:25 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-12-01 01:48:34 +0000 tools/net80211: add mlme_assoc mlme_assoc is a tool to trigger net80211::ieee80211_sta_join1() calls which in certain conditions cause problems to the LinuxKPI 802.11 compat code (but also believed to possibly cause problems in case of race to other firmware based drivers). This has proven to be a good reproducer for the problem even on setups which otherwise could run for days witho= ut hitting it. Sponsored by: The FreeBSD Foundation PR: 271979 tools/tools/net80211/mlme_assoc/Makefile (new) | 7 + tools/tools/net80211/mlme_assoc/README (new) | 51 ++++++ tools/tools/net80211/mlme_assoc/mlme_assoc.c (new) | 200 +++++++++++++++++= ++++ 3 files changed, 258 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 1 23:38:29 2023 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 4ShqJ53whWz52WRr for ; Fri, 1 Dec 2023 23:38:29 +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 4ShqJ52vM1z4RdV for ; Fri, 1 Dec 2023 23:38:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701473909; 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=7r6k0f+1UOf4qn9A+F3DODdIFJYNOnd54COJ0SOWcOM=; b=k/aZ6nm8fIaU8a1bdOfa88vO/UOg9kzcml3NinB2gkrhdAIDO/q3QAlxrV+6FqZfje8Ecy nXpTeaGoX3kly/tOdZCv+esIxMzRPjNdYRLUBqr3I9G5YcSzKI7vMmxxFKDckFjQDl2AWA CNNs03BQGxT1dM/nS/Olvljv+XlnBzRtsv+VylDbKLzB4I4JbCptNdZL5eWbZ/uwRKEHFg it3QVdnjp/+HHekwCGJ29C+KoUadqv768xvN6i1NOfa6vOE0IZyPAVy1LmOv5QU4vHAKPJ L1atJUB4kQPIsY/qi3KhC4u7FcVFvqeNhU4+z+Rhzbc/N+fSVQYp2SRJNt2CvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701473909; a=rsa-sha256; cv=none; b=E76PNREvJqmCwHW4Ik/CDeHZvR3Ijzktl43ZLqYd/G6fBpaiNwA084KTqdgODQ0OpBh9ks ZrBvHCetzUriGJpFISEzBtoVjQyYGkRP0hr2aKbv2ZXXo0JZRowhTt0FdP2bRGmAq6OjdP ZylxJwXUjaKTafq9iYHJP8u4UkJU4fzl88EaYOHDs99JgCMhg0I1jPe+7KMylXY39GiJ88 er44J16Qs2dnzYxe3S6eRUxunl6qYHyqdB0yHKe1UL6SSW7dkHieij3f/4Gk7YaojOAWCL nHJdKajJZcKjmrtgbF4+gmycdZEspGYd6hYExB9zPJVfZnJtHUmRy6ISJZexbw== 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 4ShqJ51tfKztVk for ; Fri, 1 Dec 2023 23:38:29 +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 3B1NcT11047406 for ; Fri, 1 Dec 2023 23:38:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B1NcTAE047404 for wireless@FreeBSD.org; Fri, 1 Dec 2023 23:38:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274990] [wpa] wpa_cli scan_results times out after 10s with no output, making installer wifi unusable Date: Fri, 01 Dec 2023 23:38:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274990 --- Comment #16 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbe7c095ac99ad29fd72b780c7d58949a3= 8656c66 commit be7c095ac99ad29fd72b780c7d58949a38656c66 Author: Gleb Smirnoff AuthorDate: 2023-12-01 23:37:29 +0000 Commit: Gleb Smirnoff CommitDate: 2023-12-01 23:37:29 +0000 unix/dgram: bump maximum datagram size limit to 8k This is important for wpa_supplicant operation on a crowded network. Note: we actually need an API to increase maximum datagram size on a socket. Previously SO_SNDBUF magically acted like that, but that was an undocumented "feature". Also move the comment to the proper line. Previously it was the receive buffer that imposed the limit. Now notion of buffer size and maximum datagram are separate. Reviewed by: bz, tuexen, karels Differential Revision: https://reviews.freebsd.org/D42830 PR: 274990 sys/kern/uipc_usrreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Dec 2 20:38:38 2023 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 4SjMG65YpBz52W4C for ; Sat, 2 Dec 2023 20:38:38 +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 4SjMG634Vzz4f09 for ; Sat, 2 Dec 2023 20:38:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701549518; 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=4JRlmv86eMkt71Ix4DDcJFIAC/xs24dvGqU57LHAo8c=; b=W3qngtGUYfEdHSYI7+lUTjI/v5hEh0PuM5RlHfhMVCFnfsx8y+qPQt0LX70Dk7QqRdmgBs P54xnSkBOqPrUFT5RbTR5C2gegnVrWPPr9gtxzC5TzUngWVmB0NrbwJzRPVqgdA5Mx8YoB Bl1Gaj3MrNlKpDOS+/RUwNZdjfdLNTHimk9YWWWWcGkttrpgYKTVHS5r3TWo+m/28cjOYF /WPrfp/KuKeuGjFkYRAhmt4KcJktPmVypEzPgfG+KEbvDxGGlDwH0s7BIxl4gupqF3eBwt 6GEAG9veBclxA0i7XNwSUhb3XB8QHGT1iJkzAyUv7niz+Jsc7oh0CUWSEBn8UA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701549518; a=rsa-sha256; cv=none; b=kcGIskPzveALY6wMjzdzzo7rTajeHb1PFHaogPrnz8BpYebmE+CURsHnCKeh81qQsQMp1B DcBdKh1u+7sncm9jCpdHbG0J4gb4QQfkKGjgyLZOX5+CVh9ihBY4m4Dmq1Zce4ttiIQq6q HMYO0NI5ess7FPghYv9e7CUB/rk8QwijZ1fGFJqnM8PMBT2O7wTSgu3LX6TEpFbTzUfjvo +whnXF+Ih/bvlFjoYhou7rsDimSyqWN5LuOZE803sxKIAzjVUJi3iaeeXRu06FjkxSbk1E 6YoTnjHu+YXGwhF2USQy1R8rl5Y3gBGkXKtyBx3Yl0FZtCGfEo4vtE/QW/1X4Q== 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 4SjMG61XJLzX7y for ; Sat, 2 Dec 2023 20:38:38 +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 3B2KccLW065835 for ; Sat, 2 Dec 2023 20:38:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B2KccaZ065834 for wireless@FreeBSD.org; Sat, 2 Dec 2023 20:38:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274990] [wpa] wpa_cli scan_results times out after 10s with no output, making installer wifi unusable Date: Sat, 02 Dec 2023 20:38:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274990 --- Comment #17 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1edc20b76953d9ef571b0bcf89b206b98= ed13d9b commit 1edc20b76953d9ef571b0bcf89b206b98ed13d9b Author: Bjoern A. Zeeb AuthorDate: 2023-11-12 20:33:41 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-12-02 20:37:36 +0000 wpa: ctrl_iface set sendbuf size In order to avoid running into the default net.local.dgram.maxdgram of 2K currently when calling sendto(2) try to set the sndbuf size to the maximum ctrl message size. While on 14 and 15 this does not actually raise the limit anymore (and be7c095ac99ad29fd72b780c7d58949a38656c66 raised it for syslogd and this= ), FreeBSD 13 still requires this change and it will work as expected ther= e. In addition we always ensure a large enough send buffer this way independent of kernel defaults. The problem occured, e.g., when the scan_list result had enough BSSIDs so the text output would exceed 2048 bytes. Sponsored by: The FreeBSD Foundation MFC after: 3 days PR: 274990 Reviewed by: cy, adrian (with previous comment) Differential Revision: https://reviews.freebsd.org/D42558 contrib/wpa/wpa_supplicant/ctrl_iface_unix.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=