LINUX.ORG.RU

Not working wi-fi: Broadcom BCM43142 802.11b/g/n [14e4:4365] (rev 01)

 , ,


1

2

Не работает wi-fi на Debian. Подскажите что можно с этим сделать:

$ lspci -knn | grep Net -A 10
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
        Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6675]
        Kernel modules: wl
$ ip a
не выдает wlan, только eth0 и lo.
$ uname -r
5.10.0-23-amd64
Использую Debian


Ответ на: комментарий от ox55ff
# rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
rOgret
() автор топика
Ответ на: комментарий от d00fy
# dmesg -l err
[    5.201600] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[    5.201682] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    5.315274] udevd[492]: Error running install command '/sbin/modprobe --ignore-install wl ' for module wl: retcode 1
[    5.841267] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-04ca-2006.hcd (-2)
[    5.841297] bluetooth hci0: firmware: failed to load brcm/BCM-04ca-2006.hcd (-2)
[    5.841299] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[    5.841301] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-04ca-2006.hcd'
[    5.841302] Bluetooth: hci0: BCM: 'brcm/BCM-04ca-2006.hcd'
[    7.847635] Bluetooth: hci0: command 0x1003 tx timeout
[    7.849016] Bluetooth: hci0: unexpected event for opcode 0x1003
[   16.519727] Bluetooth: hci0: command 0x1003 tx timeout
[   16.523159] Bluetooth: hci0: unexpected event for opcode 0x1003
rOgret
() автор топика
Ответ на: комментарий от d00fy
[    5.201600] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[    5.201682] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    5.315274] udevd[492]: Error running install command '/sbin/modprobe --ignore-install wl ' for module wl: retcode 1
[    5.841267] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-04ca-2006.hcd (-2)
[    5.841297] bluetooth hci0: firmware: failed to load brcm/BCM-04ca-2006.hcd (-2)
[    5.841299] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[    5.841301] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-04ca-2006.hcd'
[    5.841302] Bluetooth: hci0: BCM: 'brcm/BCM-04ca-2006.hcd'
[    7.847635] Bluetooth: hci0: command 0x1003 tx timeout
[    7.849016] Bluetooth: hci0: unexpected event for opcode 0x1003
[   16.519727] Bluetooth: hci0: command 0x1003 tx timeout
[   16.523159] Bluetooth: hci0: unexpected event for opcode 0x1003
robert@debRZ:~/Documents$ cat f
[    0.032538] ACPI: IRQ0 used by override.
[    0.032540] ACPI: IRQ9 used by override.
[    0.112928] node 0 deferred pages initialised in 0ms
[    0.112928] pmd_set_huge: Cannot satisfy [mem 0xf8000000-0xf8200000] with a huge-page mapping due to MTRR override.
[    0.112928] core: PMU erratum BJ122, BV98, HSD29 worked around, HT is on
[    0.381115] ACPI: EC: interrupt blocked
[    0.392584] ACPI: Using IOAPIC for interrupt routing
[    0.417486] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11 12) *0, disabled.
[    0.417550] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417610] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417670] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417730] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417790] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417848] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417907] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.418533] ACPI: EC: interrupt unblocked
[    2.084566] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[    5.201778] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.315274] udevd[492]: Error running install command '/sbin/modprobe --ignore-install wl ' for module wl: retcode 1
[    5.201600] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[    5.201778] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.201782] cfg80211: failed to load regulatory.db
[    5.841267] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-04ca-2006.hcd (-2)
[    5.841297] bluetooth hci0: firmware: failed to load brcm/BCM-04ca-2006.hcd (-2)
[    0.017100] ACPI: XSDT 0x00000000DAB08098 0000B4 (v01 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.017108] ACPI: FACP 0x00000000DAB1E0D8 00010C (v05 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.017116] ACPI: DSDT 0x00000000DAB08260 015E77 (v02 _ASUS_ Notebook 00000012 INTL 20120711)
[    0.017126] ACPI: APIC 0x00000000DAB1E1E8 000072 (v03 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.017131] ACPI: FPDT 0x00000000DAB1E260 000044 (v01 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.017136] ACPI: ECDT 0x00000000DAB1E2A8 0000C1 (v01 _ASUS_ Notebook 01072009 AMI. 00000005)
[    0.017141] ACPI: LPIT 0x00000000DAB1E370 00005C (v01 _ASUS_ Notebook 00000000 AMI. 00000005)
[    0.017172] ACPI: MCFG 0x00000000DAB1FAE0 00003C (v01 _ASUS_ Notebook 01072009 MSFT 00000097)
[    0.017182] ACPI: HPET 0x00000000DAB22B98 000038 (v01 _ASUS_ Notebook 01072009 AMI. 00000005)
[    0.017198] ACPI: BGRT 0x00000000DAB26D50 000038 (v00 _ASUS_ Notebook 01072009 ASUS 00010013)
[    0.017208] ACPI: MSDM 0x00000000D9B41E18 000055 (v03 _ASUS_ Notebook 00000000 ASUS 00000001)
[    0.112928] pmd_set_huge: Cannot satisfy [mem 0xf8000000-0xf8200000] with a huge-page mapping due to MTRR override.
[    0.411004] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug SHPCHotplug PME]
[    0.435578] system 00:09: [mem 0xfed90000-0xfed93fff] could not be reserved
[    0.435585] system 00:09: [mem 0xfee00000-0xfeefffff] could not be reserved
[    1.483065] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.
[    1.557607] integrity: Loaded X.509 cert 'ASUSTeK Notebook SW Key Certificate: b8e581e4df77a5bb4282d5ccfc00c071'
[    2.122224] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    2.132363] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    2.467626] ata1.00: supports DRM functions and may not be fully accessible
[    2.471255] ata1.00: supports DRM functions and may not be fully accessible
[    4.641254] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    5.224874] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    5.841299] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[\code]
rOgret
() автор топика
Ответ на: комментарий от rOgret

что-то типа linux-firmware, поищи с помощью утилит пакетного менеджера

$ apt search firmware
хотя нет, це было с блютузом

superuser ★★★★★
()
Последнее исправление: superuser (всего исправлений: 1)
Ответ на: комментарий от rOgret

короче, я вижу, что ты не в теме

пока не загрузится модуль wl, у тебя никакой сети не будет
так понятно?

d00fy ★★★
()
Ответ на: комментарий от d00fy

4:

# find /lib/modules/$(uname -r)/updates
/lib/modules/5.10.0-23-amd64/updates
/lib/modules/5.10.0-23-amd64/updates/dkms
/lib/modules/5.10.0-23-amd64/updates/dkms/wl.ko

6:

# modprobe wl
modprobe: ERROR: could not insert 'wl': Operation not permitted
modprobe: ERROR: ../libkmod/libkmod-module.c:990 command_do() Error running install command '/sbin/modprobe --ignore-install wl ' for module wl: retcode 1
modprobe: ERROR: could not insert 'wl': Invalid argument

rOgret
() автор топика
Ответ на: комментарий от d00fy
# dmesg | grep wl -B10
[    5.224874] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    5.224877] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue
[    5.228384] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input16
[    5.272120] videodev: Linux video capture interface: v2.00
[    5.308085] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[    5.310951] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer
[    5.310955] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[    5.310957] RAPL PMU: hw unit of domain package 2^-14 Joules
[    5.310959] RAPL PMU: hw unit of domain dram 2^-14 Joules
[    5.310960] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[    5.315274] udevd[492]: Error running install command '/sbin/modprobe --ignore-install wl ' for module wl: retcode 1
rOgret
() автор топика
Ответ на: комментарий от d00fy

в файле /etc/apt/sources.list есть упоминание contrib и non-free?

Да, есть.

# grep wl /etc/modprode.d/*
/etc/modprobe.d/broadcom-sta-common.conf:# wl module from Broadcom conflicts with ssb
/etc/modprobe.d/broadcom-sta-common.conf:install wl /sbin/modprobe --ignore-install wl $CMDLINE_OPTS
/etc/modprobe.d/broadcom-sta-dkms.conf:# wl module from Broadcom conflicts with the following modules:
/etc/modprobe.d/mdadm.conf:# set start_ro=1 to make newly assembled arrays read-only initially,
rOgret
() автор топика
Ответ на: комментарий от d00fy
# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.10.0-23-amd64 root=UUID=58fe3a91-b29b-4c40-a683-c63189fb849f ro quiet splash
rOgret
() автор топика
Ответ на: комментарий от d00fy
# dmesg | grep modprobe
[    5.308085] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[    5.315274] udevd[492]: Error running install command '/sbin/modprobe --ignore-install wl ' for module wl: retcode 1
[    7.804484] audit: type=1400 audit(1685307956.328:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1160 comm="apparmor_parser"
[    7.804489] audit: type=1400 audit(1685307956.328:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1160 comm="apparmor_parser"
[ 2080.462588] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 2363.656493] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 2372.243962] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 2378.695848] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 2382.111623] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
rOgret
() автор топика
Ответ на: комментарий от rOgret
$ man 7 kernel_lockdown

:

On an EFI-enabled x86 or arm64 machine, lockdown will be automatically enabled if the system boots in EFI Secure Boot mode.

Может стоит попробовать выключить SecureBoot? Или это не связано?

rOgret
() автор топика
Ответ на: комментарий от d00fy

modpobe wl теперь сработал без ошибок. И теперь в ip a появился wlan0. Значит ли это, что теперь все будет работать? Нужно ведь будет вернуть secure boot обратно? Будет ли после этого работать?

rOgret
() автор топика
Ответ на: комментарий от rOgret

чтобы вернуть secure boot обратно, тебе нужно разжиться на подписанный драйвер для твоей сетевухи

иначе только так, отключаешь secure boot и используешь wl

d00fy ★★★
()
Ответ на: комментарий от d00fy

Спасибо за помощь!

Не очень понимаю как это работает, но нельзя ли «подписать» нужные штуки, чтобы потом работало и при secure boot?

rOgret
() автор топика
Ответ на: комментарий от rOgret

мне кажется, что здесь варианта ровно два
заменить сетевуху на другую (имеющую стоковый подписанный драйвер)
поискать дистрибутив, в котором драйвер твоей сетевухи подписан

d00fy ★★★
()
Ответ на: комментарий от d00fy
# dmesg | grep regulatory -C5
[    4.946259] ACPI: Power Button [PWRF]
[    5.015885] mc: Linux media interface: v0.10
[    5.105935] proc_thermal 0000:00:04.0: Creating sysfs group for PROC_THERMAL_PCI
[    5.114675] videodev: Linux video capture interface: v2.00
[    5.132055] iTCO_vendor_support: vendor-support=0
[    5.167520] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.168065] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    5.168621] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    5.169260] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.169731] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[    5.169817] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    5.169918] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.169922] cfg80211: failed to load regulatory.db
[    5.180513] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    5.180591] iTCO_wdt: Found a Lynx Point_LP TCO device (Version=2, TCOBASE=0x1860)
[    5.181035] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    5.184389] asus_wmi: ASUS WMI generic driver loaded
[    5.184572] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
rOgret
() автор топика
Ответ на: комментарий от rOgret

Теперь так:

# dmesg | grep regulatory -C5
[    4.971347] proc_thermal 0000:00:04.0: Creating sysfs group for PROC_THERMAL_PCI
[    4.983643] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    4.983708] iTCO_wdt: Found a Lynx Point_LP TCO device (Version=2, TCOBASE=0x1860)
[    5.017488] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    5.036832] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[    5.050947] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.051507] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    5.052062] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    5.052600] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.075461] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    5.076132] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    5.085111] input: PC Speaker as /devices/platform/pcspkr/input/input15
[    5.090229] wl: loading out-of-tree module taints kernel.
[    5.090238] wl: module license 'MIXED/Proprietary' taints kernel.
[    5.090240] Disabling lock debugging due to kernel taint
[    5.097982] pstore: Using crash dump compression: deflate

rOgret
() автор топика
Ответ на: комментарий от d00fy
# dmesg | grep -i err
[    0.032186] ACPI: IRQ0 used by override.
[    0.032188] ACPI: IRQ9 used by override.
[    0.112588] node 0 deferred pages initialised in 0ms
[    0.112588] pmd_set_huge: Cannot satisfy [mem 0xf8000000-0xf8200000] with a huge-page mapping due to MTRR override.
[    0.112588] core: PMU erratum BJ122, BV98, HSD29 worked around, HT is on
[    0.381221] ACPI: EC: interrupt blocked
[    0.392709] ACPI: Using IOAPIC for interrupt routing
[    0.417719] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11 12) *0, disabled.
[    0.417784] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417844] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417904] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.417964] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.418024] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.418082] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.418141] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.418769] ACPI: EC: interrupt unblocked
[    2.011019] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
# dmesg | grep -i fail
[    5.101430] wl: module verification failed: signature and/or required key missing - tainting kernel
[    5.727702] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-04ca-2006.hcd (-2)
[    5.727714] bluetooth hci0: firmware: failed to load brcm/BCM-04ca-2006.hcd (-2)
dmesg | grep -i not
[    0.016745] ACPI: XSDT 0x00000000DAB08098 0000B4 (v01 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.016753] ACPI: FACP 0x00000000DAB1E0D8 00010C (v05 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.016761] ACPI: DSDT 0x00000000DAB08260 015E77 (v02 _ASUS_ Notebook 00000012 INTL 20120711)
[    0.016771] ACPI: APIC 0x00000000DAB1E1E8 000072 (v03 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.016776] ACPI: FPDT 0x00000000DAB1E260 000044 (v01 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.016781] ACPI: ECDT 0x00000000DAB1E2A8 0000C1 (v01 _ASUS_ Notebook 01072009 AMI. 00000005)
[    0.016786] ACPI: LPIT 0x00000000DAB1E370 00005C (v01 _ASUS_ Notebook 00000000 AMI. 00000005)
[    0.016817] ACPI: MCFG 0x00000000DAB1FAE0 00003C (v01 _ASUS_ Notebook 01072009 MSFT 00000097)
[    0.016827] ACPI: HPET 0x00000000DAB22B98 000038 (v01 _ASUS_ Notebook 01072009 AMI. 00000005)
[    0.016842] ACPI: BGRT 0x00000000DAB26D50 000038 (v00 _ASUS_ Notebook 01072009 ASUS 00010013)
[    0.016853] ACPI: MSDM 0x00000000D9B41E18 000055 (v03 _ASUS_ Notebook 00000000 ASUS 00000001)
[    0.112588] pmd_set_huge: Cannot satisfy [mem 0xf8000000-0xf8200000] with a huge-page mapping due to MTRR override.
[    0.411208] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug SHPCHotplug PME]
[    0.435229] system 00:09: [mem 0xfed90000-0xfed93fff] could not be reserved
[    0.435235] system 00:09: [mem 0xfee00000-0xfeefffff] could not be reserved
[    1.480913] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.
[    1.554709] integrity: Loaded X.509 cert 'ASUSTeK Notebook SW Key Certificate: b8e581e4df77a5bb4282d5ccfc00c071'
[    2.035145] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    2.045561] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    2.393476] ata1.00: supports DRM functions and may not be fully accessible
[    2.396498] ata1.00: supports DRM functions and may not be fully accessible
[    4.549074] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    5.134517] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    5.727715] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
rOgret
() автор топика
Ответ на: комментарий от d00fy

Собранный модуль не подписан, с включенным секьюрибутом не загрузится. Или подписать или выключить секьюрибут.

einhander ★★★★★
()
Ответ на: комментарий от rOgret

Подписать возможно, но достаточно геморойно, волшебной одночтрочной команды нет или я её не знаю. Я отключил секьюрибут и не парюсь по этому вопросу.

einhander ★★★★★
()
Последнее исправление: einhander (всего исправлений: 1)
Ответ на: комментарий от rOgret

Всем ещё раз спасибо!

Не подскажите, если уж на то пошло, какие из проблем в dmesg стоит решить и как?

rOgret
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.