Professional Web Applications Themes

SCO 5.07 and Tape Drive - SCO

Hi all, I have a Dell server with onboard duo-channel SCSI/RAID adapter. I am trying to connect an external tape drive (Dell PowerVault 100T)to this machine. What I did was I put an Adaptec 2940U2W adapter on one of the PCI slot and connected the tape drive to this Adaptec card. Here is my question. When I ran "mkdev tape", what should I enter for my SCSI host adapter/SCSI Bus? This is the result I got when I did "sconf -v": Stp blad 0 0 2 0 Thanks. EC...

  1. #1

    Default SCO 5.07 and Tape Drive

    Hi all,

    I have a Dell server with onboard duo-channel SCSI/RAID adapter. I
    am trying to connect an external tape drive (Dell PowerVault 100T)to
    this machine. What I did was I put an Adaptec 2940U2W adapter on one
    of the PCI slot and connected the tape drive to this Adaptec card.
    Here is my question. When I ran "mkdev tape", what should I enter for
    my SCSI host adapter/SCSI Bus?

    This is the result I got when I did "sconf -v": Stp blad 0 0 2 0

    Thanks.


    EC
    EC Guest

  2. #2

    Default Re: SCO 5.07 and Tape Drive

    On 6 Aug 2003 10:39:09 -0700, [email]ellacilx.com[/email] (EC) wrote:
    >>
    >> From the 'sconf' man page: (the -g option, why they flip the drive and
    >> adapter types between options is beyond me. Maybe they changed this in
    >> 5.0.7?)
    >>
    >> " arad Sdsk 0 1 2 3
    >>
    >> which implies that the first (root) SCSI disk is on adapter type arad,
    >> adapter number 0, bus 1 (secondary bus), with target SCSI ID 2 and LUN
    >> 3."
    >>
    >> Which tells us that your tape drive is on the first blad adapter (0),
    >> on bus #0 of that adapter, set to SCSI ID 2 with a LUN of 0.
    >>
    >>
    >> Scott McMillan
    <flipped top-posting>
    >Scott,
    >
    > Thanks for responding my posting.
    >
    > If I use SCSI host adapter 0, SCSI bus 0, ID 2 and LUN 0 and when I
    >do "tape status", I got this:
    >status:
    >soft errors: 0
    >hard errors:0
    >underruns:0
    >
    > Tape rewind will give me "unable to do "rewind" command on
    >'/dev/xct0': I/O error.
    >
    > Does SCO actually detect my tape drive?
    No it doesn't. That's what mkdev tape is for.
    > If I don't use host adapter
    >0 and SCSI bus 0 and when I do "tape rewind", I got "No such device or
    >address".
    >
    > Thanks again.
    >
    >EC
    >
    >
    How many tape devices are configured on this machine? Try posting the
    output from 'hwconfig -h' and the contents of your
    /etc/conf/cf.d/mscsi file. Also, ls -l /dev/rSt*.


    Scott McMillan

    Scott McMillan Guest

  3. #3

    Default Re: SCO 5.07 and Tape Drive

    Scott McMillan typed (on Wed, Aug 06, 2003 at 03:27:41PM -0400):
    | On 6 Aug 2003 10:39:09 -0700, [email]ellacilx.com[/email] (EC) wrote:
    |
    | >>
    | >> From the 'sconf' man page: (the -g option, why they flip the drive and
    | >> adapter types between options is beyond me. Maybe they changed this in
    | >> 5.0.7?)
    | >>
    | >> " arad Sdsk 0 1 2 3
    | >>
    | >> which implies that the first (root) SCSI disk is on adapter type arad,
    | >> adapter number 0, bus 1 (secondary bus), with target SCSI ID 2 and LUN
    | >> 3."
    | >>
    | >> Which tells us that your tape drive is on the first blad adapter (0),
    | >> on bus #0 of that adapter, set to SCSI ID 2 with a LUN of 0.
    | >>
    | >>
    | >> Scott McMillan
    | <flipped top-posting>
    | >Scott,
    | >
    | > Thanks for responding my posting.
    | >
    | > If I use SCSI host adapter 0, SCSI bus 0, ID 2 and LUN 0 and when I
    | >do "tape status", I got this:
    | >status:
    | >soft errors: 0
    | >hard errors:0
    | >underruns:0
    | >
    | > Tape rewind will give me "unable to do "rewind" command on
    | >'/dev/xct0': I/O error.
    | >
    | > Does SCO actually detect my tape drive?
    | No it doesn't. That's what mkdev tape is for.
    |
    | > If I don't use host adapter
    | >0 and SCSI bus 0 and when I do "tape rewind", I got "No such device or
    | >address".
    | >
    | > Thanks again.
    | >
    | >EC
    | >
    | >
    | How many tape devices are configured on this machine? Try posting the
    | output from 'hwconfig -h' and the contents of your
    | /etc/conf/cf.d/mscsi file. Also, ls -l /dev/rSt*.
    | Scott McMillan

    And recall that the parameters you used when you ran mkdev hd are
    configured into the kernel. But if the device is not actually connected
    to bus 0 of the 0th blad adapter, or its ID is not really set to 2, then
    Unix will of course find nothing there.

    The values you use in mkdev tape must reflect the actual hardware
    configuration.

    --
    JP
    Jean-Pierre Radley Guest

  4. #4

    Default Re: SCO 5.07 and Tape Drive

    On 6 Aug 2003 16:28:00 -0400, Jean-Pierre Radley <jprjpr.com> wrote:
    >Scott McMillan typed (on Wed, Aug 06, 2003 at 03:27:41PM -0400):
    >| On 6 Aug 2003 10:39:09 -0700, [email]ellacilx.com[/email] (EC) wrote:
    >|
    >| >>
    >| >> From the 'sconf' man page: (the -g option, why they flip the drive and
    >| >> adapter types between options is beyond me. Maybe they changed this in
    >| >> 5.0.7?)
    >| >>
    >| >> " arad Sdsk 0 1 2 3
    >| >>
    >| >> which implies that the first (root) SCSI disk is on adapter type arad,
    >| >> adapter number 0, bus 1 (secondary bus), with target SCSI ID 2 and LUN
    >| >> 3."
    >| >>
    >| >> Which tells us that your tape drive is on the first blad adapter (0),
    >| >> on bus #0 of that adapter, set to SCSI ID 2 with a LUN of 0.
    >| >>
    >| >>
    >| >> Scott McMillan
    >| <flipped top-posting>
    >| >Scott,
    >| >
    >| > Thanks for responding my posting.
    >| >
    >| > If I use SCSI host adapter 0, SCSI bus 0, ID 2 and LUN 0 and when I
    >| >do "tape status", I got this:
    >| >status:
    >| >soft errors: 0
    >| >hard errors:0
    >| >underruns:0
    >| >
    >| > Tape rewind will give me "unable to do "rewind" command on
    >| >'/dev/xct0': I/O error.
    >| >
    >| > Does SCO actually detect my tape drive?
    >| No it doesn't. That's what mkdev tape is for.
    >|
    >| > If I don't use host adapter
    >| >0 and SCSI bus 0 and when I do "tape rewind", I got "No such device or
    >| >address".
    >| >
    >| > Thanks again.
    >| >
    >| >EC
    >| >
    >| >
    >| How many tape devices are configured on this machine? Try posting the
    >| output from 'hwconfig -h' and the contents of your
    >| /etc/conf/cf.d/mscsi file. Also, ls -l /dev/rSt*.
    >| Scott McMillan
    >
    >And recall that the parameters you used when you ran mkdev hd are
    >configured into the kernel. But if the device is not actually connected
    >to bus 0 of the 0th blad adapter, or its ID is not really set to 2, then
    >Unix will of course find nothing there.
    >
    >The values you use in mkdev tape must reflect the actual hardware
    >configuration.
    Yep, a good point that I *should* have thought to include in my last
    response. Thanks JP.


    Scott McMillan

    Scott McMillan Guest

  5. #5

    Default Re: SCO 5.07 and Tape Drive

    I have a Adaptec SCSI card (2940U2W) and an onboard SCSI/RAID
    controller. The external tape drive connects to the Adaptec card and
    it's set to SCSI ID 2.

    MSCSI shows:
    lsil Dsk 0 0 0 0
    wd Srom 1 0 0 0
    blad Stp 0 2 0 0


    Hwconfig shows:
    :
    :
    adapter 0xdc00-0xdcff 11 - type=blad ha=0 bus=0 id=7 fts=sto
    adapter - - - ha=0 type=usb_msto UDI SCSI HBA
    adapter 0x170-0x177 15 - type=IDE ctlr=secondary dvr=wd
    adapter 0xcc00-0xcc80 7 - type=lsil ha=0 id=7 Chip= 1030 10317
    adapter 0xc800-0xc880 5 - type=lsil ha=1 id=7 Chip=1030 10317
    tape - - - type=S ha=0 id=2 lun=0 bus=0 ht=blad
    unit=0
    :
    :
    :

    ls -l /dev/rStp0:
    crw-rw---- 5 root root 46,0 Aug 6 14:22 rStp0

    /etc/default/tape shows:
    device=/dev/xct0
    curdriver = Stp0


    Thanks again for your help.

    EC




    Scott McMillan <smcmusa.net> wrote in message news:<pgp2jvco2ba6tfikf55t0vro0mnibff2me4ax.com>. ..
    > On 6 Aug 2003 16:28:00 -0400, Jean-Pierre Radley <jprjpr.com> wrote:
    >
    > >Scott McMillan typed (on Wed, Aug 06, 2003 at 03:27:41PM -0400):
    > >| On 6 Aug 2003 10:39:09 -0700, [email]ellacilx.com[/email] (EC) wrote:
    > >|
    > >| >>
    > >| >> From the 'sconf' man page: (the -g option, why they flip the drive and
    > >| >> adapter types between options is beyond me. Maybe they changed this in
    > >| >> 5.0.7?)
    > >| >>
    > >| >> " arad Sdsk 0 1 2 3
    > >| >>
    > >| >> which implies that the first (root) SCSI disk is on adapter type arad,
    > >| >> adapter number 0, bus 1 (secondary bus), with target SCSI ID 2 and LUN
    > >| >> 3."
    > >| >>
    > >| >> Which tells us that your tape drive is on the first blad adapter (0),
    > >| >> on bus #0 of that adapter, set to SCSI ID 2 with a LUN of 0.
    > >| >>
    > >| >>
    > >| >> Scott McMillan
    > <flipped top-posting>
    > >| >Scott,
    > >| >
    > >| > Thanks for responding my posting.
    > >| >
    > >| > If I use SCSI host adapter 0, SCSI bus 0, ID 2 and LUN 0 and when I
    > >| >do "tape status", I got this:
    > >| >status:
    > >| >soft errors: 0
    > >| >hard errors:0
    > >| >underruns:0
    > >| >
    > >| > Tape rewind will give me "unable to do "rewind" command on
    > >| >'/dev/xct0': I/O error.
    > >| >
    > >| > Does SCO actually detect my tape drive?
    > >| No it doesn't. That's what mkdev tape is for.
    > >|
    > >| > If I don't use host adapter
    > >| >0 and SCSI bus 0 and when I do "tape rewind", I got "No such device or
    > >| >address".
    > >| >
    > >| > Thanks again.
    > >| >
    > >| >EC
    > >| >
    > >| >
    > >| How many tape devices are configured on this machine? Try posting the
    > >| output from 'hwconfig -h' and the contents of your
    > >| /etc/conf/cf.d/mscsi file. Also, ls -l /dev/rSt*.
    > >| Scott McMillan
    > >
    > >And recall that the parameters you used when you ran mkdev hd are
    > >configured into the kernel. But if the device is not actually connected
    > >to bus 0 of the 0th blad adapter, or its ID is not really set to 2, then
    > >Unix will of course find nothing there.
    > >
    > >The values you use in mkdev tape must reflect the actual hardware
    > >configuration.
    >
    > Yep, a good point that I *should* have thought to include in my last
    > response. Thanks JP.
    >
    >
    > Scott McMillan
    EC Guest

  6. #6

    Default Re: SCO 5.07 and Tape Drive

    On 7 Aug 2003 06:37:03 -0700, [email]ellacilx.com[/email] (EC) wrote:

    <Please don't top-post, it makes it difficult to follow the
    chronologic order of the thread>
    >Scott McMillan <smcmusa.net> wrote in message news:<pgp2jvco2ba6tfikf55t0vro0mnibff2me4ax.com>. ..
    >> On 6 Aug 2003 16:28:00 -0400, Jean-Pierre Radley <jprjpr.com> wrote:
    >>
    >> >Scott McMillan typed (on Wed, Aug 06, 2003 at 03:27:41PM -0400):
    >> >| On 6 Aug 2003 10:39:09 -0700, [email]ellacilx.com[/email] (EC) wrote:
    >> >|
    >> >| >>
    >> >| >> From the 'sconf' man page: (the -g option, why they flip the drive and
    >> >| >> adapter types between options is beyond me. Maybe they changed this in
    >> >| >> 5.0.7?)
    >> >| >>
    >> >| >> " arad Sdsk 0 1 2 3
    >> >| >>
    >> >| >> which implies that the first (root) SCSI disk is on adapter type arad,
    >> >| >> adapter number 0, bus 1 (secondary bus), with target SCSI ID 2 and LUN
    >> >| >> 3."
    >> >| >>
    >> >| >> Which tells us that your tape drive is on the first blad adapter (0),
    >> >| >> on bus #0 of that adapter, set to SCSI ID 2 with a LUN of 0.
    >> >| >>
    >> >| >>
    >> >| >> Scott McMillan
    >> <flipped top-posting>
    >> >| >Scott,
    >> >| >
    >> >| > Thanks for responding my posting.
    >> >| >
    >> >| > If I use SCSI host adapter 0, SCSI bus 0, ID 2 and LUN 0 and when I
    >> >| >do "tape status", I got this:
    >> >| >status:
    >> >| >soft errors: 0
    >> >| >hard errors:0
    >> >| >underruns:0
    >> >| >
    >> >| > Tape rewind will give me "unable to do "rewind" command on
    >> >| >'/dev/xct0': I/O error.
    >> >| >
    >> >| > Does SCO actually detect my tape drive?
    >> >| No it doesn't. That's what mkdev tape is for.
    >> >|
    >> >| > If I don't use host adapter
    >> >| >0 and SCSI bus 0 and when I do "tape rewind", I got "No such device or
    >> >| >address".
    >> >| >
    >> >| > Thanks again.
    >> >| >
    >> >| >EC
    >> >| >
    >> >| >
    >> >| How many tape devices are configured on this machine? Try posting the
    >> >| output from 'hwconfig -h' and the contents of your
    >> >| /etc/conf/cf.d/mscsi file. Also, ls -l /dev/rSt*.
    >> >| Scott McMillan
    >> >
    >> >And recall that the parameters you used when you ran mkdev hd are
    >> >configured into the kernel. But if the device is not actually connected
    >> >to bus 0 of the 0th blad adapter, or its ID is not really set to 2, then
    >> >Unix will of course find nothing there.
    >> >
    >> >The values you use in mkdev tape must reflect the actual hardware
    >> >configuration.
    >>
    >> Yep, a good point that I *should* have thought to include in my last
    >> response. Thanks JP.
    >>
    >>
    >> Scott McMillan
    >
    >I have a Adaptec SCSI card (2940U2W) and an onboard SCSI/RAID
    >controller. The external tape drive connects to the Adaptec card and
    >it's set to SCSI ID 2.
    >
    >MSCSI shows:
    >lsil Dsk 0 0 0 0
    >wd Srom 1 0 0 0
    >blad Stp 0 2 0 0
    >
    >
    >Hwconfig shows:
    >:
    >:
    >adapter 0xdc00-0xdcff 11 - type=blad ha=0 bus=0 id=7 fts=sto
    >adapter - - - ha=0 type=usb_msto UDI SCSI HBA
    >adapter 0x170-0x177 15 - type=IDE ctlr=secondary dvr=wd
    >adapter 0xcc00-0xcc80 7 - type=lsil ha=0 id=7 Chip= 1030 10317
    >adapter 0xc800-0xc880 5 - type=lsil ha=1 id=7 Chip=1030 10317
    >tape - - - type=S ha=0 id=2 lun=0 bus=0 ht=blad
    >unit=0
    >:
    >:
    >:
    >
    >ls -l /dev/rStp0:
    >crw-rw---- 5 root root 46,0 Aug 6 14:22 rStp0
    >
    >/etc/default/tape shows:
    >device=/dev/xct0
    >curdriver = Stp0
    >
    >
    >Thanks again for your help.
    >
    >EC
    >
    >


    Everything here seems to be OK - Your mscsi file reflects what you
    have told us, as does the output from hwconfig.

    Earlier EC said:
    >> >| > If I use SCSI host adapter 0, SCSI bus 0, ID 2 and LUN 0 and when I
    >> >| >do "tape status", I got this:
    >> >| >status:
    >> >| >soft errors: 0
    >> >| >hard errors:0
    >> >| >underruns:0
    >> >| >
    >> >| > Tape rewind will give me "unable to do "rewind" command on
    >> >| >'/dev/xct0': I/O error.
    Now some obvious questions:

    Was there a tape in the drive when you issued the above commands?
    Have you tried other tapes?
    Does this drive work on other systems?
    What type of termination/cable are you using?
    Is the PowerVault (IIRC from the initial post) an auto-loader by any
    chance?

    I'm at a loss at this point.


    Scott McMillan

    Scott McMillan Guest

  7. #7

    Default Re: SCO 5.07 and Tape Drive

    In article <72q4jvs1qr0je3suasvb09a9lfu368nlfk4ax.com>,
    Scott McMillan <smcmusa.net> wrote:
    >On 7 Aug 2003 06:37:03 -0700, [email]ellacilx.com[/email] (EC) wrote:
    >
    ><Please don't top-post, it makes it difficult to follow the
    >chronologic order of the thread>
    [lots deleted - wjv]
    >>> >| > Tape rewind will give me "unable to do "rewind" command on
    >>> >| >'/dev/xct0': I/O error.
    >Now some obvious questions:
    >Was there a tape in the drive when you issued the above commands?
    >Have you tried other tapes?
    >Does this drive work on other systems?
    >What type of termination/cable are you using?
    >Is the PowerVault (IIRC from the initial post) an auto-loader by any
    >chance?
    >I'm at a loss at this point.
    The tape command defaults to the xct0 as I recall and normally that
    is linke to the /dev/Stp0 [spelling].

    The tape command will also take a device name as an argument.
    Given the proper device name I've had 'tape' always work, but
    not always if you use the default.
    --
    Bill Vermillion - bv wjv . com
    Bill Vermillion Guest

  8. #8

    Default Re: SCO 5.07 and Tape Drive

    EC wrote:
    > I have a Adaptec SCSI card (2940U2W) and an onboard SCSI/RAID
    > controller. The external tape drive connects to the Adaptec card and
    > it's set to SCSI ID 2.
    >
    > MSCSI shows:
    > lsil Dsk 0 0 0 0
    > wd Srom 1 0 0 0
    > blad Stp 0 2 0 0
    Is that really true??? "Dsk" is an alternate SCSI disk peripheral
    driver designed to be used only with the Tricord "iiop" HBA driver.
    Does your mscsi file _really_ have "Dsk" rather than "Sdsk"?
    > Hwconfig shows:
    > :
    > :
    > adapter 0xdc00-0xdcff 11 - type=blad ha=0 bus=0 id=7 fts=sto
    > adapter - - - ha=0 type=usb_msto UDI SCSI HBA
    > adapter 0x170-0x177 15 - type=IDE ctlr=secondary dvr=wd
    > adapter 0xcc00-0xcc80 7 - type=lsil ha=0 id=7 Chip= 1030 10317
    > adapter 0xc800-0xc880 5 - type=lsil ha=1 id=7 Chip=1030 10317
    > tape - - - type=S ha=0 id=2 lun=0 bus=0 ht=blad unit=0
    > :
    > :
    > :
    Please show the hwconfig lines relevant to the disk.

    This is a side-issue probably unrelated to your tape drive problem.
    It's just that I've never seen the "Dsk" driver in use (on _anything_,
    never having actually touched one of those Tricord systems). It has not
    been well maintained over the years, I would worry greatly about using
    it.
    >Bela<
    Bela Lubkin Guest

Similar Threads

  1. Tape Drive -- broken?
    By Brandon Kuczenski in forum FreeBSD
    Replies: 0
    Last Post: February 19th, 08:37 PM
  2. Tape drive problems
    By Eddie in forum Linux / Unix Administration
    Replies: 8
    Last Post: September 23rd, 08:56 PM
  3. DDS tape drive through NFS on AIX 5.1
    By Michael Kraemer in forum AIX
    Replies: 4
    Last Post: August 29th, 10:22 AM
  4. 5.0.5 tape drive issue
    By pheonix1t in forum SCO
    Replies: 2
    Last Post: August 20th, 01:16 PM
  5. Tape Drive on Red Hat Power PC
    By Jean-David Beyer in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: August 8th, 11:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139