[ofa-general] ***SPAM*** ib_reg_phys_mr( ) results in crash
neutron
neutronsharc at gmail.com
Tue Feb 17 06:50:21 PST 2009
Hi all,
In my kernel module program, a call to ib_reg_phys_mr( ) always
results in a system crash.
My code is like:
buf = dma_alloc_coherent(ctx->ib_dev->dma_device, MAX_SIZE,
&dma_addr, GFP_KERNEL);
iovstart = (u64) send_buf;
mr = ib_reg_phys_mr(ctx->pd, dma_addr, 1, IB_ACCESS_REMOTE_WRITE |
IB_ACCESS_REMOTE_READ
| IB_ACCESS_LOCAL_WRITE, &iovstart );
Before calling ib_reg_phys_mr, printk() shows that all its arguments
are valid. But the system always crashes immediately after entering
the function ib_reg_phys_mr( ). Any possible reasons ? Thanks!!
I'm using kernel 2.6.18-53.1.14.el5. My kernel module is built using
OFED-1.3.1 modules.
More information about the general
mailing list