Package: firmware-atheros
Version: 20180518-1
Severity: important
Tags: upstream
Dear Maintainer,
I observed this while upgrading non-free firmware from stretch
(20161130-4) to stretch-backports (20180825+dfsg-1~bpo9+1) my QCA9377
quit working. Whether during boot or manually: When modprobing
ath10k_pci, the device either appears in my network stack, or it does
not, depending on the firmware version. In the latter case, that is
because its firmware instantly crashes, according to dmesg. I pinned
that down to: up to 20170823-1 works, 20180518-1 and after does not,
including 20190114-1. Looking at changelog.Debian, the break seems to
have been caused by this change:
"
firmware-nonfree (20180518-1) unstable; urgency=medium
* New upstream version:
- atheros:
+ QCA9377 rev 1.0 firmware version WLAN.TF.1.0-2-QCATFSWPZ-5
"
According to dmesg, this "upgrade" replaced WLAN.TF.1.0-00267-1, which
was at least partially working for me. (only crashing occasionally as
described in #885846, and having trouble with big packet sizes, but
generally working) Comparing these QC firmware version numbers, they
look to me like the debian package upgrade actually included an upstream
downgrade. That of course would be the culprit, and a reason to rename
this bug report. You might want to check this hunch with upstream, and
with their versioning scheme. I suspect that #903437 might have the same
cause. And if there is a better QC-firmware than WLAN.TF.1.0-00267-1,
that might even resolve #885846 as well.
I'd love to see at least stretch-backports not breaking device
functionality. Please let me know about how else I may assist you in
that. FWIW, I'll attach the dmesg of when it's crashing, and my lspci
(-v and -vv) in (half-)working condition. My kernel is
linux-image-4.9.0-8-amd64_4.9.130-2 from stretch.
Best regards
Kevin Price
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8),
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
firmware-atheros depends on no packages.
firmware-atheros recommends no packages.
Versions of packages firmware-atheros suggests:
ii initramfs-tools 0.130
-- no debconf information
[ 3077.895506] ath10k_pci :05:00.0: pci irq msi oper_irq_mode 2 irq_mode 0
reset_mode 0
[ 3078.170210] ath10k_pci :05:00.0: firmware: failed to load
ath10k/pre-cal-pci-:05:00.0.bin (-2)
[ 3078.170220] ath10k_pci :05:00.0: Direct firmware load for
ath10k/pre-cal-pci-:05:00.0.bin failed with error -2
[ 3078.170244] ath10k_pci :05:00.0: firmware: failed to load
ath10k/cal-pci-:05:00.0.bin (-2)
[ 3078.170250] ath10k_pci :05:00.0: Direct firmware load for
ath10k/cal-pci-:05:00.0.bin failed with error -2
[ 3078.170990] ath10k_pci :05:00.0: firmware: direct-loading firmware
ath10k/QCA9377/hw1.0/firmware-5.bin
[ 3078.171004] ath10k_pci :05:00.0: qca9377 hw1.1 target 0x05020001 chip_id
0x003821ff sub 17aa:0901
[ 3078.171010] ath10k_pci :05:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs
0 testmode 0
[ 3078.172806] ath10k_pci :05:00.0: firmware ver
WLAN.TF.1.0-2-QCATFSWPZ-5 api 5 features ignore-otp crc32 c3e0d04f
[ 3078.235794] ath10k_pci :05:00.0: board id is not exist in otp, ignore it
[ 3078.235979] ath10k_pci :05:00.0: board_file api 2 bmi_id N/A crc32
8aedfa4a
[ 3080.516566] ath10k_pci :05:00.0: firmware crashed! (uuid n/a)
[ 3080.516581] ath10k_pci :05:00.0: qca9377 hw1.1 target 0x05020001 chip_id
0x003821ff sub 17aa:0901
[ 3080.516584] ath10k_pci :05:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs
0 testmode 0
[ 3080.517097] ath10k_pci :05:00.0: firmware ver
WLAN.TF.1.0-2-QCATFSWPZ-5 api 5 features ignore-otp crc32 c3e0d04f
[ 3080.517288] ath10k_pci :05:00.0: board_file api 2 bmi_id N/A crc32
8aedfa4a
[ 3080.517292] ath10k_pci :05:00.0: htt-ver 0.0 wmi-op 4 htt-op 3 cal otp
max-sta 32 raw 0 hwcrypto 1
[ 3080.519299] ath10k_pci :05:00.0: firmware register dump:
[ 3080.519304] ath10k_pci :05:00.0: [00]: 0x05020001 0x 0x00A0F774
0x
[ 3080.519306] ath10k_pci :05:00.0: [04]: 0x00A0F774 0x00060130 0x0010
0xE000
[ 3080.519309] ath10k_pci :05:00.0: [08]: 0x0042136C 0x00420660 0x0040
0x0040
[ 3080.519311] ath10k_pci :05:00.0: [12]: 0x 0x 0x00952CD0
0x00952CE6
[ 3080.519313] ath10k_pci :05:00.0: [16]: 0x0002 0x01010101 0x0003
0x000A
[ 3080.519315] ath10k_pci :05:00.0: [20]: 0x0328 0x00429880 0x009A37AC
0x0032
[ 3080.519318] ath10k_pci :05:00.0: [24]: 0x800A0D0A 0x0040EA88 0x00420170
0x004173B0
[ 3080.519320] ath10k_pci :05:00.0: [28]: 0x00401F64 0x00401F68 0x
0x00417550
[ 3080.519322] ath10k_pci :05:00.0: [32]: 0x00401FC0