[openib-general] mthca startup problem

Hal Rosenstock halr at voltaire.com
Sun Sep 26 04:58:54 PDT 2004


On Sat, 2004-09-25 at 12:12, Roland Dreier wrote:
>     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?

Nope; just there.

>     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.

Thanks. Assuming OpenIB uses this IPoIB implementation, would this be
preserved ? It seems like it would remain based on your comments to Mike
on the rationale for this.

> 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'm using gcc 3.2.2 and on an older machine 3.2.

> 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...

-- Hal




More information about the general mailing list