GithubHelp home page GithubHelp logo

Comments (3)

Milo-D avatar Milo-D commented on August 28, 2024

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.

lianzisong avatar lianzisong commented on August 28, 2024

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.

lianzisong avatar lianzisong commented on August 28, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.