Comments (3)
Need more information (current kernel version, ...) Probably built against incompatible kernel sources i.e. version mismatch. Also, check dmesg.
Edit: Oh yeah, also don't forget to run init.sh as root (see comments in init.sh).
from kernel-module.
here is the info:
1.I use the 'uname -r' command show the result:[5.15.0-60-generic]
2. and I assume the Makefile can locate the source code of the kernel automaticly , case the Makefile use the [(shell uname -r)] to locate the kernel source code? Am I right ?
and of course ,I use the sudo to execute the init.sh.
but the dmesg still shows the errors :ldx_udev: disagrees about version of symbol module_layout.
it seems that the source code of kernel mismatch my system kernel . But why ?
and I'm trying to download the source code by typing apt install linux-source, and the code in /usr/src/ is 'linux-source-5.4.0', I'm so confused the version. Any clue?
from kernel-module.
here is the info: 1.I use the 'uname -r' command show the result:[5.15.0-60-generic] 2. and I assume the Makefile can locate the source code of the kernel automaticly , case the Makefile use the [(shell uname -r)] to locate the kernel source code? Am I right ? and of course ,I use the sudo to execute the init.sh. but the dmesg still shows the errors :ldx_udev: disagrees about version of symbol module_layout. it seems that the source code of kernel mismatch my system kernel . But why ? and I'm trying to download the source code by typing apt install linux-source, and the code in /usr/src/ is 'linux-source-5.4.0', I'm so confused the version. Any clue?
it seems that I should do the "apt install linux-source" fisrt, then I can get the correct head files in the /lib/modules/ .
but I got wrong version of head files yesterday.
but I still wander why the command in the make file '(shell uname -r)' can't locate the right head files?
and clue about that?
thanks.
from kernel-module.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kernel-module.