Giter Site home page Giter Site logo

Unable to build at aarch64 about hides-drivers HOT 2 OPEN

tsduck avatar tsduck commented on July 4, 2024
Unable to build at aarch64

from hides-drivers.

Comments (2)

lelegard avatar lelegard commented on July 4, 2024

Hi @omikron88

It works for me on Ubuntu 23.04, on a Raspberry 4, Linux kernel 6.2. See the log below. It also works on the same Ubuntu version on a VM running on a MacBook M1.

I see that your logs mention the kernel 5.10 (older). There is maybe an issue with this version of the kernel but I have no other Arm64 system with that version.

$ uname -a
Linux rasptest 6.2.0-1004-raspi #5-Ubuntu SMP PREEMPT Mon Apr  3 11:15:14 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
$ 
$ wget -q https://github.com/tsduck/hides-drivers/releases/download/v7/hides-dkms_18.04.16.2w_all.deb
$ 
$ sudo dpkg -i hides-dkms_18.04.16.2w_all.deb
Selecting previously unselected package hides-dkms.
(Reading database ... 171725 files and directories currently installed.)
Preparing to unpack hides-dkms_18.04.16.2w_all.deb ...
Unpacking hides-dkms (18.04.16.2w) ...
Setting up hides-dkms (18.04.16.2w) ...
Deprecated feature: REMAKE_INITRD (/usr/src/hides-18.04.16.2w/dkms.conf)
Creating symlink /var/lib/dkms/hides/18.04.16.2w/source -> /usr/src/hides-18.04.16.2w
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/hides/18.04.16.2w/source/dkms.conf)

Building module:
Cleaning build area...
'make' KERNELDIR=/lib/modules/6.2.0-1004-raspi/build...............
Cleaning build area...
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/hides/18.04.16.2w/source/dkms.conf)

usb-it950x.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-1004-raspi/updates/dkms/
depmod...
$ 
$ sudo modprobe usb-it950x
$ 
$ lsmod | head -2
Module                  Size  Used by
usb_it950x            229376  0
$ 

from hides-drivers.

lelegard avatar lelegard commented on July 4, 2024

Hi @omikron88

I also tried on a Debian 11.7 VM on the MacBook M1, with kernel 5.10 and gcc 10.2, and it works correctly, the driver is built and loaded. So, this does not seem to be a kernel version issue.

I looked into my dkms make.log files. I see the same warnings as you, with kernels 5.10 and 6.2, but the build completes successfully.

However, in your log file, each warning is followed by "error, forbidden warning". Do you use some special kernel configuration? Your kernel is identified as "5.10.110-rockchip-rk3588". There is probably some special configuration with this one which fails on these warnings. I mentioned that it works with a "standard" Raspberry Pi 4, which is a similar type of system.

from hides-drivers.

Related Issues (5)

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.