Closed pakmarkthub closed 4 years ago
It appears there are two problems:
Updated the pull request. The script will now add both original (crc) and new symbols. It will not attempt a rebuild in the case of the new symbols (I just left that part as-is).
Do you want me to just fix the script itself instead of patch it in the deb packaging?
It seems cleaner to me to fix the script, but if patching is the normal approach, I'm ok with it...
On Sun, Nov 3, 2019 at 10:23 PM Tzafrir notifications@github.com wrote:
Updated the pull request. The script will now add both original (crc) and new symbols. It will not attempt a rebuild in the case of the new symbols (I just left that part as-is).
Do you want me to just fix the script itself instead of patch it in the deb packaging?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Mellanox/nv_peer_memory/issues/52?email_source=notifications&email_token=AAO2X3TAYPY4S6VRXWL6TLDQR3NFFA5CNFSM4I44XKNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5TW4A#issuecomment-549141360, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO2X3XAMDDO2HPZEF2NML3QR3NFFANCNFSM4I44XKNA .
Deb dkms missing symbols #54 was merged
In Debian, we got the error as shown below when trying to install with
sudo dpkg -i nvidia-peer-memory-dkms_1.0-8_all.deb
.In Linux 4., these are shown as WARNING but they have been upgraded to ERROR in Linux 5..
Further investigation shows that
./create_nv.symvers.sh
returns-W- Could not get list of nvidia symbols.
on Ubuntu. The script fails at line 90if ! (nm -o $nvidia_mod | grep -q "__crc_nvidia_p2p_"); then
because nvidia.ko does not have__crc_nvidia_p2p_
.I believe that this issue occurs when installing NVIDIA driver with dkms support. This issue is not observed on RHEL.
For NVIDIA driver, I tried version 418.39 and newer. I believe that you can use any 418.* to reproduce this bug. The OS I used was Ubuntu 18.04 with Linux 4.15 (got warning) and Linux 5.2 (got error).