All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: iwd@lists.01.org
Subject: Re: iwd core dump
Date: Fri, 26 Jun 2020 10:34:07 -0500	[thread overview]
Message-ID: <8b6e62da-c44c-ed0e-a200-e70e494017c4@gmail.com> (raw)
In-Reply-To: <CAG17S_Pb+3DgdButoT70norbsxKHJNTSBYzHVjTRuuoiddBv-A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3158 bytes --]

Hi Keith,

On 6/25/20 5:34 PM, KeithG wrote:
> This is on an Rpi B3+ runint aarch64. I have noticed that, periodically I get 
> disconnected and it doe snot reconnect. I am using connman to manage the iwd 
> connection. This is the first time I have seen the crash in the log. It has been 
> crashing and not recovering.
> 
> It gets a Deauth event (I've seen this quite a bit) and usually, it will not 
> reconnect until I reboot it and my router. How can I best diagnose this?
> 
> It is iwd 1.7 and connman 1.38. potentially useful excerpts from my journal:
> 
> Jun 17 23:26:58 rune64 kernel: Booting Linux on physical CPU 0x0000000000 
> [0x410fd034]
> Jun 17 23:26:58 rune64 kernel: Linux version 5.4.44-1-ARCH (alarm(a)buildrune64) 
> (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Mon Jun 22 15:13:50 CDT 2020
> Jun 17 23:26:58 rune64 kernel: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
> ...
> Jun 17 23:26:58 rune64 kernel: raspberrypi-firmware soc:firmware: Attached to 
> firmware from 2020-06-10 17:52, variant start_cd
> Jun 17 23:26:58 rune64 kernel: raspberrypi-firmware soc:firmware: Firmware hash 
> is e46bba1638cca2708b31b9daf4636770ef981735
> ...
> Jun 17 23:26:59 rune64 kernel: brcmfmac: F1 signature read @0x18000000=0x15264345
> Jun 17 23:26:59 rune64 kernel: brcmfmac: brcmf_fw_alloc_request: using 
> brcm/brcmfmac43455-sdio for chip BCM4345/6
> Jun 17 23:26:59 rune64 kernel: usbcore: registered new interface driver brcmfmac
> ...
> Jun 17 23:27:00 rune64 kernel: brcmfmac: brcmf_fw_alloc_request: using 
> brcm/brcmfmac43455-sdio for chip BCM4345/6
> Jun 17 23:27:00 rune64 kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: 
> BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
> ...
> Jun 24 22:28:10 rune64 iwd[261]: Wireless daemon version 1.7
> Jun 24 22:28:10 rune64 iwd[261]: Loaded configuration from /etc/iwd/main.conf
> Jun 24 22:28:10 rune64 systemd[1]: Started Wireless service.
> Jun 24 22:28:10 rune64 iwd[261]: netconfig: Network configuration is disabled.
> Jun 24 22:28:10 rune64 iwd[261]: Wiphy: 0, Name: phy0
> Jun 24 22:28:10 rune64 iwd[261]:         Permanent Address: b8:27:eb:52:cc:d0
> Jun 24 22:28:10 rune64 iwd[261]:         Bands: 2.4 GHz 5 GHz
> Jun 24 22:28:10 rune64 iwd[261]:         Ciphers: CCMP TKIP BIP
> Jun 24 22:28:10 rune64 iwd[261]:         Supported iftypes: ad-hoc station ap 
> p2p-client p2p-go p2p-device
> Jun 24 22:28:10 rune64 iwd[261]: Wiphy phy0 will only use the default interface
> Jun 24 22:28:11 rune64 iwd[261]: hardware_rekey not supported
> Jun 25 13:40:14 rune64 iwd[261]: Received Deauthentication event, reason: 2, 
> from_ap: false

Hmm, this implies the firmware tried to roam.  Does your network have multiple 
APs in the same SSID?

Can you run iwmon and get a trace of this happening?  See 
https://iwd.wiki.kernel.org/debugging for details.

> Jun 25 13:40:14 rune64 iwd[261]: Received error during CMD_TRIGGER_SCAN: 
> Resource temporarily unavailable (11)

Hmm, I suspect we fixed this particular crash in iwd 1.8.  Can you try that?

Regards,
-Denis

  reply	other threads:[~2020-06-26 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-25 22:34 iwd core dump KeithG
2020-06-26 15:34 ` Denis Kenzior [this message]
2020-06-26 17:02   ` KeithG

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8b6e62da-c44c-ed0e-a200-e70e494017c4@gmail.com \
    --to=denkenz@gmail.com \
    --cc=iwd@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.