OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Martin Hoyer - 18.12.2018

FS#2010 - Archer C7 v4 ath10k firmware loading fails "re-opening" https://dev.archive.openwrt.org/ticket/21527

[ 9.959484] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 10.237100] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 10.248191] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.408785] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 10.632975] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 10.644068] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.711405] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 11.003394] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 11.012951] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 11.025957] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00037 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb
[ 11.071246] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 11.082056] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 11.150077] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed

Archer C7 v4
OpenWrt 18.06.1, r7258-5eb055306f

# opkg list-installed | grep ath
ath10k-firmware-qca988x - 2018-05-12-952afa49-1
kmod-ath - 4.9.120+2017-11-01-9
kmod-ath10k - 4.9.120+2017-11-01-9
kmod-ath9k - 4.9.120+2017-11-01-9
kmod-ath9k-common - 4.9.120+2017-11-01-9

# ethtool -i wlan0
driver: ath10k_pci
version: 4.9.120
firmware-version: 10.2.4-1.0-00037
expansion-rom-version:
bus-info: 0000:00:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

luci:
Qualcomm Atheros QCA9880 802.11nac
Channel: ? (5.000 GHz) | Bitrate: ? Mbit/s
0%
SSID: xxxx | Mode: Master
Wireless is not associated

config wifi-device 'radio0'

      option type 'mac80211'
      option hwmode '11a'
      option path 'pci0000:00/0000:00:00.0'
      option htmode 'VHT80'
      option legacy_rates '1'
      option country 'CZ'
      option channel 'auto'

config wifi-iface 'default_radio0'

      option device 'radio0'
      option network 'lan'
      option mode 'ap'
      option hidden '1'
      option encryption 'psk2'
      option key 'xxxxxxxxx'
      option ssid 'xxxx'

/lib/firmware# tree
.
├── ath10k
│ ├── QCA988X
│ │ └── hw2.0
│ │ ├── board.bin
│ │ └── firmware-5.bin
│ └── cal-pci-0000:00:00.0.bin
└── regulatory.db

# lspci -v
00:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter

      Flags: bus master, fast devsel, latency 0, IRQ 40
      Memory at 12000000 (64-bit, non-prefetchable) [size=2M]
      [virtual] Expansion ROM at 12200000 [disabled] [size=64K]
      Capabilities: [40] Power Management version 2
      Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit-
      Capabilities: [70] Express Endpoint, MSI 00
      Capabilities: [100] Advanced Error Reporting
      Capabilities: [140] Virtual Channel
      Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
      Kernel driver in use: ath10k_pci

lspci: Unable to load libkmod resources: error -12

Sometimes, the 5ghz works after reboot, despite the fw error dmesg messages.
I've also tried a snapshot from 4 days ago, with the same results.

Admin
Jo-Philipp Wich commented on 18.12.2018 14:31

Please provide a more complete dmesg. The lines you quoted are normal and also appear when the firmware can be successfully loaded.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing