Dave Johnson wrote:
Trying to enable scsi target mode on a QLA2460 with OF 2.3a with the new testing kernel. I am not explicitly familiar with the driver loading procedure but I have modified /etc/modprobe.conf from:

[EMAIL PROTECTED] etc]# cat modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter qla2xxx
alias scsi_hostadapter1 aic7xxx
alias scsi_hostadapter2 megaraid_mbox
alias scsi_hostadapter3 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd


to:

[EMAIL PROTECTED] etc]# cat modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter qla2xxxt
alias scsi_hostadapter1 aic7xxx
alias scsi_hostadapter2 megaraid_mbox
alias scsi_hostadapter3 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd

as well as:

[EMAIL PROTECTED] etc]# cat modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter isp_mod
alias scsi_hostadapter1 aic7xxx
alias scsi_hostadapter2 megaraid_mbox
alias scsi_hostadapter3 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd

and target mode doesn't seem to be a possiblity:

[EMAIL PROTECTED] host0]# pwd
/sys/class/scsi_host/host0
[EMAIL PROTECTED] host0]# ls -l
total 0
-rw-r--r--  1 root root 4096 Oct  9 16:56 beacon
-r--r--r--  1 root root 4096 Oct  9 16:56 can_queue
-r--r--r--  1 root root 4096 Oct  9 16:56 cmd_per_lun
lrwxrwxrwx 1 root root 0 Oct 9 16:56 device -> ./../../devices/pci0000:00/ 0000:00:02.0/0000:01:00.2/0000:03:0b.0/host0
-r--r--r--  1 root root 4096 Oct  9 16:56 driver_version
-r--r--r--  1 root root 4096 Oct  9 16:56 fw_version
-r--r--r--  1 root root 4096 Oct  9 16:56 host_busy
-r--r--r--  1 root root 4096 Oct  9 16:56 isp_id
-r--r--r--  1 root root 4096 Oct  9 16:56 isp_name
-r--r--r--  1 root root 4096 Oct  9 16:56 model_desc
-r--r--r--  1 root root 4096 Oct  9 16:56 model_name
-r--r--r--  1 root root 4096 Oct  9 16:56 optrom_bios_version
-r--r--r--  1 root root 4096 Oct  9 16:56 optrom_efi_version
-r--r--r--  1 root root 4096 Oct  9 16:56 optrom_fcode_version
-r--r--r--  1 root root 4096 Oct  9 16:56 optrom_fw_version
-r--r--r--  1 root root 4096 Oct  9 16:56 pci_info
-r--r--r--  1 root root 4096 Oct  9 16:56 proc_name
--w-------  1 root root 4096 Oct  9 16:56 scan
-r--r--r--  1 root root 4096 Oct  9 16:56 serial_num
-r--r--r--  1 root root 4096 Oct  9 16:56 sg_tablesize
-rw-r--r--  1 root root 4096 Oct  9 16:56 state
lrwxrwxrwx 1 root root 0 Oct 9 16:56 subsystem -> ./../../class/scsi_host
--w-------  1 root root 4096 Oct  9 16:56 uevent
-r--r--r--  1 root root 4096 Oct  9 16:56 unchecked_isa_dma
-r--r--r--  1 root root 4096 Oct  9 16:56 unique_id
-rw-r--r--  1 root root 4096 Oct  9 16:56 zio
-rw-r--r--  1 root root 4096 Oct  9 16:56 zio_timer
[EMAIL PROTECTED] host0]# cat model_name
QLA2460
[EMAIL PROTECTED] host0]# cat driver_version
8.01.07-k7
[EMAIL PROTECTED] host0]# cat state
Link Up - F_Port
[EMAIL PROTECTED] host0]# cat isp_name
ISP2422
[EMAIL PROTECTED] host0]# uname -a
Linux filer3.xxx.xxx 2.6.22.9-0.1.4.smp.gcc3.4.x86_64 #1 SMP Wed Oct 3 19:58:13 BST 2007 x86_64 x86_64 x86_64 GNU/Linux
[EMAIL PROTECTED] host0]#


I'm sure I'm just ignorant of the correct procedure but would appreciate any pointers here.

What happens when you "modprobe qla2xxxt" ?

R.



Thanks!

-=dave

----- Original Message ----- From: "Rafiu Fakunle" <[EMAIL PROTECTED]>
To: <[email protected]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2007 6:45 PM
Subject: [OF-users] New kernel available for testing


Hi,

We're readying a new OF release and have worked up an updated kernel that integrates all the external modules that were once shipped separately.

************************************************************************
PROCEED WITH CAUTION. ONLY INSTALL IF YOU ARE INTERESTED
IN ASSISTING WITH TESTING
************************************************************************


There are also some nifty new integrations such as FC target support and something from SGI called Comprehensive System Accounting (CSA). You can learn more about that here:

http://oss.sgi.com/projects/csa/


CSA might not mean much to you if you're running Openfiler in a small network, but for larger setups, it allows you to bill individual users/groups based on their resource usage profile. If you want to play around with CSA you'll also need to install the userland components:

1) conary update [EMAIL PROTECTED]:1-contrib
2) conary update [EMAIL PROTECTED]:1-contrib
3) conary update [EMAIL PROTECTED]:1-contrib

Also integrated is SCST and iSCSI-SCST which we might use to replace IET in the future. Details for both are here:

http://scst.sourceforge.net/

If you wish to play around with FC target support (you'll need an Qlogic FC controller):

1) conary update [EMAIL PROTECTED]:1-contrib --no-deps
2) service scst start
3) then run scstadmin for instructions

If you have an Qlogic FC controller, please go ahead and use the isp_mod kernel module (in place of qla2xxx). We're especially interested in how that performs under load.

caveat emptor: isp_mod seems to hang the system on some configs. So you could try the alternative qla2xxxt module which is the standard qla2xxx with target mode support patched in. I've renamed it to qla2xxxt so that you can have both the original qla2xxx and the integrated target support qla2xxxt linked into the kernel concurrently.

To enable FC target support for a qlogic HBA:

1) Edit /etc/modprobe.conf
2) map qla2xxxt to your FC HBA (eg. alias scsi_hostadapter qla2xxxt)
3) echo "1" >/sys/class/scsi_host/host0/target_mode_enabled

Updating to the new kernel will also require an update to the iSCSI target userland component:

1) conary update iscsi_trgt

Please provide feedback via this mailing list or the bug tracker: https://project.openfiler.com/tracker/newticket

So without further ado:

conary update kernel:[EMAIL PROTECTED]:kernel-test


R.

_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users



_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

Reply via email to