Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#576 - ath10k fails to load reporting a 'firmware crash' on QCA9880 #8009

Closed
openwrt-bot opened this issue Mar 1, 2017 · 4 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

jdegraef:

Problem occurs on a ZYXEL NBG6716. (802.11ac should be a QCA9880)
running 17.01.1 i.e. lede-17.01.0-r3205-59508e3-ar71xx-nand-nbg6716-squashfs-sysupgrade.bin
Crash occurs every time ath10k attempts to load

log with driver included in release

[ 14.783881] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 15.000294] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[ 15.011181] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 15.090655] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[ 15.299839] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 15.309251] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 15.322304] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[ 15.333090] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 15.343695] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 15.423744] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 15.442629] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 16.551704] ath10k_pci 0000:01:00.0: firmware crashed! (uuid 68334050-5a5e-48bf-bccc-87f25cba960e)
[ 16.560832] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 16.570194] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 16.583244] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[ 16.593975] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 16.601395] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 16.613031] ath10k_pci 0000:01:00.0: firmware register dump:
[ 16.618783] ath10k_pci 0000:01:00.0: [00]: 0x4100016C 0x000015B3 0x009BA6A2 0x00955B31
[ 16.626822] ath10k_pci 0000:01:00.0: [04]: 0x009BA6A2 0x00060130 0x0000001D 0x00000000
[ 16.634857] ath10k_pci 0000:01:00.0: [08]: 0xFFFFFFFF 0x00401F6A 0x0000096C 0xFFFFFFFF
[ 16.642883] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x009BAB4C 0x009BABA7
[ 16.650916] ath10k_pci 0000:01:00.0: [16]: 0x00958080 0x0094E9B1 0x00000000 0x00000000
[ 16.658951] ath10k_pci 0000:01:00.0: [20]: 0x409BA6A2 0x0040AA24 0x0040AAD4 0x00000001
[ 16.666985] ath10k_pci 0000:01:00.0: [24]: 0x809BB189 0x0040AA84 0x0040EE0C 0xC09BA6A2
[ 16.675020] ath10k_pci 0000:01:00.0: [28]: 0x809BB612 0x0040AAB4 0x000000E2 0x00000001
[ 16.683047] ath10k_pci 0000:01:00.0: [32]: 0x80984880 0x0040ABA4 0x0040EE3C 0x0000003F
[ 16.691089] ath10k_pci 0000:01:00.0: [36]: 0x8098FBA5 0x0040ABE4 0x0040E270 0x004062DC
[ 16.699131] ath10k_pci 0000:01:00.0: [40]: 0x8098A79E 0x0040AC34 0x0040AC94 0x004062DC
[ 16.707166] ath10k_pci 0000:01:00.0: [44]: 0x80988785 0x0040AC94 0x00410670 0x00400000
[ 16.715200] ath10k_pci 0000:01:00.0: [48]: 0x8098AE78 0x0040AD44 0x00410670 0x00000001
[ 16.723227] ath10k_pci 0000:01:00.0: [52]: 0x809B66F0 0x0040AD84 0x00410670 0x00411254
[ 16.731269] ath10k_pci 0000:01:00.0: [56]: 0x809B2868 0x0040ADA4 0x00400000 0x00416EB4
[ 21.543818] ath10k_pci 0000:01:00.0: wmi unified ready event not received
[ 21.646943] ath10k_pci 0000:01:00.0: could not init core (-145)
[ 21.653075] ath10k_pci 0000:01:00.0: could not probe fw (-145)
[ 21.664514] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't been started

log with alernative ath10k-ct from packages

Sun Feb 26 20:09:36 2017 kern.info kernel: [ 15.991374] ath10k driver, optimized for CT firmware, probing pci. Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 15.998923] PCI: Enabling device 0000:01:00.0 (0000 -> 0002) Sun Feb 26 20:09:36 2017 kern.info kernel: [ 16.004876] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 16.115573] EXT4-fs (sda1): mounted filesystem without journal. Opts: Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.220291] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.231178] ath10k_pci 0000:01:00.0: Falling back to user helper Sun Feb 26 20:09:36 2017 kern.err kernel: [ 16.309980] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.322702] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:01:00.0.txt failed with error -2 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.333430] ath10k_pci 0000:01:00.0: Falling back to user helper Sun Feb 26 20:09:36 2017 kern.err kernel: [ 16.483479] firmware ath10k!fwcfg-pci-0000:01:00.0.txt: firmware_loading_store: map pages failed Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.502812] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.513707] ath10k_pci 0000:01:00.0: Falling back to user helper Sun Feb 26 20:09:36 2017 kern.err kernel: [ 16.656794] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed Sun Feb 26 20:09:36 2017 kern.err kernel: [ 16.666061] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-5.bin': -11 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.676241] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.687110] ath10k_pci 0000:01:00.0: Falling back to user helper Sun Feb 26 20:09:36 2017 kern.err kernel: [ 16.839245] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed Sun Feb 26 20:09:36 2017 kern.err kernel: [ 16.848512] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-4.bin': -11 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.858690] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 16.869560] ath10k_pci 0000:01:00.0: Falling back to user helper Sun Feb 26 20:09:36 2017 kern.err kernel: [ 17.020761] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed Sun Feb 26 20:09:36 2017 kern.err kernel: [ 17.030028] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-3.bin': -11 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 17.152659] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 17.162062] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 17.174406] ath10k_pci 0000:01:00.0: firmware ver 10.1.467-ct-_fW-019-647197c api 2 features wmi-10.x,has-wmi-mgmt-tx,txstatus-noack,wmi-10.x-CT,ratemask-CT crc32 ce5082a8 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 17.190041] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 17.200645] ath10k_pci 0000:01:00.0: Falling back to user helper Sun Feb 26 20:09:36 2017 kern.err kernel: [ 17.280425] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed Sun Feb 26 20:09:36 2017 kern.info kernel: [ 17.293109] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 18.216205] ath10k_pci 0000:01:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.224910] ath10k_pci 0000:01:00.0: firmware crashed! (uuid 44fc9f0a-8adb-4077-ae4e-82113c83f387) Sun Feb 26 20:09:36 2017 kern.info kernel: [ 18.234031] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 18.243382] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 18.255705] ath10k_pci 0000:01:00.0: firmware ver 10.1.467-ct-_fW-019-647197c api 2 features wmi-10.x,has-wmi-mgmt-tx,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT crc32 ce5082a8 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 18.278224] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 Sun Feb 26 20:09:36 2017 kern.info kernel: [ 18.285650] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.297288] ath10k_pci 0000:01:00.0: firmware register dump: Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.303030] ath10k_pci 0000:01:00.0: [00]: 0x4100016C 0x000015B3 0x009B1635 0x00955B31 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.311074] ath10k_pci 0000:01:00.0: [04]: 0x009B1635 0x00060130 0x0000001D 0x009BAB8B Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.319114] ath10k_pci 0000:01:00.0: [08]: 0xFFFFFFFF 0x00401F6A 0x0000096C 0xFFFFFFFF Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.327147] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x009B1AD1 0x009B1B29 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.335182] ath10k_pci 0000:01:00.0: [16]: 0x00958080 0x0094085D 0x00000000 0x00000000 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.343210] ath10k_pci 0000:01:00.0: [20]: 0x409B1635 0x0040AA44 0x0040AAF4 0x00000001 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.351251] ath10k_pci 0000:01:00.0: [24]: 0x809B21C2 0x0040AAA4 0x00401F7E 0xC09B1635 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.359290] ath10k_pci 0000:01:00.0: [28]: 0x809B2676 0x0040AAD4 0x00401CC0 0x000000E2 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.367329] ath10k_pci 0000:01:00.0: [32]: 0x8098494F 0x0040ABC4 0x0040E07C 0x0000003F Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.375362] ath10k_pci 0000:01:00.0: [36]: 0x8098ED6F 0x0040AC04 0x0040D4B0 0x004062DC Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.383391] ath10k_pci 0000:01:00.0: [40]: 0x809892DD 0x0040AC54 0x0040ACB4 0x00400000 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.391431] ath10k_pci 0000:01:00.0: [44]: 0x809887C9 0x0040ACA4 0x0040F7B8 0x00400000 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.399463] ath10k_pci 0000:01:00.0: [48]: 0x809897B4 0x0040AD44 0x0040F7B8 0x00000001 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.407500] ath10k_pci 0000:01:00.0: [52]: 0x809AD74A 0x0040AD84 0x0040F7B8 0x0000A000 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.415535] ath10k_pci 0000:01:00.0: [56]: 0x809AA392 0x0040ADA4 0x00400000 0x00414F44 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 18.425582] ath10k_pci 0000:01:00.0: debug log header, dbuf: 0x412598 dropped: 0 Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 18.434191] ath10k_pci 0000:01:00.0: [0] next: 0x4125b0 buf: 0x4103fc sz: 1500 len: 56 count: 2 free: 0 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.444731] ath10k_pci 0000:01:00.0: ath10k_pci ATH10K_DBG_BUFFER: Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.451001] ath10k: [0000]: 38700000 0500FC17 70201031 08000000 80000000 B8F74000 01000600 39700000 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.460186] ath10k: [0008]: 0100FC17 B3150000 B3150000 34A94000 6C010041 09000000 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 18.467775] ath10k_pci 0000:01:00.0: ATH10K_END Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 18.473385] ath10k_pci 0000:01:00.0: [1] next: 0x412598 buf: 0x4109ec sz: 1500 len: 0 count: 0 free: 0 Sun Feb 26 20:09:36 2017 kern.err kernel: [ 23.223848] ath10k_pci 0000:01:00.0: wmi unified ready event not received Sun Feb 26 20:09:36 2017 kern.err kernel: [ 23.325855] ath10k_pci 0000:01:00.0: could not init core (-145) Sun Feb 26 20:09:36 2017 kern.err kernel: [ 23.331970] ath10k_pci 0000:01:00.0: could not probe fw (-145) Sun Feb 26 20:09:36 2017 kern.info kernel: [ 23.338980] i2c /dev entries driver Sun Feb 26 20:09:36 2017 kern.warn kernel: [ 23.344460] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't been started
@openwrt-bot
Copy link
Author

jdegraef:

reconfirmed on 17.01.01

@openwrt-bot
Copy link
Author

Shogo:

reconfirmed on 17.01.2

@openwrt-bot
Copy link
Author

jdegraef:

reconfirmed on 17.01.3

[ 14.290324] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 14.511420] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[ 14.522306] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 14.644228] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[ 14.653595] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 14.664118] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 15.038729] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 15.048120] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 15.061177] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[ 15.071961] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 15.082566] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 15.162933] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 15.184547] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 16.290631] ath10k_pci 0000:01:00.0: firmware crashed! (uuid d6bb0e34-3b28-4307-ba75-7bd7216ef49c)
[ 16.299762] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 16.309118] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 16.322178] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[ 16.332909] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 16.340334] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 16.351975] ath10k_pci 0000:01:00.0: firmware register dump:

@openwrt-bot
Copy link
Author

psyborg:

probably not related, but you might give this a try:
move firmware files to some other dir and after booting device put them back to ath10k dir then reload ath10 modules

been struggling for few days now with QCA9862 card, each time it would connect and drop pings or page loads in a matter of seconds. ping to the router was in 0.67-0.72 ms in that state.

after i did the above described it now runs stable and ping to the router is about 0.52-0.56ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant