Bug#886292: [n...@nyet.org: Re: Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd]

2019-01-02 Thread Salvatore Bonaccorso
- Forwarded message from Nye Liu  -

Unfortunately, the bug is not fixed in 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1
(2018-12-22) x86_64 GNU/Linux

[297269.085315] WARNING: CPU: 1 PID: 451 at
drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1431 iwl_mvm_rx_tx_cmd+0x1e6/0x650
[iwlmvm]
[297269.085321] Modules linked in: ufs qnx4 hfsplus hfs minix ntfs vfat msdos
fat jfs xfs ext4 mbcache jbd2 fscrypto ecb dm_mod ctr ccm fuse xt_CHECKSUM tun
ipt_REJECT nf_reject_ipv4 sctp ipt_MASQUERADE nf_conntrack_netlink xfr
m_user xfrm_algo xt_addrtype br_netfilter ebtable_filter devlink ebtables
iptable_nat sit tunnel4 ip_tunnel sch_sfq cls_fw sch_htb nft_chain_route_ipv6
xt_conntrack ip6t_REJECT nf_reject_ipv6 nft_chain_route_ipv4 xt_multiport x
t_dscp xt_mark nft_counter nft_chain_nat_ipv4 nf_nat_ipv4 xt_nat nf_nat
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp nft_compat nf_tables
nfnetlink binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_gene
ric bridge stp llc intel_rapl arc4 x86_pkg_temp_thermal intel_powerclamp
kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul iwlmvm
[297269.085414] btusb ghash_clmulni_intel btrtl btbcm btintel intel_cstate
mac80211 intel_uncore bluetooth intel_rapl_perf sg pcspkr snd_hda_intel i915
iTCO_wdt iwlwifi iTCO_vendor_support snd_hda_codec jitterentropy_rng joyde
v snd_hda_core cfg80211 snd_hwdep snd_pcm_oss evdev snd_mixer_oss drbg usblp
ansi_cprng drm_kms_helper ecdh_generic mei_me snd_pcm mei rfkill snd_timer
crc16 drm snd soundcore video acpi_pad button pcc_cpufreq squashfs loop nct
6775 hwmon_vid coretemp parport_pc ppdev lp parport ip_tables x_tables autofs4
btrfs xor zstd_decompress zstd_compress xxhash raid6_pq libcrc32c
crc32c_generic hid_generic usbhid hid sd_mod uas usb_storage crc32c_intel
aesni_in
tel ahci xhci_pci nvme libahci xhci_hcd aes_x86_64 crypto_simd cryptd
glue_helper libata i2c_i801 e1000e igb usbcore scsi_mod nvme_core
[297269.085518] i2c_algo_bit dca usb_common
[297269.085530] CPU: 1 PID: 451 Comm: irq/136-iwlwifi Tainted: G W
4.19.0-1-amd64 #1 Debian 4.19.12-1
[297269.085535] Hardware name: To Be Filled By O.E.M. To Be Filled By
O.E.M./H270M-ITX/ac, BIOS P2.00 03/29/2017
[297269.085554] RIP: 0010:iwl_mvm_rx_tx_cmd+0x1e6/0x650 [iwlmvm]
[297269.085560] Code: b6 6c 24 0a 48 8b 5c 24 28 c6 44 24 13 00 41 8d 45 ff 66
89 44 24 10 48 8d 44 24 28 48 39 c3 0f 85 ef 00 00 00 e9 72 02 00 00 <0f> 0b
81 4b 28 00 01 00 00 45 31 f6 49 8b 47 10 48 8b b0 d0 03 00
[297269.085565] RSP: 0018:af7b01e4fd38 EFLAGS: 00010246
[297269.085571] RAX: 8f03e68a8d01 RBX: 8f01981b5900 RCX:
00173bcd
[297269.085576] RDX: 00173bcc RSI: 8f041eea6600 RDI:
f603509a2a00
[297269.085580] RBP: 8f01983c5000 R08: 8f01981b5930 R09:
c0efa022
[297269.085584] R10: 8f4f7240 R11: 00be R12:
8f041a5ec866
[297269.085588] R13: 0088 R14: 05be R15:
8f04194b9548
[297269.085594] FS: () GS:8f041ee8()
knlGS:
[297269.085599] CS: 0010 DS:  ES:  CR0: 80050033
[297269.085603] CR2: 7f11fd302a70 CR3: 0003f500a006 CR4:
003606e0
[297269.085607] DR0:  DR1:  DR2:

[297269.085612] DR3:  DR6: fffe0ff0 DR7:
0400
[297269.085615] Call Trace:
[297269.085636] iwl_pcie_rx_handle+0x239/0x860 [iwlwifi]
[297269.085654] iwl_pcie_irq_handler+0x183/0x6b0 [iwlwifi]
[297269.085662] ? irq_finalize_oneshot.part.43+0x100/0x100
[297269.085669] irq_thread_fn+0x1f/0x60
[297269.085675] irq_thread+0xe7/0x170
[297269.085682] ? irq_forced_thread_fn+0x70/0x70
[297269.085689] ? irq_thread_check_affinity+0xd0/0xd0
[297269.085694] kthread+0x112/0x130
[297269.085700] ? kthread_bind+0x30/0x30
[297269.085709] ret_from_fork+0x35/0x40
[297269.085715] ---[ end trace 46da582480566ecd ]---
[399944.920816] iwlwifi :03:00.0: Queue 8 is active on fifo 3 and stuck
for 1 ms. SW [180, 181] HW [180, 181] FH TRB=0x080309067
[399944.920877] iwlwifi :03:00.0: Microcode SW error detected. Restarting
0x200.
[399944.921007] iwlwifi :03:00.0: Start IWL Error Log Dump:
[399944.921013] iwlwifi :03:00.0: Status: 0x0100, count: 6
[399944.921018] iwlwifi :03:00.0: Loaded firmware version: 29.1044073957.0
[399944.921025] iwlwifi :03:00.0: 0x0084 | NMI_INTERRUPT_UNKNOWN
[399944.921030] iwlwifi :03:00.0: 0x02E0 | trm_hw_status0
[399944.921036] iwlwifi :03:00.0: 0x | trm_hw_status1
[399944.921041] iwlwifi :03:00.0: 0x00043D54 | branchlink2
[399944.921046] iwlwifi :03:00.0: 0x0004AFA6 | interruptlink1
[399944.921051] iwlwifi :03:00.0: 0x0004AFA6 | interruptlink2
[399944.921056] iwlwifi :03:00.0: 0x | data1
[399944.921061] iwlwifi :03:00.0: 0x0080 | data2
[399944.921066] iwlwifi :03:00.0: 0x0703 | data3
[399944.921071] iwlwifi :03:00.0: 0x | beacon time
[399944.921076] iwlwifi :03:00.0: 

Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd NOT RESOLVED in 4.18.8

2018-10-04 Thread Nye Liu

https://github.com/torvalds/linux/commit/20932750d9c78d307e4f2f18f9c6a32b82b1e0e8

is not in

https://elixir.bootlin.com/linux/v4.18.8/source/net/mac80211/rx.c#L1614



Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd

2018-10-04 Thread Nye Liu

Not fixed in 4.18.8-1

WARNING: CPU: 3 PID: 379 at 
/build/linux-GZkygY/linux-4.18.8/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1410 
iwl_mvm_rx_tx_cmd+0x3d1/0x630 [iwlmvm]




Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd

2018-09-09 Thread Nye Liu
Yes, this patch fixes the issue but I don't think it will actually appear in a 
release until 4.19 or even later. For now I have to hand patch home built 
kernels.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Processed: Re: Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd

2018-09-09 Thread Debian Bug Tracking System
Processing control commands:

> tags 887045 + moreinfo
Bug #887045 [src:linux] iwlwifi: TX_STATUS_FAIL_DEST_PS at 
iwlwifi/mvm/tx.c:1363 using hostapd
Ignoring request to alter tags of bug #887045 to the same tags previously set
> tags 886292 + moreinfo
Bug #886292 [src:linux] (no subject)
Ignoring request to alter tags of bug #886292 to the same tags previously set

-- 
886292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886292
887045: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887045
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Re: Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd

2018-09-09 Thread Debian Bug Tracking System
Processing control commands:

> tags 887045 + moreinfo
Bug #887045 [src:linux] iwlwifi: TX_STATUS_FAIL_DEST_PS at 
iwlwifi/mvm/tx.c:1363 using hostapd
Added tag(s) moreinfo.
> tags 886292 + moreinfo
Bug #886292 [src:linux] (no subject)
Added tag(s) moreinfo.

-- 
886292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886292
887045: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887045
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#886292: Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd

2018-09-09 Thread Salvatore Bonaccorso
Control: tags 887045 + moreinfo
Control: tags 886292 + moreinfo

Hi,

On Sun, Sep 09, 2018 at 02:18:16AM -0700, Nye Liu wrote:
> 199967 – iwlwifi: 3160: warning at intel/iwlwifi/mvm/tx.c:1369 triggers 
> frequently
> 
> https://github.com/torvalds/linux/commit/20932750d9c78d307e4f2f18f9c6a32b82b1e0e8

Does that commit fixes the issue for you?

I'm asking since the report initially, and the commit it fixes ist
only in 4.16, and you did notice the problem earlier.

(same question for 887045 and 886292).

Regards,
Salvatore



Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd

2018-09-09 Thread Nye Liu
199967 – iwlwifi: 3160: warning at intel/iwlwifi/mvm/tx.c:1369 triggers 
frequently

https://github.com/torvalds/linux/commit/20932750d9c78d307e4f2f18f9c6a32b82b1e0e8


Bug#887045: iwlwifi: TX_STATUS_FAIL_DEST_PS at iwlwifi/mvm/tx.c:1363 using hostapd

2018-01-12 Thread Nye Liu
Package: src:linux
Version: 4.14.12-2
Severity: important
Tags: upstream


Problematic code here (line 1359):
https://elixir.free-electrons.com/linux/v4.14.12/source/drivers/net/wireless/intel/iwlwifi/mvm/tx.c

case TX_STATUS_FAIL_DEST_PS:
/* the FW should have stopped the queue and not
 * return this status
 */
WARN_ON(1);
info->flags |= IEEE80211_TX_STAT_TX_FILTERED;
break;

-- Package-specific info:
** Version:
Linux version 4.14.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 
7.2.0 (Debian 7.2.0-18)) #1 SMP Debian 4.14.12-2 (2018-01-06)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.14.0-3-amd64 
root=UUID=6cc90d1b-b94b-4bc6-8b3e-d832c79ddedb ro nopti

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[267102.743406]  ? kthread_create_on_node+0x70/0x70
[267102.743412]  ret_from_fork+0x1f/0x30
[267102.743416] Code: 48 8d 7e 5c 0f 84 a1 01 00 00 0f b6 02 84 c0 0f 84 04 fe 
ff ff 39 c8 0f 84 8e 01 00 00 48 83 c2 04 48 39 d7 75 e4 e9 ee fd ff ff <0f> ff 
45 31 ed 81 4b 28 00 01 00 00 e9 c9 fd ff ff 49 89 ef 0f 
[267102.743485] ---[ end trace bff6afb71702a2c9 ]---
[267102.743660] [ cut here ]
[267102.743685] WARNING: CPU: 3 PID: 356 at 
/build/linux-ryBv1B/linux-4.14.12/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1363
 iwl_mvm_rx_tx_cmd+0x410/0x610 [iwlmvm]
[267102.743688] Modules linked in: cpuid ctr ccm sctp fuse sit tunnel4 
ip_tunnel sch_sfq cls_fw sch_htb ip6table_mangle nf_conntrack_ipv6 
nf_defrag_ipv6 ip6t_REJECT nf_reject_ipv6 ip6t_rt xt_conntrack ip6table_filter 
ip6_tables xt_multiport xt_dscp xt_mark iptable_mangle ipt_REJECT 
nf_reject_ipv4 iptable_filter xt_nat xt_tcpudp binfmt_misc iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c 
usblp btusb btrtl btbcm snd_hda_codec_hdmi snd_hda_codec_realtek 
snd_hda_codec_generic arc4 bridge stp llc intel_rapl x86_pkg_temp_thermal 
intel_powerclamp kvm_intel iwlmvm hci_uart btqca mac80211 kvm irqbypass btintel 
crct10dif_pclmul snd_hda_intel crc32_pclmul snd_hda_codec snd_hda_core 
snd_hwdep iwlwifi bluetooth ghash_clmulni_intel snd_pcm_oss i915 intel_cstate 
snd_mixer_oss
[267102.743765]  snd_pcm cfg80211 intel_uncore drm_kms_helper snd_timer mei_me 
intel_rapl_perf drbg sg iTCO_wdt snd pcspkr iTCO_vendor_support soundcore drm 
mei shpchp ansi_cprng video ecdh_generic battery rfkill crc16 evdev 
intel_lpss_acpi intel_lpss mfd_core acpi_pad acpi_als kfifo_buf button 
industrialio nct6775 hwmon_vid coretemp parport_pc ppdev lp parport ip_tables 
x_tables autofs4 btrfs crc32c_generic xor zstd_decompress zstd_compress xxhash 
raid6_pq sd_mod uas usb_storage hid_generic usbhid crc32c_intel e1000e ahci 
libahci nvme aesni_intel aes_x86_64 crypto_simd cryptd glue_helper i2c_i801 
xhci_pci igb libata i2c_algo_bit xhci_hcd dca nvme_core ptp pps_core scsi_mod 
usbcore usb_common i2c_hid hid
[267102.743849] CPU: 3 PID: 356 Comm: irq/135-iwlwifi Tainted: GW   
4.14.0-3-amd64 #1 Debian 4.14.12-2
[267102.743856] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./H270M-ITX/ac, BIOS P2.00 03/29/2017
[267102.743860] task: 9b219a47d040 task.stack: b02641fbc000
[267102.743875] RIP: 0010:iwl_mvm_rx_tx_cmd+0x410/0x610 [iwlmvm]
[267102.743879] RSP: 0018:b02641fbfd50 EFLAGS: 00010246
[267102.743883] RAX:  RBX: 9b2196bb2900 RCX: 

[267102.743886] RDX: 001e RSI: 9b219745f0c0 RDI: 
0286
[267102.743889] RBP: 9b2199b6d548 R08: 9b21aed9ae48 R09: 
9b2196bb2930
[267102.743892] R10: abb8bcc0 R11: 0ec8 R12: 
0088
[267102.743895] R13: 9b1f57983000 R14: 18e0 R15: 
9b1f57983000
[267102.743899] FS:  () GS:9b21aed8() 
knlGS:
[267102.743903] CS:  0010 DS:  ES:  CR0: 80050033
[267102.743906] CR2: 5636f163a118 CR3: 0003dc40a002 CR4: 
003606e0
[267102.743909] DR0:  DR1:  DR2: 

[267102.743912] DR3:  DR6: fffe0ff0 DR7: 
0400
[267102.743915] Call Trace:
[267102.743933]  iwl_pcie_rx_handle+0x1de/0x800 [iwlwifi]
[267102.743948]  iwl_pcie_irq_handler+0x18b/0x6c0 [iwlwifi]
[267102.743956]  ? irq_finalize_oneshot.part.42+0xf0/0xf0
[267102.743962]  ? irq_thread_check_affinity+0xd0/0xd0
[267102.743967]  irq_thread_fn+0x1b/0x50
[267102.743973]  irq_thread+0x143/0x1a0
[267102.743979]  ? irq_forced_thread_fn+0x60/0x60
[267102.743986]  kthread+0x118/0x130
[267102.743994]  ? kthread_create_on_node+0x70/0x70
[267102.744002]  ret_from_fork+0x1f/0x30
[267102.744006] Code: 48 8d 7e 5c 0f 84 a1 01 00 00 0f b6 02 84 c0 0f 84 04 fe 
ff ff 39 c8 0f 84 8e 01 00 00 48 83 c2 04 48 39 d7 75 e4 e9 ee fd ff ff <0f> ff 
45 31 ed 81 4b 28 00 01 00 00 e9 c9 fd ff ff 49 89