Re: Error while loading ib_iser module with open_iscsi 2.0-870 and ofed 1.4

2009-05-20 Thread Bart Van Assche

On Wed, May 20, 2009 at 6:25 PM, fabien  wrote:
> FATAL: Error inserting ib_iser (/lib/modules/2.6.26-2-xen-686/kernel/
> drivers/infiniband/ulp/iser/ib_iser.ko): Unknown symbol in module, or
> unknown parameter (see dmesg)

Have you checked the number of ib_iser.ko files in
/lib/modules/$(uname -r) ? The above path looks to me like the path of
the distro-provided ib_iser module, not the path of the OFED ib_iser
module. Remove the file
/lib/modules/2.6.26-2-xen-686/kernel/drivers/infiniband/ulp/iser/ib_iser.ko,
rerun depmod and try again.

Bart.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: Error while loading ib_iser module with open_iscsi 2.0-870 and ofed 1.4

2009-05-20 Thread Mike Christie

fabien wrote:
> Hello,
> 
> problem:
> 
> I would like to use iscsi over rdma, so i have to use iser driver
> (ib_iser.ko), but the ib_iser module did't want to be loaded, i have
> an error during loading it with modprobe ib_iser.
> 
> 
> error after tipping modprobe ib_iser:
> 
> FATAL: Error inserting ib_iser (/lib/modules/2.6.26-2-xen-686/kernel/
> drivers/infiniband/ulp/iser/ib_iser.ko): Unknown symbol in module, or
> unknown parameter (see dmesg)
> 
> dmesg:
> 
>  ib_iser: disagrees about version of symbol iscsi_conn_setup
> [ 9506.567353] ib_iser: Unknown symbol iscsi_conn_setup
> [ 9506.567353] ib_iser: disagrees about version of symbol
> iscsi_verify_itt
> [ 9506.567353] ib_iser: Unknown symbol iscsi_verify_itt
> [ 9506.567353] ib_iser: disagrees about version of symbol
> iscsi_session_recovery_timedout
> [ 9506.567353] ib_iser: Unknown symbol iscsi_session_recovery_timedout
> 

You only want to install the tools from the upstream open-iscsi.org 
package. The kernel modules that come with it are newer than the ones in 
your kernel so they have different functions/symbols.

For the iscsi tools, you might just want to use the debian ones that 
came with your distro or use the ofed ones.

If you want to use the open-iscsi.org ones then after you have build them do

make install_user

to just install the tools.

I think you will also want to reinstall your kernel and/or ofed to 
overwrite the open-iscsi kernel modules.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---