https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284421

--- Comment #2 from Shirkdog <msh...@daemon-security.com> ---
(In reply to Bjoern A. Zeeb from comment #1)

>>>>>So you left the laptop over night and then you typed in ifconfig wlan0 
>>>>>down and that immediately led to what's below in the log?

After a period of time, I come back and wlan0 has lost carrier with the
wireless network, I will see "no carrier" under "status" when I do "ifconfig
wlan0". When I do a netif restart or "ifconfig wlan0 down" or anything with the
interface that is when the kernel will panic. 

>>>>Now it will not come up by itself if this was a manual ifconfig down or 
>>>>netif stop.  So something else happened that very second or the crash was 
>>>>not produced by manual intervention.

When I see the wlan0 interface is no longer connected to the network,
everything else related to the OS or kernel are fine.

>>>>>Did you by any chance run a netif wlan0 restart (not stop) or something 
>>>>>else happened in parallel?  Do you have wpa logs for that time (ideally 
>>>>>let it log to console as well so we have a chance to see -- and remove 
>>>>>sensitive information).

I typically would do "service netif restart" and not specifically for wlan0. I
will get wpa_supplicant setup so I will have more detailed logs. The only thing
I see before I try to "service netif restart" is the following in
/var/log/messages:

Jan 21 08:45:58 15-CURRENT-HOST kernel: ---<<BOOT>>---

BEFORE THIS ENTRY system booted up, these are the first logs seen regarding
wireless

Jan 21 09:25:05 15-CURRENT-HOST kernel: [2373] iwlwifi0:
linuxkpi_ieee80211_beacon_loss: vif 0xfffffe0143dfbe80 vap 0xfffffe0143dfb010
state RUN
Jan 21 09:25:05 15-CURRENT-HOST syslogd: last message repeated 1 times
Jan 21 09:25:05 15-CURRENT-HOST wpa_supplicant[75193]: wlan0:
CTRL-EVENT-DISCONNECTED bssid=BSSID-MAC reason=0
Jan 21 09:25:05 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Added BSSID
BSSID-MAC into ignore list, ignoring for 10 seconds
Jan 21 09:25:05 15-CURRENT-HOST kernel: [2373] wlan0: link state changed to
DOWN
Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Trying to
associate with BSSID-MAC-2 (SSID='AWESOME-SSID-NAME' freq=2417 MHz)
Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: FT: Invalid key
management type (2)
Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Associated with
BSSID-MAC-2
Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: WPA: Key
negotiation completed with BSSID-MAC-2 [PTK=CCMP GTK=CCMP]
Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0:
CTRL-EVENT-CONNECTED - Connection to BSSID-MAC-2 completed [id=2 id_str=]
Jan 21 09:25:06 15-CURRENT-HOST kernel: [2374] wlan0: link state changed to UP
Jan 21 09:25:06 15-CURRENT-HOST dhclient[15178]: New IP Address (wlan0):
192.168.1.112
Jan 21 09:25:06 15-CURRENT-HOST dhclient[16695]: New Subnet Mask (wlan0):
255.255.255.0
Jan 21 09:25:06 15-CURRENT-HOST dhclient[17849]: New Broadcast Address (wlan0):
192.168.1.255
Jan 21 09:25:06 15-CURRENT-HOST dhclient[18673]: New Routers (wlan0):
192.168.1.1
Jan 21 12:50:56 15-CURRENT-HOST kernel: [14724] iwlwifi0:
linuxkpi_ieee80211_beacon_loss: vif 0xfffffe0143dfbe80 vap 0xfffffe0143dfb010
state RUN
Jan 21 12:51:01 15-CURRENT-HOST kernel: [14729] iwlwifi0:
linuxkpi_ieee80211_beacon_loss: vif 0xfffffe0143dfbe80 vap 0xfffffe0143dfb010
state RUN
Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0:
CTRL-EVENT-DISCONNECTED bssid=BSSID-MAC-2 reason=0
Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Removed BSSID
BSSID-MAC from ignore list (expired)
Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Added BSSID
BSSID-MAC-2 into ignore list, ignoring for 10 seconds
Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: ioctl[SIOCS80211, op=20,
val=0, arg_len=7]: Can't assign requested address
Jan 21 12:51:01 15-CURRENT-HOST kernel: [14729] iwlwifi0:
linuxkpi_ieee80211_connection_loss: vif 0xfffffe0143dfbe80 vap
0xfffffe0143dfb010 state RUN
Jan 21 12:51:01 15-CURRENT-HOST kernel: [14729] wlan0: link state changed to
DOWN
Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Removed BSSID
BSSID-MAC-2 from ignore list (clear)
Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Trying to
associate with BSSID-MAC-3 (SSID='AWESOME-SSID-NAME' freq=2417 MHz)
Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: FT: Invalid key
management type (2)
Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Associated with
BSSID-MAC-3
Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: WPA: Key
negotiation completed with BSSID-MAC-3 [PTK=CCMP GTK=CCMP]
Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0:
CTRL-EVENT-CONNECTED - Connection to BSSID-MAC-3 completed [id=2 id_str=]
Jan 21 12:51:12 15-CURRENT-HOST kernel: [14740] wlan0: link state changed to UP

This IP is picked up from DHCPD running on a bridge interface I use for running
bhyve VMs, the wireless connection is gone and wlan0 picks this up from
localhost:

Jan 21 12:51:13 15-CURRENT-HOST dhclient[40302]: New IP Address (wlan0):
172.16.66.142
Jan 21 12:51:13 15-CURRENT-HOST dhclient[42209]: New Subnet Mask (wlan0):
255.255.255.0
Jan 21 12:51:13 15-CURRENT-HOST dhclient[43952]: New Broadcast Address (wlan0):
172.16.66.255
Jan 21 12:51:13 15-CURRENT-HOST dhclient[46038]: New Routers (wlan0):
172.16.66.6

When I see the wireless is not working, I do "service netif restart" and these
are the logs that follow. (matching what I already posted)

Jan 21 12:56:39 15-CURRENT-HOST wpa_supplicant[75193]: wlan0:
CTRL-EVENT-DISCONNECTED bssid=BSSID-MAC-3 reason=0
Jan 21 12:56:39 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Added BSSID
BSSID-MAC-3 into ignore list, ignoring for 10 seconds
Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] wlan0: link state changed to
DOWN
Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Microcode SW error
detected.  Restarting 0x2000000.
Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Start IWL Error Log
Dump:
Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Transport status:
0x0000004B, valid: 6
Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Loaded firmware
version: 36.ca7b901d.0 8000C-36.ucode

... same logs from before

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to