Skip to content

AS6602T dkms  #31

@sz3bbyla

Description

@sz3bbyla

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions