[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919632: "New" firmware instantly crashes on QCA9377



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-00002-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 0000:05:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 3078.170210] ath10k_pci 0000:05:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:05:00.0.bin (-2)
[ 3078.170220] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[ 3078.170244] ath10k_pci 0000:05:00.0: firmware: failed to load ath10k/cal-pci-0000:05:00.0.bin (-2)
[ 3078.170250] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[ 3078.170990] ath10k_pci 0000:05:00.0: firmware: direct-loading firmware ath10k/QCA9377/hw1.0/firmware-5.bin
[ 3078.171004] ath10k_pci 0000:05:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 17aa:0901
[ 3078.171010] ath10k_pci 0000:05:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 3078.172806] ath10k_pci 0000:05:00.0: firmware ver WLAN.TF.1.0-00002-QCATFSWPZ-5 api 5 features ignore-otp crc32 c3e0d04f
[ 3078.235794] ath10k_pci 0000:05:00.0: board id is not exist in otp, ignore it
[ 3078.235979] ath10k_pci 0000:05:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[ 3080.516566] ath10k_pci 0000:05:00.0: firmware crashed! (uuid n/a)
[ 3080.516581] ath10k_pci 0000:05:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 17aa:0901
[ 3080.516584] ath10k_pci 0000:05:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 3080.517097] ath10k_pci 0000:05:00.0: firmware ver WLAN.TF.1.0-00002-QCATFSWPZ-5 api 5 features ignore-otp crc32 c3e0d04f
[ 3080.517288] ath10k_pci 0000:05:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[ 3080.517292] ath10k_pci 0000: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 0000:05:00.0: firmware register dump:
[ 3080.519304] ath10k_pci 0000:05:00.0: [00]: 0x05020001 0x00000000 0x00A0F774 0x00000000
[ 3080.519306] ath10k_pci 0000:05:00.0: [04]: 0x00A0F774 0x00060130 0x00000010 0xFFFFE000
[ 3080.519309] ath10k_pci 0000:05:00.0: [08]: 0x0042136C 0x00420660 0x00400000 0x00400000
[ 3080.519311] ath10k_pci 0000:05:00.0: [12]: 0x00000000 0x00000000 0x00952CD0 0x00952CE6
[ 3080.519313] ath10k_pci 0000:05:00.0: [16]: 0x00000002 0x01010101 0x00000003 0x0000000A
[ 3080.519315] ath10k_pci 0000:05:00.0: [20]: 0x00000328 0x00429880 0x009A37AC 0x00000032
[ 3080.519318] ath10k_pci 0000:05:00.0: [24]: 0x800A0D0A 0x0040EA88 0x00420170 0x004173B0
[ 3080.519320] ath10k_pci 0000:05:00.0: [28]: 0x00401F64 0x00401F68 0x00000000 0x00417550
[ 3080.519322] ath10k_pci 0000:05:00.0: [32]: 0x00401FC0 0xC4E30058 0x00406B1D 0x00000003
[ 3080.519324] ath10k_pci 0000:05:00.0: [36]: 0x800A0907 0x00000001 0x0000085B 0x339011B2
[ 3080.519327] ath10k_pci 0000:05:00.0: [40]: 0x0000FFFE 0x0000000A 0x009BFE28 0x009BE0DC
[ 3080.519329] ath10k_pci 0000:05:00.0: [44]: 0x800A0D0A 0x0040EA88 0x00420170 0x004173B0
[ 3080.519331] ath10k_pci 0000:05:00.0: [48]: 0x00400000 0x00400000 0x00000001 0xFFFFFFFF
[ 3080.519333] ath10k_pci 0000:05:00.0: [52]: 0x800A0614 0x0040EAA8 0x0041FA10 0x00420170
[ 3080.519335] ath10k_pci 0000:05:00.0: [56]: 0x00400000 0x00421370 0x00419980 0x004212E8
[ 3081.516616] ath10k_pci 0000:05:00.0: failed to receive control response completion, polling..
[ 3082.540573] ath10k_pci 0000:05:00.0: ctl_resp never came in (-110)
[ 3082.540586] ath10k_pci 0000:05:00.0: failed to connect to HTC: -110
[ 3082.542058] ath10k_pci 0000:05:00.0: could not init core (-110)
[ 3082.542170] ath10k_pci 0000:05:00.0: could not probe fw (-110)
[ 3082.556577] ath10k_pci 0000:05:00.0: cannot restart a device that hasn't been started

05:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
	Subsystem: Lenovo Device [17aa:0901]
	Flags: bus master, fast devsel, latency 0, IRQ 131
	Memory at e1000000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Virtual Channel
	Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [178] Latency Tolerance Reporting
	Capabilities: [180] L1 PM Substates
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci


Reply to: