From nobody Fri Mar 31 20:09:01 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 4PpBFb35Gqz43C63 for ; Fri, 31 Mar 2023 20:09:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PpBFb2W5Bz3QGw for ; Fri, 31 Mar 2023 20:09:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680293347; 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=94I3vEop29HUlfKDjarrqGXMNHAa5NneZF7JyOWObkI=; b=CVMLnsDYGqSIH1ztORFmK40rG/3q8ge3H7reEZw2KGlifKRAx55IY4bsEsMXBsxEpszgnX wbBwH/6KY/HSVGAkV7r+H3HYwCKCCAGpnaK0MHerzflVTPVHXejP1jFyragdDJQW4O97TX W/dUUGbhQfky6nmTuZsgIH/C4f4Qj2J5q/+4AUbTz3pUI7zeBSzRVvEyZrsETE/0CCvh4r 2Q0pum42jjgfjG2VJI6Xj2/EnrKC+9haa44lqh8P4JvYVFx+mLRbKuQdMSU75dlzxANG8Y s7VaP1GqvyZOR1aGUsOby4Y4HmcUmXSzA97nOwJmVazepV3rNMFb8Jn3z8Ling== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680293347; 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=94I3vEop29HUlfKDjarrqGXMNHAa5NneZF7JyOWObkI=; b=ERj7D/fAoGbYuCV4aH6FGZeskHIOWro4mJhbi87py8OHJJ+LtFdzd8c4FVJUw/nq9gyv2U C0OnvSNqzE0aMthnYpz2bj7smCJUg0VUsDf45jg1VjUw1tvGx0Sk4EHkXYCaVBrPG95qwx d+CCmNnulx4oKxJA5U2jWSmiHydEqASOTLyXa7OUScejJNvwMuNjxw9G+ioFGdaqyDUDMN u9XkKbHPlXXrG1pFNIuji5PqFNamlLo7GznbbyTcgbqbOdyyL7rf3OiQ8cM7KKdOrKf9uN /2dBnBmoqL+StutOPXhsAY4lg/BoH3lMIR7rnfqJlf4emvfU/sXIFhz1KTD/tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680293347; a=rsa-sha256; cv=none; b=Kd26C7XVWFvKY7OPhC69d/xsBQkP8L16AEGmFsBba4vbeRP0S6GcSxt6ofFRNUhZpV4HKg 2bGCXvHy3llruzgna6UqQE5yEbUHQ9+E0d6ZAJvlQYiD0nuRaep1NonsQxP6Tw4MEYLwho RXqvZi++YLkCi/6ZiZHnOelifWWxP10dYctpct5t6m3O1AUoUV0lkJSrnqMJFUnZXW1DXI Kvj8cegTes2ov5uzxSLJQKRz3cipFF2qDLfYVEg8xSYVRwSSMU4AtkJbpDwNEzj6PRpky4 7Tg6LTDjO7i1sMtS7sUHJBNMEs/8UDs0ZyFB45Ss2URocL8enhlVFp0mhPT68w== Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PpBFb0r97z1BNF for ; Fri, 31 Mar 2023 20:09:07 +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.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 519408D4A15D for ; Fri, 31 Mar 2023 20:09:05 +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 736C25C3A831 for ; Fri, 31 Mar 2023 20:09:04 +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 ETrCbaC3-kkw for ; Fri, 31 Mar 2023 20:09:02 +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 A04655C3A82F for ; Fri, 31 Mar 2023 20:09:02 +0000 (UTC) Date: Fri, 31 Mar 2023 20:09:01 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD wireless mailing list Subject: Request for testing - firmware crash, wpa, locking Message-ID: <33qn43q-rn1n-prsr-ppr-p846nq875741@mnoonqbm.arg> 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-ThisMailContainsUnwantedMimeParts: N Hi, (1) Colin has fixed the panic (after the firmware crash) so many people keep seeing. This may mean that you may now (contrary to before) try a service netif restart wlan0 to recover from such a crash. This changes is all the way to 13.2. I am still very pre-occupied with real life but I am hoping that I can get a possible fix tested and pushed during my Easter "holidays". (2) Along with enweiwu and cy the "startup problem" showing as "CTRL-EVENT-SCAN-FAILED" was debugged a bit more. We've for now backed out the rc startup script change and restored the old behaviour of wpa_supplicant with additional logging. This changes is currently in main only but will be MFCed to stable/13 in the next week most likely. If you etcupdate (mergemaster) and pull that change in I would kindly ask you to turn on debugging for wpa_supplicant and check if you see any log lines including "(changed)" [beware most should be "(no change)" along with IFF_UP in the line. If so please contact me. I still have a hypothesis that we may simply exploit a race in net80211 there which will need better fixing. (3) if you are using iwlwifi (or rtw88) I just pushed some locking changes into main. I would appreciate if you could test and let me know if there are any new regressions (they do not fix the firmware crash from (1) yet!). Lots of health, /bz -- Bjoern A. Zeeb r15:7