[openib-general] Re: mstflint failing on sparc64

Michael S. Tsirkin mst at mellanox.co.il
Sun Jan 9 12:00:12 PST 2005


Hello, Tom!

Quoting r. Tom Duffy (tduffy at sun.com) "Re: [openib-general] Re: mstflint failing on sparc64":
> On Sat, 2005-01-08 at 23:07 +0200, Michael S. Tsirkin wrote:
> > Just to be sure, Tom, could you do two things:
> > 
> > 1. cat /proc/iomem
> 
>   1ff00100000-1ff001fffff : 0000:81:00.0

OK, so this is our address range.

> 
> > 2. strace the mstflint run that crashes
> 
> mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0xfff00000) =
> 0x70304000
> --- SIGBUS (Bus error) @ 0 (0) ---
> +++ killed by SIGBUS +++

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.

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

MST



More information about the general mailing list