From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 20 03:35:07 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9762837B401 for ; Sun, 20 Jul 2003 03:35:07 -0700 (PDT) Received: from c210-49-151-50.thorn1.nsw.optusnet.com.au (c210-49-151-50.thorn1.nsw.optusnet.com.au [210.49.151.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31E2643FAF for ; Sun, 20 Jul 2003 03:35:06 -0700 (PDT) (envelope-from tonymaher@optushome.com.au) Received: from dt.home (localhost [127.0.0.1])ESMTP id h6KAZ1x2033377 for ; Sun, 20 Jul 2003 20:35:01 +1000 (EST) (envelope-from tonym@dt.home) Received: (from tonym@localhost) by dt.home (8.12.9/8.12.9/Submit) id h6KAYtti033249 for hackers@freebsd.org; Sun, 20 Jul 2003 20:34:55 +1000 (EST) (envelope-from tonym) Date: Sun, 20 Jul 2003 20:34:55 +1000 (EST) From: Tony Maher Message-Id: <200307201034.h6KAYtti033249@dt.home> To: hackers@freebsd.org Subject: isp/ispfw X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 10:35:08 -0000 Hello I am trying to get a Qlogic 2300 to talk to a SAN under 5.1-Release. I have never played with fiber before so I am not sure of what I am supposed to be doing. The device is recognized ok. ahc0: Features 0x1def6, Bugs 0x40, Flags 0x20485540 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs Qlogic ISP Driver, FreeBSD Version 5.9, Core Version 2.7 isp0: port 0x2400-0x24ff mem 0xefffe000-0xef ffefff irq 11 at device 5.0 on pci1 isp0: using I/O space register mapping isp0: Board Type 2300, Chip Revision 0x1, loaded F/W Revision 3.1.20 isp0: Installed in 64-Bit PCI slot isp0: 744 max I/O commands supported isp0: NVRAM Port WWN 0x210000e08b05c18e unknown: not probed (disabled) unknown: not probed (disabled) ... ... isp0: LIP Received isp0: Loop UP isp0: Port Database Changed isp0: Firmware State Ready> isp0: 2Gb link speed/s isp0: Loop ID 1, AL_PA 0xe8, Port ID 0xe8, Loop State 0x2, Topology 'Private Loo p' isp0: Target 1 (Loop 0x1) Port ID 0xe8 (role Target/Initiator) Arrived Port WWN 0x210000e08b05c18e Node WWN 0x200000e08b05c18e isp0: Target 0 (Loop 0x0) Port ID 0xef (role Target) Arrived Port WWN 0x50060e80008273d2 Node WWN 0x50060e80008273d2 ata0-master: piomode=12 dmamode=34 udmamode=66 dmaflag=1 ata0-master: success setting PIO4 on ServerWorks ROSB4 chip acd0: CDROM drive at ata0 as master ... ... Waiting 15 seconds for SCSI devices to settle (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. isp0: port unavailable for target 1 isp0: Firmware State Waiting for AL_PA> (probe19:isp0:0:4:0): Request Requeued (probe19:isp0:0:4:0): Retrying Command isp0: LIP Received isp0: Firmware State Wait Login> isp0: Port Database Changed isp0: Firmware State Ready> isp0: 2Gb link speed/s isp0: Loop ID 1, AL_PA 0xe8, Port ID 0xe8, Loop State 0x2, Topology 'Private Loo p' isp0: Target 1 (Loop 0x1) Port ID 0xe8 (role Target/Initiator) Arrived Port WWN 0x210000e08b05c18e Node WWN 0x200000e08b05c18e isp0: Retaining Loop ID 0x0 for Target 0 (Port 0xef) (probe0:ahc0:0:0:0): Retrying Command (ahc0:A:0:0): Sending PPR bus_width 1, period 9, offset 7f, ppr_options 2 ... ... start_init: trying /sbin/init Linux ELF exec handler installed isp0: port unavailable for target 1 isp0: Mbox Command Async (0x4000) with no waiters isp0: Firmware State Waiting for AL_PA> isp0: LIP Received isp0: Firmware State Wait Login> isp0: Port Database Changed isp0: Firmware State Ready> isp0: 2Gb link speed/s isp0: Loop ID 1, AL_PA 0xe8, Port ID 0xe8, Loop State 0x2, Topology 'Private Loop' isp0: Target 1 (Loop 0x1) Port ID 0xe8 (role Target/Initiator) Arrived Port WWN 0x210000e08b05c18e Node WWN 0x200000e08b05c18e isp0: Retaining Loop ID 0x0 for Target 0 (Port 0xef) The kernel config is basically GENERIC but has device isp # Qlogic family device ispfw options ISP_TARGET_MODE=1 'camcontrol devlist -v' reports scbus0 on ahc0 bus 0: at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 8 lun 0 (ses0,pass1) < > at scbus0 target -1 lun -1 () scbus1 on isp0 bus 0: < > at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) Using the card bios util, it reports along the lines of: WNN Port 0 Hitachi DF600F 50060E8000827302 0000EF 1 Qlogic 2300 210000E08B05C18E 0000E8 I have booted without defining ISP_TARGET_MODE=1 but the camcntrol devlist -v reports the same. Any ideas on what is wrong (I know nothing about the SAN itself, someone else set it up). thanks -- tonym