Hi Roland! I made tracing for srpt_add_one function. Trace log attached to mail Roland Dreier писал 2012-04-11 02:09: > On Tue, Apr 10, 2012 at 7:52 AM, Alexey Shvetsov > wrote: >> I'm  trying to use ib_srpt from mainline kernel (3.3.x and 3.4-rcX) >> But right after loading ib_srpt i always get error in dmesg >> >> srpt_add_one(mthca0) failed. > > I would suggest the following: make sure ib_mthca is NOT loaded, and > load > the srpt module. Then enable ftrace -- config options > > CONFIG_FUNCTION_TRACER > CONFIG_DYNAMIC_FTRACE > CONFIG_FUNCTION_GRAPH_TRACER > > and use the function graph tracer to see what srpt_add_one() calls: > > # cd /sys/kernel/debug/trace > # echo srpt_add_one > set_graph_function > # echo function_graph > current_tracer > # modprobe ib_mthca > # cat trace > > and send the output of that "cat trace" command to the list. Then we > can > see what step of initialization fails and debug from there. > > (cf the section "the function_graph tracer" in > https://lwn.net/Articles/370423/) > > Thanks! > - R. -- Best Regards, Alexey 'Alexxy' Shvetsov Petersburg Nuclear Physics Institute, Russia Department of Molecular and Radiation Biophysics Gentoo Team Ru Gentoo Linux Dev mailto:alexxyum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org mailto:alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org mailto:alexxy-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org