logo       

Any hints for compiling/using iscsi target on SLES9 (SuSE Linux Enterprise : msg#00271

Subject: Any hints for compiling/using iscsi target on SLES9 (SuSE Linux Enterprise Server 9)
Hi All,
I would like to compile and use iscsi-target on SLES9 (SuSE Linux
Enterprise Server 9),
but I don't want to change the kernel version (which is called
2.6.5-7.xxx).
Principally Novell backports some of the changes from newer kernels to
their 2.6.5.YYYYY series, 
but it seems these are not enough to compile iscsitarget-0.4.12

I am getting messages like :
/root/iscsitarget/iscsitarget-0.4.12/kernel/nthread.c: In function
`tx_ddigest':
/root/iscsitarget/iscsitarget-0.4.12/kernel/nthread.c:440: warning:
implicit declaration of function `kernel_sendmsg'
  CC [M]  /root/iscsitarget/iscsitarget-0.4.12/kernel/wthread.o
  CC [M]  /root/iscsitarget/iscsitarget-0.4.12/kernel/config.o
/root/iscsitarget/iscsitarget-0.4.12/kernel/config.c:312: error: unknown
field `unlocked_ioctl' specified in initializer
/root/iscsitarget/iscsitarget-0.4.12/kernel/config.c:312: warning:
initialization from incompatible pointer type

It was also complaining about:
line 1688 in kernel/iscsi.c
module_param(debug_enable_flags, ulong, S_IRUGO);

It seems that this version of kernel (2.6.5-7.244-default) is missing
kernel_sendmsg (which AFAIK was added in 2.6.8), and the field
unlocked_ioctl is also missing (I don't know nothing about it).

I don't want to change the kernel since I might loose some of my support
options for Oracle.
I would like to use the machine as iSCSI target as it is connected to a
Infrotrend SCSI diskarray which I want to use for other things as well.
Can anoyone give me advice how to proceed?


Thanks in advance,


         .                                            
        ...        Mihail Daskalov                    
       .....       DBA                      
     ._/_/_/..     TechnoLogica Ltd.                  
  ....._/ _/....                                      
......_/ _/....... E-mail: <hidden> 
  ..._/ _/......                                      
     .._/_/_/.     3 Sofiisko pole Str.               
       .....       1756 Sofia, BULGARIA               
        ...        tel/fax: (+359 2) 91 91 2          
         .                                            



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


<Prev in Thread] Current Thread [Next in Thread>