From nobody Mon Sep 06 11:44:09 2021 X-Original-To: current@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 50C2C17BAA7B for ; Mon, 6 Sep 2021 11:44:22 +0000 (UTC) (envelope-from vidwer@gmail.com) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H364j4lybz3v1l for ; Mon, 6 Sep 2021 11:44:21 +0000 (UTC) (envelope-from vidwer@gmail.com) Received: by mail-ej1-x632.google.com with SMTP id i21so12983196ejd.2 for ; Mon, 06 Sep 2021 04:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kaguV57komlvcZtGFpL5qwVIPMFL1PX9KRjNsN0sA5w=; b=YhcmcCYhSOOQkpfSLn0h2LWcy5ABfoBWV+SmjPvYtIIufNdCN1XoIpKHUtCVNRrI97 i1j6DCT+Lhy1o/ZnQRQ/DsTQ2tzZB6qUH65tcOuOS2KKTeE7DxXLm4jpfy+z/dOxZQ1d RhMReITHj3dVcaKcNyrK8QSqUQ+RbTq9ohs26Ez/LSH/AT0OlmdR/4JSeHZTiKM7SU9/ qawuJNwcG0OhqR0n8S932WfLgU8toLjDFTlddD7uvuXqWKNmFiY+s5xsqz7LgkQT/imW kEaGNH3TAzVdWHaK8mN0ktqsuVlT6pVlEUsKUisVtlZsamQ8YEertjGvFr9A3eamTfz/ GxUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kaguV57komlvcZtGFpL5qwVIPMFL1PX9KRjNsN0sA5w=; b=jmXGyDr3vCTMD6YmIMqrSTlfruJuZbjn++1sJF7S99HfrgDqFVxesj8PNNV/24LMfy zdWdAm5jFqMV1TpIy0lAYESXpmKvVtuPWCRNmtbAzXZT5/+fOTqVSdiYwVuIjvvZmyT+ Pp9PueR5bs1EFRU4f7A1tQ7EzHhmKYT1KuCrCh6wSXOqbnhzz7pALXNNI0dbyFsytrMQ afNg9zKx61sSUSDluLx+h9N20/ySHMmJgxzjdU6Uq61JM12l3Nj6S6bPJs0pV9Oh3CXE XxmAe5LHxKbvkCRj9wB/xbpECc2RMKwMBAbm5YyS/5LZGS9r4os9VYZhzDtUKycVAOM6 L5kA== X-Gm-Message-State: AOAM531sCJ50vLGH2jKegmVMDvMDzuUg5kaao5idzpFFpplwI6nomHIv W31ALvBbFttOYKlpghREIzYa7shHdcE5RXKqai+dokXp+ho= X-Google-Smtp-Source: ABdhPJxjxl6pXIsp4Ry9LqJMk0/XRtba86hiCmKlBKs/b/Pa0aGEXAsJ2f/temQChimneDYAhkyGTl2DvNtT6OlsRHI= X-Received: by 2002:a17:906:3181:: with SMTP id 1mr12858962ejy.388.1630928660760; Mon, 06 Sep 2021 04:44:20 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <2838567.hHqAuc6tWs@sigill.theweb.org.ua> <202109060550.1865oLlJ013110@slippy.cwsent.com> In-Reply-To: <202109060550.1865oLlJ013110@slippy.cwsent.com> From: Idwer Vollering Date: Mon, 6 Sep 2021 13:44:09 +0200 Message-ID: Subject: Re: wlan0 no longer functional after n249128-a0c64a443e4c -> n249146-cb5c07649aa0 To: Cy Schubert Cc: "Oleg V. Nauman" , current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4H364j4lybz3v1l X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=YhcmcCYh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vidwer@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=vidwer@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Op ma 6 sep. 2021 om 07:53 schreef Cy Schubert : > > In message <2838567.hHqAuc6tWs@sigill.theweb.org.ua>, "Oleg V. Nauman" > writes: > > On 2021 M09 5, Sun 15:52:50 EEST David Wolfskill wrote: > > > Sorry I hadn't noticed this yesterday (so I could have repported it > > > then), but after updating the "head" slice of my laptopp from: > > > > > > FreeBSD g1-51.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #340 > > > main-n249128-a0c64a443e4c: Fri Sep 3 04:06:12 PDT 2021 > > > root@g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY > > > amd64 1400032 1400032 > > > > > > to: > > > > > > FreeBSD g1-51.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #341 > > > main-n249146-cb5c07649aa0: Sat Sep 4 04:28:27 PDT 2021 > > > root@g1-51.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY > > > amd64 1400032 1400032 > > > > > > I find that while the em0 NIC still works, wlan0 (iwn(4) HW) does not: > > > the WLAN LED doesn't light up. > > > > I am also experiencing issues with wlan after my current update to > > 1f7a6325fe1b. I have checked ath(4) , run(4), rtwn(4) and all of them > > demonstrating the same behavior - wlan can not associate. > > You can mitigate it by using security/wpa_supplicant from ports as replacemen > > t > > of wpa_supplicant in base. > > > > ..... > > > > > > I note that exactly the same hardware works OK in stable/12 and stable/13. > > > > > > Peace, > > > david > > > > Can you grep wpa_supplicant in /var/log/messages? This will give us a clue. wpa_supplicant stops in wpa_driver_bsd_scan() - https://github.com/freebsd/freebsd-src/blob/bd452dcbede69b1862c769f244948f94b86448b5/contrib/wpa/src/drivers/driver_bsd.c#L1315 Here's some selected output from /var/log/messages. Before (built from commit a0c64a443e4cae67a5eea3a61a47d746866de3ee): Sep 6 13:29:40 wpa_supplicant[45348]: Successfully initialized wpa_supplicant Sep 6 13:29:40 wpa_supplicant[45348]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument Sep 6 13:29:40 syslogd: last message repeated 1 times Sep 6 13:29:46 wpa_supplicant[45349]: wlan1: Trying to associate with (SSID='' freq=2447 MHz) Sep 6 13:29:46 wpa_supplicant[45349]: Failed to add supported operating classes IE Sep 6 13:29:46 kernel: wlan1: link state changed to UP Sep 6 13:29:46 wpa_supplicant[45349]: wlan1: Associated with Sep 6 13:29:46 dhclient[45401]: send_packet: No buffer space available Sep 6 13:29:46 wpa_supplicant[45349]: wlan1: WPA: Key negotiation completed with [PTK=CCMP GTK=CCMP] Sep 6 13:29:46 wpa_supplicant[45349]: wlan1: CTRL-EVENT-CONNECTED - Connection to completed [id=0 id_str=] After (built from main): Sep 6 12:19:50 wpa_supplicant[1236]: Successfully initialized wpa_supplicant Sep 6 12:19:50 kernel: wlan1: Ethernet address: Sep 6 12:19:50 wpa_supplicant[1236]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument Sep 6 12:19:50 syslogd: last message repeated 1 times Sep 6 12:19:50 wpa_supplicant[1237]: wlan1: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 > > > -- > Cheers, > Cy Schubert > FreeBSD UNIX: Web: https://FreeBSD.org > NTP: Web: https://nwtime.org > > The need of the many outweighs the greed of the few. > > > > > > > > >