bigtreetech / bigtreetech/CB2

CB2 6.1 kernel - Bad work CAN bus !!!

Open
#139 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
149
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Constant increase in bytes_invalid
https://github.com/Klipper3d/klipper/blob/master/docs/CANBUS_Troubleshooting.md

Older versions of the Linux kernel had a bug in the gs_usb canbus driver code that could cause reordered canbus packets. The issue is thought to be fixed in [Linux commit 24bc41b4](https://github.com/torvalds/linux/commit/24bc41b4558347672a3db61009c339b1f5692169) which was released in v6.6.0. In some cases, older Linux versions may not show the problem (due to how hardware interrupts are configured), however if problems are seen the recommended solution is to upgrade to a newer kernel.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with docs/CANBUS_Troubleshooting.md and reproduce or inspect the reported increase in bytes_invalid on the CB2 with the affected kernel version. Compare the observed behavior with Linux commit 24bc41b4 and document whether the issue remains; the report does not identify a repository file or test to change.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
embedded-iot, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.