[openib-general] Re: mstflint failing on sparc64

Tom Duffy tduffy at sun.com
Mon Jan 10 20:01:48 PST 2005


On Sun, 2005-01-09 at 22:00 +0200, Michael S. Tsirkin wrote: 
> And here we see the incorrect address 0xfff00000 being passed in
> instead of 0x1ff00100000.
> 
> I hope I fixed this with the last svn update (rev 1498).
> At least I tested on x86_64 with your device file and it seems
> to print the correct physical address.
> Unfortunately the previous version behaves differently for me 
> (tryies to map 0x100000 instead), but that could be
> because of a different architecture somehow.

This is happening on sparc64 as well.

> Could you please update and try again (with strace) and let me know?

execve("./mstflint", ["./mstflint", "-d", "81:00.0", "q"], [/* 14 vars */]) = 0
uname({sys="Linux", node="tat", ...})   = 0
brk(0)                                  = 0x2c000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=53602, ...}) = 0
mmap(NULL, 53602, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7002c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\3\332"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=725592, ...}) = 0
mmap(NULL, 810456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7003c000
mprotect(0x700da000, 163288, PROT_NONE) = 0
mmap(0x700dc000, 139264, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x90000) = 0x700dc000
mmap(0x700fe000, 15832, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x700fe000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0\234"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=527020, ...}) = 0
mmap(NULL, 591312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70104000
mprotect(0x70182000, 75216, PROT_NONE)  = 0
mmap(0x70184000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x70000) = 0x70184000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0\30"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=36696, ...}) = 0
mmap(NULL, 101240, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70198000
mprotect(0x701a2000, 60280, PROT_NONE)  = 0
mmap(0x701a8000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x701a8000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\1\316"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1291948, ...}) = 0
mmap(NULL, 1361864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x701b4000
mprotect(0x702e8000, 100296, PROT_NONE) = 0
mmap(0x702f4000, 49152, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0x702f4000
mmap(0x70300000, 1992, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x70300000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x70302000
munmap(0x7002c000, 53602)               = 0
brk(0)                                  = 0x2c000
brk(0x4e000)                            = 0x4e000
brk(0)                                  = 0x4e000
open("/dev/mem", O_RDWR|O_SYNC)         = 3
open("/proc/bus/pci/devices", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7002c000
read(4, "0000\t108e8000\t0\t               0"..., 1024) = 1024
read(4, "   0\tsym53c8xx\n0019\t1000000f\t7af"..., 1024) = 1024
read(4, "          0\t               0\tib_"..., 1024) = 38
close(4)                                = 0
munmap(0x7002c000, 8192)                = 0
mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0x100000) = 0x70304000
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x70404000
write(1, "*** ERROR *** Flash gateway time"..., 61) = 61
munmap(0x70304000, 65536)               = 0
close(3)                                = 0
munmap(0x70404000, 8192)                = 0
exit_group(1)                           = ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050110/74808fa5/attachment.sig>


More information about the general mailing list