Build scripts broken completely
Opened this issue · 0 comments
zeronewb commented
tested on debian 12 / fedora 39
- Outdated and hardcoded includes https://github.com/NVIDIA/gds-nvidia-fs/blob/master/src/Makefile#L46
- Wrong crc calculation https://github.com/NVIDIA/gds-nvidia-fs/blob/master/src/create_nv.symvers.sh#L97
- Same stuff reused for all packages from https://developer.download.nvidia.com/compute/cuda/repos/
working example
0x45bb0ad7 nvidia_p2p_init_mapping /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x180f4b6a nvidia_p2p_destroy_mapping /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x5b3f3e79 nvidia_p2p_get_pages /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x970adefe nvidia_p2p_get_pages_persistent /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0xf42ca687 nvidia_p2p_free_page_table /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x642487ac nvidia_p2p_put_pages /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0xacdf3914 nvidia_p2p_put_pages_persistent /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0xffd4a31f nvidia_p2p_dma_map_pages /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0xde127f84 nvidia_p2p_dma_unmap_pages /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x1a341767 nvidia_p2p_free_dma_mapping /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x0eb04054 nvidia_p2p_register_rsync_driver /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0xac11935f nvidia_p2p_unregister_rsync_driver /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0xca97dddc nvidia_p2p_get_rsync_registers /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x61268b4d nvidia_p2p_put_rsync_registers /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL_GPL
0x46a0aa1d nvUvmInterfaceGetP2PCaps /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL
0xf7419bbb nvUvmInterfaceP2pObjectCreate /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL
0xce96a1a4 nvUvmInterfaceP2pObjectDestroy /usr/src/nvidia-555.58.02/nvidia EXPORT_SYMBOL
broken script output
0x0000000000000000 nvidia_p2p_destroy_mapping /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000004 nvidia_p2p_dma_map_pages /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000008 nvidia_p2p_dma_unmap_pages /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x000000000000000c nvidia_p2p_free_dma_mapping /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000010 nvidia_p2p_free_page_table /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000014 nvidia_p2p_get_pages /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000018 nvidia_p2p_get_pages_persistent /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x000000000000001c nvidia_p2p_get_rsync_registers /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000020 nvidia_p2p_init_mapping /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000024 nvidia_p2p_put_pages /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000028 nvidia_p2p_put_pages_persistent /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x000000000000002c nvidia_p2p_put_rsync_registers /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000030 nvidia_p2p_register_rsync_driver /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL
0x0000000000000034 nvidia_p2p_unregister_rsync_driver /lib/modules/6.1.0-22-amd64/updates/dkms/nvidia-current EXPORT_SYMBOL