NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Raspberry Pi 3 and NetBSD 10.0_BETA - WiFi stops working after few hours and wonky USB keyboard



Hi,
is anybody using a Raspberry Pi 3 daily? I've been testing it with 10.0_BETA (tried -current from a week back but didn't boot) and I'm experiencing intermittent problems with WiFi and USB keyboard.

I'm currently compiling packages from pkgsrc-current to test the future 2023Q1 release and right now I'm at security/ca-certificates (btw. this one is a beast to build: llvm, rust, damn). The load during compile is around 1-1.5 and usually 1 or 2 cores are utilized (Rpi3 has 4 cores).

First problem I noticed is that USB keyboard is "wonky". It repeats my keystrokes a bunch of times until I hit a different key. It's barely usable. I thought it may be due to CPU utilization but it also happens right after a reboot. Console via SSH is of course OK. The keyboard itself of course is my daily driver on both Windows and Mac OS and is working fine. This is the only external device connected to the RPI3 and I do have a proper and powerful enough power adapter (JustPI, 5V and 3A).

Another problem is that after a while - hours, tens of hours the Pi stops responding over network, my router/ap (MikroTik) shows stuff like:

mar/25 20:32:50 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 connected, signal strength -59 mar/25 20:32:56 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 disconnected, 4-way handshake timeout, signal strength -59 mar/25 20:32:59 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 connected, signal strength -51 mar/25 20:33:05 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 disconnected, 4-way handshake timeout, signal strength -55 mar/25 20:33:08 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 connected, signal strength -59 mar/25 20:33:14 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 disconnected, 4-way handshake timeout, signal strength -59 mar/25 20:33:18 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 connected, signal strength -59 mar/25 20:33:24 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 disconnected, 4-way handshake timeout, signal strength -59 mar/25 20:33:27 caps,debug B8:27:EB:E4:30:C8@5GHz-ap-salon-1 connected, signal strength -60

when I connect to the RPI3 with screen and keyboard I can barely see anything in logs, maybe:

Mar 25 09:21:21 rpi3 wpa_supplicant[7237]: bwfm0: CTRL-EVENT-SSID-REENABLED id=0 ssid="bat cave" Mar 25 09:21:21 rpi3 wpa_supplicant[7237]: bwfm0: Trying to associate with 64:d1:54:ee:0c:fc (SSID='bat cave' freq=5240 MHz) Mar 25 09:21:31 rpi3 wpa_supplicant[7237]: bwfm0: Authentication with 64:d1:54:ee:0c:fc timed out. Mar 25 09:21:31 rpi3 wpa_supplicant[7237]: bwfm0: CTRL-EVENT-DISCONNECTED bssid=64:d1:54:ee:0c:fc reason=3 locally_generated=1 Mar 25 09:21:31 rpi3 wpa_supplicant[7237]: bwfm0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="bat cave" auth_failures=2 duration=23 reason=CONN_FAIL

or:

Mar 25 13:05:21 rpi3 wpa_supplicant[7237]: bwfm0: CTRL-EVENT-DISCONNECTED bssid=64:d1:54:ee:0c:fb reason=0 Mar 25 13:05:30 rpi3 wpa_supplicant[7237]: bwfm0: Trying to associate with cc:2d:e0:ea:16:14 (SSID='bat cave' freq=2452 MHz) Mar 25 13:05:40 rpi3 wpa_supplicant[7237]: bwfm0: Authentication with cc:2d:e0:ea:16:14 timed out. Mar 25 13:05:40 rpi3 wpa_supplicant[7237]: bwfm0: CTRL-EVENT-DISCONNECTED bssid=cc:2d:e0:ea:16:14 reason=3 locally_generated=1 Mar 25 13:05:44 rpi3 wpa_supplicant[7237]: bwfm0: Trying to associate with 64:d1:54:ee:0c:fc (SSID='bat cave' freq=2457 MHz) Mar 25 13:05:49 rpi3 wpa_supplicant[7237]: bwfm0: Associated with 64:d1:54:ee:0c:fc Mar 25 13:05:49 rpi3 wpa_supplicant[7237]: bwfm0: WPA: Key negotiation completed with 64:d1:54:ee:0c:fc [PTK=CCMP GTK=CCMP] Mar 25 13:05:49 rpi3 wpa_supplicant[7237]: bwfm0: CTRL-EVENT-CONNECTED - Connection to 64:d1:54:ee:0c:fc completed [id=0 id_str=] Mar 25 13:07:58 rpi3 wpa_supplicant[7237]: bwfm0: WPA: Group rekeying completed with 64:d1:54:ee:0c:fc [GTK=CCMP] Mar 25 13:12:59 rpi3 wpa_supplicant[7237]: bwfm0: WPA: Group rekeying completed with 64:d1:54:ee:0c:fc [GTK=CCMP] Mar 25 13:17:59 rpi3 wpa_supplicant[7237]: bwfm0: WPA: Group rekeying completed with 64:d1:54:ee:0c:fc [GTK=CCMP] Mar 25 13:07:58 rpi3 wpa_supplicant[7237]: bwfm0: WPA: Group rekeying completed with 64:d1:54:ee:0c:fc [GTK=CCMP]

(which is funny, 'cause wpa_supplicant show the rekeying was completed but my APs show it's a timeout and device gets disconnected)

or once:

Mar 25 16:21:39 rpi3 /netbsd: [ 136787.2070108] bwfm0: could not set power

and ifconfig shows that everything should be fine:

bwfm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ssid "bat cave" nwkey 65536:"",0x2aa34e60730c1c89c23bb00ce8e4f25b,0xb3785e891a65b9ecc7bcfd6632fb51c3,""
        powersave off
        bssid cc:2d:e0:ea:16:14 chan 10
        address: b8:27:eb:e4:30:c8
        media: IEEE802.11 autoselect (VHT mode 11ac)
        status: active
        inet6 fe80::e739:9d49:e1e3:c527%bwfm0/64 flags 0 scopeid 0x3
        inet 192.168.2.212/24 broadcast 192.168.2.255 flags 0

but of course it isn't. So far I'm running wpa_supplicant with -d and -f /var/log/wpa_supplicant.log however this is always empty. No additional debug information.
What helps is restarting wpa_supplicant.

Anybody has similar experience with RPI3 and WiFi or USB?

--
Regards
Bartłomiej Krawczyk


Home | Main Index | Thread Index | Old Index