DrSchottky / nexmon

The C-based Firmware Patching Framework for Broadcom/Cypress WiFi Chips that enables Monitor Mode, Frame Injection and much more
GNU General Public License v3.0
22 stars 5 forks source link

Firmware has halted or crashed #14

Open jayofelony opened 9 months ago

jayofelony commented 9 months ago

journalctl -k

Feb 01 12:39:11 jayofelony kernel: brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
Feb 01 12:39:11 jayofelony kernel: brcmfmac: brcmf_mon_add_vif: brcmf_mon_add_vif called
Feb 01 12:39:11 jayofelony kernel: brcmfmac: brcmf_mon_add_vif: Adding vif "wlan0mon"
Feb 01 12:39:12 jayofelony kernel: zram: Added device: zram0
Feb 01 12:39:12 jayofelony kernel: zram: Added device: zram1
Feb 01 12:39:12 jayofelony kernel: zram1: detected capacity change from 0 to 204800
Feb 01 12:39:12 jayofelony kernel: EXT4-fs (zram1): mounted filesystem with ordered data mode. Quota mode: none.
Feb 01 12:39:13 jayofelony kernel: zram: Added device: zram2
Feb 01 12:39:13 jayofelony kernel: zram2: detected capacity change from 0 to 40960
Feb 01 12:39:13 jayofelony kernel: EXT4-fs (zram2): mounted filesystem with ordered data mode. Quota mode: none.
Feb 01 12:39:18 jayofelony kernel: device wlan0mon entered promiscuous mode
Feb 01 12:40:08 jayofelony kernel: zram: Added device: zram3
Feb 01 12:40:08 jayofelony kernel: zram3: detected capacity change from 0 to 204800
Feb 01 12:40:08 jayofelony kernel: zram: Added device: zram4
Feb 01 12:40:08 jayofelony kernel: zram4: detected capacity change from 0 to 40960
Feb 01 12:40:11 jayofelony kernel: device wlan0mon left promiscuous mode
Feb 01 12:40:11 jayofelony kernel: device wlan0mon entered promiscuous mode
Feb 01 12:44:57 jayofelony kernel: ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed
Feb 01 12:44:57 jayofelony kernel: ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
Feb 01 12:44:57 jayofelony kernel: ieee80211 phy0: brcmf_net_mon_stop: BRCMF_C_SET_MONITOR error (-5)
Feb 01 12:44:57 jayofelony kernel: device wlan0mon left promiscuous mode
Feb 01 12:44:57 jayofelony kernel: mmc1: card 0001 removed
Feb 01 12:44:57 jayofelony kernel: mmc1: new high speed SDIO card at address 0001
Feb 01 12:44:57 jayofelony kernel: brcmfmac: F1 signature read @0x18000000=0x15264345
Feb 01 12:44:57 jayofelony kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Feb 01 12:44:57 jayofelony kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Feb 01 12:44:57 jayofelony kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 24 2024 20:30:46 version 7.45.206 (nexmon.org: 2.2.2-514-gf195c-2) FWID 01-88ee44ea
Feb 01 12:44:57 jayofelony kernel: brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
Feb 01 12:44:58 jayofelony kernel: brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled

journalctl -S today

Feb 01 12:44:51 jayofelony bettercap-launcher[943]: [12:44:51] [sys.log] [dbg] wifi hop changed
Feb 01 12:44:51 jayofelony bettercap-launcher[943]: [12:44:51] [sys.log] [inf] wifi sending association request to AP Ziggo (channel:11 encryption:WPA2)
Feb 01 12:44:52 jayofelony bettercap-launcher[943]: [12:44:52] [sys.log] [inf] wifi sending association request to AP Ziggo6611EA8 (channel:11 encryption:WPA2)
Feb 01 12:44:52 jayofelony bettercap-launcher[943]: [12:44:52] [sys.log] [inf] wifi deauthing client 70:f1:1c:48:fd:af (Shenzhen Ogemray Technology Co.,Ltd) from AP Ziggo6611EA8 (channel:11 encryption:WPA2)
Feb 01 12:44:54 jayofelony bettercap-launcher[943]: [12:44:54] [sys.log] [inf] wifi deauthing client d0:ba:e4:8b:0d:94 (Shanghai MXCHIP Information Technology Co., Ltd.) from AP Ziggo6611EA8 (channel:11 encryption:WPA2)
Feb 01 12:44:56 jayofelony bettercap-launcher[943]: [12:44:56] [sys.log] [dbg] wifi skipping deauth frame from d0:ba:e4:8b:0d:94
Feb 01 12:44:56 jayofelony bettercap-launcher[943]: [12:44:56] [sys.log] [inf] wifi deauthing client d2:ac:32:45:e5:1b from AP Ziggo6611EA8 (channel:11 encryption:WPA2)
Feb 01 12:44:57 jayofelony kernel: ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed
Feb 01 12:44:57 jayofelony kernel: ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
Feb 01 12:44:57 jayofelony kernel: ieee80211 phy0: brcmf_net_mon_stop: BRCMF_C_SET_MONITOR error (-5)
Feb 01 12:44:57 jayofelony kernel: device wlan0mon left promiscuous mode
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony NetworkManager[683]: <info>  [1706787897.2023] device (wlan0): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony NetworkManager[683]: <info>  [1706787897.2531] radio killswitch /sys/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/ieee80211/phy0/rfkill1 disappeared
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony kernel: mmc1: card 0001 removed
Feb 01 12:44:57 jayofelony systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address
Feb 01 12:44:57 jayofelony bettercap-launcher[943]: [12:44:57] [sys.log] [err] wifi could not inject WiFi packet: send: No such device or address

uname -a Linux jayofelony 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

Linux version: RaspiOS 64 bit lite bookworm

Device: Raspberry Pi 4, bcm43455c0 nexmon 7.45.206

jayofelony commented 9 months ago

Also opened an issue with the original repo of seemoo-lab. Since this happens on both builds with either repo. https://github.com/seemoo-lab/nexmon/issues/595