-
Notifications
You must be signed in to change notification settings - Fork 398
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
XDMA: missing 'System.map' file #52
Comments
yes there is its a tweak to makefile |
Thanks for your reply, but I have done this and the output is still the same. |
copy the output after you did it if you could. Will allow me to compare. |
root@SEAS16012:/home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma# make install |
can you add the makefile you adjusted? |
SHELL = /bin/bash ifneq ($(xvc_bar_offset),) topdir := TARGET_MODULE:=xdma EXTRA_CFLAGS := -I$(topdir)/include $(XVC_FLAGS) ifneq ($(KERNELRELEASE),) install: all endif |
looks ok, I see you are root the only diff I can see is a run my command "su make install" Maybe a weird issue with how root is defined. My kernel example was a bit different as well. its also odd you didnt get any SSL errors. Typically i was getting them as well at this point. Cna you try install from a non root account then SU command when make? |
I still got the same output. I have solved the ssl errors using this method. |
sure ubuntu 18.04.2 |
Have you fixed the ssl error using the same method I have used? Is there anything else you have modified to solve the system.map missing file error? |
you know what I just realized it may have installed ok its just a warning message. try the 2 xmod checks after install to see if its found and installed. |
I have already done this but it fails to identify DMA. In your case the make install didn't give system.map file issue? |
correct I get message but this is a warning that allow install to continue. When i run my xmod checks after I see driver is installed |
ok then I have also seen where you then need to go into test folder and run load driver script. then check xmod |
I have tried loading driver but it fails. This is the script output: Loading xdma driver...insmod: ERROR: could not insert module ../xdma/xdma.ko: Operation not permitted |
insmod seems like the polling method is tripping up. i did not change polling method when I installed mine. To check if driver is ok i run one of these 2
Then run lspci |
modinfo xdma (or) fails to run and its output: I am able to see the pci device from lspci: |
what linux environement are you runing? could it be a csh vs bash setting? |
It’s ubuntu 19 using bash. |
yah that is only caveat I would worry about v19 modinfo xdma (or) fails to run and its output: have you tried the older xdma archive 2018.3? maybe that will work? |
I am avoiding anything newer than 18.04.2 as Vivado itself doesn't support it. Otherwise you fall under excuse not a supported OS. Imagine the Vivado XDMA IPs you design they require compatibility and as such may not work. |
I have tried to use csh instead but the modinfo xdma (or) fails to run also. The older xdma archive fails during the make process. I think I will try to run Ubuntu 18.04 on virtualbox and check. Moreover, I have also tried the windows approach before and the drivers didn't work. |
I have install Ubuntu 18.04 instead and still the same error exists. Are you using dual boot? When I ran Ubuntu on virtualbox I was able to install the drivers but the virtualmachine itself wasn't able to detect the pci device, that's very weird. |
no my install is a native local host install. which 18.04 version? |
Latest kernel version. |
UPDATE: The driver is finally loaded successfully, the solution was to disable the secure boot. |
if you want to try and use load driver script from the older 65444 driver set. It should make the device viewable |
Error: The Kernel module installed correctly, but no devices were recognized. |
I find if i get this error after teh install try to do this. on startup if all goes well try to load driver and see if it helps |
Ok, thank you. I have solved this problem. I used MSI interrupt and need to modify libxdma.c. |
I am still getting the 'Warning: modules_install: missing 'System.map' file. Skipping depmod.' message even after the tweak in the Makefile #44 and the fix for the #39 SSL issue and secure boot in #52. The XDMA was not installed when I check with modinfo and lsmod commands. setup as follow: |
Did you make clean , then install driver? |
Thank you. I forgot to make clean before make install. |
Hello, My name is Mark Harfouche. I am not affiliated with Xilinx in any way. Over the I've created a fork of dma_ip_drivers which I intend to maintain and work with the The fork can be found https://github.com/hmaarrfk/dma_ip_drivers For now, I am stating the main goals of the repository in If you are interested in working together, feel free to open an issue or PR to Best, Mark |
Hello!
I am trying to install the driver following the procedure in the readme file but I get the following output when running make install:
Makefile:10: XVC_FLAGS: .
make -C /lib/modules/5.3.0-40-generic/build M=/home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma modules
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-40-generic'
/home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/Makefile:10: XVC_FLAGS: .
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/libxdma.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma_cdev.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_ctrl.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_events.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_xvc.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_bypass.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma_mod.o
CC [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma_thread.o
LD [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.o
Building modules, stage 2.
/home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/Makefile:10: XVC_FLAGS: .
MODPOST 1 modules
CC /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.mod.o
LD [M] /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.ko
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-40-generic'
make -C /lib/modules/5.3.0-40-generic/build M=/home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma modules_install
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-40-generic'
INSTALL /home/samuel/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.ko
DEPMOD 5.3.0-40-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-40-generic'
Is there any way to solve that issue? I have tried a lot of things but it doesn't work. I am running on Ubuntu 19.10
Thanks in advance!
The text was updated successfully, but these errors were encountered: