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

AS6602T dkms #31

Open
sz3bbyla opened this issue Dec 24, 2024 · 0 comments
Open

AS6602T dkms #31

sz3bbyla opened this issue Dec 24, 2024 · 0 comments

Comments

@sz3bbyla
Copy link

sz3bbyla commented Dec 24, 2024

I use system with zfs
I install dkms and try to build

root@pve:~/asustor-platform-driver# make dkms
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
Creating symlink /var/lib/dkms/asustor/v0.1/source -> /usr/src/asustor-v0.1
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
Creating symlink /var/lib/dkms/asustor-it87/v0.1/source -> /usr/src/asustor-it87-v0.1
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
Creating symlink /var/lib/dkms/asustor-gpio-it87/v0.1/source -> /usr/src/asustor-gpio-it87-v0.1
Sign command: /lib/modules/6.8.12-5-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.8.12-5-pve -C /lib/modules/6.8.12-5-pve/build M=/var/lib/dkms/asustor/v0.1/build modules...
Signing module /var/lib/dkms/asustor/v0.1/build/asustor.ko
Cleaning build area...
Sign command: /lib/modules/6.8.12-5-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.8.12-5-pve -C /lib/modules/6.8.12-5-pve/build M=/var/lib/dkms/asustor-it87/v0.1/build modules....
Signing module /var/lib/dkms/asustor-it87/v0.1/build/asustor_it87.ko
Cleaning build area...
Sign command: /lib/modules/6.8.12-5-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.8.12-5-pve -C /lib/modules/6.8.12-5-pve/build M=/var/lib/dkms/asustor-gpio-it87/v0.1/build modules...
Signing module /var/lib/dkms/asustor-gpio-it87/v0.1/build/asustor_gpio_it87.ko
Cleaning build area...
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

asustor.ko:
Running module version sanity check.

  • Original module
  • Installation
    • Installing to /lib/modules/6.8.12-5-pve/updates/dkms/
      depmod...
      readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
      readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

asustor_it87.ko:
Running module version sanity check.

  • Original module
  • Installation
    • Installing to /lib/modules/6.8.12-5-pve/updates/dkms/
      depmod...
      readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
      readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

asustor_gpio_it87.ko:
Running module version sanity check.

  • Original module
  • Installation
    • Installing to /lib/modules/6.8.12-5-pve/updates/dkms/
      depmod...

dkms status
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
asustor-gpio-it87/v0.1, 6.8.12-5-pve, x86_64: installed
asustor-it87/v0.1, 6.8.12-5-pve, x86_64: installed
asustor/v0.1, 6.8.12-5-pve, x86_64: installed

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