b43 is broken

Bug #1468628 reported by ojab
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

b43 fails to load if linux-backports-modules-cw-3.12-precise-generic is installed:
>Jun 24 20:06:00 client-england kernel: [ 6.409129] b43: Unknown symbol ssb_pmu_spuravoid_pllupdate (err 0)
>Jun 24 20:06:00 client-england kernel: [ 6.409286] b43: Unknown symbol bcma_core_pci_up (err 0)
>Jun 24 20:06:00 client-england kernel: [ 6.409310] b43: Unknown symbol ssb_bus_pcmciabus_register (err 0)
>Jun 24 20:06:00 client-england kernel: [ 6.409345] b43: Unknown symbol bcma_pmu_spuravoid_pllupdate (err 0)
>Jun 24 20:06:00 client-england kernel: [ 6.409357] b43: Unknown symbol bcma_core_pci_down (err 0)

lspci output can be found in the attached file.

$ lsb_release -rd
Description: Ubuntu 12.04.5 LTS
Release: 12.04
 apt-cache policy linux-backports-modules-cw-3.12-precise-generic linux-image-generic
linux-backports-modules-cw-3.12-precise-generic:
  Installed: (none)
  Candidate: 3.2.0.86.100
  Version table:
     3.2.0.86.100 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
linux-image-generic:
  Installed: 3.2.0.86.100
  Candidate: 3.2.0.86.100
  Version table:
 *** 3.2.0.86.100 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.2.0.23.25 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
$ cat /proc/version_signature
Ubuntu 3.2.0-86.124-generic 3.2.69
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices: aplay: device_list:252: no soundcards found...
ApportVersion: 2.0.1-0ubuntu17.9
Architecture: amd64
ArecordDevices: arecord: device_list:252: no soundcards found...
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/hwC0D3', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D8p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:
 Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
 dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 "Precise Pangolin" - Release amd64 (20131218)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 tun0 no wireless extensions.
MachineType: Apple Inc. Macmini5,1
MarkForUpload: True
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-86-generic root=UUID=b9f66ff4-d588-476e-bad8-998f11054852 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-86.124-generic 3.2.69
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: precise
Uname: Linux 3.2.0-86-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo
WifiSyslog:

dmi.bios.date: 10/20/2011
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MM51.88Z.0077.B0F.1110201309
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-8ED6AF5B48C039E1
dmi.board.vendor: Apple Inc.
dmi.board.version: Macmini5,1
dmi.chassis.type: 16
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-8ED6AF5B48C039E1
dmi.modalias: dmi:bvnAppleInc.:bvrMM51.88Z.0077.B0F.1110201309:bd10/20/2011:svnAppleInc.:pnMacmini5,1:pvr1.0:rvnAppleInc.:rnMac-8ED6AF5B48C039E1:rvrMacmini5,1:cvnAppleInc.:ct16:cvrMac-8ED6AF5B48C039E1:
dmi.product.name: Macmini5,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1468628

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: precise
Revision history for this message
ojab (ojab) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
ojab (ojab) wrote : AlsaDevices.txt

apport information

Revision history for this message
ojab (ojab) wrote : CRDA.txt

apport information

Revision history for this message
ojab (ojab) wrote : Card0.Amixer.info.txt

apport information

Revision history for this message
ojab (ojab) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
ojab (ojab) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
ojab (ojab) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
ojab (ojab) wrote : Lspci.txt

apport information

Revision history for this message
ojab (ojab) wrote : Lsusb.txt

apport information

Revision history for this message
ojab (ojab) wrote : PciMultimedia.txt

apport information

Revision history for this message
ojab (ojab) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
ojab (ojab) wrote : ProcInterrupts.txt

apport information

Revision history for this message
ojab (ojab) wrote : ProcModules.txt

apport information

Revision history for this message
ojab (ojab) wrote : UdevDb.txt

apport information

Revision history for this message
ojab (ojab) wrote : UdevLog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

ojab, thank you for reporting this and helping make Ubuntu better.

Just to clarify, in your Bug Description the package linux-backports-modules-cw-3.12-precise-generic is not installed. Hence, were you just showing us the package version that if it was installed correlates to this issue?

Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
ojab (ojab) wrote :

Yeah, on the moment of bug report I've already deleted it to have wi-fi working.
Before apport-collect I've installed it again & rebooted (and had wi-fi broken again).

Revision history for this message
ojab (ojab) wrote :

Related SSB options from 3.12 config:
CONFIG_B43_SSB=y
CONFIG_SSB_POSSIBLE=y
CONFIG_SSB=m
CONFIG_SSB_SPROM=y
CONFIG_SSB_BLOCKIO=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
CONFIG_SSB_PCIHOST=y
CONFIG_SSB_B43_PCI_BRIDGE=y
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
CONFIG_SSB_DRIVER_PCICORE=y

but updates/cw-3.12/defconfigs/wifi from linux-backports-modules-3.2.0_3.2.0-86.78.tar.gz has only
CONFIG_SSB=m
CONFIG_SSB_PCMCIAHOST=y
CONFIG_SSB_SDIOHOST=y

Revision history for this message
ojab (ojab) wrote :

erm, s/CONFIG/CPTCFG/ for updates/cw-3.12/defconfigs/wifi

Revision history for this message
ojab (ojab) wrote :

…and actually compiled .config has all needed options enabled, but ssb.ko is not packaged into resulting .deb.

Revision history for this message
ojab (ojab) wrote :

Looking at warnings from build it looks like b43 & brcmsmac is broken in all backports >= 3.7.

Revision history for this message
ojab (ojab) wrote :

this fixes build here, looks like the same will also work for cw-3.10 & cw-3.11:

diff --git a/updates/cw-3.12/Makefile.kernel.orig b/updates/cw-3.12/Makefile.kernel
index 95463aa..864ccb3 100644
--- a/updates/cw-3.12/Makefile.kernel.orig
+++ b/updates/cw-3.12/Makefile.kernel
@@ -20,13 +20,14 @@ export backport_srctree = $(M)

 obj-y += compat/

+obj-$(CPTCFG_SSB) += drivers/ssb/
+obj-$(CPTCFG_BCMA) += drivers/bcma/
+
 obj-$(CPTCFG_CFG80211) += net/wireless/
 obj-$(CPTCFG_MAC80211) += net/mac80211/
 obj-$(CPTCFG_WLAN) += drivers/net/wireless/
 #obj-$(CPTCFG_BT) += net/bluetooth/
 #obj-$(CPTCFG_BT) += drivers/bluetooth/
-#obj-$(CPTCFG_SSB) += drivers/ssb/
-#obj-$(CPTCFG_BCMA) += drivers/bcma/
 #obj-$(CPTCFG_ETHERNET) += drivers/net/ethernet/
 #obj-$(CPTCFG_USB_NET_RNDIS_WLAN) += drivers/net/usb/
 #obj-$(CPTCFG_NFC) += net/nfc/

ojab (ojab)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
ojab (ojab) wrote :

And the following patch fixes build for cw-3.7 (and I think for cw-3.8, not tested)
diff --git a/Makefile.orig b/Makefile
index 66263c3..7b6ce6f 100644
--- a/Makefile.orig
+++ b/Makefile
@@ -43,8 +43,8 @@ obj-y := compat/
 obj-$(CONFIG_COMPAT_RFKILL) += net/rfkill/

 ifeq ($(BT),)
-obj-$(CONFIG_COMPAT_WIRELESS) += net/wireless/ net/mac80211/
-obj-$(CONFIG_COMPAT_WIRELESS_MODULES) += drivers/net/wireless/
+obj-$(CONFIG_COMPAT_WIRELESS) += drivers/ssb/ drivers/bcma/ net/wireless/ net/mac80211/
+obj-$(CONFIG_COMPAT_WIRELESS_MODULES) += drivers/ssb/ drivers/bcma/ drivers/net/wireless/

 ifeq ($(CONFIG_STAGING_EXCLUDE_BUILD),)
 endif

Revision history for this message
ojab (ojab) wrote :

What should be done to have it fixed in repos?

penalvch (penalvch)
Changed in linux (Ubuntu):
importance: Low → Medium
Revision history for this message
ojab (ojab) wrote :

ping?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.