Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2003 16:31:20 -0800 (PST)
From:      Mark Terribile <>
Subject:   Target-mode drivers (/dev/targ) under 5.2 for ISP driver: no /dev/targ0
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help


I'm trying to bring up the target-mode interface on a QLogic 2300 FC
card.  I have Matt Jacob's latest version of the driver, I have these
lines in my config file for the kernel:

    options       ISP_TARGET_MODE
    device        isp          # Qlogic family
    device        ispfw        # Qlogic firmware

The card does come up.  The console messages include:

    isp0: <Qlogic ISP 2300 PCI FC-AL Adaptor> port 0xde00-0xdeff mem
0xfe9fd0000-0xfe9dfff irq 9 at device 6.0 on pci 1

(My apologies, but the quickest way to get this into the email is to copy
it by hand, so I may have an error in there.)

The  opt_isp.h file is generated; it contains

    #define ISP_TARGET_MODE 1

At present, the FC card is unconnected.

I do have a second SCSI card -- an Adaptec 29160 Ultra 160 -- which is
ending up at 0xdd00-0xddff and 0xfe9fc000-0xfe9fcfff .  It's running
fine, so far as I can tell.

With the SCSI devices, I have

    device     scbus  # ... [excuse me, I'm not typing the comments here]
    device     ch     # ...
    device     da     # ...
    device     sa     # ...
    device     cd     # ...
    device     targ   # ...
    device     targbh # ...
    device     pass   # ...
    device     ses    # ...

camcontrol devlist -v produces the following:

    scbus0 on ahc0 bus0:
    <BNCHMARK DLT1 5538>             at scbus0 target 6 lun 0 (sa0, pass0)
    < >                              at scbus0 target -1 lun -1 ()
    scbus1 on isp0 bus0:
    < >                              at scbus1 target -1 lun -1 (targbh0)
    scbus-1 on xpt0 bus 0:
    < >                              at scbus-1 target -1 lun -1 (xpt0)

What I do not have is  /dev/targ0, /dev/targ1, etc.  They are simply not
being created.  This is 5.2, so they should just be there, no?  I will be
grateful for any help you can give me in finding out why, and getting them

    Mark Terribile

Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.

Want to link to this message? Use this URL: <>