>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Since I don't think the process for the rearch is well documented yet, if you 
try it, once you get a good download:
 - extract it to wherever you wan the kernel source (e.g. /usr/src/kernels on a 
Red Hat box)
 - copy a good .config from another kernel build into the upstream kernel 
directory
 - Run make menuconfig and select libfc and then fcoe from the Device Drivers 
-> SCSI device support  ->  SCSI low-level drivers
 - Build, install and reboot to the new kernel
 - To enable fcoe (modprobe fcoe if it is compiled as a module) and echo the 
ethernet interface into /sys/module/fcoe/create virtual file (on my current 
system the command is "echo eth2 > /sys/module/fcoe/create
 - To disable fcoe echo the ethernet interface into /sys/module/fcoe/destroy 
virtual file
 - Details about the fcoe interfac can then be found by catting out virtual 
files in /sys/class/fc_host/hostX/ directory (e.g.j> cat 
/sys/class/fc_host/host3/port_id for the FCID.)
 - Enjoy!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Finally was able to download the source code for the initiator and it works 
well, I am able to see the port_id and the fabric name.

[EMAIL PROTECTED] /]# cat /sys/class/fc_host/host6/port_id
0x000000
[EMAIL PROTECTED] /]# cat /sys/class/fc_host/host6/fabric_name
0x1000001cc419afd5
[EMAIL PROTECTED] /]#
[EMAIL PROTECTED] /]# lsmod | grep fcoe
fcoe                   24896  0
libfc                  75296  1 fcoe
scsi_transport_fc      51076  2 fcoe,libfc
scsi_mod              151416  7 
fcoe,libfc,scsi_transport_fc,sr_mod,sg,libata,sd_mod
[EMAIL PROTECTED] /]#

Not yet started with the Target installation. Please provide any tips for the 
same.

Thanks,
Lakshmi

This message (including attachment if any) is confidential and may be 
privileged. If you have received this message by mistake please notify the 
sender by return e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited. E-mail may contain viruses. Before opening attachments 
please check them for viruses and defects. While MindTree Limited (MindTree) 
has put in place checks to minimize the risks, MindTree will not be responsible 
for any viruses or defects or any forwarded attachments emanating either from 
within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages 
sent to or from MindTree e-mail address. Messages sent to or from this e-mail 
address may be stored on the MindTree e-mail system or else where.
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to