From nobody Thu Feb 17 00:46:18 2022 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 33B7819CC6FA for ; Thu, 17 Feb 2022 00:46:32 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) 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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jzbjz1mhQz4cts for ; Thu, 17 Feb 2022 00:46:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 9D86D8D4A156; Thu, 17 Feb 2022 00:46:22 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id B5EE3E7082E; Thu, 17 Feb 2022 00:46:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 2tDq9YWtvXBx; Thu, 17 Feb 2022 00:46:19 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id B6666E7082D; Thu, 17 Feb 2022 00:46:19 +0000 (UTC) Date: Thu, 17 Feb 2022 00:46:18 +0000 (UTC) From: "Bjoern A. Zeeb" To: John Schneider cc: freebsd-wireless@freebsd.org Subject: Re: My iwn device can no longer scan for access points with stable/13 In-Reply-To: Message-ID: References: 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; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4Jzbjz1mhQz4cts X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-wireless]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 16 Feb 2022, John Schneider wrote: Hi, > Today I upgraded from releng/13.0 to stable/13 but found my iwn device > could no longer scan for access points. I rolled back to releng/13.0 and > everything was fine again. No config changes were made during the upgrade > or rollback process. > > /var/log/messages contained messages such as the one below with each scan > attempt: > Feb 16 16:12:33 mobile1 wpa_supplicant[385]: wlan0: CTRL-EVENT-SCAN-FAILED > ret=-1 retry=1 -1 is nothing the kernel should return so I don't know what the actual error is. > I didn't see any other errors except ACPI stuff which looked normal to me > for this machine. For reference, here is the pciconf output for my device: > > iwn0@pci0:2:0:0: class=0x028000 rev=0x35 hdr=0x00 vendor=0x8086 > device=0x > 422b subvendor=0x8086 subdevice=0x1121 > vendor = 'Intel Corporation' > device = 'Centrino Ultimate-N 6300' > class = network > > Is it possible that work being done for iwlwifi could affect scanning with > iwn and other drivers? It shouldn't as there were very little functional changes to net80211 itself so far relating to this. I would more likely think of wpa_supplicant updates but even that we'd probably have heard a lot more noise. You could run that with wpa_supplicant_flags="-sdd" in rc.conf (from the top of my head) and see. Also did you update kernel and world or was that just a kernel update (which would rule out the above wpa_supplicant update theory)? I also only see 3 changes to iwn(4) in main and 2 of them in stable/13 since releng/13.0: https://cgit.freebsd.org/src/commit/sys/dev/iwn?h=stable/13&id=d61f10a8780ef94f82e384248ce40d24fc27ad2b https://cgit.freebsd.org/src/commit/sys/dev/iwn?h=stable/13&id=67b7e2de4fc5dc1165feee8ca281c44444425d0f and the one Adrian did not MFC: https://cgit.freebsd.org/src/commit/sys/dev/iwn?id=b6fd00791f2b9690b0a5d8670fc03f74eda96da2&h=stable%2F13 In case you are willing to go back to stable/13 and re-test things let me know so we can crank some debugging/logging up to see where the error comes from. > On a separate subject, I had tested iwlwifi on a > separate machine with stable/13 and an AX201 and it was quite stable > (though slow as has been reported by others). Keep up the great work! Thanks for testing. I'll try to make it more stable and then faster :) Best Regards, Bjoern -- Bjoern A. Zeeb r15:7