lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 10 Jan 2012 12:15:29 -0800
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	"John W. Linville" <linville@...driver.com>,
	Network Development <netdev@...r.kernel.org>,
	Arend van Spriel <arend@...adcom.com>,
	Franky Lin <frankyl@...adcom.com>
Subject: brcm80211 breakage..

So the wireless on my Macbook Air no longer seems to work with the
current -git tree.

The BRCMSMAC driver *used* to work, and no longer does. Also, very
annoyingly, it's even hard to *compile* the thing, because it used to
be

  depends on BCMA=n

but now it is the exact reverse:

  depends on BCMA

so there is no sane way to carry a configuration over from before, and
things like bisection is a major pain due to having to play idiotic
configuration games to get it to work across all these modifications.

Ragardless, even once you actually enable BCMA and can get the driver
to come back, it just doesn't do anything. Maybe there is some
remaining config problem, but I don't think so. I think the driver is
just buggered.

The kernel messages don't say much. A working config for me has
messages like this:

  brcmsmac 0000:02:00.0: bus 2 slot 0 func 0 irq 11
  brcmsmac 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
  brcmsmac 0000:02:00.0: setting latency timer to 64
  ieee80211 phy0: brcms_ops_config: change monitor mode: false (implement)
  ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
  ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
  ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
  ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
  ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled
true, count 0 (implement)
  ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled
true, count 1 (implement)

while the nonworking one says:

  brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 17
  ieee80211 phy0: wl0: brcms_b_attach: si_attach failed
  ieee80211 phy0: wl0: brcms_b_attach: failed with err 11
  ieee80211 phy0: wl0: brcms_c_attach: failed with err 11
  ieee80211 phy0: brcmsmac: attach() failed with code 11
  brcmsmac: brcms_bcma_probe: brcms_attach failed!
  brcms_module_init: register returned 0

and no wireless device ever shows up.

lspci for this device says:

  02:00.0 Network controller: Broadcom Corporation BCM43224
802.11a/b/g/n (rev 01)
          Subsystem: Apple Computer Inc. Device 00e9
          Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
          Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
          Latency: 0, Cache Line Size: 256 bytes
          Interrupt: pin A routed to IRQ 17
          Region 0: Memory at a0400000 (64-bit, non-prefetchable) [size=16K]
          Capabilities: <access denied>
          Kernel driver in use: brcmsmac
  00: e4 14 53 43 06 00 10 00 01 00 80 02 40 00 00 00
  10: 04 00 40 a0 00 00 00 00 00 00 00 00 00 00 00 00
  20: 00 00 00 00 00 00 00 00 00 00 00 00 6b 10 e9 00
  30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

(this is from the working kernel, obviously).

Please look into this. I'll obviously be happy test any reasonable suggestions,

                 Linus
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ