[openib-general] libehca causes segfault when not physically present..
Heiko J Schick
schihei at de.ibm.com
Thu Nov 3 06:28:38 PST 2005
Hello Troy,
this bug should be fixed in OpenIB trunk 3960.
Many thanks for pointing out this problem.
Regards,
Heiko
Troy Benjegerdes wrote:
> 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.
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
--
Mit freundlichen Gruessen / Kind Regards
Heiko Joerg Schick
----------------------------------------------------------------------
Heiko J Schick
I/O Firmware Development II
Linux InfiniBand Device Drivers
IBM Deutschland Entwicklung GmbH external: 49-07031-16-0 x4219
Schoenaicher Str. 220 t/l: 120-4129
71032 Boeblingen email: schickhj at de.ibm.com
----------------------------------------------------------------------
More information about the general
mailing list