[openib-general] mthca startup problem

Roland Dreier roland at topspin.com
Sat Sep 25 09:12:45 PDT 2004


    Hal> 1. mthca_cmd.c has a number of compile warnings (built with
    Hal> debug configured).

I fixed the ones around line 480 ("SYS_EN DDR...").  Do you get any others?

    Hal> 2. ipoib_main.c line 48 has a compile error indicating
    Hal> directives may not be use inside macro arguments. This is
    Hal> with both ipoib debugs on.

OK, I fixed this (slightly differently from your suggestion).

    Hal> 3. mad_statuc:96 complains about line 96 "Couldn't find
    Hal> suitable network device; setting lid_base to 1". Is this OK ? 
    Hal> Also, why is this done and can it be shut off ?

The warning is benign.

This was done because there are applications that want to make
loopback connections before the SM has configured the local LID, but
not have them break when the SM does assign a LID.

It can be turned off by setting IB_ASSIGN_STATIC_LID to 0 in core/mad_priv.h.


By the way, what compiler are you using?  I had been doing all my
testing with gcc 3.3 and 3.4, which is why I didn't see the problems
you reported.  I've now added gcc 2.95 to the set of compilers I test
build with so I should be able to avoid most of these problems in the
future.  However to get gcc 2.95 working I had to fix a few problems
you didn't report...

 - Roland



More information about the general mailing list