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

insmod fail #73

Open
zsq1234 opened this issue Jul 28, 2023 · 1 comment
Open

insmod fail #73

zsq1234 opened this issue Jul 28, 2023 · 1 comment

Comments

@zsq1234
Copy link

zsq1234 commented Jul 28, 2023

kernel version:6.4.3-arch1-2
my operation:

  1. compile a linux module in local, then copy it to virtual system
  2. in virtual system exec:insmod hello.ko
    result:
    图片

the modinfo result in local:
图片

the modinfo result in qemu virtual system:
图片

Can someone help to deal it?

@zsq1234
Copy link
Author

zsq1234 commented Jul 28, 2023

i clone the busybox, then:

  1. make menuconfig
  2. set: Settings -> Build Options -> Build static binary (no shared libs)

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

1 participant