-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no connection on raspberry pi 3 b+ (no interfaces found) #3
Comments
You can find the expected dmesg boot output of the Pi 3 B+ at https://gist.github.com/gokrazy-bot/5bab202a89e1623f192292b9080d18a9 Notably, the brcmfmac lines should read:
If you boot Raspbian from an SD card, can you check the dmesg log messages? Does it load the firmware correctly on your device, and if so, which version? Maybe we just need to pull in new firmware files, but I’m not sure why it works on my Pi 3 B+ but not on yours… :-/ |
Hmm, gokrazy/firmware#299 is failing with a similar error message to yours, but I thought that would be triggered by the new firmware version (which isn’t merged yet). Perhaps you could try reverting to an older kernel and/or firmware version? The easiest way would probably be to check out both the kernel and firmware repository locally, use a replace directive, then use |
Given that also a new kernel version update is failing with a similar error, my guess would be that Linux 6.2 made loading firmware flaky (hence it passed CI once, but doesn’t pass any more). I’ll try to take a look some time next week. |
I'll give those ideas a try, thanks! I'm not sure how much activity there normally is on the related kernel modules, but it seems that there has been a fair amount of change in the last month: https://github.com/search?q=repo%3Atorvalds%2Flinux+brcmfmac&type=commits&s=author-date&o=desc |
I can reproduce the issue. With kernel 6.1.12:
But then, the most recent commit (kernel 6.2) broke it:
|
This reverts commit ce9b7ea. breaks WiFi on the Raspberry Pi 3B+ (possibly others) related to gokrazy/wifi#3
The kernel doesn’t pass CI, but there was a bug in the CI setup that incorrectly tested the live kernel version, not the version from the PR. This is now fixed with: I haven’t found a report of the WiFi issue with Linux 6.2 yet. Will try to bisect it to an individual 6.2 commit when I find some more time. |
Now starting to bisect this issue. Let’s see if we can track it down. |
Could be related to raspberrypi/linux#5379 |
Thanks for the tip, but that issue is about kernel commit raspberrypi/linux@22dfb21. Our issue is caused by commit torvalds/linux@d6a5c56 I’ll send an email to the commit authors. |
Informed the authors about the breakage in https://lore.kernel.org/linux-wireless/CANnVG6=a3etRagG+RaSEH-b4_nfzxpEKffQtuMWrttrbgjunZQ@mail.gmail.com/ |
Ah yeah 🤦 got confused sorry. I was debugging firmware issues with that one today, that's why I got mistaken :) |
Turns out that commit splits up code into two kernel modules, and our wifi program didn’t load the new one! With the fix f611656, the new kernel version successfully passed CI: gokrazy/kernel#500 |
Hooray! That's exciting -- definitely going to give this another go in the near future. I got tied up with my job hunt, so never circled back to this 😅 |
Awesome! Thanks for finding and fixing ✨ |
If I run
/user/wifi
, I get1969/12/31 17:20:50 no interfaces found
. I noticed that it was complaining about a missingbrcmfmac43455-sdio.raspberrypi,3-model-b-plus.bin
but raspberrypi/linux#4248 (comment) suggests that this warning is expected (for some reason)?Any ideas about where to start debugging?
config.json:
dmesg:
The text was updated successfully, but these errors were encountered: