On Tue, 2005-01-11 at 20:11 +0200, Michael S. Tsirkin wrote: > Here's a patch that adds some debug printouts. > Cold you run with this applied, please, mayba I'll se what is wrong?
tat:~# ./mstflint -d 0000:81:00.0 q
found line :"8100 15b35a44 7aee40 1ff00100004 0
1ff0080000c 0 1ff0800000
0 0 100000 800000 0
8000000 0 ib_mthca
"
base_addr[0]=0x1ff00100004, base_addr[1]=0
mfind offset=0x1ff00100000
mmap offset=0x1ff00100000
Bus error
-tduffy
P.S. I get these warnings compiling the mstflint code. Not sure if it
matters.
[EMAIL PROTECTED]:/build1/tduffy/openib-work/gen2-sparc/src/userspace/mstflint$
make
g++ -g -I. -fno-exceptions -Wall -O2 flint.cpp -o mstflint
flint.cpp:201:1: warning: "__le32_to_cpu" redefined
In file included from flint.cpp:39:
mtcr.h:92:1: warning: this is the location of the previous definition
flint.cpp:204:1: warning: "__cpu_to_le32" redefined
mtcr.h:89:1: warning: this is the location of the previous definition
P.P.S. I installed the 64bit libc6 libraries, recompiled mstflint as 64
bit, and the problem was still there. Unfortunately, I couldn't strace
the 64bit binary. Plus, there were a bunch more compile warnings:
[EMAIL PROTECTED]:/build1/tduffy/openib-work/gen2-sparc/src/userspace/mstflint$
g++ -g -m64 -I. -fno-exceptions -Wall -O2 flint.cpp -o mstflint
flint.cpp:201:1: warning: "__le32_to_cpu" redefined
In file included from flint.cpp:39:
mtcr.h:92:1: warning: this is the location of the previous definition
flint.cpp:204:1: warning: "__cpu_to_le32" redefined
mtcr.h:89:1: warning: this is the location of the previous definition
flint.cpp: In function `bool pathGUIDs(FImage&, u_int64_t*, bool)':
flint.cpp:3198: warning: long long unsigned int format, u_int64_t arg (arg 2)
flint.cpp:3199: warning: long long unsigned int format, u_int64_t arg (arg 2)
flint.cpp:3200: warning: long long unsigned int format, u_int64_t arg (arg 2)
flint.cpp:3202: warning: long long unsigned int format, u_int64_t arg (arg 2)
flint.cpp:3204: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp:3205: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp:3206: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp:3208: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp:3233: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp:3234: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp:3235: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp:3237: warning: long long unsigned int format, long unsigned int arg
(arg 2)
flint.cpp: In function `bool RevisionInfo(FBase&, u_int64_t*, char*, bool*,
bool)':
flint.cpp:3329: warning: long long unsigned int format, u_int64_t arg (arg 2)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
