linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@sig21.net>
To: Lorenzo Bianconi <lorenzo@kernel.org>,
	Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Felix Fietkau <nbd@nbd.name>, linux-wireless@vger.kernel.org
Subject: mt76x0u blocks resume from suspend
Date: Mon, 22 Jul 2019 18:40:20 +0200	[thread overview]
Message-ID: <20190722164020.GA5850@sig21.net> (raw)

Hi,

I met failure to resume from suspend to RAM with v5.1.19
and TP-Link Archer T2UH connected to my PC (Asus P8H77-V).
I tried about a dozen times while trying to figure out the reason,
the issue happened every time.
Eventually I connected a serial console and captured this:

[   87.803576][ T4640] mt76x0u 2-1.6:1.0: vendor request req:06 off:ac80 failed:-110
[   91.030328][ T4640] mt76x0u 2-1.6:1.0: vendor request req:07 off:b000 failed:-110
[   94.256950][ T4640] mt76x0u 2-1.6:1.0: vendor request req:06 off:b000 failed:-110
[   97.483579][ T4640] mt76x0u 2-1.6:1.0: vendor request req:06 off:aca0 failed:-110
(repeats)

[  100.211748][    C0] sysrq: Show Blocked State
[  107.479820][    C0] kworker/u8:51   D    0  4640      2 0x80000000
[  107.486060][    C0] Workqueue: events_unbound async_run_entry_fn
[  107.492106][    C0] Call Trace:
[  107.495293][    C0]  ? __schedule+0x381/0xa30
[  107.499706][    C0]  schedule+0x36/0x90
[  107.503575][    C0]  schedule_timeout+0x1e8/0x4c0
[  107.508310][    C0]  ? collect_expired_timers+0xb0/0xb0
[  107.513593][    C0]  wait_for_common+0x15f/0x190
[  107.518249][    C0]  ? wake_up_q+0x80/0x80
[  107.522412][    C0]  usb_start_wait_urb+0x82/0x160
[  107.527222][    C0]  ? wait_for_common+0x38/0x190
[  107.531961][    C0]  usb_control_msg+0xdc/0x140
[  107.536542][    C0]  __mt76u_vendor_request+0xc4/0x100 [mt76_usb]
[  107.542687][    C0]  mt76u_copy+0x8b/0xb0 [mt76_usb]
[  107.547721][    C0]  mt76x02_mac_shared_key_setup+0xdf/0x130 [mt76x02_lib]
[  107.554653][    C0]  mt76x0_init_hardware+0x2b5/0x3a0 [mt76x0_common]
[  107.561141][    C0]  ? usb_dev_thaw+0x10/0x10
[  107.565533][    C0]  mt76x0u_init_hardware+0x134/0x1b0 [mt76x0u]
[  107.571609][    C0]  mt76x0_resume+0x33/0x60 [mt76x0u]
[  107.576791][    C0]  usb_resume_interface.isra.1+0x81/0xd0
[  107.582310][    C0]  usb_resume_both+0xe8/0x130
[  107.586888][    C0]  usb_resume+0x16/0x60
[  107.590936][    C0]  dpm_run_callback+0x6e/0x190
[  107.595599][    C0]  device_resume+0x99/0x190
[  107.599982][    C0]  async_resume+0x19/0x30
[  107.604204][    C0]  async_run_entry_fn+0x37/0x140

Any ideas about it?  FWIW, I've used a TL-WN722N so far without problems,
just switched to the T2UH today.

The whole machine is hanging at this point. without serial console
my only choice was to press the reset button.  At least mt76x0u should
bail out with an error and not block the resume completely.
Unplugging the hardware also didn't cause it to bail.


Thanks,
Johannes

             reply	other threads:[~2019-07-22 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22 16:40 Johannes Stezenbach [this message]
2019-07-23  7:18 ` mt76x0u blocks resume from suspend Stanislaw Gruszka
2019-07-26  6:52   ` Johannes Stezenbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190722164020.GA5850@sig21.net \
    --to=js@sig21.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=nbd@nbd.name \
    --cc=sgruszka@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).