Since I do happen to be in the situation pretty often where the kernel inside a VM is newer than what VMware currently has in their tools (as in the SUSE kernel is newer than the binary modules built by VMware), here’s a quick reminder for myself on how to to fix the .ko symlinks.
1 2 3 4 5 |
for file in /lib/modules/$( uname -r )/misc/*.ko ; do rm $file && ln -s /lib/modules/$( uname -r )/misc/${file/.ko/.o} $file done |