Skip to content

Commit 7a5e6d8

Browse files
authored
Merge pull request #383 from NVIDIA/fix-fm-start-scripts
2 parents df9cddc + 7796e73 commit 7a5e6d8

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

rhel8/nvidia-driver

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,11 @@ _load_driver() {
402402
fm_pid_file=/var/run/nvidia-fabricmanager/nv-fabricmanager.pid
403403
nvlsm_config_file=/usr/share/nvidia/nvlsm/nvlsm.conf
404404
nvlsm_pid_file=/var/run/nvidia-fabricmanager/nvlsm.pid
405-
/usr/bin/nvidia-fabricmanager-start.sh $fm_config_file $fm_pid_file $nvlsm_config_file $nvlsm_pid_file
405+
/usr/bin/nvidia-fabricmanager-start.sh --mode start \
406+
--fm-config-file $fm_config_file \
407+
--fm-pid-file $fm_pid_file \
408+
--nvlsm-config-file $nvlsm_config_file \
409+
--nvlsm-pid-file $nvlsm_pid_file
406410

407411
# If not a NVLink5+ switch, check for the presence of NVLink4 (or below) switches
408412
elif _assert_nvswitch_system; then

rhel9/nvidia-driver

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,11 @@ _load_driver() {
421421
fm_pid_file=/var/run/nvidia-fabricmanager/nv-fabricmanager.pid
422422
nvlsm_config_file=/usr/share/nvidia/nvlsm/nvlsm.conf
423423
nvlsm_pid_file=/var/run/nvidia-fabricmanager/nvlsm.pid
424-
/usr/bin/nvidia-fabricmanager-start.sh $fm_config_file $fm_pid_file $nvlsm_config_file $nvlsm_pid_file
424+
/usr/bin/nvidia-fabricmanager-start.sh --mode start \
425+
--fm-config-file $fm_config_file \
426+
--fm-pid-file $fm_pid_file \
427+
--nvlsm-config-file $nvlsm_config_file \
428+
--nvlsm-pid-file $nvlsm_pid_file
425429

426430
# If not a NVLink5+ switch, check for the presence of NVLink4 (or below) switches
427431
elif _assert_nvswitch_system; then

ubuntu22.04/nvidia-driver

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,11 @@ _load_driver() {
353353
fm_pid_file=/var/run/nvidia-fabricmanager/nv-fabricmanager.pid
354354
nvlsm_config_file=/usr/share/nvidia/nvlsm/nvlsm.conf
355355
nvlsm_pid_file=/var/run/nvidia-fabricmanager/nvlsm.pid
356-
/usr/bin/nvidia-fabricmanager-start.sh $fm_config_file $fm_pid_file $nvlsm_config_file $nvlsm_pid_file
356+
/usr/bin/nvidia-fabricmanager-start.sh --mode start \
357+
--fm-config-file $fm_config_file \
358+
--fm-pid-file $fm_pid_file \
359+
--nvlsm-config-file $nvlsm_config_file \
360+
--nvlsm-pid-file $nvlsm_pid_file
357361

358362
# If not a NVLink5+ switch, check for the presence of NVLink4 (or below) switches
359363
elif _assert_nvswitch_system; then

ubuntu24.04/nvidia-driver

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,11 @@ _load_driver() {
284284
fm_pid_file=/var/run/nvidia-fabricmanager/nv-fabricmanager.pid
285285
nvlsm_config_file=/usr/share/nvidia/nvlsm/nvlsm.conf
286286
nvlsm_pid_file=/var/run/nvidia-fabricmanager/nvlsm.pid
287-
/usr/bin/nvidia-fabricmanager-start.sh $fm_config_file $fm_pid_file $nvlsm_config_file $nvlsm_pid_file
287+
/usr/bin/nvidia-fabricmanager-start.sh --mode start \
288+
--fm-config-file $fm_config_file \
289+
--fm-pid-file $fm_pid_file \
290+
--nvlsm-config-file $nvlsm_config_file \
291+
--nvlsm-pid-file $nvlsm_pid_file
288292

289293
# If not a NVLink5+ switch, check for the presence of NVLink4 (or below) switches
290294
elif _assert_nvswitch_system; then

0 commit comments

Comments
 (0)