[openib-general] spinlock wrong CPU on CPU#1, ib_addr

Or Gerlitz ogerlitz at voltaire.com
Wed Nov 30 04:22:17 PST 2005


Sean,

I've encountered into this while running iSER (now ported from kdapl 
to the verbs/cma) where the rest of gen2 is svn r4052 over amd x86_64
/ kernel 2.6.14 (compiled with debug, see below the exact flags) 

I am not sure if the issue/bug is in ib_addr on ib_iser modules, since i 
see some ib_iser symbols within the BUG stack trace???

>From the first iser print below the stack dump i realize that the first 
and second stages of the address traslation went fine, since we creat the 
qp only once the route is resolved, and the cma connect failed (please 
dont worry on this one for now).

Or.
BUG: spinlock wrong CPU on CPU#1, ib_addr/3866
lock: ffffffff88073428, .magic: dead4ead, .owner: ib_addr/3866, .owner_cpu: 0

Call Trace:<ffffffff80258400>{_raw_spin_unlock+112} <ffffffff88065bcc>{:ib_iser:iser_adaptor_find_by_device+188}
       <ffffffff88065df3>{:ib_iser:iser_cma_handler+83} <ffffffff8805f05b>{:rdma_cm:cma_notify_user+27}
       <ffffffff880602a7>{:rdma_cm:addr_handler+167} <ffffffff8805b35c>{:ib_addr:process_req+316}
       <ffffffff80147b3c>{worker_thread+476} <ffffffff801316a0>{default_wake_function+0}
       <ffffffff8012e3c3>{__wake_up_common+67} <ffffffff801316a0>{default_wake_function+0}
       <ffffffff8014c1d0>{keventd_create_kthread+0} <ffffffff80147960>{worker_thread+0}
       <ffffffff8014c1d0>{keventd_create_kthread+0} <ffffffff8014c329>{kthread+217}
       <ffffffff8010e7b6>{child_rip+8} <ffffffff8014c1d0>{keventd_create_kthread+0}
       <ffffffff8014c250>{kthread+0} <ffffffff8010e7ae>{child_rip+0}

iser:iser_create_qp setting conn ffff8100328bfe48 qp cma_id ffff81003291b000 qp ffff810032fb4600
iser:iser_cma_handler event: 7, error: -110
iser:iser_free_qp_and_id free-ing conn ffff8100328bfe48 conn->qp ffff810032fb4600 conn->cma_id ffff81003291b000

#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_INFO is not set
CONFIG_DEBUG_FS=y
# CONFIG_FRAME_POINTER is not set
CONFIG_INIT_DEBUG=y
# CONFIG_IOMMU_DEBUG is not set
CONFIG_KPROBES=y







More information about the general mailing list