Error inserting libiscsi2 and other modules

2011-02-23 Thread Anton Aleksandrov
Hello,
I have just compiled open-iscsi on a fresh Centos5.5 (Linux localost
2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64
x86_64 GNU/Linux). Compilation went through without any errors. but
when I am trying to start iscsi service, I get these error messages:

Starting iSCSI daemon: WARNING: Error inserting scsi_transport_iscsi (/
lib/modules/2.6.18-194.32.1.el5/kernel/drivers/scsi/
scsi_transport_iscsi.ko): Unknown symbol in module, or unknown
parameter (see dmesg)
WARNING: Error inserting scsi_transport_iscsi1 (/lib/modules/
2.6.18-194.32.1.el5/kernel/drivers/scsi/scsi_transport_iscsi1.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting libiscsi (/lib/modules/2.6.18-194.32.1.el5/
kernel/drivers/scsi/libiscsi.ko): Unknown symbol in module, or unknown
parameter (see dmesg)
WARNING: Error inserting libiscsi2 (/lib/modules/2.6.18-194.32.1.el5/
kernel/drivers/scsi/libiscsi2.ko): Unknown symbol in module, or
unknown parameter (see dmesg)
...
...
...
FATAL: Error inserting be2iscsi (/lib/modules/2.6.18-194.32.1.el5/
kernel/drivers/scsi/be2iscsi/be2iscsi.ko): Unknown symbol in module,
or unknown parameter (see dmesg)
   [FAILED]

dmesg has these lines (several times):

scsi_transport_iscsi2: Unknown symbol iscsi_if_load
scsi_transport_iscsi2: Unknown symbol iscsi_if_release

I could not find anyone with the same problem.. I tried reinstalling
kernel-devel package several times. I would appreciate your attention
and help.

Regards,
Anton.

-- 
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?hl=en.



RE: Error inserting libiscsi2 and other modules

2011-02-23 Thread Anish Bhatt
Anton,
  Your externally compiled open-iscsi modules are conflicting with
the inbox modules (*iscsi2) shipped with RHEL/CentOS 5. A quick hack to
get around this would be to remove all modules matching *iscsi* from the
/lib/modules/kernel_ver/kernel/drivers/scsi, followed by a make
install on open-iscsi. You will need to reboot the machine before you
can use open-iscsi.
Regards,
-Anish 

One socket to bind them all.


 -Original Message-
 From: open-iscsi@googlegroups.com [mailto:open-iscsi@googlegroups.com]
 On Behalf Of Anton Aleksandrov
 Sent: Wednesday, February 23, 2011 5:35 AM
 To: open-iscsi
 Subject: Error inserting libiscsi2 and other modules
 
 Hello,
 I have just compiled open-iscsi on a fresh Centos5.5 (Linux localost
 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64
 x86_64 GNU/Linux). Compilation went through without any errors. but
 when I am trying to start iscsi service, I get these error messages:
 
 Starting iSCSI daemon: WARNING: Error inserting scsi_transport_iscsi
(/
 lib/modules/2.6.18-194.32.1.el5/kernel/drivers/scsi/
 scsi_transport_iscsi.ko): Unknown symbol in module, or unknown
 parameter (see dmesg)
 WARNING: Error inserting scsi_transport_iscsi1 (/lib/modules/
 2.6.18-194.32.1.el5/kernel/drivers/scsi/scsi_transport_iscsi1.ko):
 Unknown symbol in module, or unknown parameter (see dmesg)
 WARNING: Error inserting libiscsi (/lib/modules/2.6.18-194.32.1.el5/
 kernel/drivers/scsi/libiscsi.ko): Unknown symbol in module, or unknown
 parameter (see dmesg)
 WARNING: Error inserting libiscsi2 (/lib/modules/2.6.18-194.32.1.el5/
 kernel/drivers/scsi/libiscsi2.ko): Unknown symbol in module, or
 unknown parameter (see dmesg)
 ...
 ...
 ...
 FATAL: Error inserting be2iscsi (/lib/modules/2.6.18-194.32.1.el5/
 kernel/drivers/scsi/be2iscsi/be2iscsi.ko): Unknown symbol in module,
 or unknown parameter (see dmesg)
[FAILED]
 
 dmesg has these lines (several times):
 
 scsi_transport_iscsi2: Unknown symbol iscsi_if_load
 scsi_transport_iscsi2: Unknown symbol iscsi_if_release
 
 I could not find anyone with the same problem.. I tried reinstalling
 kernel-devel package several times. I would appreciate your attention
 and help.
 
 Regards,
 Anton.
 
 --
 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?hl=en.

-- 
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?hl=en.