Public bug reported:

Version: linux-raspi 6.8.0-1016

When bringing up a can bus, the driver crashes with a segmentation
fault. This seems to be a known issue and is documented and patched in
the raspberry pi linux kernel
(https://github.com/raspberrypi/linux/issues/6406) and here
(https://lore.kernel.org/all/20240924-truthful-authentic-basilisk-
aaab90-...@pengutronix.de/)

According to the raspberry pi issue, the following patches are integrated to 
fix the issue:
51b2a72 ("can: mcp251xfd: properly indent labels") 
(https://github.com/raspberrypi/linux/commit/51b2a721612236335ddec4f3fb5f59e72a204f3a)
a780154 ("can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into 
mcp251xfd_chip_start/stop()") 
(https://github.com/raspberrypi/linux/commit/a7801540f325d104de5065850a003f1d9bdc6ad3)

The IRQ handler mcp251xfd_handle_tefif() returned -22. problem is partly fixed 
with:
3c1c185 ("can: mcp251xfd: mcp251xfd_get_tef_len(): fix length calculation") 
(https://github.com/raspberrypi/linux/commit/3c1c18551e6ac1b988d0a05c5650e3f6c95a1b8a)

But it might be that the driver is missing several other patches needed
for stability.

** Affects: linux-raspi (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

+ Version: linux-raspi 6.8.0-1016
+ 
  When bringing up a can bus, the driver crashes with a segmentation
  fault. This seems to be a known issue and is documented and patched in
  the raspberry pi linux kernel
  (https://github.com/raspberrypi/linux/issues/6406) and here
  (https://lore.kernel.org/all/20240924-truthful-authentic-basilisk-
  aaab90-...@pengutronix.de/)
  
  According to the raspberry pi issue, the following patches are integrated to 
fix the issue:
  51b2a72 ("can: mcp251xfd: properly indent labels") 
(https://github.com/raspberrypi/linux/commit/51b2a721612236335ddec4f3fb5f59e72a204f3a)
  a780154 ("can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into 
mcp251xfd_chip_start/stop()") 
(https://github.com/raspberrypi/linux/commit/a7801540f325d104de5065850a003f1d9bdc6ad3)
  
  The IRQ handler mcp251xfd_handle_tefif() returned -22. problem is partly 
fixed with:
  3c1c185 ("can: mcp251xfd: mcp251xfd_get_tef_len(): fix length calculation") 
(https://github.com/raspberrypi/linux/commit/3c1c18551e6ac1b988d0a05c5650e3f6c95a1b8a)
  
  But it might be that the driver is missing several other patches needed
  for stability.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091806

Title:
  MCP251xFD driver throws segmentation fault when starting a can bus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2091806/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to