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

Kernel OOPS while using rmmod for ethernet driver #427

Closed
sgthammer opened this issue Mar 28, 2023 · 2 comments
Closed

Kernel OOPS while using rmmod for ethernet driver #427

sgthammer opened this issue Mar 28, 2023 · 2 comments

Comments

@sgthammer
Copy link

Hello,

For an image with swupdate support, I tried to remove ethernet driver module using rmmod. "rmmod iccsg_prueth" command is used for this aim and the rmmod throws segmentation fault. Also, kernel throws OOPS as internal error. Kernel log file is attached.

What could be the reason causes this issue?
oops.log

@nhahnetsrot
Copy link

nhahnetsrot commented May 24, 2023

Pls. try the attached patch, needs to be copied to meta-iot2050/recipes-kernel/linux/files/patches-5.10/ and then the image needs to be rebuild (e.g.: sudo kas-container clean; kas-container build )

0211-fix-rmmod.patch

Reason for the crash is a bug in the driver. With the attached patch it is possible to unload / load icssg-prueth.ko without crash, network successfully resumes on reload. Pls give it a try.

@jan-kiszka
Copy link
Collaborator

Will be fixed by #491

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