Debian Bug report logs - #418014
libibverbs1: sysfs not available : libibverbs: Fatal: couldn't read uverbs ABI version.

version graph

Package: libibverbs1; Maintainer for libibverbs1 is Roland Dreier <roland@digitalvampire.org>; Source for libibverbs1 is src:libibverbs.

Reported by: Sylvestre Ledru <sylvestre.ledru@inria.fr>

Date: Fri, 6 Apr 2007 08:36:02 UTC

Severity: normal

Found in version libibverbs/1.0.4-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Roland Dreier <rolandd@cisco.com>:
Bug#418014; Package libibverbs1. Full text and rfc822 format available.

Acknowledgement sent to Sylvestre Ledru <sylvestre.ledru@inria.fr>:
New Bug report received and forwarded. Copy sent to Roland Dreier <rolandd@cisco.com>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Sylvestre Ledru <sylvestre.ledru@inria.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libibverbs1: sysfs not available : libibverbs: Fatal: couldn't read uverbs ABI version.
Date: Fri, 06 Apr 2007 10:27:39 +0200
Package: libibverbs1
Version: 1.0.4-1
Severity: normal

I am working with OpenMPI and I don't have sysfs on my computer.

When I running a very basic MPI program (source attached), I get the 
error :
libibverbs: Fatal: couldn't read uverbs ABI version.
--------------------------------------------------------------------------
[0,0,0]: OpenIB on host gabiniere was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------

Looking into the source of this lib, I saw that it tries to 
check the abi of Infiniband (which I don't have and don't want to use).

Maybe it is more an OpenMPI bug which should not force the user to use 
InfiniBand but there is anyway a bug in the lib : it should detect that 
I don't have sysfs on my computer and display that.

My test program :
================
#include <mpi.h>

#define BUFSIZE 128

int main(int argc, char *argv[])
{
  MPI_Init(&argc,&argv);

  return 0;
}
================
# gcc -o testMPI testMpi.c  -lmpi && ./testMPI
libibverbs: Fatal: couldn't read uverbs ABI version.
--------------------------------------------------------------------------
[0,0,0]: OpenIB on host gabiniere was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
================

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (800, 'testing'), (150, 'stable'), (90, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages libibverbs1 depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libsysfs2                   2.1.0-1      interface library to sysfs

libibverbs1 recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Roland Dreier <rolandd@cisco.com>:
Bug#418014; Package libibverbs1. Full text and rfc822 format available.

Acknowledgement sent to Roland Dreier <rdreier@cisco.com>:
Extra info received and forwarded to list. Copy sent to Roland Dreier <rolandd@cisco.com>. Full text and rfc822 format available.

Message #10 received at 418014@bugs.debian.org (full text, mbox):

From: Roland Dreier <rdreier@cisco.com>
To: 418014@bugs.debian.org
Subject: Re: libibverbs1: sysfs not available : libibverbs: Fatal: couldn't read uverbs ABI version.
Date: Thu, 26 Apr 2007 16:09:31 -0700
I'm not sure what is being asked for here.  Would you like libibverbs1
to work if sysfs is not mounted, or are you just looking for a better
error message that explains the cause of the failure better?



Information forwarded to debian-bugs-dist@lists.debian.org, Roland Dreier <rolandd@cisco.com>:
Bug#418014; Package libibverbs1. Full text and rfc822 format available.

Acknowledgement sent to Dirk Eddelbuettel <edd@debian.org>:
Extra info received and forwarded to list. Copy sent to Roland Dreier <rolandd@cisco.com>. Full text and rfc822 format available.

Message #15 received at 418014@bugs.debian.org (full text, mbox):

From: Dirk Eddelbuettel <edd@debian.org>
To: Roland Dreier <rdreier@cisco.com>, Sylvestre Ledru <sylvestre.ledru@inria.fr>, 418014@bugs.debian.org
Subject: libibverbs verbosity
Date: Fri, 25 May 2007 17:29:31 -0500
Roland,

I came across the same issue today which Sylvestre reported earlier. Like
Sylvestre, I am working with OpenMPI, and I am unable 'suppress' these very
verbose libibverbs messages on startup.  I don't have Infiniband hardware,
and I would prefer it if this subsystem could be made more (or, preferably:
completely) silent so that I can get on with my simple OpenMPI work.

edd@basebud:~> r -e 'library(ROpenMPI)'
libibverbs: Fatal: couldn't read uverbs ABI version.
--------------------------------------------------------------------------
[0,0,0]: OpenIB on host basebud was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------

(ROpenMPI is a so-far port of Rmpi from LAM to OpenMPI. I may contribute that
back to Rmpi if I get it sorted out right).

Is there a way to achieve that?

I am running a standard Debian testing system with 2.6.17 or newer, depending
on the box, or Ubuntu 7.04 with 2.6.18/2.6.20.  Standard kernels as packaged.

Thanks, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



Information forwarded to debian-bugs-dist@lists.debian.org, Roland Dreier <rolandd@cisco.com>:
Bug#418014; Package libibverbs1. Full text and rfc822 format available.

Acknowledgement sent to Sylvestre Ledru <sylvestre.ledru@inria.fr>:
Extra info received and forwarded to list. Copy sent to Roland Dreier <rolandd@cisco.com>. Full text and rfc822 format available.

Message #20 received at 418014@bugs.debian.org (full text, mbox):

From: Sylvestre Ledru <sylvestre.ledru@inria.fr>
To: Dirk Eddelbuettel <edd@debian.org>
Cc: Roland Dreier <rdreier@cisco.com>, 418014@bugs.debian.org
Subject: Re: libibverbs verbosity
Date: Sat, 26 May 2007 02:48:18 +0200
Hello

Roland, I think both would be great.

Cheers,
Sylvestre




Information forwarded to debian-bugs-dist@lists.debian.org, Roland Dreier <rolandd@cisco.com>:
Bug#418014; Package libibverbs1. Full text and rfc822 format available.

Acknowledgement sent to Roland Dreier <rdreier@cisco.com>:
Extra info received and forwarded to list. Copy sent to Roland Dreier <rolandd@cisco.com>. Full text and rfc822 format available.

Message #25 received at 418014@bugs.debian.org (full text, mbox):

From: Roland Dreier <rdreier@cisco.com>
To: Dirk Eddelbuettel <edd@debian.org>
Cc: Sylvestre Ledru <sylvestre.ledru@inria.fr>, 418014@bugs.debian.org
Subject: Re: libibverbs verbosity
Date: Fri, 25 May 2007 17:11:06 -0700
 > libibverbs: Fatal: couldn't read uverbs ABI version.

This is the libibverbs message.  For future versions I will look at
making this more informative and also providing a way to silence it
completely.

 > --------------------------------------------------------------------------
 > [0,0,0]: OpenIB on host basebud was unable to find any HCAs.
 > Another transport will be used instead, although this may result in
 > lower performance.
 > --------------------------------------------------------------------------

This (including the '-' lines) is coming from Open MPI.

However I'm a little confused about why this is a problem for you.  If
you don't have IB hardware and don't want to use IB, can't you just
disable the openib BTL at runtime (I would assume something like
"--mca btl ^openib" would work, and there's probably some way to put
that in your default config)?  Or just build Open MPI completely
without the openib BTL?

 - R.



Information forwarded to debian-bugs-dist@lists.debian.org, Roland Dreier <rolandd@cisco.com>:
Bug#418014; Package libibverbs1. Full text and rfc822 format available.

Acknowledgement sent to Dirk Eddelbuettel <edd@debian.org>:
Extra info received and forwarded to list. Copy sent to Roland Dreier <rolandd@cisco.com>. Full text and rfc822 format available.

Message #30 received at 418014@bugs.debian.org (full text, mbox):

From: Dirk Eddelbuettel <edd@debian.org>
To: Roland Dreier <rdreier@cisco.com>
Cc: Dirk Eddelbuettel <edd@debian.org>, Sylvestre Ledru <sylvestre.ledru@inria.fr>, 418014@bugs.debian.org
Subject: Re: libibverbs verbosity
Date: Fri, 25 May 2007 19:54:49 -0500
Hi Roland,

On 25 May 2007 at 17:11, Roland Dreier wrote:
|  > libibverbs: Fatal: couldn't read uverbs ABI version.
| 
| This is the libibverbs message.  For future versions I will look at
| making this more informative and also providing a way to silence it
| completely.

Excellent. That sounds like the right way.
| 
|  > --------------------------------------------------------------------------
|  > [0,0,0]: OpenIB on host basebud was unable to find any HCAs.
|  > Another transport will be used instead, although this may result in
|  > lower performance.
|  > --------------------------------------------------------------------------
| 
| This (including the '-' lines) is coming from Open MPI.

Ahh.

| However I'm a little confused about why this is a problem for you.  If
| you don't have IB hardware and don't want to use IB, can't you just
| disable the openib BTL at runtime (I would assume something like
| "--mca btl ^openib" would work, and there's probably some way to put
| that in your default config)?  Or just build Open MPI completely
| without the openib BTL?

Probably.  I am new to OpenMPI as I am just exploring it as an alternative for
an lam setup.

Thanks for the quick reply!

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



Information forwarded to debian-bugs-dist@lists.debian.org, Roland Dreier <rolandd@cisco.com>:
Bug#418014; Package libibverbs1. Full text and rfc822 format available.

Acknowledgement sent to Dirk Eddelbuettel <edd@debian.org>:
Extra info received and forwarded to list. Copy sent to Roland Dreier <rolandd@cisco.com>. Full text and rfc822 format available.

Message #35 received at 418014@bugs.debian.org (full text, mbox):

From: Dirk Eddelbuettel <edd@debian.org>
To: Roland Dreier <rdreier@cisco.com>
Cc: Sylvestre Ledru <sylvestre.ledru@inria.fr>, 418014@bugs.debian.org
Subject: Re: libibverbs verbosity
Date: Tue, 29 May 2007 09:06:55 -0500
Hi Roland,

On 25 May 2007 at 17:11, Roland Dreier wrote:
|  > libibverbs: Fatal: couldn't read uverbs ABI version.
| 
| This is the libibverbs message.  For future versions I will look at
| making this more informative and also providing a way to silence it
| completely.

'apt-get source libibverbs' being as convenient as it is, it would indeed be
nice if you could, say, change 

	if (check_abi_version(sysfs_path))
		return 0;

to also accept a 'verbosity' or 'silence' argument to just quietly exit here.

|  > --------------------------------------------------------------------------
|  > [0,0,0]: OpenIB on host basebud was unable to find any HCAs.
|  > Another transport will be used instead, although this may result in
|  > lower performance.
|  > --------------------------------------------------------------------------
| 
| This (including the '-' lines) is coming from Open MPI.

I'll go digging there next -- thanks!

Dirk
 
| However I'm a little confused about why this is a problem for you.  If
| you don't have IB hardware and don't want to use IB, can't you just
| disable the openib BTL at runtime (I would assume something like
| "--mca btl ^openib" would work, and there's probably some way to put
| that in your default config)?  Or just build Open MPI completely
| without the openib BTL?
| 
|  - R.

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 00:47:54 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.