Open niuchp opened 1 year ago
Best guess without having tried it: the CONFIG_PARPORT
is not set in our ACRN kernel and that's causing the failure. Can you try to enable it and see if it makes any difference? (let us know if you need instructions on how to enable this and installing it on your system).
Best guess without having tried it: the
CONFIG_PARPORT
is not set in our ACRN kernel and that's causing the failure. Can you try to enable it and see if it makes any difference? (let us know if you need instructions on how to enable this and installing it on your system).
Thanks for your help! After setting, it can be successfully compiled, but the prompt "Key was rejected by service" appears. Can you help me?
root@ubuntu-OptiPlex-3050:/home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source# make rm -f .mod.c .o .ko ..cmd .symvers make -C /lib/modules/5.10.115-acrn-service-vm-dirty/build/ M=/home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source modules make[1]: Entering directory '/usr/src/linux-headers-5.10.115-acrn-service-vm-dirty' CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100_spi.o CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100_sp.o LD [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100.o CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc.o MODPOST /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/Module.symvers WARNING: modpost: /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc: 'parport_pc_probe_port' exported twice. Previous export was in vmlinux WARNING: modpost: /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc: 'parport_pc_unregister_port' exported twice. Previous export was in vmlinux CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100.mod.o LD [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100.ko CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc.mod.o LD [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc.ko make[1]: Leaving directory '/usr/src/linux-headers-5.10.115-acrn-service-vm-dirty' gcc -pthread select_BR.c -o select_BR gcc -pthread advanced_BR.c -o advanced_BR gcc -pthread gpio_99100.c -o gpio_99100 gcc -pthread -Wall 9bit_test.c -o 9bit_test gcc -I /usr/include spi_test.c -o spi_test rm -f .mod.c .o ..cmd .symvers rm -rf .tmp_version ~ rm -rf Module.markers modules.
root@ubuntu-OptiPlex-3050:/home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source# make install rm -f .mod.c .o .ko ..cmd .symvers make -C /lib/modules/5.10.115-acrn-service-vm-dirty/build/ M=/home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source modules make[1]: Entering directory '/usr/src/linux-headers-5.10.115-acrn-service-vm-dirty' CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100_spi.o CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100_sp.o LD [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100.o CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc.o MODPOST /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/Module.symvers WARNING: modpost: /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc: 'parport_pc_probe_port' exported twice. Previous export was in vmlinux WARNING: modpost: /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc: 'parport_pc_unregister_port' exported twice. Previous export was in vmlinux CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100.mod.o LD [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ax99100.ko CC [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc.mod.o LD [M] /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/parport_pc.ko make[1]: Leaving directory '/usr/src/linux-headers-5.10.115-acrn-service-vm-dirty' gcc -pthread select_BR.c -o select_BR gcc -pthread advanced_BR.c -o advanced_BR gcc -pthread gpio_99100.c -o gpio_99100 gcc -pthread -Wall 9bit_test.c -o 9bit_test gcc -I /usr/include spi_test.c -o spi_test rm -f .mod.c .o ..cmd .symvers rm -rf .tmp_version ~ rm -rf Module.markers modules. make -C /lib/modules/5.10.115-acrn-service-vm-dirty/build/ M=/home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source modules_install make[1]: Entering directory '/usr/src/linux-headers-5.10.115-acrn-service-vm-dirty' cat: /home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/modules.order: No such file or directory DEPMOD 5.10.115-acrn-service-vm-dirty Warning: modules_install: missing 'System.map' file. Skipping depmod. make[1]: Leaving directory '/usr/src/linux-headers-5.10.115-acrn-service-vm-dirty' cp ax99100.ko /lib/modules/5.10.115-acrn-service-vm-dirty/kernel/drivers/tty/serial su -c "/sbin/depmod -a" modprobe ax99100 modprobe: ERROR: could not insert 'ax99100': Key was rejected by service make: *** [Makefile:56: install] Error 1 root@ubuntu-OptiPlex-3050:/home/ubuntu/AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source#
root@ubuntu-OptiPlex-3050:~# lspci -vv
03:00.1 Serial controller: Asix Electronics Corporation AX99100 PCIe to Multi I/O Controller (prog-if 02 [16550])
Subsystem: Asix Electronics Corporation (Wrong ID) Serial Port
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
modprobe: ERROR: could not insert 'ax99100': Key was rejected by service
Do you have secure boot enabled in your bios by any chance? If so, please try turning this off and see if it makes any difference.
Describe the bug An error occurred when I installed the AX99100 driver:
But,It can be successfully installed on the native OS.
Platform native OS: Ubuntu20.04 ACRN: 3.0
To Reproduce