RE: peak_usb: urb aborted

From: Stéphane Grosjean
Date: Mon Apr 11 2022 - 09:07:36 EST


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@xxxxxxxxxxxx>
Envoyé : vendredi 8 avril 2022 20:45
À : Paul Thomas <pthomas8589@xxxxxxxxx>; linux-can@xxxxxxxxxxxxxxx <linux-can@xxxxxxxxxxxxxxx>; Stéphane Grosjean <s.grosjean@xxxxxxxxxxxxxxx>
Cc : Wolfgang Grandegger <wg@xxxxxxxxxxxxxx>; Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>; David S. Miller <davem@xxxxxxxxxxxxx>; Jakub Kicinski <kuba@xxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx <netdev@xxxxxxxxxxxxxxx>; linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>; PEAK-System support <support@xxxxxxxxxxxxxxx>
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