You are not logged in.

#1 2014-11-10 10:37:01

ridcully
Member
Registered: 2009-03-28
Posts: 52

Issue with latest broadcom-wl on Macbook Pro

Hi,

I own a Macbook Pro (mid 2014 model) and updated to the newest version of the broadcom-wl driver. If I boot my machine I get the following error

[    5.071454] genirq: Flags mismatch irq 0. 00000080 (wlan%d) vs. 00015a00 (timer)
[    5.071495] ------------[ cut here ]------------
[    5.071509] kernel BUG at include/net/cfg80211.h:3323!
[    5.071525] invalid opcode: 0000 [#1] PREEMPT SMP 
[    5.071544] Modules linked in: wl(PO+) snd_hda_codec_cirrus snd_hda_codec_hdmi snd_hda_codec_generic cfg80211 tg3 ptp pps_core libphy iTCO_wdt iTCO_vendor_support thunderbolt(+) ecb btusb bluetooth rfkill hid_generic joydev mousedev hid_apple mac_hid evdev applesmc led_class input_polldev coretemp hwmon uas intel_rapl usb_storage x86_pkg_temp_thermal intel_powerclamp snd_hda_intel bcm5974 snd_hda_controller kvm_intel snd_hda_codec lpc_ich snd_hwdep kvm usbhid hid mei_me snd_pcm mei snd_timer shpchp snd i915 drm_kms_helper drm intel_gtt i2c_i801 i2c_algo_bit i2c_core soundcore crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd pcspkr rtc_efi sbs sbshc video battery apple_bl button ac processor ext4 crc16 mbcache jbd2 sd_mod
[    5.071840]  crc_t10dif crct10dif_common ahci libahci libata scsi_mod xhci_hcd usbcore usb_common
[    5.071875] CPU: 2 PID: 168 Comm: systemd-udevd Tainted: P           O   3.17.2-1-ARCH #1
[    5.071899] Hardware name: Apple Inc. MacBookPro11,1/Mac-189A3D4F975D5FFC, BIOS MBP111.88Z.0138.B11.1408291433 08/29/2014
[    5.071930] task: ffff8804572bbc60 ti: ffff880457898000 task.ti: ffff880457898000
[    5.071952] RIP: 0010:[<ffffffffa08878b8>]  [<ffffffffa08878b8>] wl_cfg80211_detach+0xf8/0x110 [wl]
[    5.072000] RSP: 0018:ffff88045789ba08  EFLAGS: 00010246
[    5.072017] RAX: 0000000000000000 RBX: ffff880457ed2800 RCX: 00000000000dd702
[    5.072037] RDX: ffff880457ed2800 RSI: ffff880457bc7c58 RDI: ffff8804578e0000
[    5.072058] RBP: ffff88045789ba28 R08: 0000000000017420 R09: ffffea00115ce2c0
[    5.072078] R10: ffffffff810c8cf8 R11: 00000000000004ba R12: ffff880457bc7c18
[    5.072098] R13: ffff880457bc7c58 R14: ffff880457ed2800 R15: ffff880457bc7c00
[    5.072119] FS:  00007f3e273117c0(0000) GS:ffff88046f280000(0000) knlGS:0000000000000000
[    5.072142] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.072159] CR2: 00007f3e25200000 CR3: 00000004579b5000 CR4: 00000000001407e0
[    5.072180] Stack:
[    5.072188]  ffffffffa087f186 ffff880457bc7c00 ffff8804578e0000 0000000000000000
[    5.072215]  ffff88045789bad8 ffffffffa087f89f 0000000000000246 0100000000004000
[    5.072241]  ffff88045789bad4 0000000400000000 000000002ab60493 0000000000000080
[    5.072266] Call Trace:
[    5.072294]  [<ffffffffa087f186>] ? wl_free_if.isra.14+0x26/0xc0 [wl]
[    5.072330]  [<ffffffffa087f89f>] wl_free+0x4f/0x250 [wl]
[    5.072362]  [<ffffffffa087ea90>] ? wl_proc_write+0x100/0x100 [wl]
[    5.072382]  [<ffffffff810c8cf8>] ? request_threaded_irq+0x118/0x190
[    5.072407]  [<ffffffffa0cf9661>] wl_pci_probe+0x5d9/0xf78 [wl]
[    5.072427]  [<ffffffff812e6835>] local_pci_probe+0x45/0xa0
[    5.072445]  [<ffffffff812e6785>] ? pci_match_device+0xe5/0x110
[    5.072464]  [<ffffffff812e6991>] pci_device_probe+0x101/0x150
[    5.072483]  [<ffffffff813ac7f3>] driver_probe_device+0xa3/0x410
[    5.072502]  [<ffffffff813acc2b>] __driver_attach+0x8b/0x90
[    5.072520]  [<ffffffff813acba0>] ? __device_attach+0x40/0x40
[    5.072537]  [<ffffffff813aa613>] bus_for_each_dev+0x73/0xc0
[    5.072555]  [<ffffffff813ac27e>] driver_attach+0x1e/0x20
[    5.072572]  [<ffffffff813abe60>] bus_add_driver+0x180/0x250
[    5.072592]  [<ffffffffa0cf9000>] ? 0xffffffffa0cf9000
[    5.072609]  [<ffffffff813ad4c4>] driver_register+0x64/0xf0
[    5.072627]  [<ffffffff812e5f9b>] __pci_register_driver+0x4b/0x50
[    5.072651]  [<ffffffffa0cf9086>] wl_module_init+0x86/0x88 [wl]
[    5.072671]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    5.072689]  [<ffffffff811905a2>] ? __vunmap+0xa2/0x100
[    5.072706]  [<ffffffff810f222c>] load_module+0x1dcc/0x26a0
[    5.072723]  [<ffffffff810ee750>] ? store_uevent+0x70/0x70
[    5.072740]  [<ffffffff810f2bcd>] SyS_init_module+0xcd/0x120
[    5.072759]  [<ffffffff8153c7a9>] system_call_fastpath+0x16/0x1b
[    5.072777] Code: e8 0e 45 cb e0 4c 89 ef e8 a6 99 ff ff 4c 89 ef e8 1e 9a ff ff 4c 89 ef e8 26 cc ff ff 5b 41 5c 41 5d 41 5e 5d c3 0f 1f 44 00 00 <0f> 0b 66 0f 1f 44 00 00 0f 0b 66 66 66 66 66 2e 0f 1f 84 00 00 
[    5.072904] RIP  [<ffffffffa08878b8>] wl_cfg80211_detach+0xf8/0x110 [wl]
[    5.072942]  RSP <ffff88045789ba08>
[    5.072959] ---[ end trace e1a91553b8877c92 ]---

I've added to the default options at grub a

acpi=noirq

This solved an issue for me where a kworker consumed up to 75 % of one core during idle (in a different thread people used to write a value to /proc in order to solve that, but this didn't worked for me). However, I'm not sure if this is really a bug and not related to my system. Has anyone experienced something similiar?

** EDIT: Okay, I've disabled the acpi=noirq and now the driver loads fine. However, this is not really a solution since the kworker again eats up one cpu core. I'm quite sure that this has worked before (acpi=noirq + broadcom-wl), but I've had to update the wireless driver due to API changes in the linux kernel. Has somebody any idea how to tackle this issue(s)?

Last edited by ridcully (2014-11-10 10:43:15)

Offline

Board footer

Powered by FluxBB