ath10k mit OpenWRT 18.06

mail at adrianschmutzler.de mail at adrianschmutzler.de
Sa Jun 23 00:14:51 CEST 2018


Hallo,

 

ich habe ja bereits seit einiger Zeit Freifunk-FW mit OpenWRT 18.06 im
Einsatz. Das einzige verbliebene Problem ist der ath10k-Treiber, der im
dmesg fleißig Fehler ausspuckt:

 

[…]

[   25.951746] batman_adv: B.A.T.M.A.N. advanced 2018.1 (compatibility
version 15) loaded

[   25.988638] Mirror/redirect action on

[   26.003715] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)

[   26.074564] arp_tables: arp_tables: (C) 2002 David S. Miller

[   26.180211] Ebtables v2.0 registered

[   26.190592] ip_tables: (C) 2000-2006 Netfilter Core Team

[   26.367015] xt_time: kernel timezone is -0000

[   26.409577] ath10k 4.13 driver, optimized for CT firmware, probing pci
device: 0x56.

[   26.418988] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

[   26.425130] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1
irq_mode 0 reset_mode 0

[   26.620465] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2

[   26.631368] ath10k_pci 0000:00:00.0: Falling back to user helper

[   26.698325] firmware ath10k!fwcfg-pci-0000:00:00.0.txt:
firmware_loading_store: map pages failed

[   26.707672] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2

[   26.718745] ath10k_pci 0000:00:00.0: Falling back to user helper

[   68.112262] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/QCA9888/hw2.0/ct-firmware-5.bin failed with error -2

[   68.123621] ath10k_pci 0000:00:00.0: Falling back to user helper

[   68.224768] firmware ath10k!QCA9888!hw2.0!ct-firmware-5.bin:
firmware_loading_store: map pages failed

[   68.234574] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/QCA9888/hw2.0/ct-firmware-2.bin failed with error -2

[   68.245926] ath10k_pci 0000:00:00.0: Falling back to user helper

[   68.389888] firmware ath10k!QCA9888!hw2.0!ct-firmware-2.bin:
firmware_loading_store: map pages failed

[   68.399715] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/QCA9888/hw2.0/firmware-6.bin failed with error -2

[   68.410799] ath10k_pci 0000:00:00.0: Falling back to user helper

[   68.553182] firmware ath10k!QCA9888!hw2.0!firmware-6.bin:
firmware_loading_store: map pages failed

[   69.222620] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000
chip_id 0x00000000 sub 0000:0000

[   69.232189] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0
dfs 1 testmode 0

[   69.252686] ath10k_pci 0000:00:00.0: firmware ver 10.4-3.5.3-00053 api 5
features no-p2p,mfp,peer-flow-ctrl,allows-mesh-bcast,no-ps crc32 a9603656

[   69.569165] ath10k_pci 0000:00:00.0: failed to fetch board data for
bus=pci,bmi-chip-id=0,bmi-board-id=20 from ath10k/QCA9888/hw2.0/board-2.bin

[   69.583280] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:20 crc32
16acc0b7

[   71.708746] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 528
tid: 102

[   71.716661] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32

[   71.749147] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal
pre-cal-file max-sta 512 raw 0 hwcrypto 1

[   71.861699] ath: EEPROM regdomain: 0x0

[   71.861707] ath: EEPROM indicates default country code should be used

[   71.861709] ath: doing EEPROM country->regdmn map search

[   71.861720] ath: country maps to regdmn code: 0x3a

[   71.861725] ath: Country alpha2 being used: US

[   71.861727] ath: Regpair used: 0x3a

[   71.913473] ath: EEPROM regdomain: 0x0

[   71.913480] ath: EEPROM indicates default country code should be used

[   71.913483] ath: doing EEPROM country->regdmn map search

[   71.913495] ath: country maps to regdmn code: 0x3a

[   71.913499] ath: Country alpha2 being used: US

[   71.913502] ath: Regpair used: 0x3a

[   71.924166] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'

[   71.927830] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47

[   72.085455] kmodloader: done loading kernel modules from /etc/modules.d/*

[   73.576107] urandom_read: 4 callbacks suppressed

[…]

 

Offensichtlich probiert der hier verschiedene Varianten durch und findet
erstmal nichts.

 

Das Ganze tritt auf allen meinen Geräten mit ath10k auf. Die 5 GHz
interfaces funktionieren aber scheinbar problemlos, lediglich der
Bootvorgang wird deutlich verlängert.

 

Hat jemand eine Idee, was man da machen kann/muss/sollte?

 

Grüße

 

Adrian

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20180623/d15c7236/attachment.html>


Mehr Informationen über die Mailingliste franken-dev