wifi wi-fi wireless connection drops down randomly

Bug #1629469 reported by Dragutsan Alexandr
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

wifi wi-fi wireless connection drops down flowing to kern.log:

Sep 26 19:27:13 freelsd-luck kernel: [28423.068865] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
Sep 26 19:27:13 freelsd-luck kernel: [28423.182073] ath: phy0: Chip reset failed
Sep 26 19:27:13 freelsd-luck kernel: [28423.182085] ath: phy0: Unable to reset channel, reset status -22
Sep 26 19:27:13 freelsd-luck kernel: [28423.258006] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
Sep 26 19:27:13 freelsd-luck kernel: [28423.371691] ath: phy0: Chip reset failed
Sep 26 19:27:13 freelsd-luck kernel: [28423.371702] ath: phy0: Unable to reset channel, reset status -22
Sep 26 19:27:14 freelsd-luck kernel: [28423.447861] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
Sep 26 19:27:14 freelsd-luck kernel: [28423.560914] ath: phy0: Chip reset failed
Sep 26 19:27:14 freelsd-luck kernel: [28423.560926] ath: phy0: Unable to reset channel, reset status -22
Sep 26 19:27:14 freelsd-luck kernel: [28423.636926] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff

Would be easier to have an opportunity to reset connection through logging out from DE.
I do appreciate any clarifications!

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ibus 1.5.11-1ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Sep 30 23:27:14 2016
ExecutablePath: /usr/bin/ibus-daemon
InstallationDate: Installed on 2016-08-30 (31 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
 LANGUAGE=ru
 PATH=(custom, user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: ibus
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: freelsd 1642 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=690647ab-07af-4795-8237-2647a0bb5377
InstallationDate: Installed on 2016-08-30 (31 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: ASUSTeK Computer INC. 1001PXD
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-38-generic root=UUID=21db0152-8822-4685-97c7-0884a064aa48 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Daemon not responding.
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-38-generic N/A
 linux-backports-modules-4.4.0-38-generic N/A
 linux-firmware 1.157.3
Tags: xenial
Uname: Linux 4.4.0-38-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/01/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0403
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1001PXD
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0403:bd12/01/2010:svnASUSTeKComputerINC.:pn1001PXD:pvrx.x:rvnASUSTeKComputerINC.:rn1001PXD:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1001PXD
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: freelsd 6083 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=690647ab-07af-4795-8237-2647a0bb5377
InstallationDate: Installed on 2016-08-30 (31 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: ASUSTeK Computer INC. 1001PXD
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-38-generic root=UUID=21db0152-8822-4685-97c7-0884a064aa48 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-38-generic N/A
 linux-backports-modules-4.4.0-38-generic N/A
 linux-firmware 1.157.3
Tags: xenial
Uname: Linux 4.4.0-38-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/01/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0403
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1001PXD
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0403:bd12/01/2010:svnASUSTeKComputerINC.:pn1001PXD:pvrx.x:rvnASUSTeKComputerINC.:rn1001PXD:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1001PXD
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote :
Revision history for this message
Aron Xu (happyaron) wrote :

Should be a kernel issue, re-assigning.

affects: ibus (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1629469

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : CRDA.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : IwConfig.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : JournalErrors.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : Lspci.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : Lsusb.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcModules.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : RfKill.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : UdevDb.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : WifiSyslog.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : CRDA.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : IwConfig.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : JournalErrors.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : Lspci.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : Lsusb.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : ProcModules.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : PulseList.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : RfKill.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : UdevDb.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote : WifiSyslog.txt

apport information

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote :

have no idea what to do, help me please:
:~$ apport-collect 1629469
/usr/share/apport/apport-gtk:16: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GLib, Wnck, GdkX11, Gdk
dpkg-query: no packages found matching linux

Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote :

how this report was created:
sudo apport-cli --save ~/dma_failed_log -c ~/dma_failed_log.crash --file-bug -P 1660

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.8 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
description: updated
Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote :

This issue is being observed sinse kernel version 3.16.

Sorry for longtime reply. Already trying 4.8.3 kernel... If bug persists, it should be confirmed in a day or a few.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
Revision history for this message
Dragutsan Alexandr (dragutsan-alexandr) wrote :

This issue persists in the kernel version 4.8.3 too.

Please advice me the next steps:

Should I create a new bug report:
 if yes, how can i correctly define problematical process/module, one PID of which should be defined to apport-cli?
- kworker/4u+
- /usr/bin/ibus-daemon --daemonize --xin
2 above have a few CPU activity while flowing messages to kern.log.

Should i report directly-online this bug or i can save a local report-file with further transfer to a bug-tracking system?

Revision history for this message
avpet (a-petinov) wrote :

I experiencing the same problem, I have Qualcomm Atheros - QCA9565 / AR9565 Wireless Network Adapter. It started after the kernel upgrade, unfortunately, I am not 100% sure which one exactly - most probably 4.4.0-78, and currently I am on 4.4.0-79 and problem still persists. After a day or two of work I have sudden 100% CPU load, and then Wi-Fi failure, which can be cured by the restart only. The messages from the kernel ring buffer are series of these:

[13228.390795] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[13228.575235] ath: phy0: Chip reset failed
[13228.575236] ath: phy0: Unable to reset channel, reset status -22

After stopping WiFi CPU goes back to normal, but as I said, WiFi driver cannot resume its function and only restart helps.

Also 'lshw -C network' output

  *-network
       description: Wireless interface
       product: QCA9565 / AR9565 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 01
       serial: dc:85:de:f8:f1:d1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.4.0-79-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:10 memory:f7900000-f797ffff memory:f7980000-f798ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.1
       bus info: pci@0000:05:00.1
       logical name: eth0
       version: 12
       serial: 1c:b7:2c:24:c5:cc
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8411-2_0.0.1 07/08/13 ip=192.168.0.103 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:10 ioport:d000(size=256) memory:f7814000-f7814fff memory:f7810000-f7813fff

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.