Broadcom 网络控制器问题 (BCM4360 14e4:43a0) Ubuntu 18.04

Broadcom 网络控制器问题 (BCM4360 14e4:43a0) Ubuntu 18.04

您好,我正在使用 Ubuntu 18.04,无法连接到 wifi。这是由于我的网络控制器存在问题。

Network Controller Info:
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at b0600000 (64-bit, non-prefetchable) [size=32K]
Memory at b0400000 (64-bit, non-prefetchable) [size=2M]
Capabilities: <access denied>
Kernel modules: bcma, wl

我已经按照上面的答案关联. 即我已确保安装了适当的模块。

sudo apt-get install --reinstall bcmwl-kernel-source
sudo modprobe wl

我还输入了 etc/modprobe.d/blacklist.conf 并注释掉了 bcm43XX 部分

仍然没有网络控制器的迹象。这是我的 dmesg。

dmesg | grep wl
[    4.415502] Loading modules backported from iwlwifi
[    4.415503] iwlwifi-stack-public:master:8324:9176b151
[    4.637138] wl: module license 'MIXED/Proprietary' taints kernel.
[    4.675670] WARNING: CPU: 2 PID: 307 at /var/lib/dkms/backport-iwlwifi/8324/build/net/wireless/core.c:431 wiphy_new_nm+0x5c5/0x680 [cfg80211]
[    4.675671] Modules linked in: snd_hda_codec_generic(+) ledtrig_audio rapl wl(POE+) intel_cstate snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm btusb btrtl btbcm btintel lpc_ich bluetooth i915(+) snd_seq_midi ecdh_generic ecc snd_seq_midi_event snd_rawmidi snd_seq input_leds drm_kms_helper cfg80211(OE) bcm5974 snd_seq_device snd_timer drm bdc_pci compat(OE) snd i2c_algo_bit fb_sys_fops syscopyarea sysfillrect mei_me sysimgblt dw_dmac_pci mei soundcore sbs applespi spi_pxa2xx_platform sbshc dw_dmac dw_dmac_core acpi_als kfifo_buf apple_bl industrialio mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_apple hid_generic usbhid hid uas usb_storage ahci thunderbolt libahci video
[    4.675814]  wl_cfg80211_attach+0x59/0x6d0 [wl]
[    4.675840]  wl_pci_probe+0x476/0xf75 [wl]
[    4.675910]  wl_module_init+0x89/0x8b [wl]
[    4.676026] WARNING: CPU: 2 PID: 307 at /var/lib/dkms/backport-iwlwifi/8324/build/net/wireless/core.c:794 wiphy_register+0x52c/0xa20 [cfg80211]
[    4.676026] Modules linked in: snd_hda_codec_generic ledtrig_audio rapl wl(POE+) intel_cstate snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm btusb btrtl btbcm btintel lpc_ich bluetooth i915(+) snd_seq_midi ecdh_generic ecc snd_seq_midi_event snd_rawmidi snd_seq input_leds drm_kms_helper cfg80211(OE) bcm5974 snd_seq_device snd_timer drm bdc_pci compat(OE) snd i2c_algo_bit fb_sys_fops syscopyarea sysfillrect mei_me sysimgblt dw_dmac_pci mei soundcore sbs applespi spi_pxa2xx_platform sbshc dw_dmac dw_dmac_core acpi_als kfifo_buf apple_bl industrialio mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_apple hid_generic usbhid hid uas usb_storage ahci thunderbolt libahci video
[    4.676162]  wl_cfg80211_attach+0xed/0x6d0 [wl]
[    4.676214]  ? wl_cfg80211_attach+0xed/0x6d0 [wl]
[    4.676240]  wl_pci_probe+0x476/0xf75 [wl]
[    4.676301]  wl_module_init+0x89/0x8b [wl]
[    4.676390] WARNING: CPU: 2 PID: 307 at /var/lib/dkms/backport-iwlwifi/8324/build/net/wireless/core.c:887 wiphy_register+0x9d4/0xa20 [cfg80211]
[    4.676390] Modules linked in: snd_hda_codec_generic ledtrig_audio rapl wl(POE+) intel_cstate snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm btusb btrtl btbcm btintel lpc_ich bluetooth i915(+) snd_seq_midi ecdh_generic ecc snd_seq_midi_event snd_rawmidi snd_seq input_leds drm_kms_helper cfg80211(OE) bcm5974 snd_seq_device snd_timer drm bdc_pci compat(OE) snd i2c_algo_bit fb_sys_fops syscopyarea sysfillrect mei_me sysimgblt dw_dmac_pci mei soundcore sbs applespi spi_pxa2xx_platform sbshc dw_dmac dw_dmac_core acpi_als kfifo_buf apple_bl industrialio mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_apple hid_generic usbhid hid uas usb_storage ahci thunderbolt libahci video
[    4.676523]  wl_cfg80211_attach+0xed/0x6d0 [wl]
[    4.676574]  ? wl_cfg80211_attach+0xed/0x6d0 [wl]
[    4.676600]  wl_pci_probe+0x476/0xf75 [wl]
[    4.676663]  wl_module_init+0x89/0x8b [wl]
[    4.676714] ERROR @wl_alloc_wdev : 
[    4.678581] ERROR @wl_cfg80211_detach : 
[    4.678582] NULL ndev->ieee80211ptr, unable to deref wl
[    4.678604] Modules linked in: snd_hda_codec_cirrus(+) snd_hda_codec_generic ledtrig_audio rapl wl(POE+) intel_cstate snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm btusb btrtl btbcm btintel lpc_ich bluetooth i915(+) snd_seq_midi ecdh_generic ecc snd_seq_midi_event snd_rawmidi snd_seq input_leds drm_kms_helper cfg80211(OE) bcm5974 snd_seq_device snd_timer drm bdc_pci compat(OE) snd i2c_algo_bit fb_sys_fops syscopyarea sysfillrect mei_me sysimgblt dw_dmac_pci mei soundcore sbs applespi spi_pxa2xx_platform sbshc dw_dmac dw_dmac_core acpi_als kfifo_buf apple_bl industrialio mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_apple hid_generic usbhid hid uas usb_storage ahci thunderbolt libahci video
[    4.678711]  wl_free+0xcb/0x280 [wl]
[    4.678768]  ? wl_cfg80211_attach+0x47d/0x6d0 [wl]
[    4.678790]  wl_pci_probe+0x648/0xf75 [wl]
[    4.678843]  wl_module_init+0x89/0x8b [wl]

不确定这些东西是什么意思。我本周开始了我的 Linux 之旅。任何帮助都将不胜感激。由于这个问题与链接密切相关,重新定位这个问题是否合适?

提前致谢

答案1

请注意,您的日志中问题的开始是:

警告:CPU:2 PID:307 位于 /var/lib/dkms/backport-iwlwifi/8324/build/net/wireless/core.c:431 wiphy_new_nm+0x5c5/0x680 [cfg80211]

您的设备不是英特尔无线设备,由驱动程序 iwlwifi 支持,它是 wl 支持的 Broadcom 设备。请打开终端并执行以下操作:

sudo apt purge backport-iwlwifi-dkms

重新启动并再次显示结果:

dmesg | grep wl

可能的解释:Intel 驱动程序 iwlwifi 和 Broadcom 驱动程序 wl 都使用辅助模块 cfg80211。这可以在modinfo iwlwifi和中看到modinfo wl。我相信 backports 包安装了修改后的 cfg80211,它无法与 Broadcom 驱动程序 wl 正常工作。通过清除删除 Intel 驱动程序,可恢复默认的 cfg80211,wl 可再次工作。

许多遇到无线问题的 Ubuntu 新用户浏览各种论坛,错误地安装了错误的设备驱动程序。在大多数情况下,除了浪费硬盘或 SSD 上的时间和空间外,它没有任何危害。在这种情况下,它阻止了正确的驱动程序工作。

除非您从lspci或了解到lsusb您的设备实际上是什么,否则请不要安装任何新的且可能存在冲突的驱动程序。

相关内容