From nobody Thu Aug 29 11:50:42 2024 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 4Wvfjw2Dh1z5Mpxg for ; Thu, 29 Aug 2024 11:50:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wvfjv6LDMz4TT1 for ; Thu, 29 Aug 2024 11:50:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724932243; a=rsa-sha256; cv=none; b=XrLuNrNaBmawqGt87Q2fP+dUF3AfEKGAJIhC1jYqvqxJU5EmzUy1721VoSbjkL49PkVhum mcuAmcuA2lJvEvKR1i73meQ2D8SAkQMJ5j0AxXu4IPMoiZYu8iU99nuMT6v6oVQNIl4kCK gHh8C2jXwKYfOlLOGdwL9kUhi/wy3JQ2WW4lJq50vgbkPI2ucATDWrXkPezHu5gXOz6i9F DuCVZvsFLFDFs+gKC0GGNbVajdCKPHd7vKXR9FhWzfvS/QkmSP4Vc8rmgo9XU+h5+w96cB cui11KF4/yoh1VgmzDrdoTQjE20iJBjBaXkvHVxH+LeSF8o5JM166FoTdPARiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724932243; 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=sS/Zjh4cP0E0cv6hIPyFsL+EAyi5gfGtThZXETyuUD4=; b=VXp/+rqFlshPEbYOepTbkGtptSA0dIL5NSkKPLq8MKtJ7+nRZJw+dA18POUZ5VLL1nDJa6 zDAAhmoSKYLU31LNkDPdOGOdO/D+sfU4BTIQZbQGeEFNllDeNzM+lsRV/vC8NEfuBh1pSn YNaEcagtEiydklK+FHP60O/Ed/IthMQS7NJmMFQgk4OJVPJC4Bm/7+jtsDYMW6K7J8g1zQ YH2JBoCxEy777e6ILzjeyp4GqgiNegtijh4qJWUynAzSS63szIgVuT7ndNpx8HUvPrraYL oGBHQaHowPhze1Fcf/8aqXAJFFnb1SVjQDNbtMstiDkrqQR+V3Ebc5ZF68WfxA== 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 4Wvfjv5qGXzGr0 for ; Thu, 29 Aug 2024 11:50:43 +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 47TBohxT053192 for ; Thu, 29 Aug 2024 11:50:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47TBohuI053191 for wireless@FreeBSD.org; Thu, 29 Aug 2024 11:50:43 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 278306] service netif start doesn't bring up the wireless interface if /etc/wpa_supplicant.conf is missing Date: Thu, 29 Aug 2024 11:50: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: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278306 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #10 from Bjoern A. Zeeb --- (In reply to Oleksandr Kryvulia from comment #9) Thanks for the feedback. That in theory seems the right solution to me. If we wanted to "automate" this and let meta-flags like DHCP and WPA count = as well, then we probably want to make sure the IF is up before wpa or hostapd start? I am not good at this and I probably do not understand all the possible side-effects but maybe someone from rc@ or net@ can review this? I wonder = if this would do the right thing... diff --git libexec/rc/network.subr libexec/rc/network.subr index 257643f48ba5..7e8502273353 100644 --- libexec/rc/network.subr +++ libexec/rc/network.subr @@ -216,14 +216,15 @@ ifconfig_up() ${IFCONFIG_CMD} $1 description "${_ifconfig_descr}" fi + if [ ${_cfg} -eq 0 ]; then + ${IFCONFIG_CMD} $1 up + fi if wpaif $1; then /etc/rc.d/wpa_supplicant start $1 _cfg=3D0 # XXX: not sure this should count elif hostapif $1; then /etc/rc.d/hostapd start $1 _cfg=3D0 - elif [ ${_cfg} -eq 0 ]; then - ${IFCONFIG_CMD} $1 up fi if ! noafif $1 && afexists inet6; then --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Aug 29 12:13:32 2024 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 4WvgDM3VNqz5Mrld for ; Thu, 29 Aug 2024 12:13:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WvgDM2wM3z4XPV for ; Thu, 29 Aug 2024 12:13:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724933619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=9zxNhko6Pg2Rum8xmcEoSobTAgN14BDYUYAX7tXqNew=; b=IUb6aBzoVGSLAltKAGY42ABafPnqFzwzWmMwYscJAWNwz7EUswPvqejGWzye88npP+A8vq GwSD5B2zeuYWaw1crpY++jrJPptVj3jerBUb6MRPzdPzl0OR0lbLBG2Bo1+E7p4oZseEXa aiS1w0PGL4XilhhiMCxXQGmk+yeh15umhdVwHLA0WBlEPCT6Oun5Uew+aPMu9Nx7Ti3Yk/ DE7RllmkxVh4VvREhBfH8I4x8R3Gb+xUZ0SJ9T8FL9N4DHoprnTnYjCVHKBkqTIpLHxcR7 xBTTlsNW8hej4f/yG4Izm0tXvbcNxLIEfkDTzxDvJ1bmf0LluwgYh89iPjrDgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724933619; a=rsa-sha256; cv=none; b=a8+Be2sKrgexX4eagAWTK+3ci9jVUXxCSl89bFCmQ6PCplMD2fRoFXArMRmxU24voInTEe k5RIDOZfofV5/DQ5iSTkrgWQYyOU7sP37Uxrg/b6n93ydplKaWnL7WuDY7qMFoWTeDOPwr Cw+cI91lj2ujS4yqBbGFj0e1Km9+a15JbbS/lE1VG0+8WEn0fmjppJ0n9vbihOUVjJn68l tAz/Ji8tlK4o+ldeM/6lCC6jvKc1N2qnkq3F4tA9MzcxbiZ0Q+5Wlb7sdmn9ZlFoC2xL4w 2dkR4tQ/gpboK8R6xpgK5FI9K6PjSIyx85jz5GqmNhk0I2s3qBr077bS+NXsNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724933619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=9zxNhko6Pg2Rum8xmcEoSobTAgN14BDYUYAX7tXqNew=; b=VALooOooktCosvxxY5PmaHcVRCR3Jh0WAsOgtwoBNs4imwWtSZk6MTKm8KU/YB9uko/fYB 1JbUb7WL6hBNz2KRDX2DFY+34jlCqavD89ntSg7bSy2w8QF1CYZT3dYZxh4tj7AGxxocQn E0bOR3zqDbOHSKU9w2KN7wNsnkoLVJ3rZl1QMSh/ZDWUzXPAUBy/LnmaU4MDGocoHFPoOK X3C3GkKvCibVckgTaHsDr7xZQg8U0zmG4IOOf1Zx5uMYVcvGUkE94XRcmavnvR2E4V7Yw5 f8v1lI3htmH3PJ0BiRdcGyBFXMHTN0asqNa8ap4ybUAK6lNpnuAOZXbnhkSk4g== Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WvgDM1ZfGzJb1 for ; Thu, 29 Aug 2024 12:13:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id A8C8BA64806 for ; Thu, 29 Aug 2024 12:13:34 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 1D7A52D029D8 for ; Thu, 29 Aug 2024 12:13:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id ErQCbk9-mA2B for ; Thu, 29 Aug 2024 12:13:36 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id DC63A2D029D2 for ; Thu, 29 Aug 2024 12:13:35 +0000 (UTC) Date: Thu, 29 Aug 2024 12:13:32 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD wireless mailing list Subject: The blocker on MediaTek mt76 drivers - VM changes in LinuxKPI Message-ID: <3pr128oo-q8ro-8o9s-3547-8sq636pnon23@SerrOFQ.bet> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Hi, a lot of people are asking for the mt76 drivers it seems. They are sitting there and on my branch are compiling (if one flips a switch) but are NOT IN A WORKING STATE YET. In order to make progress a feature called page_pools needs implementation as pi@ has already pointed out on the PR [1]. Before that can happen a 10-15 year old very good but historic shortcut in LinuxKPI needs to be resolved. So far the LinuxKPI 'struct page' is defined to the native 'struct vm_page'. We cannot extend the native struct vm_page with LinuxKPI specific fields. It would both sooner or later become complicated but also penalize the native system massively. But more things (like page_pools) need direct access to fields inside struct page, so it's time to break that historic bit up and enhance our implementation. In my github branch was a start to change that by changing most consumers and macros (some already in main; some that were added since need adjustment) inside LinuxKPI to use a "struct page { }" which no longer ist the native vm_gae. I put an #ifdef PAGE_IS_LKPI_PAGE around that so we can flip from one implementation to the other. I know drm-kmod has at least one workaround in its code for a similar problem that functions want direct access to struct page fields. And drm-kmod will also need to be tested very carefully with the chnage before we do the switch. So what needs doing? To my memory and from a comment in my linux_page.c on github the native page table can be built in at least three ways depending on PMAP_HAS_PAGE_ARRAY and VM_PHYSSEG_SPARSE or VM_PHYSSEG_DENSE. The "shadow copy" of vm_page_array[] which we need in LinuxKPI for struct page needs to be replicated/setup correctly in all cases so that we can do a 1:1 mapping between native pages and LinuxKPI struct page. In the Linux->native direction we could store a pointer to the vm_page for that but in the other direction we need to be able to find the struct page based on the vm_page idx (at least that's what my memory tells me and I am not an expert in that field). This is something which I didn't want to dig deeper into the VM code; I know that a first blunt attempt hadn't work so I figured someone who knows the system can probably do this in a way shorter time and do it right so it can be maintained in the future. I am still looking for someone who can help doing this. [side note: one could argue to change the driver(s) and write these bits as native code but it'll likely end up in a maintainance mess given the amount of churn happening there] Once that logic is there to set this all up, make sure it satisfies all logic to stay in proper synch and that we can (in theory) also properly clean it up, then the next steps folllow, which oversimplified are: 1. Implement page_pools and other missing bits for mt76 in LinuxKPI (some probably as we go) 2. Start testing and debugging the various mt76 driver(s) to load (symbols, module dependencies, ...) 3. Get it to load firmware and register the WiFi interface 4. Take it from there... For any of these steps I'll be more than happy if other people will do them or help; I have some cards for at least two of the chipsets to test and help myself as needed. I hope this clarifies the situation. Lots of health, Bjoern [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264300#c23 -- Bjoern A. Zeeb r15:7 From nobody Thu Aug 29 12:17:58 2024 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 4WvgKN0fzBz5Ms0D for ; Thu, 29 Aug 2024 12:18:00 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WvgKM6HKxz4Xcb for ; Thu, 29 Aug 2024 12:17:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724933879; a=rsa-sha256; cv=none; b=lhRBwoTY00k5Pzzm53NjdgSJWqcgE8iN4X7RRWI0iEiYbTg+ZHf/qZXml+euRMSGD65B7F Pj3m2rMX+3hVRMgdkxl4KgEPXNKMoAWnucyIdNvcjvf0Fe9BqBqudD+pzwTv1ucK1U9UiJ 16AsuLjlMMWFR5hxg+NeAO8UsXzf6RDoLmr8NJDHgkDb4bWlu0yRpw57LLlH+ilkDidVc4 X3ZKTs8nNaUWEjgE+4ZMfz6AMoZJy7a+ieMhfjZ+PQ14y1SqVkSyvNHYY+3guX+p8GZKeQ aOYYVklapx+X1xutVWzE8Lk4MY9sl2EaQjl+jpozL5gqwyerVQWvoEmYWoIopg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724933879; 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=M7aPPpxDD3CQMgQfezHcpOIXc9wfsEkHliKm60d+ISE=; b=gpZwSHBC1NCsaisOASNsq33d2NHa2LklCqYApkchsnGYtYFqbu/aq18h1gvMdOmL/Fnd6t F6TNQBSQ61kHouBKUrNR+mNuFYRF+x8bSXaBijoGKzvPnKy/e/nk40I2f99gATV1KDmRMl VNRng0DnZZvcaWdGlk8l3+LnUp0ph2JwFJYZtumetAUu1bnhiogXo9cGzggO6ANT4DJf/Z 6moXJaTI0QgWmVhRgdYCtX3wFmbr4XHVNa9Z0c3qjfv9nj30ytMMhIw00rOhUosruU1xHe 8QYxb7lKJfF9tvvhQ5ajOa01FeMccsMOgpElN1O5DKHts5pTRWrqsRYMxm4ISw== 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 4WvgKM5rdXzHJY for ; Thu, 29 Aug 2024 12:17: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 47TCHx78071842 for ; Thu, 29 Aug 2024 12:17:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47TCHxRf071841 for wireless@FreeBSD.org; Thu, 29 Aug 2024 12:17: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 264300] Missing MEDIATEK MT7921 802.11ax PCI Express Wireless driver Date: Thu, 29 Aug 2024 12:17:58 +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: feature 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: 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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264300 --- Comment #24 from Bjoern A. Zeeb --- Here's a summary of the entire situation: https://lists.freebsd.org/archives/freebsd-wireless/2024-August/002349.html Whoever will do the VM changes to unblock this we'll see. There'll be still more work to do after and as I said I'll take any help Il= l be able to get. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Aug 29 15:24:32 2024 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 4WvlSd3zRwz5PcZm for ; Thu, 29 Aug 2024 15:24:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WvlSd0f9xz4rLW for ; Thu, 29 Aug 2024 15:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724945073; a=rsa-sha256; cv=none; b=Z8sa9BjBDRr9MaD7B7jIvetbPxkseS3wf/GZsyG/UF3IXlyQpw0HCCn48UQbVJud2VFPFe uFg3IxRa4IfhBNQPDuP27Gg/q9YNsAMium6k+ndASrSEH2XH1NfaBMA4UTKXFKZDByjMfi E1xw3QwERCbyAYH6cnEFWIeQbrAmxJu88xPQaUy226Pqv31AeuyvIVCJvQooTb5alTcXDs +P38SXy+L0OAML6sHREh5Gb2RQByqXHZ3bfFdKbz1JAxUpc7dKdEwgVTqW+M7QpTy9k+m6 QyRIbofTb/MnL1OMVFjZXui1r4QN/oHELHN+CxXLKPvBDvW235F6CHck9Xil7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724945073; 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=jcSh/SEhwgEf3d+FF7yJwgYFlZHkioYFS7rCUavlaV4=; b=om1PQcbaPpotIBHLdWWulxfMsXrHsVdSgZVWm1tye/ejBQwbeRmT7+IIwaVBwJx7xNPnTI I2hQAPEn5F8wU7EWAYCVs7ZdMSUCgNemUredB0dlJKKdCtx0k4xUdg0iGFBbsDIbBb5CcT Or4jHXSEY5qzoTSaoVBvtz6DD6ymQWXOiN/CWEepNeBAW65go7KCe5sdQtSss7lKTr8pLE VoQRMg8mVNGjpMRZnJPA2/D2EoH85+QjXEFTkDMVQwdkMIAqAMk9NJY5jG99cV179fp1Ze k0yAxt/53MP9lvtUlcL6uVc4k5MQ4XUedhGXwGzACkj8JJBaNQ+IRhaAEQHpow== 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 4WvlSd06xszNPc for ; Thu, 29 Aug 2024 15:24:33 +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 47TFOWIZ053518 for ; Thu, 29 Aug 2024 15:24:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47TFOWGM053516 for wireless@FreeBSD.org; Thu, 29 Aug 2024 15:24:32 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 278306] service netif start doesn't bring up the wireless interface if /etc/wpa_supplicant.conf is missing Date: Thu, 29 Aug 2024 15:24:32 +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: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278306 --- Comment #11 from Chris Hutchinson --- (In reply to Bjoern A. Zeeb from comment #10) I think you're on the right track, Bjoern. But as I examined this approach, I discovered what may be hints to the problem here: libexec/rc/netif @ 152 # netif_common routine # Common configuration subroutine for network interfaces. This # routine takes all the preparatory steps needed for configuriing # an interface and then calls $routine. ... @ 175 # Don't check that the interface(s) exist. We need to run # the down code even when the interface doesn't exist to # kill off wpa_supplicant. # XXXBED: is this really true or does wpa_supplicant die? # if so, we should get rid of the devd entry While I could fully unwind the routine(s) to confirm whether this, or your approach is correct. I don't have time slices available ATM. IOW I agree someone from rc@ or net@ is the best direction. Maybe a PHAB review would be even better? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Aug 31 06:57:20 2024 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 4Wwm6X16Vdz5Tkkb for ; Sat, 31 Aug 2024 06:57:24 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wwm6X03Pcz4ftp for ; Sat, 31 Aug 2024 06:57:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725087444; a=rsa-sha256; cv=none; b=kIBR9yv9J4t3sYjE3EXxQm5uHajrlxLBruJEJaurIQH4i9M186Q3SztMS22dOZovVI1a0T 2HVq4WP/TVktUhgX3vV4wdBwTIAOIDehv+7Z2WZxPPo06Fs1QxggoNrU3bLAny0+Lkvvy0 o51txbPNHinEQqUgmNUAsC+b0c4bV4jUkFZKQ0M24O+RttBCnm3vs4m+nGlq3Gv2Cwsq0h 7KxuG3JNFzVnwkmvtMgecuvjguzriikWgqxQTJRcl8oD9kFgL7oY6/vWTutdf33wcscQX8 R48sM+O48EZLzqziyCyEqpMR4T4Ds3hyKcjOhG+J4B3WB4gA6T0cEa9uJTYjyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725087444; 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=GAM5vfsDXYqyfsDpMCAbwVKP5ZXnHdLE8IJCt4jVPa8=; b=MNBzB0nDRKt8Om+PYsOuxxoO7bvT905tbYvkeGarRAjq/tDchPaJ/TDsw3YRoEgYhuOzYm EH+IgyO6oyrYk1c6egkRC7SbQseUrNJDkifXXpt9l9pMpv3Pdia8oHwQ+8XNgttVvNOmYv oz2VxaelJ1JpOtI7TCtf2i0IihMl7foxSpBzCUYmQ9pBfoXRX78dYfOmNJ6EIu5FLKNsOI h7P/FPaHjvasIy/Om1iuuz+aUdBcGPQkpQZtgf1NcCtRz7uKNkcfOtBqj4GDNT63Y0Cq8w Xb4KWssdFFjZ19rXKQZ/6cHZZt25/pSNlZhIANVeSglkd16Cfo5ylQNoyruP9Q== 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 4Wwm6W6jrSzb6r for ; Sat, 31 Aug 2024 06:57:23 +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 47V6vNT3017503 for ; Sat, 31 Aug 2024 06:57:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47V6vNo5017500 for wireless@FreeBSD.org; Sat, 31 Aug 2024 06:57:23 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 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP Date: Sat, 31 Aug 2024 06:57:20 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peterj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247528 Peter Jeremy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peterj@FreeBSD.org --- Comment #45 from Peter Jeremy --- Has any progress been made on this bug? The latest updates both here and in D38854 are over a year old. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Aug 31 10:02:37 2024 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 4WwrDH1fvJz5V14s for ; Sat, 31 Aug 2024 10:02:39 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WwrDH0crgz4wwK for ; Sat, 31 Aug 2024 10:02:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725098559; a=rsa-sha256; cv=none; b=kg4/RNYS1oy1ejtB91noIc9InksuIlektewQ94SGJhxe/lEhlAUKRltH3jm2bVoueCKsac j7WWurZGQTjW7upihoOB4RQV8owSNZt4on3E+S+HX6dnJ6bzzDd6Mm70lp8ojZnZ9hzwH0 cFxeohtsw4mQrV2ZDPNWlNu1ohPl9PsWdWeIE/2EvenkZ1PLMOKVcT7C2ccQJRXW+3NdBC e1K5dnXMr6+YQ4guRCfZDo8W8Eg0LiAB51O+BQ5A1eh6oqtumhtU4wJHgxlM8QDCar65Qa vA0v9i45E2CemjDxSi+esKsMpFoP+0nNp2hdd/zLBa8iqCXCjTTHM3xen6mk9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725098559; 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=EKefZ0Hu2pbq1mGBve5h7tBFaJZAsdsp7KwWKm7V1k0=; b=ySZJxaUk6zwcMKU85ktFKR9f0QbrGK3tiKaD4cUhRwkDw/nN5HXvNAOB/1odsZO5ynWEv6 Do17I+xgULt65AFx9Rg5YPMZY0AyYfXn09fHnSLtOqWFHOWIikFaoQ4IjlhpV/dJNJw4QQ JSZhgAxMeC2nQ6OEzTFxPWZNJEsAHdJcM9vOTXWLoG4iaObSE3W3t7dP6o0AbnLsVpK+nR hc5BBmnBBvdttmzRMOYfFl3cN7uHDW6upI7jTEd3LD2MRthqgDU9jKkjcfNkpZrVBObQjR OhU+reKC1WWKB6LLM4sSw2GiwJMrkTPuzLbddtUBEGf4PYOysXgO4E72KLE8lQ== 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 4WwrDH0DLmzgCj for ; Sat, 31 Aug 2024 10:02:39 +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 47VA2cou034369 for ; Sat, 31 Aug 2024 10:02:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47VA2cco034368 for wireless@FreeBSD.org; Sat, 31 Aug 2024 10:02:38 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 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP Date: Sat, 31 Aug 2024 10:02:37 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247528 --- Comment #46 from Adrian Chadd --- Looking at it, it looks like putting the lock/unlocks everywhere is problematic. Chances are deleting the right ones will fix the recursion. ;-) cy@, wanna take another crack at it? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Aug 31 10:02:42 2024 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 4WwrDM1ytbz5V0kc for ; Sat, 31 Aug 2024 10:02: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WwrDM0wtRz4xMK for ; Sat, 31 Aug 2024 10:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725098563; a=rsa-sha256; cv=none; b=BDiWag/Gc1wmQ95jsoj6ImtppErMG6IEFHCQZxWZXNHWVby98SgrIpkAkZHFoMfGkfEXON DwheXciyRbl0rFvUb/qSmJhbTmIYVQPm8WPO3vEf9Du2f99OOrYL/NsNZAnSWGEAL7RGKW dDMWUbjZ3PiPzq+X0ZFqO8Mk1zY79XOtzCyIp5sTYRLSlTiTaCLH5d8Gv6JFq4vc2Vckkq p/wZdxA+EyOG9ELA5aBMRe5SFS37O9TRyf/MP2/OSxWfEBmq3or26eVngyaiuJDWGBpCB+ ikFyb2cGVgUM1hqLi+cXiuZsmTf60EWfHBhw1flwzpO24qbrYlGIChdJyixiDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725098563; 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=AWaTSLOPZANmC4whxdiCgXeFt9j3ilKHVvKE+0oTWcI=; b=yHMYPuYMQ46JFW1f9ZeiwaUdEu+xv5QPBEy5UgyNtXxV8q8qbI1LwumHH064XREMA6xHki lWhxOaoraQKP0fdH/dbtVFRHzeBSFdyGrTC+ekH461Ll2JqTz3avnlm7S8hstgVbqaPV/N q377lxAf409ulpIr5MJUIsnNDww/i44vFj6S9NSO/JSbC3Z9yp/lB4/fBnB1j8+dtb/Esh ROR57al5M568fdQWjTfrfiWsz/84Q0Bq8xAFGGs2qgNd7GhmY3uMhpry/bGv7u/DFxRjQE 9DhQHmBSqo1DGgB1mPp7050QgGS3LHAYk9V8ZhaxL+LwXHKyShDI61FnsawObw== 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 4WwrDM0YKmzgvY for ; Sat, 31 Aug 2024 10:02:43 +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 47VA2gvp034609 for ; Sat, 31 Aug 2024 10:02:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47VA2gnD034607 for wireless@FreeBSD.org; Sat, 31 Aug 2024 10:02:42 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 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP Date: Sat, 31 Aug 2024 10:02: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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247528 --- Comment #47 from Adrian Chadd --- Looking at it, it looks like putting the lock/unlocks everywhere is problematic. Chances are deleting the right ones will fix the recursion. ;-) cy@, wanna take another crack at it? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Sep 1 05:56:53 2024 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 4WxLkJ4fxCz5MtsP for ; Sun, 01 Sep 2024 05:56:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxLkJ3ZNxz4d9D for ; Sun, 1 Sep 2024 05:56:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725170216; a=rsa-sha256; cv=none; b=UV91JEVCkMWNWldHzy32O/hR5xwa3hDYfbagOPf+GxdUQHvK8dUwPb5PLHGavydJvaqH4Z CJhnSASTDqcDvfTrUDazBZYsEJ7mF7J3f5GRC4oO2ZGwDH7RzEReuttAIY07htjuzlesU4 2qtT7rJnOvgvLQGFfszbRk32f7WaKgFFJJwyrRJMWTvQK0lYcJT9C9vfacQ1Braf37bstD /obNzXfIvxtCqW1R0f0L8lcxmAwf4DrrPxMdbsgDCV3tUK/t4hwDwBnTuG9Hx27eQi7AlP +xUapkAEcjqqb0HuxR5J6E0TUWFPh5dXOFbEZ7THC3LtGxg8+/kQpYuP/JxjDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725170216; 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=nBa/qRh5iI8kZCXT8gAg3vOfMSzIrtkv8tYSotmrk14=; b=LvK/Srwe5XPAVrR22ejAxI5Z6iGhpV8hfl5afQbYFMHjSctvL1fFtRHwpfiq75NiHJMRcA zeSt5VuZ01/oqtz2tK4G9PPXqfxWcgBzbGjl+aIXUfJzP4giTv72+YLcUj/9gzlcSMwDGQ 4zvuREUpB/G/mcufPSlJmV9kxGpnmm0Sdev2xGbGHA0yHYCEb9idOO5yhD3dIxpOkDtH9i 8wS6Ano92+jzGV6DgM5jh3LRiwtKiorkrkOY6LAqiiX0BcfSBgQoRc8LDFe7DgW8UwHrmL r93yk5THj5NdfEaoGxWquN4DB3up+H05BQiCBFPk/Ot9Ch2pmIV/kuRzJjR84A== 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 4WxLkJ38kczGjZ for ; Sun, 1 Sep 2024 05:56:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4815uuOf000679 for ; Sun, 1 Sep 2024 05:56:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4815uuEv000677 for wireless@FreeBSD.org; Sun, 1 Sep 2024 05:56:56 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 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP Date: Sun, 01 Sep 2024 05:56:53 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete 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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247528 Cy Schubert changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #239429|0 |1 is obsolete| | Attachment #239455|0 |1 is obsolete| | --- Comment #48 from Cy Schubert --- Created attachment 253233 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D253233&action= =3Dedit This should fix locking issues. Sorry for the delay. I got sidetracked by the MIT KRB5 import. This should fix the recursive locking. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Sep 1 09:48:29 2024 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 4WxRsV2m0Yz5TvbC for ; Sun, 01 Sep 2024 09:48:30 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxRsV1klWz401b for ; Sun, 1 Sep 2024 09:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725184110; a=rsa-sha256; cv=none; b=vdiLteC1T4kYRDIA7InvJBUalsOV1Hh/6zSySBxfjRhFNmIkHLqdQddb+ZItzX0T0KximD SZAbXozefDMGsJwq9N5pQIRABHHHRMFY4NSh5vqOdrFTwryleql3woYltH+Sep/4f7hTX/ 95HnsjEp/Z3eAZsL5dcO4f5PIUlfW6bDgzbgnQBtYdoHkWQ7Pg1iawr0bKYWp03qWFDbvW nELDYMcxAJjk0EdtCmjh8MoCbX378Vd7s33DGv8Jf9kn3cQgIIcf+s/fzWjK1E3j5gxa7e rQSMZIdbtIYvdjLDsgueRNXi+5xSClI5L8E4keA1qaETyiTndu7Cpps1U8z0pQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725184110; 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=O7SDTGbDOcq6v/9qehRc554UZ9XRc5RtMLlspAAnLeA=; b=gjBRTlW7oMmQP5Vm80z6Eg/scq2sSBQvyaEYyJXdytAzguR03Ya/JMgPPi7g5OEyU1BKj9 OeTy/YYEgyqTtlmnfes1G+Khq2V7jLqEzRpX9+zWYvo1671PiPUODDi3rQ6BjfDyZ6d3rn XCdugXt5qdA6co66rq2+9W8KHmuuDveU/Y6zehlAGBRN210r33091A0a6DfWSlhbIon0DZ +QyjL2151mNZSCsMF/YWvJc1SPzd1u5fy5l37K/Xx6w70rP7KuhOFtR5G4gseKP6jeVGRe huFmWPLrmAJ4RBbH9CplcZvjQaVgV4hczlk5fhBHVTy3/rSrtRf1Dp4YP2x4ng== 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 4WxRsV1M6QzNLv for ; Sun, 1 Sep 2024 09:48:30 +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 4819mUjP092681 for ; Sun, 1 Sep 2024 09:48:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4819mUOm092678 for wireless@FreeBSD.org; Sun, 1 Sep 2024 09:48:30 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 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP Date: Sun, 01 Sep 2024 09:48:29 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peterj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247528 --- Comment #49 from Peter Jeremy --- Thanks for the prompt update cy@ Unfortunately, the patch in attachment 253233 doesn't apply cleanly. The attachment comprises 3 "emails" and the first (Subject: [PATCH] rtwn: Fix RTL8188EU cannot associate in STA mode) and third (Subject: [PATCH 2/2] rtw= n: Fix RTL8188EU cannot associate in STA mode) affect the same files but inclu= de different (incompatible) patches to sys/dev/rtwn/rtl8188e/usb/r88eu_init.c I'm uncertain whether the correct version is the one with all the RTWN_LOCK()/UNLOCK() pairs or the other version. In addition the following hunk doesn't look right in either because the "return ETIMEDOUT" has moved outside the "if" statement: @@ -112,7 +120,10 @@ r88eu_power_on(struct rtwn_softc *sc) break; rtwn_delay(sc, 10); } - if (ntries =3D=3D 5000) + if (ntries =3D=3D 5000) { + if (uc !=3D NULL) + uc->uc_write_delay =3D 0; + } return (ETIMEDOUT); sys/dev/rtwn/rtl8188e/usb/r88eu_init.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Sep 1 21:00:04 2024 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 4WxkmN4hWBz5PS7W for ; Sun, 01 Sep 2024 21:00:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxkmN2HTHz470v for ; Sun, 1 Sep 2024 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725224404; a=rsa-sha256; cv=none; b=SHNYkD8gvwehvsHupbAc197W7nIMxiWmtBlrL0YcPjdhfu4edGhGRI1Kwf2WDj/MshjSu0 0vIAslcqO2+Gy3tcMcP8qiLLXE2yl5a3anuaN1PAeNyeV70deOLFCWdwHOlDYi9+CgH8Su AqxqAvPrRtm2ZrELnwnw7sMvyLEjWuDGOuZOc5m5MHlzMXMKu45tZ29m2jzsKqg/4bOGK9 O1ETBAUZI4iuhJoiW4Ae88sowZjAk4PxvwD6Ovg7tbkHXkmKnnaesgWitmJh4TP/zG9pND C1prw3gUdyrg93trfnHlKw/gPX8oqI82f65n8BINuWpY2yGRJF/ClRQ6Htk2vw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725224404; 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=rRZwScvbXyVtgJ4ITUi2D534BaWZpyV2IIV016r5yaI=; b=tsZ6gof8m5CMjK6W/QJNtGgm+UsxkpI7h5XcsMTiwimLfBzRoCvZ75DEwVyzH2OByKp2M1 MjkfM/0+fvnXecnbQIU66dl2tRONDOcZWn5sDVlbboK3uV048cdNZ6nlIFV4kuyf+ut8zE MITDtILdDS1C8ePg6vIC66H23qp4k+6avL5qYy15y8LwO/+GhyDzdqqadcxiXIBQCn7tzg /wiP8/N9mgbQK4u+x9Qf/LF0t6AAvFtrigSqdqqLtXZFoLZSJpyIxUNwRrq/QXBVpQ/pxA YiM1HZUTmxAQm53/DxdvCyiBpmChgVwnvpg4tFdPpQ+db7pFq8wxJJ/hmxLvcA== 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 4WxkmN1Zz9zkHm for ; Sun, 1 Sep 2024 21:00:04 +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 481L04X6070523 for ; Sun, 1 Sep 2024 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 481L04s4070515 for wireless@FreeBSD.org; Sun, 1 Sep 2024 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202409012100.481L04s4070515@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, 1 Sep 2024 21:00:04 +0000 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="17252244040.b466.69655" Content-Transfer-Encoding: 7bit --17252244040.b466.69655 Date: Sun, 1 Sep 2024 21:00:04 +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 ------------+-----------+--------------------------------------------------- In Progress | 237921 | wpi: Memory leak in function wpi_free_tx_ring of Open | 265066 | ng_hci: Add support for Bluetooth secure simple p 2 problems total for which you should take action. --17252244040.b466.69655 Date: Sun, 1 Sep 2024 21:00:04 +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
------------+-----------+---------------------------------------------------
In Progress |    237921 | wpi: Memory leak in function wpi_free_tx_ring of 
Open        |    265066 | ng_hci: Add support for Bluetooth secure simple p

2 problems total for which you should take action.
--17252244040.b466.69655--