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 headers (source) for 5.10.46 #265

Open
bluuu81 opened this issue Jun 29, 2021 · 5 comments
Open

Kernel headers (source) for 5.10.46 #265

bluuu81 opened this issue Jun 29, 2021 · 5 comments

Comments

@bluuu81
Copy link

bluuu81 commented Jun 29, 2021

If we want to add any module to kernel we need latest headers and source.
For example for dkms and cm4io-fan ... I can't build module
Any advices are welcome

@popcornmix
Copy link
Collaborator

@bluuu81
Copy link
Author

bluuu81 commented Jun 29, 2021

Yeah, thanks
Now module is building ... but can't work because of modprobe: ERROR: could not insert 'emc2301': Exec format error (with and without --force)
Don't know is a module or headers issue :/

@pelwell
Copy link
Collaborator

pelwell commented Jun 29, 2021

What is your module make command line? And the output of uname -a?

@bluuu81
Copy link
Author

bluuu81 commented Jun 29, 2021

Makefile (so make too is from cm4io-fan: https://github.com/neg2led/cm4io-fan):
https://github.com/neg2led/cm4io-fan/blob/master/Makefile

uname -a:
Linux greennas 5.10.46-v8+ #1430 SMP PREEMPT Mon Jun 28 17:17:17 BST 2021 aarch64 GNU/Linux

@pelwell
Copy link
Collaborator

pelwell commented Jun 30, 2021

That Makefile doesn't make it obvious what the actual kernel make line would be. For example, does it include ARCH=aarch64?
I suspect your problem might be that you are trying to build a 64-bit kernel with a native 32-bit gcc. What does file vmlinux return after the build?

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