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

571 views
Skip to first unread message

fabien

unread,
May 20, 2009, 12:25:18 PM5/20/09
to open-iscsi
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
......

configuration:

node1:

- xen 2.6.26-2-686 kernel debian lenny
- Melanox Infiniband card MT 23108 courgar revision A1 latest firmware
3.5.00
- OFED 1.4 installed and kernel module compiled
- ipoib is working well
-
iscsi_tcp,libiscsi,scsi_transport_iscsi,sg,sd_mod,libata,aic79xx,scsi_transport_spi,
scsi_mod iscsi module loaded.
- ib_ipoib, inet_lro, ib_ipoib, ib_ipoib, ib_sdp, rdma_cm, ib_addr,
ib_ucm, ib_sa, ib_cm, ib_uverbs, ib_umad, ib_mthca, ib_mad, ib_core,
iw_cm infiniband module loaded. But ib_iser module is not loaded.
- open-iscsi 2.0-870

node2:

- 2.6.26-2-686 kernel debian lenny
- Melanox Infiniband card MT 23108 courgar revision A1 latest firmware
3.5.00
- OFED 1.4 installed and kernel module compiled
- ipoib is working well
-
iscsi_tcp,libiscsi,scsi_transport_iscsi,sg,sd_mod,libata,aic79xx,scsi_transport_spi,
scsi_mod iscsi module loaded.
- ib_ipoib, inet_lro, ib_ipoib, ib_ipoib, ib_sdp, rdma_cm, ib_addr,
ib_ucm, ib_sa, ib_cm, ib_uverbs, ib_umad, ib_mthca, ib_mad, ib_core,
iw_cm infiniband module loaded. But ib_iser module is not loaded.
- open-iscsi 2.0-870
-tgt (iscsi target with iser support)





Mike Christie

unread,
May 20, 2009, 12:30:54 PM5/20/09
to open-...@googlegroups.com
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.

Bart Van Assche

unread,
May 20, 2009, 12:41:20 PM5/20/09
to open-...@googlegroups.com, Mike Christie
On Wed, May 20, 2009 at 6:25 PM, fabien <monnier...@gmail.com> 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.

Reply all
Reply to author
Forward
0 new messages