From nobody Mon Sep 06 14:50:18 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 B895217A6A7B for ; Mon, 6 Sep 2021 14:50:31 +0000 (UTC) (envelope-from vidwer@gmail.com) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (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 4H3BCV4brXz3rKd for ; Mon, 6 Sep 2021 14:50:30 +0000 (UTC) (envelope-from vidwer@gmail.com) Received: by mail-ej1-x636.google.com with SMTP id bt14so14010275ejb.3 for ; Mon, 06 Sep 2021 07:50:30 -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=+vM9EpVcRTrw02BNPVOaEM5Fyt8xp7GTwcoG+c2CFuE=; b=aIwhpHqNp1dFC31rCzcesHhbT3MpY59JsmAUCGrP27sKxudQooPlEGGiSeUTLJPxVm SIf7mxkcxocrbWYtBZBiHQDaMqEucEDHLvgdWa0KmnhXvbZ+EHYYo+n82JE9TfwTGgwu baP9qmBGOXB4EsBL18YW7m3B1CGZcmVXHWQz5IvDCyS3uHQ+ryIWMupzF0NBC3Zq2aUW ENrBgCcyg8adp1xKtq3MJ2NcRR3cKwS0jVlndEiV7fOtwWE+t/L6HIE9hU6cqG8fvhDJ GZuAbJHpL4JKgPtVAKBN8YQXAWLBiUz9nOchOXb1KCQEoxdU+IomVAhn+DMVc+WWlBB1 NHmw== 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=+vM9EpVcRTrw02BNPVOaEM5Fyt8xp7GTwcoG+c2CFuE=; b=RUGL+sF9Ud1/v2EXiElQQD3kJasGfegtaPE3OJub51qJwQj8R/X6KIdyvuW/2CIvZE B81Z3OzdsDoUkRz00dP8efQKGev8+xQCyzFGOyNPYLAjt136miC1614usHfjH4khhyM5 lfK5KgmXYhh1qt6F9gas3Sv9NvfEmbm09txX8fO/O6aS2SM/6pTAnB52uBMnIE3qlzNj JcEgFap1ivqbS4nBl2RcIGENyFFFTdGLKdVl7K0XUDQ7IRJb/x9I20r9yhoh8pRhYyem pCNBhQ12ZlcTfCSQ2wL5zvHO2Iu1T8YzY6qPctYPUE2MSHieb2D1I1pzUOOG0QqjlnK8 Ui+Q== X-Gm-Message-State: AOAM531qUvfk31kDBUJgYo3Htr2ckd/Rhl/iRSe3YLVBGsJowR0Pd7qp JBh0yW+0uIDiYaqx0jZ74h2G4PndLLTEQUrZvy0= X-Google-Smtp-Source: ABdhPJy3o3d/vYMkKS3idaZ1qVulIkGU8IgR/rD7cKpeEPDIeN/j2+nTmUniNNLzhLwt0yjE3pFyD5dYWbBFw+LxLkA= X-Received: by 2002:a17:906:3157:: with SMTP id e23mr14266704eje.29.1630939829544; Mon, 06 Sep 2021 07:50:29 -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> <202109061323.186DNLMQ010404@slippy.cwsent.com> In-Reply-To: <202109061323.186DNLMQ010404@slippy.cwsent.com> From: Idwer Vollering Date: Mon, 6 Sep 2021 16:50:18 +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: 4H3BCV4brXz3rKd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=aIwhpHqN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vidwer@gmail.com designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=vidwer@gmail.com X-Spamd-Result: default: False [-3.98 / 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]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; 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::636:from]; NEURAL_HAM_SHORT(-0.98)[-0.981]; 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 There's no core dump in /, wpa_supplicant connects to 802.11b/g/n (there's no way to lock this, instead of having a mix of standards) on 2,4GHz. /etc/wpa_supplicant.conf: network={ ssid="some ssid" scan_ssid=1 key_mgmt=WPA-PSK psk="some key" } Op ma 6 sep. 2021 om 15:23 schreef Cy Schubert : > > In message om> > , Idwer Vollering writes: > > 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 replac > > emen > > > > 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/bd452dcbede69b1862c769f244948f94b > > 86448b5/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 > > Is there a wpa_supplicant.core dump in / ? > > Can you also send me a sanitized copy of wpa_supplicant.conf, please? I'm > interested in the lines proto=, key_mgmt=, pairwise=, group=, eap=, and > phase2=. You may not be using eap= or phase2=, which is fine. I'd like to > see if there are any differences from what was tested. Though, looking at > your outputs above you're probably using something like: > > proto=RSN WPA > key_mgmt=WPA-PSK > pairwise=CCMP > group=CCMP > > Is this correct? > > If you try ports/securitiy/wpa_supplicant-devel (same codebase as in > 14-CURRENT), does it work? (ports/security/wpa_supplicant is the old 2.9 > codebase.) > > What is your AP set for? 802.11g, 802.11n, 802.11ac? > > > -- > 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. > >