Open AlexTUM opened 1 year ago
I've made a little progress but still can't solve the problem:
For the first few steps I get output like
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-20-amd64'
INSTALL /home/alex/OSVirt/netmap/netmap.ko
DEPMOD 5.10.0-20-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
indicating that there is no System.map file. As far as I understand the depmod(8) manpage, this is normal when using the active kernel (and map files are only created for other kernels).
The script then calls /sbin/depmod -e -F /boot/System.map-5.10.0-20-amd64 -a 5.10.0-20-amd64
with the map file under /boot
with the dummy contents:
ffffffffffffffff B The real System.map is in the linux-image-<version>-dbg package
However, as stated above, I did not install the full kernel sources, hence linux-image-xx
does not exist. This explains the warnings, as it cannot find any symbols in the map file, -eF will report every symbol as missing.
I do not do what exactly to do about it and why it ultimately fails though.
Hi @AlexTUM, the latest master should fix the installation error. You can ignore the warnings.
I am trying to install netmap on my debian 11 system with kernel 5.10.0-20-amd64. Configuring using the method "patching NIC-vendors out-of-tree drivers" seemed to go fine. Thus, I did not install the full kernel sources (issuing a warning but it seems to be optional if I don't want to patch the kernel drivers there). Calling make install however, yields thousands of lines like this:
At the end it yields an error:
Any ideas where these symbols should be coming from and why depmod cannot find them?