[openib-general] [ANNOUNCE] tvflash: userspace-only Mellanox HCA flash tool
Roland Dreier
roland at topspin.com
Tue Sep 14 15:01:45 PDT 2004
Tom> ib_mthca 0000:81:00.0: Warning: couldn't set 64-bit PCI DMA mask.
Tom> ib_mthca 0000:81:00.0: Warning: couldn't set 64-bit consistent PCI DMA mask.
Hmm, I wonder what's up with that. Does sparc64 limit PCI addresses
to the low 4G or something?
Tom> [KERNEL_IB][ib_mad_handle_wc][/build1/tduffy/openib-work/linux-2.6.9-rc2-openib/drivers/infiniband/core/mad_ib.c:179]completion status 4 for mthca0 index 0 port 1 qpn 0 send 0 bytes 2
Probably the kernel isn't mapping RAM to DMA addresses in the range
0...(high_memory - PAGE_OFFSET) (ib_mad_register_memory() kind of
implicitly assumes this). It might be interesting to dump the value of
high_memory - PAGE_OFFSET, and what scatter_list.addr is getting back
from pci_map_single in ib_mad_post_receive().
I know how to fix this properly, it just requires a couple small API
extensions.
- R.
More information about the general
mailing list