Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can0 interface issues. #9

Open
beavis69 opened this issue Feb 27, 2024 · 4 comments
Open

can0 interface issues. #9

beavis69 opened this issue Feb 27, 2024 · 4 comments

Comments

@beavis69
Copy link

beavis69 commented Feb 27, 2024

Hello,

I'm using an ebb36 toolhead connected to the can0 interface.

It's not possible to complete a print using the catalyst can0 interface at 1M bit rate.

After 10 minutes of printing klipper stop with error : MCU 'toolhead' shutdown: Timer too close

and dmesg is showing lot of errors related to can0 interface :

[Mon Feb 26 21:46:06 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:46:34 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:47:35 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:48:08 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:48:46 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:49:31 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:55:00 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:56:01 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:57:12 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 21:59:16 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:00:11 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:00:11 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:01:19 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:01:23 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:01:24 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:01:53 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:01:59 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:02:12 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!
[Mon Feb 26 22:03:29 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!

I was able to complete a print after modifiying can0 interface to use 500k bit rate but errors are still present :

[Mon Feb 26 23:33:29 2024] rockchip_canfd fe580000.can can0: can_put_echo_skb: BUG! echo_skb 0 is occupied!

I'm using the debian 11 / kernel 5.10.160 image with klipper v0.12.0-114-ga77d0790

@beavis69
Copy link
Author

Seems to be related to the source clock frequency of can0.
Can you release a kernel with a different can source clock frequency ( see https://forum.odroid.com/viewtopic.php?p=370937#p370937 )

@polovi
Copy link

polovi commented Apr 14, 2024

still no solution? it looks like the Catalyst will go straight to the trash and I'll replace it with something functional 🤔

@kkobold
Copy link

kkobold commented Aug 17, 2024

I really need that one swell. any luck?

@beavis69
Copy link
Author

Actually works well at 500k with an ebb36 toolhead but too many errors at 1M.

I'm trying to get dts tree from fysetc to build my own kernel (ideally to get more recent armbian kernel) to support 1M.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants