LINUX.ORG.RU

не работает wi fi в blfs

 ,


1

1

в blfs не работает wifi, как при использовании networkmanager так и при systemd-networkd. проводной интернет работает.firmware (ath10k) вроде закинул. конфиги скопировал с ubuntu. во всех случаях найденных в интернете линк(wlp4s0) не поднимается, а у меня как я понял он отсутствует. весь dmesg не прикладываю так как слишком большой но вот интересный кусок:

[    0.749868] Initializing XFRM netlink socket
[    0.751104] NET: Registered protocol family 10
[    0.752507] Segment Routing with IPv6
[    0.752598] hdaudio hdaudioC0D0: Unable to bind the codec
[    0.754569] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.755829] NET: Registered protocol family 17
[    0.756983] Key type dns_resolver registered
[    0.763036] hdaudio hdaudioC1D0: Unable to bind the codec
[    0.771287] microcode: CPU0: patch_level=0x08108109
[    0.772469] microcode: CPU1: patch_level=0x08108109
[    0.773597] microcode: CPU2: patch_level=0x08108109
[    0.774565] microcode: CPU3: patch_level=0x08108109
[    0.775668] microcode: CPU4: patch_level=0x08108109
[    0.776786] microcode: CPU5: patch_level=0x08108109
[    0.777820] microcode: CPU6: patch_level=0x08108109
[    0.778520] microcode: CPU7: patch_level=0x08108109
[    0.779236] microcode: Microcode Update Driver: v2.2.
[    0.779238] IPI shorthand broadcast: enabled
[    0.780619] sched_clock: Marking stable (780032120, 580649)->(826082483, -45469714)
[    0.781387] registered taskstats version 1
[    0.782093] Loading compiled-in X.509 certificates
[    0.782837] pstore: Using crash dump compression: deflate
[    0.783711] PM:   Magic number: 12:713:775
[    0.784422] misc fuse: hash matches
[    0.785144] printk: console [netcon0] enabled
[    0.785832] netconsole: network logging started
[    0.804235] acpi_cpufreq: overriding BIOS provided _PSD data
[    0.805103] ath10k_pci 0000:04:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA6174/hw3.0: -2
[    0.806067] ath10k_pci 0000:04:00.0: could not fetch firmware files (-2)
[    0.806203] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.807003] ath10k_pci 0000:04:00.0: could not probe fw (-2)
[    0.808305] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.809856] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.810889] cfg80211: failed to load regulatory.db
[    0.811213] ALSA device list:
[    0.813136]   No soundcards found.
[    1.021357] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.027377] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.028984] ata1.00: ATA-10: WDC WD10SPSX-00A6WT0, 01.01A01, max UDMA/133
[    1.029987] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    1.031643] ata1.00: configured for UDMA/133

(звук упомянутый в нем также неработает)

lspci -k

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
	Subsystem: Acer Incorporated [ALI] Device 1366
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
	Subsystem: Acer Incorporated [ALI] Device 1366
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
	Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
	Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
	Subsystem: Acer Incorporated [ALI] Device 1366
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Acer Incorporated [ALI] Device 1366
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device 142a
02:00.0 Non-Volatile memory controller: SK hynix BC501 NVMe Solid State Drive 512GB
	Subsystem: SK hynix Device 0000
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 25)
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: r8169
04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
	Subsystem: Lite-On Communications Inc Device 0807
	Kernel driver in use: ath10k_pci
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c2)
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: amdgpu
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: snd_hda_intel
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Acer Incorporated [ALI] Device 1366
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: xhci_hcd
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: xhci_hcd
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: ahci

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:97:98:9f:35:84 brd ff:ff:ff:ff:ff:ff
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0

ip link (ubuntu)

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:97:98:9f:35:84 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 80:30:49:00:e9:2b brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:8e:db:44 brd ff:ff:ff:ff:ff:ff
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:8e:db:44 brd ff:ff:ff:ff:ff:ff

почему в blfs отстствует wlp4s0 и как его добавить?

с /lib/firmware чего только не делал, не помогло даже полное копирование ее из ubuntu


firmware (ath10k) вроде закинул

Так, вроде или закинул? )

 0.805103] ath10k_pci 0000:04:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA6174/hw3.0: -2
[    0.806067] ath10k_pci 0000:04:00.0: could not fetch firmware files (-2)
vvn_black ★★★★★
()
Последнее исправление: vvn_black (всего исправлений: 1)
Ответ на: комментарий от vvn_black

в /lib/firmware/ath10k/QCA6174/hw3.0 закинул.или куда то еще закинуть надо?

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

ошибки из dmesg ушли но линк все равно не появился

кусок из dmesg

[    0.615884] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[    0.616681] usbhid: USB HID core driver
[    0.619404] Initializing XFRM netlink socket
[    0.620473] NET: Registered protocol family 10
[    0.621462] Segment Routing with IPv6
[    0.622772] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.622828] hdaudio hdaudioC0D0: Unable to bind the codec
[    0.624021] NET: Registered protocol family 17
[    0.625829] Key type dns_resolver registered
[    0.627315] microcode: CPU0: patch_level=0x08108109
[    0.628350] hdaudio hdaudioC1D0: Unable to bind the codec
[    0.628364] microcode: CPU1: patch_level=0x08108109
[    0.630006] microcode: CPU2: patch_level=0x08108109
[    0.631102] microcode: CPU3: patch_level=0x08108109
[    0.632163] microcode: CPU4: patch_level=0x08108109
[    0.632876] microcode: CPU5: patch_level=0x08108109
[    0.633583] microcode: CPU6: patch_level=0x08108109
[    0.634610] microcode: CPU7: patch_level=0x08108109
[    0.635618] microcode: Microcode Update Driver: v2.2.
[    0.635620] IPI shorthand broadcast: enabled
[    0.637022] sched_clock: Marking stable (636436504, 579963)->(680992270, -43975803)
[    0.637799] registered taskstats version 1
[    0.638510] Loading compiled-in X.509 certificates
[    0.639254] pstore: Using crash dump compression: deflate
[    0.640139] PM:   Magic number: 12:619:377
[    0.640893] printk: console [netcon0] enabled
[    0.641585] netconsole: network logging started
[    0.642363] acpi_cpufreq: overriding BIOS provided _PSD data
[    0.643266] ALSA device list:
[    0.643962]   No soundcards found.
[    0.886973] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.912010] usb 3-1: new full-speed USB device number 2 using xhci_hcd
[    1.020426] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.021929] ata1.00: ATA-10: WDC WD10SPSX-00A6WT0, 01.01A01, max UDMA/133
[    1.022861] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    1.024487] ata1.00: configured for UDMA/133
DMITRY
() автор топика
Ответ на: комментарий от vvn_black

в том куске раньш ошибка была

user@user-Nitro-AN515-43:~$ cat dmesg.txt | grep loaded
[    0.202719] ACPI: 14 ACPI AML tables successfully acquired and loaded
[    0.217013] vgaarb: loaded
[    0.217013] libata version 3.00 loaded.
[    0.524089] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.536071] loop: module loaded
user@user-Nitro-AN515-43:~$ cat dmesg.txt | grep firmware
[    9.497563] [drm] Found VCN firmware Version ENC: 1.9 DEC: 1 VEP: 0 Revision: 28
[    9.497597] [drm] PSP loading VCN firmware
user@user-Nitro-AN515-43:~$ cat dmesg.txt | grep iwlwifi
user@user-Nitro-AN515-43:~$ cat dmesg.txt | grep wlan0
user@user-Nitro-AN515-43:~$ cat dmesg.txt | grep ath10k
DMITRY
() автор топика
Ответ на: комментарий от DMITRY

А просто по wifi прогрепать, и с новым конфигом ядра посмотреть на lspci -k? Похоже, кто-то пересобрав ядро драйвер ath10 отключил? )

Что будет, если модуль ручками подгрузить?

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

Wi fi заработал! Спасибо за помощь

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