run(4) fails to associate Re: wlan0 (iwn(4)) needed encouragement to associate

From: Oleg V. Nauman <oleg_at_theweb.org.ua>
Date: Sun, 17 Jan 2021 17:18:01 +0200
On 2021 M01 17, Sun 15:19:56 EET David Wolfskill wrote:
> After this morning's update of head from:
> 
> FreeBSD g1-55.catwhisker.org 13.0-ALPHA1 FreeBSD 13.0-ALPHA1 #124
> main-c256006-g8ca9ff4f28d2-dirty: Sat Jan 16 05:47:48 PST 2021    
> root_at_g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY 
> amd64 1300135 1300135
> 
> 
> to:
> 
> FreeBSD g1-55.catwhisker.org 13.0-ALPHA1 FreeBSD 13.0-ALPHA1 #125
> main-c256026-gb7ab6832cd98-dirty: Sun Jan 17 04:49:26 PST 2021    
> root_at_g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY 
> amd64 1300135 1300135
> 
> on my laptop, the wireless link failed to associate by the time the
> xdm login screen came up.  But when I logged in (on vty1) and issued:
> 
> 	service netif restart wlan0
> 
> it associated right away.  (There was no issue with the corresponding
> update for stable/12, so I have no reason to believe that there is an
> issue with the access point or the laptop -- with respect to associating
> properly, at least).  And whether in head or stable/12, the woreless
> link has (for the past several months of daily tracking both head and
> stable/12) almost always associated by the time the xdm login screen
> comes up.
> 
> I tried it 3 times; each time, it failed to associate.  (I only tried
> the "service netif restart wlan0" the last 2 times -- the first time,
> vty1 wasn't usable because I had experimented with a /boot/loader.conf
> setting, which (as far as I know) is not relevant to this issue.)


 I can confirm that run(4) fails to associate on FreeBSD 13.0-ALPHA1 #38 main-
c256026-gb7ab6832cd98-dirty Jan 17

kernel: ugen0.3: <Ralink 11n Adapter> at usbus0
kernel: run0 on uhub0
kernel: run0: <Ralink 11n Adapter, class 0/0, rev 2.00/1.01, addr 6> on usbus0
kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 
00:26:5a:0a:cb:fa
kernel: run0: [HT] Enabling 802.11n
webcamd[5382]: webcamd: Cannot find USB device
kernel: wlan0: Ethernet address: 00:26:5a:0a:cb:fa
root[6113]: /etc/rc.d/dhclient: WARNING: failed to start dhclient

while it works with with one week old kernel
FreeBSD 13.0-CURRENT #37 main-c255825-g2a4b22514635-dirty Jan 10

kernel: run0 on uhub0
kernel: run0: <Ralink 11n Adapter, class 0/0, rev 2.00/1.01, addr 2> on usbus0
kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 
00:26:5a:0a:cb:fa
kernel run0: [HT] Enabling 802.11n
kernel run0: firmware RT2870 ver. 0.33 loaded
kernel: wlan0: link state changed to UP


> 
> Peace,
> david
Received on Sun Jan 17 2021 - 14:18:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC