[ofa-general] Re: OFED-1.2-20070502-0600 on Debian
Michael S. Tsirkin
mst at dev.mellanox.co.il
Wed May 2 14:49:44 PDT 2007
> Quoting Rick Jones <rick.jones2 at hp.com>:
> Subject: OFED-1.2-20070502-0600 on Debian
>
> Sooo, I grabbed the latest 1.2 tar from
>
> and untarred it onto my Debian 4.0 with 2.6.21.1 kernel from kernel.org,
> did ./install.sh and a bunch of stuff like this flew past:
>
> /root/OFED-1.2-20070502-0600/build_env.sh: line 77: rpm: command not found
> /root/OFED-1.2-20070502-0600/build_env.sh: line 78: rpm: command not found
> /root/OFED-1.2-20070502-0600/build_env.sh: line 79: rpm: command not found
> /root/OFED-1.2-20070502-0600/build_env.sh: line 319: rpm: command not found
> /root/OFED-1.2-20070502-0600/build_env.sh: line 320: rpm: command not found
> /root/OFED-1.2-20070502-0600/build_env.sh: line 321: rpm: command not found
> /root/OFED-1.2-20070502-0600/build_env.sh: line 327: rpm: command not found
rpm is not installed. I don't know how to solve this, Vlad
might be able to answer tomorrow.
> should I be taking a different path to build here?
Maybe, maybe not.
There *is* another way which should be enough to test IPoIB:
try getting a kernel tarball from
http://git.openfabrics.org/~vlad/builds/
If you unpack this, you can configure/make/make install.
Installer will backup your original modules under the prefix.
Keep the source around and you'll be able to make uninstall
to get back to original system.
Note 1: default configure settings are often not what you want:
run ./configure --help first of all to see which modules to select
(--with-ipoib-mod and --with-mthca-mod I think) and to set a prefix.
Note 2: having quilt tool installed is recommended - will let you
add/remove patches later.
Note 3: this way you get no userspace. openfabrics tarballs
are under the same directory, and a similiar method works there.
external tarballs (MPI, bonding, etc) are supplied to us in SRPM
format so this trick does not work for them.
--
MST
More information about the general
mailing list