From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Stefan Tatschner <stefan@rumpelsepp.org>, linux-can@vger.kernel.org
Cc: ferdinand.jarisch@aisec.fraunhofer.de,
Tobias Specht <tobias.specht@aisec.fraunhofer.de>
Subject: Re: pcan: usb_submit_urb() hangs in peak_usb_ndo_start_xmit()
Date: Tue, 15 Dec 2020 22:20:03 +0100 [thread overview]
Message-ID: <b713bc9b-d530-cc58-4fd8-2c0eaac1397b@pengutronix.de> (raw)
In-Reply-To: <ad68c4ebcdadb31cbf9fd78c9ad38b57ee9ef562.camel@rumpelsepp.org>
[-- Attachment #1.1: Type: text/plain, Size: 1021 bytes --]
On 12/15/20 9:59 PM, Stefan Tatschner wrote:
> I went one layer deeper and took a look at peak_usb_ndo_start_xmit(),
> especially the usb_submit_urb() call. The problem seems to be that the
> very last call to usb_submit_urb() call blocks for over a minute.
>
> Dez 15 21:33:12 kronos kernel: peak_usb_ndo_start_xmit: submitting urb
> Dez 15 21:33:12 kronos kernel: peak_usb_ndo_start_xmit: urb success
> Dez 15 21:33:12 kronos kernel: peak_usb_ndo_start_xmit: submitting urb
> Dez 15 21:41:59 kronos kernel: peak_usb_ndo_start_xmit: urb success <---- ??
>
> Anybody out there who can help me tracking this down further?
You can sniff the USB traffic with wireshark...
https://wiki.wireshark.org/CaptureSetup/USB
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2020-12-15 21:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-15 20:59 pcan: usb_submit_urb() hangs in peak_usb_ndo_start_xmit() Stefan Tatschner
2020-12-15 21:02 ` Stefan Tatschner
2020-12-15 21:09 ` Marc Kleine-Budde
2020-12-15 21:17 ` Marc Kleine-Budde
2020-12-15 21:20 ` Marc Kleine-Budde [this message]
2020-12-15 21:43 ` Stefan Tatschner
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=b713bc9b-d530-cc58-4fd8-2c0eaac1397b@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=ferdinand.jarisch@aisec.fraunhofer.de \
--cc=linux-can@vger.kernel.org \
--cc=stefan@rumpelsepp.org \
--cc=tobias.specht@aisec.fraunhofer.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.