linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* peak_usb: urb aborted
@ 2022-04-08 16:35 Paul Thomas
  2022-04-08 18:45 ` Oliver Hartkopp
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Thomas @ 2022-04-08 16:35 UTC (permalink / raw)
  To: Wolfgang Grandegger, Marc Kleine-Budde, David S. Miller,
	Jakub Kicinski, linux-can, netdev, linux-kernel, support

Folks,

I'm using a PCAN-USB adapter, and it seems to have a lot of trouble
under medium load. I'm getting these urb aborted messages.
[125054.082248] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-71)
[125077.886850] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-32)

Is there anything that can be done about this? This is very
frustrating because it makes the USB adapter very difficult to use as
a reliable partner of an embedded CAN device.

I'm using Ubuntu with 5.4.0-107-generic. Any help would be appreciated.

-Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: peak_usb: urb aborted
  2022-04-08 16:35 peak_usb: urb aborted Paul Thomas
@ 2022-04-08 18:45 ` Oliver Hartkopp
  2022-04-11 13:07   ` Stéphane Grosjean
  2022-04-14 18:21   ` Paul Thomas
  0 siblings, 2 replies; 4+ messages in thread
From: Oliver Hartkopp @ 2022-04-08 18:45 UTC (permalink / raw)
  To: Paul Thomas, linux-can, Stéphane Grosjean
  Cc: Wolfgang Grandegger, Marc Kleine-Budde, David S. Miller,
	Jakub Kicinski, netdev, linux-kernel, support



On 08.04.22 18:35, Paul Thomas wrote:
> Folks,
> 
> I'm using a PCAN-USB adapter, and it seems to have a lot of trouble
> under medium load. I'm getting these urb aborted messages.
> [125054.082248] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-71)
> [125077.886850] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-32)

As I run the same hardware here it is very likely that you have a faulty 
CAN bus setup with

- wrong bitrate setting / sample points / etc
- wrong or no termination
- missing or wrong configured (other) CAN nodes

I added the maintainer of the PEAK USB adapter (Stephane) to the 
recipient list.

Having the linux-can mailing list and Stephane in the recipient list is 
sufficient to answer the above details.

Regards,
Oliver

> 
> Is there anything that can be done about this? This is very
> frustrating because it makes the USB adapter very difficult to use as
> a reliable partner of an embedded CAN device.
> 
> I'm using Ubuntu with 5.4.0-107-generic. Any help would be appreciated.
> 
> -Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: peak_usb: urb aborted
  2022-04-08 18:45 ` Oliver Hartkopp
@ 2022-04-11 13:07   ` Stéphane Grosjean
  2022-04-14 18:21   ` Paul Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: Stéphane Grosjean @ 2022-04-11 13:07 UTC (permalink / raw)
  To: Oliver Hartkopp, Paul Thomas, linux-can
  Cc: Wolfgang Grandegger, Marc Kleine-Budde, David S. Miller,
	Jakub Kicinski, netdev, linux-kernel, PEAK-System support

Hi,

Thank you Oliver for taking care of this request.

These errors can also be caused by a lack of power being supplied to the device itself. Being connected to a USB hub with insufficient power can also be an explanation for these sporadic errors.

Regards,

-- Stephane


De : Oliver Hartkopp <socketcan@hartkopp.net>
Envoyé : vendredi 8 avril 2022 20:45
À : Paul Thomas <pthomas8589@gmail.com>; linux-can@vger.kernel.org <linux-can@vger.kernel.org>; Stéphane Grosjean <s.grosjean@peak-system.com>
Cc : Wolfgang Grandegger <wg@grandegger.com>; Marc Kleine-Budde <mkl@pengutronix.de>; David S. Miller <davem@davemloft.net>; Jakub Kicinski <kuba@kernel.org>; netdev@vger.kernel.org <netdev@vger.kernel.org>; linux-kernel <linux-kernel@vger.kernel.org>; PEAK-System support <support@peak-system.com>
Objet : Re: peak_usb: urb aborted



On 08.04.22 18:35, Paul Thomas wrote:
> Folks,
>
> I'm using a PCAN-USB adapter, and it seems to have a lot of trouble
> under medium load. I'm getting these urb aborted messages.
> [125054.082248] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-71)
> [125077.886850] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-32)

As I run the same hardware here it is very likely that you have a faulty
CAN bus setup with

- wrong bitrate setting / sample points / etc
- wrong or no termination
- missing or wrong configured (other) CAN nodes

I added the maintainer of the PEAK USB adapter (Stephane) to the
recipient list.

Having the linux-can mailing list and Stephane in the recipient list is
sufficient to answer the above details.

Regards,
Oliver

>
> Is there anything that can be done about this? This is very
> frustrating because it makes the USB adapter very difficult to use as
> a reliable partner of an embedded CAN device.
>
> I'm using Ubuntu with 5.4.0-107-generic. Any help would be appreciated.
>
> -Paul

--
PEAK-System Technik GmbH
Sitz der Gesellschaft Darmstadt - HRB 9183
Geschaeftsfuehrung: Alexander Gach / Uwe Wilhelm
Unsere Datenschutzerklaerung mit wichtigen Hinweisen
zur Behandlung personenbezogener Daten finden Sie unter
www.peak-system.com/Datenschutz.483.0.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: peak_usb: urb aborted
  2022-04-08 18:45 ` Oliver Hartkopp
  2022-04-11 13:07   ` Stéphane Grosjean
@ 2022-04-14 18:21   ` Paul Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Thomas @ 2022-04-14 18:21 UTC (permalink / raw)
  To: Oliver Hartkopp
  Cc: linux-can, Stéphane Grosjean, Wolfgang Grandegger,
	Marc Kleine-Budde, David S. Miller, Jakub Kicinski, netdev,
	linux-kernel, support

> On 08.04.22 18:35, Paul Thomas wrote:
> > Folks,
> >
> > I'm using a PCAN-USB adapter, and it seems to have a lot of trouble
> > under medium load. I'm getting these urb aborted messages.
> > [125054.082248] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-71)
> > [125077.886850] peak_usb 3-2.4.4:1.0 can0: Rx urb aborted (-32)
>
> As I run the same hardware here it is very likely that you have a faulty
> CAN bus setup with
>
> - wrong bitrate setting / sample points / etc
> - wrong or no termination
> - missing or wrong configured (other) CAN nodes
Thanks Oliver, this might have been it, I'm using 1Mbit (up from
100kbit) on a different board, and not getting those errors.

>
> I added the maintainer of the PEAK USB adapter (Stephane) to the
> recipient list.
>
> Having the linux-can mailing list and Stephane in the recipient list is
> sufficient to answer the above details.
>
> Regards,
> Oliver
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-14 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08 16:35 peak_usb: urb aborted Paul Thomas
2022-04-08 18:45 ` Oliver Hartkopp
2022-04-11 13:07   ` Stéphane Grosjean
2022-04-14 18:21   ` Paul Thomas

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).