Date: Sun, 7 Aug 2022 17:30:43 -0700 From: Bakul Shah <bakul@iitbombay.org> To: "Bjoern A. Zeeb" <bz@FreeBSD.org> Cc: FreeBSD wireless mailing list <wireless@freebsd.org> Subject: Re: New iwlwifi firmware for testing in main Message-ID: <E6034B2C-17C3-48FC-B5D8-E4A2612BC52B@iitbombay.org> In-Reply-To: <alpine.BSF.2.00.2208080002420.68830@ai.fobar.qr> References: <alpine.BSF.2.00.2207310046220.68830@ai.fobar.qr> <94EE09A2-C890-4450-8A52-D0A8E1AA9FF5@iitbombay.org> <alpine.BSF.2.00.2208021959390.68830@ai.fobar.qr> <E533E61A-4F2B-45E1-BE87-5CD026E9FD99@iitbombay.org> <alpine.BSF.2.00.2208072140280.68830@ai.fobar.qr> <9760D163-2882-489A-AD17-A77729303944@iitbombay.org> <alpine.BSF.2.00.2208080002420.68830@ai.fobar.qr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 7, 2022, at 5:13 PM, Bjoern A. Zeeb <bz@FreeBSD.org> wrote: >=20 > On Sun, 7 Aug 2022, Bakul Shah wrote: >=20 >>=20 >> in /etc/rc.conf changed >> ifconfig_wlan0=3D"WPA DHCP" >> to >> ifconfig_wlan0=3D"WPA inet 192.168.123.45 netmask 255.255.255.0" >>=20 >> and >> # service netif restart wlan0 >=20 > That's a slightly different story than I thought. Good you mentioned! > I was assuming adding the static address makes it crash at boot time > already every time. >=20 > The fact that you are now taearing an interface down, destroying the > clone and trying to create a new one goes by the documented fact of > stability problems and synching state as still listed on the Wiki. >=20 > I wonder if I can ask you to do yet another test? Does the same thing > happenif you simply run the service command without any changes to the > configuration? >=20 > (1) boot up > (2) wait a bit, possibly until it associated. > (3) please make no changes whatsoever > (4) run `service netif restart wlan0` and see if that panics too? >=20 > The reason I am asking is that I dont' have to spend time then to > try to make it break with a static IP address (which I failed based on > past reports) and the problem description simply is "restarting the > interface makes it crash". If I use the static address, on reboot it panics as before. If I use dhcp, on reboot it associates fine. Then if I restart, it takes a few seconds to associate but it does come up: # service netif restart wlan0 Aug 7 10:21:59 xxxx dhclient[836]: My address (192.168.123.45) was = deleted, dhclient exiting Stopping wpa_supplicant. Waiting for PIDS: 622. Aug 7 10:21:59 xxxx dhclient[836]: connection closed Aug 7 10:21:59 xxxx dhclient[836]: exiting. Stopping Network: wlan0. wlan0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 12:34:56:78:9a:bc groups: wlan ssid "" channel 10 (2457 MHz 11g) regdomain FCC country US authmode OPEN privacy OFF txpower 30 = bmiss 7 scanvalid 60 protmode CTS wme parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> iwlwifi0: iwl_trans_send_cmd bad state =3D 0 iwlwifi0: Failed to remove MAC context: -5 Destroyed wlan(4) interfaces: wlan0. net.wlan.0.debug: 0x0 =3D> = 0x11c91000<crypto,node,assoc,auth,state,dot1xsm,wpa> Created wlan(4) interfaces: wlan0. Starting wpa_supplicant. Aug 7 10:21:59 xxxx wpa_supplicant[1119]: ioctl[SIOCS80211, op=3D20, = val=3D0, arg_len=3D7]: Invalid argument Starting Network: wlan0. wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 ether 12:34:56:78:9a:bc groups: wlan ssid "" channel 1 (2412 MHz 11b) regdomain FCC country US authmode OPEN privacy OFF txpower 30 = bmiss 7 scanvalid 60 wme bintval 0 parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> 10:21:59 xxxx:/usr/home/bakul 971# iwlwifi0: Not associated and the time = event is over already... 10:22:03 xxxx:/usr/home/bakul 971# iwlwifi0: fail to flush all tx fifo = queues Q 5 iwlwifi0: Queue 5 is active on fifo 3 and stuck for 10000 ms. SW [2, 3] = HW [2, 3] FH TRB=3D0x080305001 10:22:05 xxxx:/usr/home/bakul 971# ifconfig wlan0 wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 ether 12:34:56:78:9a:bc groups: wlan ssid "" channel 4 (2427 MHz 11g) regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> 10:22:10 xxxx:/usr/home/bakul 972# Aug 7 10:21:59 xxxx syslogd: last = message repeated 1 times Aug 7 10:22:12 xxxx dhclient[1162]: send_packet: No buffer space = available ifconfig wlan0 wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 ether 12:34:56:78:9a:bc inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 groups: wlan ssid yyyy channel 10 (2457 MHz 11g) bssid 34:56:78:9a:bc:de regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> 10:22:15 xxxx:/usr/home/bakul 972# ifconfig wlan0 wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 ether 12:34:56:78:9a:bc inet 192.168.123.45 netmask 0xffffff00 broadcast 192.168.123.255 groups: wlan ssid yyyy channel 10 (2457 MHz 11g) bssid 34:56:78:9a:bc:de regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> 10:22:20 xxxx:/usr/home/bakul 972# ping google.com PING google.com (74.125.136.139): 56 data bytes 64 bytes from 74.125.136.139: icmp_seq=3D0 ttl=3D50 time=3D67.761 ms ^C --- google.com ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 67.761/67.761/67.761/0.000 ms 10:23:17 xxxx:/usr/home/bakul 973#=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E6034B2C-17C3-48FC-B5D8-E4A2612BC52B>