Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

loading modules



I have a NetBSD-CURRENT domain0 and a CentOS 4.3 domainU.

I'm trying to setup an iscsi initiator in a domainU. I installed
open-scsi with the patch for the 2.6.11 kernel.

In my domainU I have:


[root@g1 scsi]# cat /lib/modules/2.6.11.12-xenU/modules.dep
/lib/modules/2.6.11.12-xenU/kernel/drivers/scsi/scsi_transport_iscsi.ko:
/lib/modules/2.6.11.12-xenU/kernel/drivers/scsi/iscsi_tcp.ko:
/lib/modules/2.6.11.12-xenU/kernel/drivers/scsi/scsi_transport_iscsi.ko

and checking iscsi_tcp.ko:

[root@g1 scsi]# modinfo iscsi_tcp.ko
filename:       iscsi_tcp.ko
author:         Dmitry Yusupov <dmitry_yus%yahoo.com@localhost>, Alex Aizman
<itn780%yahoo.com@localhost>
description:    iSCSI/TCP data-path
license:        GPL
version:        0:4.445
parmtype:       max_lun:uint
vermagic:       2.6.11.12-xenU preempt PENTIUM4 gcc-3.4
depends:        scsi_transport_iscsi,scsi_mod
srcversion:     0CE939FC7010452361BB096

On trying to load the module in domainU I get:

[root@g1 scsi]# insmod scsi_transport_iscsi.ko
insmod: error inserting 'scsi_transport_iscsi.ko': -1 Invalid module format

with dmesg showing:

iscsi_tcp: Unknown symbol iscsi_transport_create_session
iscsi_tcp: Unknown symbol iscsi_register_transport
iscsi_tcp: Unknown symbol iscsi_destroy_conn
iscsi_tcp: Unknown symbol iscsi_create_conn
iscsi_tcp: Unknown symbol iscsi_transport_destroy_session
iscsi_tcp: Unknown symbol iscsi_conn_error
iscsi_tcp: Unknown symbol iscsi_recv_pdu
iscsi_tcp: Unknown symbol scsi_adjust_queue_depth
iscsi_tcp: Unknown symbol iscsi_unregister_transport

Do I need to do something to load the symbols? Do I need to load the module from domain0?

Should I be asking on a different list?

--
John R. Shannon, CISSP
john%johnrshannon.com@localhost
jshannon%dsci-usa.com@localhost
john.r.shannon%us.army.mil@localhost
shannonjr%NetBSD.org@localhost




Home | Main Index | Thread Index | Old Index