OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version openwrt-19.07
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Sergey Alirzaev - 12.10.2020

FS#3382 - Kernel doesn't find the 5GHz interface on MikroTik RB962UiGS-5HacT2HnT (hAP ac)

Booting openwrt-19.07.4-ar71xx-mikrotik-rb-nor-flash-16M-ac-initramfs-kernel.bin via tftp. Relevant dmesg chunk at driver load demonstrating that only 2.4GHz interface is detected:

Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257636] ath: EEPROM regdomain: 0×0 Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257643] ath: EEPROM indicates default country code should be used
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257646] ath: doing EEPROM country→regdmn map search
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257659] ath: country maps to regdmn code: 0x3a
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257663] ath: Country alpha2 being used: US
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257666] ath: Regpair used: 0x3a
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.274863] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ Tue Sep 8 07:29:00 2020 kern.info kernel: [ 10.276460] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47

Sergey Alirzaev commented on 13.10.2020 00:22

Okay, i needed to install ath10k-firmware-qca988x and kmod-ath10k.
It's strange they aren't in by default.

Sergey Alirzaev commented on 13.10.2020 00:38

Nah, it only brings up b/g mode and whines in the log about other missing blobs:
Tue Oct 13 00:21:12 2020 kern.info kernel: [ 4799.340671] pci 0000:01:00.0: using irq 41 for pin 1
Tue Oct 13 00:21:12 2020 kern.info kernel: [ 4799.347171] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4799.628654] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4799.639534] ath10k_pci 0000:01:00.0: Falling back to user helper
Tue Oct 13 00:21:12 2020 daemon.err procd: Could not find firmware /lib/firmware/ath10k/pre-cal-pci-0000:01:00.0.bin: No such file or directory
Tue Oct 13 00:21:12 2020 kern.err kernel: [ 4799.716510] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4799.725978] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4799.736515] ath10k_pci 0000:01:00.0: Falling back to user helper
Tue Oct 13 00:21:12 2020 daemon.err procd: failed to write to /sysdevices/pci0000:01/0000:01:00.0/firmware/ath10k!pre-cal-pci-0000:01:00.0.bin/loading: Out of memory
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4799.888166] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4799.899057] ath10k_pci 0000:01:00.0: Falling back to user helper
Tue Oct 13 00:21:12 2020 daemon.err procd: Could not find firmware /lib/firmware/ath10k/QCA988X/hw2.0/firmware-6.bin: No such file or directory
Tue Oct 13 00:21:12 2020 kern.err kernel: [ 4800.001758] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
Tue Oct 13 00:21:12 2020 kern.info kernel: [ 4800.013162] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
Tue Oct 13 00:21:12 2020 kern.info kernel: [ 4800.022573] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
Tue Oct 13 00:21:12 2020 kern.info kernel: [ 4800.035690] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
Tue Oct 13 00:21:12 2020 daemon.err procd: failed to write to /sys
devices/pci0000:01/0000:01:00.0/firmware/ath10k!QCA988X!hw2.0!firmware-6.bin/loading: Out of memory
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4800.131077] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
Tue Oct 13 00:21:12 2020 kern.warn kernel: [ 4800.141720] ath10k_pci 0000:01:00.0: Falling back to user helper
Tue Oct 13 00:21:12 2020 daemon.err procd: Could not find firmware /lib/firmware/ath10k/QCA988X/hw2.0/board-2.bin: No such file or directory
Tue Oct 13 00:21:12 2020 daemon.err procd: failed to write to /sys//devices/pci0000:01/0000:01:00.0/firmware/ath10k!QCA988X!hw2.0!board-2.bin/loading: Out of memory
Tue Oct 13 00:21:12 2020 kern.err kernel: [ 4800.227052] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
Tue Oct 13 00:21:12 2020 kern.info kernel: [ 4800.236401] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
Tue Oct 13 00:21:14 2020 kern.info kernel: [ 4801.339500] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
Tue Oct 13 00:21:14 2020 kern.debug kernel: [ 4801.476547] ath: EEPROM regdomain: 0x0
Tue Oct 13 00:21:14 2020 kern.debug kernel: [ 4801.476555] ath: EEPROM indicates default country code should be used
Tue Oct 13 00:21:14 2020 kern.debug kernel: [ 4801.476559] ath: doing EEPROM country→regdmn map search
Tue Oct 13 00:21:14 2020 kern.debug kernel: [ 4801.476572] ath: country maps to regdmn code: 0x3a
Tue Oct 13 00:21:14 2020 kern.debug kernel: [ 4801.476576] ath: Country alpha2 being used: US
Tue Oct 13 00:21:14 2020 kern.debug kernel: [ 4801.476580] ath: Regpair used: 0x3a

Sergey Alirzaev commented on 13.10.2020 01:37

rb-nor-flash-16M-ac-initramfs-kernel.bin and rb-nor-flash-16M-initramfs-kernel.bin are identical, this doesn't look right

Sergey Alirzaev commented on 13.10.2020 02:38

Yeah, the sysupgrade image works correctly.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing