isp/ispfw

From: Tony Maher (tonymaher_at_optushome.com.au)
Date: 07/20/03

  • Next message: Ryan Sommers: "Assembly Syscall Question"
    Date: Sun, 20 Jul 2003 20:34:55 +1000 (EST)
    To: hackers@freebsd.org
    
    

    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: <Qlogic ISP 2300 PCI FC-AL Adapter> 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 <Config Wait->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: <LG CD-ROM CRN-8245B/1.13> 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 <Config Wait->Waiting for AL_PA>
    (probe19:isp0:0:4:0): Request Requeued
    (probe19:isp0:0:4:0): Retrying Command
    isp0: LIP Received
    isp0: Firmware State <Waiting for AL_PA->Wait Login>
    isp0: Port Database Changed
    isp0: Firmware State <Wait Login->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 <Config Wait->Waiting for AL_PA>
    isp0: LIP Received
    isp0: Firmware State <Waiting for AL_PA->Wait Login>
    isp0: Port Database Changed
    isp0: Firmware State <Wait Login->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:
    <IBM-PSG DDYS-T18350M M S9HA> at scbus0 target 0 lun 0 (pass0,da0)
    <IBM FTlV1 S2 0> 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
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Ryan Sommers: "Assembly Syscall Question"

    Relevant Pages