Skip to content
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

firmware-brcm80211 breaks wlan0 on Raspbian testing #51

Closed
fkbreitl opened this issue Jan 6, 2017 · 9 comments
Closed

firmware-brcm80211 breaks wlan0 on Raspbian testing #51

fkbreitl opened this issue Jan 6, 2017 · 9 comments

Comments

@fkbreitl
Copy link

fkbreitl commented Jan 6, 2017

I would like to report issue raspberrypi/linux#1780:

Package: firmware-brcm80211
Version: 20161130-2 (testing)

After upgrading Raspbian from jessie to testing wlan0 disappears on a Raspberry Pi 3 with a similar error message reported in e.g. Debian Bug #821400 or at https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=138629&start=25:
brcmfmac_sdio mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.bin failed with error -2

After downgrading to version: 043+rpi5 (stable) wlan0 appears and works again.

043+rpi5 (stable) provides the same version of brcmfmac43430-sdio.bin found at https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm80211/brcm/. 20161130-2 (testing) provides something else that doesn't work on a Raspberry Pi 3.

I wonder if this package could be changed to have wireless working again.

I am using Raspbian GNU/Linux stretch/sid with kernel 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l

I reported this problem to Debian because the Raspbian packet states:

Maintainer: Debian Kernel Team debian-kernel@lists.debian.org

However I was told this might not be correct either. See

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850380.

@fkbreitl fkbreitl changed the title firmware-brcm80211 breaks wlan0 on Raspbian firmware-brcm80211 breaks wlan0 on Raspbian testing Jan 6, 2017
@XECDesign
Copy link
Member

To put this issue into context:
We (Raspberry Pi) run archive.raspberrypi.org and support only stable.
Raspbian supports stable, runs raspbian.org and rebuilds from Debian.

Debian did not have brcmfmac43430-sdio.bin, so we provided our own. This also required adding brcmfmac43430-sdio.txt/

Debian have added the .bin in testing, but are missing the .txt, which might be why it doesn't work.
You can try by pulling it from here https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.txt

If that works, it may be worth bumping the issue with Debian again.

@fkbreitl
Copy link
Author

fkbreitl commented Jan 6, 2017

The latest version of brcmfmac43430-sdio.bin and brcmfmac43430-sdio.txt are found at https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm80211/brcm/. They are already included in jessie and work well.

I don't know where these two files in testing came from, but they don't work and therefore should be replaced by the same (latest) version found in jessie or the link above.

@XECDesign
Copy link
Member

The testing version of the package comes from Raspbian and, in turn, Debian, not us. Did adding the .txt file give you working wifi with the testing package?

@fkbreitl
Copy link
Author

fkbreitl commented Jan 6, 2017

So who is maintaining the testing repository and where should I report this bug?

Yes, after overwriting these two files in testing with the jessie version everything works as before.

@XECDesign
Copy link
Member

The testing package you've got has come from Raspbian (https://www.raspbian.org/RaspbianBugs), but the issue is inherited from Debian.

The Debian package which the Raspbian package is built from is missing the .txt file. I am suggesting you point out that the .txt file is missing in the Debian issue you've raised.

You might have trouble finding somebody to take responsibility for this, but it does trace back to Debian.

@fkbreitl
Copy link
Author

fkbreitl commented Jan 6, 2017

As I understand it, the txt files are even more hardware specific and omitted on purpose. I don't know how they get there. Maybe auto-generated - at least I remember reading it could be copied from /sys/firmware/.

Anyways I get the impression, that Raspbian testing is different from Debian testing and rather something like unstable or experimental with wrong maintainer information and nobody feeling responsible. In this case it is not even clear where to address bug reports to and I will have to switch back to stable. I notices a number of other problems too.

@XECDesign
Copy link
Member

Raspbian is Debian recompiled for armv6 with HF support. They take the Debian source package and build it without any modifications. Sometimes modifications are required for the package to work correctly, and they do make those changes, but this is not such a case. The package you are referring to would not support this hardware if you were running Debian either. For the most part, Raspbian testing is exactly the same as Debian testing. That is certainly the case for this package.

There is nobody to take responsibility because by moving to testing you've opt out of the work Raspberry Pi have done on top of stock Raspbian.

@fkbreitl
Copy link
Author

fkbreitl commented Jan 9, 2017

Ok, I see. I am just surprised because I thought this work would happen on testing and not on stable.

@rumpelsepp
Copy link

rumpelsepp commented May 4, 2017

Are there any known efforts upstream to fix this? I ran into this just moments ago and fortunately I found the solution here: manually deploying that .txt file. The original debian bugreport seems archived/closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants