Skip to contentSkip to conversation

Regression: bcm4312 lp-phy device not working in 4.17-rc5 kernel

DISCUSSION Chris Vine 2 participants 4 messages May 14, 2018

lore
Share & tools
lore

Chris Vine

author
#0 lore raw

I have an old netbook with a Broadcom bcm4312 802.11b/g lp-phy [14e4:4315] (rev 01) wifi device. This works up to and including the 4.16 kernel, but not with 4.17-rc5.

The b43, mac80211, cfg80211, ssb and mmc_core modules are loaded OK, as is the firmware, and the wlan0 interface will come up, but any attempt to use the interface fails and it cannot (for example) scan.

No useful error messages are given. The interface (wlan0) is just reported as not being ready.

Chris

#1 lore raw
Quoted 10 lines · On Mon, 14 May 2018 18:49:53 +0100 Chris Vine <[email protected]> wrote:

I have an old netbook with a Broadcom bcm4312 802.11b/g lp-phy [14e4:4315] (rev 01) wifi device. This works up to and including the 4.16 kernel, but not with 4.17-rc5.

The b43, mac80211, cfg80211, ssb and mmc_core modules are loaded OK, as is the firmware, and the wlan0 interface will come up, but any attempt to use the interface fails and it cannot (for example) scan.

No useful error messages are given. The interface (wlan0) is just reported as not being ready.

Hi,

thanks for your report.

Can you please provide all kernel log messages anyway? And what does "not ready" mean exactly?

It would be extremely helpful if you'd do a git bisect to find the commit that broke it.

Signature · 8 lines
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20180514/d43a6cd2/attachment.sig>
#2 lore raw
Quoted 16 lines · On Mon, 14 May 2018 19:55:39 +0200 Michael B?sch <[email protected]> wrote:
Quoted 10 lines · On Mon, 14 May 2018 18:49:53 +0100 Chris Vine <[email protected]> wrote:

I have an old netbook with a Broadcom bcm4312 802.11b/g lp-phy [14e4:4315] (rev 01) wifi device. This works up to and including the 4.16 kernel, but not with 4.17-rc5.

The b43, mac80211, cfg80211, ssb and mmc_core modules are loaded OK, as is the firmware, and the wlan0 interface will come up, but any attempt to use the interface fails and it cannot (for example) scan.

No useful error messages are given. The interface (wlan0) is just reported as not being ready.

Hi,

Quoted 8 lines

thanks for your report.

Can you please provide all kernel log messages anyway? And what does "not ready" mean exactly?

It would be extremely helpful if you'd do a git bisect to find the commit that broke it.

Ok, I just noticed that mainline still contains the ssb breakage.

So you are most likely hitting this:
https://patchwork.kernel.org/patch/10393729/

Signature · 8 lines
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20180514/7e1e9beb/attachment.sig>
author
#3 lore raw
Quoted 24 lines · On Mon, 14 May 2018 20:02:05 +0200 Michael B?sch <[email protected]> wrote:
Quoted 21 lines · On Mon, 14 May 2018 19:55:39 +0200 Michael B?sch <[email protected]> wrote:
Quoted 10 lines · On Mon, 14 May 2018 18:49:53 +0100 Chris Vine <[email protected]> wrote:

I have an old netbook with a Broadcom bcm4312 802.11b/g lp-phy [14e4:4315] (rev 01) wifi device. This works up to and including the 4.16 kernel, but not with 4.17-rc5.

The b43, mac80211, cfg80211, ssb and mmc_core modules are loaded OK, as is the firmware, and the wlan0 interface will come up, but any attempt to use the interface fails and it cannot (for example) scan.

No useful error messages are given. The interface (wlan0) is just reported as not being ready.

Hi,

thanks for your report.

Can you please provide all kernel log messages anyway? And what does "not ready" mean exactly?

Quoted 8 lines
Quoted 3 lines

It would be extremely helpful if you'd do a git bisect to find the commit that broke it.

Ok, I just noticed that mainline still contains the ssb breakage.

So you are most likely hitting this:
https://patchwork.kernel.org/patch/10393729/

Yes thanks, applying that patch resolves the issue fine. There was a similar problem with disabled PCI support for b43 which found its way into the 4.15.0/4.15.1 kernels:
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=a9e6d44ddeccd3522670e641f1ed9b068e746ff7
At least this bug should avoid getting into the mainline release.

Chris