Am 24/03/2024 um 18:02 schrieb Peter Maffter via openSUSE Users:
Am 24/03/2024 um 17:23 schrieb Peter Maffter via openSUSE Users:
Am 24/03/2024 um 17:17 schrieb Andrei Borzenkov:
On 24.03.2024 18:44, Peter Maffter via openSUSE Users wrote:
Warning: modules_install: missing 'System.map' file. Skipping depmod.
1. There is no indication this message is actually a problem. Did you check if you can load compiled module(s)?
"Skipping depmod" ?
2. Did you check whether System.map file exists?
ll /usr/lib/modules/6.8.1-1-default/System.map -rw-r--r-- 1 root root 7603403 Mar 19 08:32 /usr/lib/modules/6.8.1-1-default/System.map
The article at https://patchwork.kernel.org/project/linux-kbuild/patch/dde798fd-9fef-6ac0-a...
says, that before Sept. 2018 this was exiting without any message.
"if ! test -r System.map ; then + echo "Warning: modules_install: missing 'System.map' file. Skipping depmod." >&2 exit 0 fi"
test -r System.map in my case simply results in nothing although:
ll /usr/lib/modules/6.8.1-1-default/System.map -rw-r--r-- 1 root root 7603403 Mar 19 08:32 /usr/lib/modules/6.8.1-1-default/System.map
So there seems to be something wrong in /usr/src/kernel-modules/nvidia-390.157-default/Makefile
But I do not know, what is missing in the Makefile.
https://www.linuxquestions.org/questions/ubuntu-63/system-map-no-such-file-o... has a pointer: "If it says "not found" it means you don't have that file in that directory. Either you need to find where System.map or you need to install a separate package that includes System.map. If the file DOES exist on your system but is in a another directory you can create a symbolic link in /lib/modules/2.6.32-25-generic/build to where it really exists OR you could modify the makefile to point to the correct path." ls -l /lib/modules/6.8.1-1-default/build/System.map is not there. Shall I make a symbolic link from /usr/lib/modules/6.8.1-1-default/System.map to /lib/modules/6.8.1-1-default/build/System.map ? As I said: I did compile kernel modules a long time ago and since this changed a lot I am a bit lost here.