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

Can axidma_video_transfer work? Kernel stack is corrupted in: axidma_prep_transfer+0x2b8/0x308 #154

Open
La-Nausee opened this issue Apr 17, 2024 · 2 comments

Comments

@La-Nausee
Copy link

Hi,

I am testing VDMA with your driver code on petalinux-v2021.2, the Linux version of which is 5.10.0. When calling axidma_video_transfer, the kernel is always corrupted, and the error message shows

Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: axidma_prep_trasfer + 0x2b8/0x308.

Via debugging with printk, the corruption is actually happened in the function of dmaengine_prep_interleaved_dma. I don't know how to track the further reason for the corruption, does anybody know the solution?

By the way, DMA works very well.

@Yuxin-Yu
Copy link

Yuxin-Yu commented Jul 11, 2024

Hi @La-Nausee @bperez77 ,Have you solved this error,I met the same problem.

@La-Nausee
Copy link
Author

Hi @La-Nausee @bperez77 ,Have you solved this error,I met the same problem.

Not yet. It is due to the Linux version

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

2 participants