Public bug reported:
Hi there,
One of our customer is using MCP251xFD driver (SPI to CAN converter) for
their solutions based on RPi. Although simple socket communication
works, the customer tries to run Codesys as part of their solution and
while Codesys tries to access CAN interface, the following error is seen
in the dmesg;
Kernel 6.8.0-1020-raspi:
```
[130.086150] mcp251xfd spi0.0 can0: IRQ handler mcp251xfd_handle_tefif()
returned -22 (intf=0x31aa018).
[130.086464] mcp251xfd spi0.0 can0: IRQ handler returned -22.
```
Also tried with Kernel 6.8.0-2019-raspi-realtime;
```
[126.366427] mcp251xfd spi0.0: DMA transaction timed out
[126.366430] mcp251xfd spi0.0: SPI transfer failed: -110
[126.366434] mcp251xfd spi0.0: failed to transfer one message to queue
[126.366436] mcp251xfd spi0.0: noueue transfer failed: -110
[126.366439] mcp251xfd spi0.0: DMA transaction timed out
[126.366441] mcp251xfd spi0.0: SPI transfer failed: -110
[126.366444] mcp251xfd spi0.0: failed to transfer one message from queue
[126.632946] mcp251xfd spi0.0 can0: CRC read error at address 0x0e0c (length=4,
data=00 00 00 00, CRC=0x808080) retrying.
[126.632948] mcp251xfd spi0.0 can0: CRC read error at address 0x0e0c (length=4,
data=00 00 00 00, CRC=0x808080) retrying.
[126.632950] mcp251xfd spi0.0 can0: failed to set REQUESTED OPERATION MODE.
```
Feedback from customer;
Backporting kernel driver mcp251xfd does not help, because there are
dependencies like spi driver which is also needed to be investigated
further. According to the customer, the mentioned problem is only
available on 6.8. They have not observed any issues with linux kernel
version 6.6 and 6.12 within different
The described problem is only seen for kernel 6.8.
There are no issues with Raspbian based OS with 6.6 and 6.12 kernel.
Thanks,
Bugra
** Affects: linux-raspi (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/2109529
Title:
MCP251xFD Driver Failure on Ubuntu with CAN Interface
Status in linux-raspi package in Ubuntu:
New
Bug description:
Hi there,
One of our customer is using MCP251xFD driver (SPI to CAN converter)
for their solutions based on RPi. Although simple socket communication
works, the customer tries to run Codesys as part of their solution and
while Codesys tries to access CAN interface, the following error is
seen in the dmesg;
Kernel 6.8.0-1020-raspi:
```
[130.086150] mcp251xfd spi0.0 can0: IRQ handler mcp251xfd_handle_tefif()
returned -22 (intf=0x31aa018).
[130.086464] mcp251xfd spi0.0 can0: IRQ handler returned -22.
```
Also tried with Kernel 6.8.0-2019-raspi-realtime;
```
[126.366427] mcp251xfd spi0.0: DMA transaction timed out
[126.366430] mcp251xfd spi0.0: SPI transfer failed: -110
[126.366434] mcp251xfd spi0.0: failed to transfer one message to queue
[126.366436] mcp251xfd spi0.0: noueue transfer failed: -110
[126.366439] mcp251xfd spi0.0: DMA transaction timed out
[126.366441] mcp251xfd spi0.0: SPI transfer failed: -110
[126.366444] mcp251xfd spi0.0: failed to transfer one message from queue
[126.632946] mcp251xfd spi0.0 can0: CRC read error at address 0x0e0c
(length=4, data=00 00 00 00, CRC=0x808080) retrying.
[126.632948] mcp251xfd spi0.0 can0: CRC read error at address 0x0e0c
(length=4, data=00 00 00 00, CRC=0x808080) retrying.
[126.632950] mcp251xfd spi0.0 can0: failed to set REQUESTED OPERATION MODE.
```
Feedback from customer;
Backporting kernel driver mcp251xfd does not help, because there are
dependencies like spi driver which is also needed to be investigated
further. According to the customer, the mentioned problem is only
available on 6.8. They have not observed any issues with linux kernel
version 6.6 and 6.12 within different
The described problem is only seen for kernel 6.8.
There are no issues with Raspbian based OS with 6.6 and 6.12 kernel.
Thanks,
Bugra
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2109529/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp