From ad4d60627aa3d7733de24e873b3fa8c2dbb88622 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Fri, 7 Oct 2016 15:56:12 -0400 Subject: [PATCH] Move the kernel mismatch issue back to the diskless and diskful sections --- .../infiniband/mlnxofed_ib_install_v2_diskful.rst | 6 ++++++ .../infiniband/mlnxofed_ib_install_v2_diskless.rst | 6 ++++++ .../networks/infiniband/mlnxofed_ib_known_issue.rst | 11 ----------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskful.rst b/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskful.rst index ac25a5566..0db6df69e 100644 --- a/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskful.rst +++ b/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskful.rst @@ -18,6 +18,12 @@ Diskful Installation chdef -t node -o \ -p postscripts="mlnxofed_ib_install -p /install//" + **[kernel mismatch issue]** The Mellanox OFED ISO is built againt a series of specific kernel version. If the version of the linux kernel does not match any of the Mellanox offered pre-built kernel modules, you can pass the ``--add-kernel-support`` argument to the Mellanox installation script to build the kernel modules based on the version you are using. :: + + chdef -t node -o \ + -p postscripts="mlnxofed_ib_install -p /install// \ + -m --add-kernel-support -end-" + #. Provision the node #. Verification diff --git a/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskless.rst b/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskless.rst index 97f8face4..ae1be14ca 100644 --- a/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskless.rst +++ b/docs/source/advanced/networks/infiniband/mlnxofed_ib_install_v2_diskless.rst @@ -27,6 +27,12 @@ Diskless Installation -p /install// -i $1 -n genimage *Note: The $1 is a argument that is passed to the the postinstall script at runtime.* + + **[kernel mismatch issue]** The Mellanox OFED ISO is built againt a series of specific kernel version. If the version of the linux kernel does not match any of the Mellanox offered pre-built kernel modules, you can pass the ``--add-kernel-support`` argument to the Mellanox installation script to build the kernel modules based on the version you are using. :: + + /install/postscripts/mlnxofed_ib_install \ + -p /install// -m --add-kernel-support -end- \ + -i $1 -n genimage #. Generate the diskless image diff --git a/docs/source/advanced/networks/infiniband/mlnxofed_ib_known_issue.rst b/docs/source/advanced/networks/infiniband/mlnxofed_ib_known_issue.rst index 2cd9614d6..2d337a588 100644 --- a/docs/source/advanced/networks/infiniband/mlnxofed_ib_known_issue.rst +++ b/docs/source/advanced/networks/infiniband/mlnxofed_ib_known_issue.rst @@ -1,17 +1,6 @@ Known Issues ============ -Kernel Mismatch ---------------- - -The Mellanox OFED ISO is built againt a series of specific kernel version. If the version of the linux kernel does not match any of the Mellanox offered pre-built kernel modules, you can pass the ``--add-kernel-support`` argument to the Mellanox installation script to build the kernel modules based on the version you are using. - - For diskless images, add the following line to the ``postinstall`` script: :: - - /install/postscripts/mlnxofed_ib_install \ - -p /install// -m --add-kernel-support -end- \ - -i $1 -n genimage - Preventing upgrade of the Mellanox Drivers ------------------------------------------