[openib-general] [PATCH] install.sh: Cause less pain to SRP users who didn't RTFM
Scott Weitzenkamp (sweitzen)
sweitzen at cisco.com
Wed Dec 13 16:14:45 PST 2006
What problem are you seeing? We have tested SRP on 32-bit SLES10
running on 64-bit Opteron hardware.
Scott Weitzenkamp
SQA and Release Manager
Server Virtualization Business Unit
Cisco Systems
> -----Original Message-----
> From: openib-general-bounces at openib.org
> [mailto:openib-general-bounces at openib.org] On Behalf Of Cain,
> Brian (GE Healthcare)
> Sent: Wednesday, December 13, 2006 2:09 PM
> To: openib-general at openib.org
> Subject: [openib-general] [PATCH] install.sh: Cause less pain
> to SRP users who didn't RTFM
>
> There's gotta be a good way to let people know they're going down the
> wrong path on this one.
>
> Signed-off-by: Brian Cain <Brian.Cain at ge.com>
>
> --- ofed/openib/scripts/install.sh 2006-12-13 14:48:51.747995000
> -0700
> +++ ofed_fix/openib/scripts/install.sh 2006-12-13 14:59:00.586574000
> -0700
> @@ -1070,6 +1070,14 @@
> echo "# Load SDP module" >>
> ${IB_CONF_DIR}/openib.conf
> echo "# SDP_LOAD=no" >>
> ${IB_CONF_DIR}/openib.conf
> fi
> +
> +
> + if [[ "$srp" == "y" || "$srp_target" == "y" ]] &&
> + [[ $(egrep 'flags.*lm' /proc/cpuinfo | wc
> -l) > 0 ]]
> &&
> + [[ $(uname -p | egrep 'i[3-9]86' | wc -l) > 0 ]];
> then
> + echo '!!WARNING!! SRP is not supported
> for 32-bit OS
> running on 64-bit capable hardware'
> + fi
> +
>
> if [ "$srp" == "y" ]; then
> echo >> ${IB_CONF_DIR}/openib.conf
>
> --
> -Brian
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>
More information about the general
mailing list