Ask a Question related to SCO, Design and Development.
-
EC #1
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
-
Tape Drive -- broken?
I recently acquired an old IDE QIC/Travan tape drive (for free) and I'm trying to get it to work on FreeBSD 4.10-RELEASE. I don't know for sure... -
Tape drive problems
Hi all, I hope someone can help me out on this: Owning a SS5 and a DEC TZ86 tape unit (I know it's an old one, but enough for my needs), I try... -
DDS tape drive through NFS on AIX 5.1
In article <bikqgk$o7$1@korweta.task.gda.pl>, Tomasz 'Tatsu' Sperczak <tomasz.sperczak@energa.pl> writes: if it's just for ordinary file backup,... -
5.0.5 tape drive issue
hello, I'm trying to install a scsi DAT tape drive on an SCO 5.0.5 but I'm getting an unexpected result. When I run the sconf -v command, I get... -
Tape Drive on Red Hat Power PC
Hari Om wrote: What kind of drive is it? If it is a SCSI drive, the regular SCSI drivers should handle it. -- .~. Jean-David Beyer ... -
Scott McMillan #2
Re: SCO 5.07 and Tape Drive
On 6 Aug 2003 10:39:09 -0700, [email]ellac@ilx.com[/email] (EC) wrote:
<flipped top-posting>>>
>> 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 McMillanNo it doesn't. That's what mkdev tape is for.>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?
How many tape devices are configured on this machine? Try posting the> 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
>
>
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
-
Jean-Pierre Radley #3
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]ellac@ilx.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
-
Scott McMillan #4
Re: SCO 5.07 and Tape Drive
On 6 Aug 2003 16:28:00 -0400, Jean-Pierre Radley <jpr@jpr.com> wrote:
Yep, a good point that I *should* have thought to include in my last>Scott McMillan typed (on Wed, Aug 06, 2003 at 03:27:41PM -0400):
>| On 6 Aug 2003 10:39:09 -0700, [email]ellac@ilx.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.
response. Thanks JP.
Scott McMillan
Scott McMillan Guest
-
EC #5
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 <smcm@usa.net> wrote in message news:<pgp2jvco2ba6tfikf55t0vro0mnibff2me@4ax.com>. ..> On 6 Aug 2003 16:28:00 -0400, Jean-Pierre Radley <jpr@jpr.com> wrote:
>> <flipped top-posting>> >Scott McMillan typed (on Wed, Aug 06, 2003 at 03:27:41PM -0400):
> >| On 6 Aug 2003 10:39:09 -0700, [email]ellac@ilx.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>> >| >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 McMillanEC Guest
-
Scott McMillan #6
Re: SCO 5.07 and Tape Drive
On 7 Aug 2003 06:37:03 -0700, [email]ellac@ilx.com[/email] (EC) wrote:
<Please don't top-post, it makes it difficult to follow the
chronologic order of the thread>
>Scott McMillan <smcm@usa.net> wrote in message news:<pgp2jvco2ba6tfikf55t0vro0mnibff2me@4ax.com>. ..>>> On 6 Aug 2003 16:28:00 -0400, Jean-Pierre Radley <jpr@jpr.com> wrote:
>>>> <flipped top-posting>>> >Scott McMillan typed (on Wed, Aug 06, 2003 at 03:27:41PM -0400):
>> >| On 6 Aug 2003 10:39:09 -0700, [email]ellac@ilx.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>>>> >| >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:
Now some obvious questions:>> >| > 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.
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
-
Bill Vermillion #7
Re: SCO 5.07 and Tape Drive
In article <72q4jvs1qr0je3suasvb09a9lfu368nlfk@4ax.com>,
Scott McMillan <smcm@usa.net> wrote:[lots deleted - wjv]>On 7 Aug 2003 06:37:03 -0700, [email]ellac@ilx.com[/email] (EC) wrote:
>
><Please don't top-post, it makes it difficult to follow the
>chronologic order of the thread>
>>> >| > 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?The tape command defaults to the xct0 as I recall and normally that>I'm at a loss at this point.
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
-
Bela Lubkin #8
Re: SCO 5.07 and Tape Drive
EC wrote:
Is that really true??? "Dsk" is an alternate SCSI disk peripheral> 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
driver designed to be used only with the Tricord "iiop" HBA driver.
Does your mscsi file _really_ have "Dsk" rather than "Sdsk"?
Please show the hwconfig lines relevant to the disk.> 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
> :
> :
> :
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



Reply With Quote

