[openib-general] libehca causes segfault when not physically present..

Troy Benjegerdes hozer at hozed.org
Sun Oct 30 23:17:03 PST 2005


On an Openpower720 system with a mellanox HCA (and no IBM ehca
installed), I get the following when trying to run ibv_rc_pingpong:

Starting program:
/usr/src/openib-src/userspace/libibverbs/examples/.libs/ibv_rc_pingpong
[Thread debugging using libthread_db enabled]
[New Thread 4398046660640 (LWP 6167)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4398046660640 (LWP 6167)]
hipz_galpa_store (galpa={fw_handle = 0}, offset=48, value=0)
    at src/hcp_phyp.c:72
72              *(u64 *) addr = value;
(gdb) bt
#0  hipz_galpa_store (galpa={fw_handle = 0}, offset=48, value=0)
    at src/hcp_phyp.c:72
#1  0x0000000010001b7c in pp_post_recv (ctx=0x100177d0, n=-3807848)
    at verbs.h:844
#2  0x0000000010002364 in main (argc=Variable "argc" is not available.
) at examples/rc_pingpong.c:566


I assume this means something somewhere is not actually checking sysfs
to see if the driver is actually there and active.



More information about the general mailing list