[openib-general] OpenSM causes kernel trap

Jay Higley higley at dbresearch.net
Fri Oct 28 12:01:33 PDT 2005


Roland Dreier wrote:

>BTW, Jay, can you confirm that this patch fixes your problem too?
>
>Thanks,
>  Roland
>
>
>  
>

I updated to version 3891 and tried it with the 2.6.13.4 Kernel that I 
was using and got unresolved symbol errors for kzalloc.  I upgraded the 
kernel to 2.6.14 and tried agin and got the below compile errors.  As an 
aside, when I was running the unpatched openSM on a single-processor 
system I occasionally got it to start up, but it would hang and the port 
state would never change.  The same sort of behavior as in the "OpenSM 
crash with today's trunk" thread.

-Jay Higley

  CC [M]  drivers/infiniband/core/addr.o
  CC [M]  net/sched/em_text.o
  CC [M]  net/sctp/outqueue.o
  CC [M]  net/sunrpc/xprt.o
drivers/infiniband/core/addr.c:330: warning: initialization from 
incompatible po
inter type
  CC [M]  net/sctp/ulpqueue.o
  CC [M]  drivers/infiniband/core/at.o
drivers/infiniband/core/at.c:1547: warning: initialization from 
incompatible poi
nter type
  CC [M]  drivers/infiniband/core/cm.o
  CC [M]  net/sctp/command.o
drivers/infiniband/core/cm.c: In function `cm_alloc_msg':
drivers/infiniband/core/cm.c:179: error: `IB_MGMT_MAD_HDR' undeclared 
(first use
 in this function)
drivers/infiniband/core/cm.c:179: error: (Each undeclared identifier is 
reported
 only once
drivers/infiniband/core/cm.c:179: error: for each function it appears in.)
drivers/infiniband/core/cm.c:180: error: too few arguments to function 
`ib_creat
e_send_mad'
drivers/infiniband/core/cm.c:187: error: structure has no member named `ah'
drivers/infiniband/core/cm.c:188: error: structure has no member named 
`retries'
drivers/infiniband/core/cm.c: In function `cm_alloc_response_msg':
drivers/infiniband/core/cm.c:209: error: `IB_MGMT_MAD_HDR' undeclared 
(first use
 in this function)
drivers/infiniband/core/cm.c:210: error: too few arguments to function 
`ib_creat
e_send_mad'
drivers/infiniband/core/cm.c:215: error: structure has no member named `ah'
drivers/infiniband/core/cm.c: In function `cm_free_msg':
drivers/infiniband/core/cm.c:222: error: structure has no member named `ah'
drivers/infiniband/core/cm.c: In function `cm_insert_listen':
drivers/infiniband/core/cm.c:371: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c:371: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c:374: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c:374: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c:376: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c:376: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c: In function `cm_find_listen':
drivers/infiniband/core/cm.c:398: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c:401: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c:403: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c: At top level:
drivers/infiniband/core/cm.c:543: error: conflicting types for 
'ib_create_cm_id'
include/rdma/ib_cm.h:306: error: previous declaration of 
'ib_create_cm_id' was h
ere
drivers/infiniband/core/cm.c:543: error: conflicting types for 
'ib_create_cm_id'
include/rdma/ib_cm.h:306: error: previous declaration of 
'ib_create_cm_id' was h
ere
drivers/infiniband/core/cm.c: In function `ib_create_cm_id':
drivers/infiniband/core/cm.c:553: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c: In function `ib_destroy_cm_id':
drivers/infiniband/core/cm.c:681: warning: passing arg 2 of 
`ib_cancel_mad' make
s integer from pointer without a cast
drivers/infiniband/core/cm.c:692: warning: passing arg 2 of 
`ib_cancel_mad' make
s integer from pointer without a cast
drivers/infiniband/core/cm.c:709: warning: passing arg 2 of 
`ib_cancel_mad' make
s integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_req':
drivers/infiniband/core/cm.c:935: error: structure has no member named 
`timeout_
ms'
drivers/infiniband/core/cm.c:944: warning: passing arg 1 of 
`ib_post_send_mad' f
rom incompatible pointer type
drivers/infiniband/core/cm.c:944: error: too few arguments to function 
`ib_post_
send_mad'
drivers/infiniband/core/cm.c: In function `cm_issue_rej':
drivers/infiniband/core/cm.c:989: warning: passing arg 1 of 
`ib_post_send_mad' f
rom incompatible pointer type
drivers/infiniband/core/cm.c:989: error: too few arguments to function 
`ib_post_
send_mad'
drivers/infiniband/core/cm.c: In function `cm_dup_req_handler':
drivers/infiniband/core/cm.c:1197: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1197: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_match_req':
drivers/infiniband/core/cm.c:1237: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c: In function `ib_send_cm_rep':
drivers/infiniband/core/cm.c:1383: error: structure has no member named 
`timeout
_ms'
drivers/infiniband/core/cm.c:1386: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1386: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `ib_send_cm_rtu':
drivers/infiniband/core/cm.c:1450: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1450: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_dup_rep_handler':
drivers/infiniband/core/cm.c:1522: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1522: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_rep_handler':
drivers/infiniband/core/cm.c:1590: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `cm_establish_handler':
drivers/infiniband/core/cm.c:1624: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `cm_rtu_handler':
drivers/infiniband/core/cm.c:1663: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_dreq':
drivers/infiniband/core/cm.c:1721: error: structure has no member named 
`timeout
_ms'
drivers/infiniband/core/cm.c:1724: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1724: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `ib_send_cm_drep':
drivers/infiniband/core/cm.c:1787: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1787: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_dreq_handler':
drivers/infiniband/core/cm.c:1822: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c:1836: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1836: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_drep_handler':
drivers/infiniband/core/cm.c:1883: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_rej':
drivers/infiniband/core/cm.c:1951: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:1951: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_rej_handler':
drivers/infiniband/core/cm.c:2027: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c:2037: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_mra':
drivers/infiniband/core/cm.c:2095: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2095: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c:2108: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2108: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c:2121: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2121: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_mra_handler':
drivers/infiniband/core/cm.c:2183: warning: passing arg 2 of 
`ib_modify_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c:2190: warning: passing arg 2 of 
`ib_modify_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c:2198: warning: passing arg 2 of 
`ib_modify_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_lap':
drivers/infiniband/core/cm.c:2281: error: structure has no member named 
`timeout
_ms'
drivers/infiniband/core/cm.c:2284: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2284: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_lap_handler':
drivers/infiniband/core/cm.c:2361: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2361: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `ib_send_cm_apr':
drivers/infiniband/core/cm.c:2439: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2439: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_apr_handler':
drivers/infiniband/core/cm.c:2478: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_sidr_req':
drivers/infiniband/core/cm.c:2575: error: structure has no member named 
`timeout
_ms'
drivers/infiniband/core/cm.c:2580: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2580: error: too few arguments to function 
`ib_post
_send_mad'
  CC [M]  net/sctp/tsnmap.o
drivers/infiniband/core/cm.c: In function `cm_sidr_req_handler':
drivers/infiniband/core/cm.c:2644: error: structure has no member named 
`device'
drivers/infiniband/core/cm.c: In function `ib_send_cm_sidr_rep':
drivers/infiniband/core/cm.c:2715: warning: passing arg 1 of 
`ib_post_send_mad'
from incompatible pointer type
drivers/infiniband/core/cm.c:2715: error: too few arguments to function 
`ib_post
_send_mad'
drivers/infiniband/core/cm.c: In function `cm_sidr_rep_handler':
drivers/infiniband/core/cm.c:2768: warning: passing arg 2 of 
`ib_cancel_mad' mak
es integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `cm_send_handler':
drivers/infiniband/core/cm.c:2836: error: structure has no member named 
`send_bu
f'
  CC [M]  net/sunrpc/sched.o
make[3]: *** [drivers/infiniband/core/cm.o] Error 1
make[2]: *** [drivers/infiniband/core] Error 2
make[1]: *** [drivers/infiniband] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....




More information about the general mailing list