I decided to go on ahead and update to these latest OpeniSCSI bits, but 
am having build issues.  Looks like redefines, which leads me to think 
I've maybe got things in the wrong order, or I'm pulling the wrong 
headers... but, I've no idea.

Know what to do about this?

make -C kernel
make[1]: Entering directory `/root/open-iscsi-2.0-870-rc1/kernel'
make -C /lib/modules/2.6.18-92.el5/build M=`pwd` KBUILD_OUTPUT=  V=0 modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
  CC [M]  /root/open-iscsi-2.0-870-rc1/kernel/scsi_transport_iscsi.o
In file included from 
/root/open-iscsi-2.0-870-rc1/kernel/open_iscsi_compat.h:156: error: 
conflicting types for 'is_power_of_2'
include/linux/log2.h:53: error: previous definition of 'is_power_of_2' 
was here
/root/open-iscsi-2.0-870-rc1/kernel/open_iscsi_compat.h:173: error: 
redefinition of 'shost_priv'
include/scsi/scsi_host.h:651: error: previous definition of 'shost_priv' 
was here
/root/open-iscsi-2.0-870-rc1/kernel/open_iscsi_compat.h:186: error: 
redefinition of 'scsi_set_resid'
include/scsi/scsi_cmnd.h:150: error: previous definition of 
'scsi_set_resid' was here
/root/open-iscsi-2.0-870-rc1/kernel/open_iscsi_compat.h:191: error: 
redefinition of 'scsi_get_resid'
include/scsi/scsi_cmnd.h:155: error: previous definition of 
'scsi_get_resid' was here
/root/open-iscsi-2.0-870-rc1/kernel/scsi_transport_iscsi.c: In function 
/root/open-iscsi-2.0-870-rc1/kernel/scsi_transport_iscsi.c:543: warning: 
unused variable 'ihost'
make[3]: *** 
[/root/open-iscsi-2.0-870-rc1/kernel/scsi_transport_iscsi.o] Error 1
make[2]: *** [_module_/root/open-iscsi-2.0-870-rc1/kernel] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/open-iscsi-2.0-870-rc1/kernel'
make: *** [all] Error 2


Mike Christie wrote:
> Jesse Butler wrote:
>> (This could be a duplicate post, not sure.  I posted Friday, but am  
>> not seeing it on the archive online, so resending.)
>> Hello-
>> We have an iSER implementation under way for Solaris, and have reached  
>> the point where we are working on Open iSCSI and OFED  
>> interoperability.  I am starting with testing the Linux initiator  
>> (RHEL 5.2, OFED 1.3.1) against our Solaris iSER-enabled target, and  
>> I'm not getting very far.
>> Most of our testing thusfar has been via StaticConfig discovery.  I  
>> see that OpeniSCSI does not support this, and thus I am attempting to  
> It does. You do
> iscsiadm -m node -T your_target -p ip:port -o new
> to create the basic config.
> Then do
> iscsiadm -m node -T your_target -p ip:port
> to see the settings.
> Then do:
> iscsiadm -m node -T your_target -p ip:port -o update -n name_of_setting 
> -v value_of_setting.
> I think you will at least want to change the transport and the digest 
> settings for iser.
>> use SendTargets; I am running a SendTargets discovery session, and  
>> then logging in manually to that node (iscsiadm -l).
>> The connection is on IPoIB between the two nodes, but once discovery  
>> is completed, it appears that the Linux node is configured to just use  
>> the "tcp" transport - he is not attempting to use iSER at all.   
>> Looking at the /etc/iscsi/nodes entry, iface.transport_name is "tcp".
> Run
> iscsiadm -m node -T your_target -p ip:port -o update -n 
> iface.transport_name -v iser
> The transport_name setting may be different in different releases. We 
> have not got it set it yet.
> In
> http://www.open-iscsi.org/bits/open-iscsi-2.0-870-rc1.tar.gz
> you can just do
> iscsiadm -m discovery -t st -p ip:port -I iser
> and we assume you want to use the iser transport for all portals found. 
> In that release you can also pass in iser to
> iscsiadm -m node -T your_target -p ip:port -I iser -o new
> And a way to avoid all this, is using the method Erez suggested and use 
> the iscsi_discovery script which will do some magic probing and config 
> udpates for you.
> >

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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi

Reply via email to