Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: Problems with SCSI tapes.
@ 1999-05-14  8:35 Ray Kiesbrink (ETM)
  1999-05-14 15:49 ` Chris Price
  0 siblings, 1 reply; 7+ messages in thread
From: Ray Kiesbrink (ETM) @ 1999-05-14  8:35 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

I thought tapes were expected to be on scsi ID 2?
maybe that helps?

> -----Original Message-----
> From:	Craig P Prescott [SMTP:prescott@phys.ufl.edu]
> Sent:	Tuesday, May 11, 1999 21:48
> To:	axp-list@redhat.com
> Subject:	Re: Problems with SCSI tapes. 
> 
> Wes Bauske wrote:
> > Wes Bauske wrote:
> > > 
> > > Christopher Curtis wrote:
> > > >
> > > > On Tue, 11 May 1999, James Bremer wrote:
> > > >
> > > > I have a Seagate TapeStor 4/8GB SCSI 2 type tape.
> > > >
> > > > Detected scsi tape st0 at scsi0, channel 0, id 1, lun 0
> > > >   Vendor: SEAGATE   Model: ST39140N          Rev: 1281
> > > >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > > >
> >
> > A follow up. I just noticed your output above looks wrong.
> > Mine shows the following:
> >
> > Host: scsi1 Channel: 00 Id: 06 Lun: 00
> >   Vendor: EXABYTE  Model: EXB-85058HE-0000 Rev: 0076
> >   Type:   Sequential-Access                ANSI SCSI revision: 02
> >
> > Note it says sequential access. Tapes are not direct access
> > devices.
> > 
> > Something is confused in your kernel.
> 
> I'd have to agree with that - an ST39140N is a hard drive.  What is it
> doing at st0?
> 
> Cheers,
> Craig
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problems with SCSI tapes.
  1999-05-14  8:35 Problems with SCSI tapes Ray Kiesbrink (ETM)
@ 1999-05-14 15:49 ` Chris Price
  1999-05-14 17:04   ` Phil Carmody
  1999-05-14 17:04   ` Alvin Starr
  0 siblings, 2 replies; 7+ messages in thread
From: Chris Price @ 1999-05-14 15:49 UTC (permalink / raw)
  To: axp-list


	No, that would fundamentally go against what SCSI is all about -> a
homogenous multi-device, multi-access bus.. The only set device in the
SCSI standard(s) is device 0 and device 7(15 for UW). Boot devices are
at 0 and the scsi adapter is at 7(15). The exception to this 'standard'
are scsi cards that are able to boot from different scsi id's via a
jumper mod on teh card or a scsi card BIOS manipulation.

	I have tape drive (travan, and DAT) in various machines at varying SCSI
id's in the 4,5,6 range. AFAIK, the scsi bus prioritizes i/o requests
based on scsi id (please correct me if I am wrong here guys/gals) with 0
receiving a higher priority than 1, 1 than 2 and so on. So on a mixed
bus of hard drives and tape units, it is 'better'(but not required) to
have lower priority system devices such as tapes and cdroms sitting at
higher numbers (such as 4,5 or 6).

	cheers

	Chris

	P.S. Sorry for my bad grammar and speling, I am quite hungover today..
:(

"Ray Kiesbrink (ETM)" wrote:
> 
> I thought tapes were expected to be on scsi ID 2?
> maybe that helps?
> 
> > -----Original Message-----
> > From: Craig P Prescott [SMTP:prescott@phys.ufl.edu]
> > Sent: Tuesday, May 11, 1999 21:48
> > To:   axp-list@redhat.com
> > Subject:      Re: Problems with SCSI tapes.
> >
> > Wes Bauske wrote:
> > > Wes Bauske wrote:
> > > >
> > > > Christopher Curtis wrote:
> > > > >
> > > > > On Tue, 11 May 1999, James Bremer wrote:
> > > > >
> > > > > I have a Seagate TapeStor 4/8GB SCSI 2 type tape.
> > > > >
> > > > > Detected scsi tape st0 at scsi0, channel 0, id 1, lun 0
> > > > >   Vendor: SEAGATE   Model: ST39140N          Rev: 1281
> > > > >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > > > >
> > >
> > > A follow up. I just noticed your output above looks wrong.
> > > Mine shows the following:
> > >
> > > Host: scsi1 Channel: 00 Id: 06 Lun: 00
> > >   Vendor: EXABYTE  Model: EXB-85058HE-0000 Rev: 0076
> > >   Type:   Sequential-Access                ANSI SCSI revision: 02
> > >
> > > Note it says sequential access. Tapes are not direct access
> > > devices.
> > >
> > > Something is confused in your kernel.
> >
> > I'd have to agree with that - an ST39140N is a hard drive.  What is it
> > doing at st0?
> >
> > Cheers,
> > Craig
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
__________________________________________________________________________
Pournelle's Law: 
If you do not know what you are doing, deal with people who do.
--------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problems with SCSI tapes.
  1999-05-14 15:49 ` Chris Price
@ 1999-05-14 17:04   ` Phil Carmody
  1999-05-14 18:12     ` SCSI ID priorities (was: Re: Problems with SCSI tapes.) Kevin Mocklin
  1999-05-14 18:24     ` Problems with SCSI tapes Chris Price
  1999-05-14 17:04   ` Alvin Starr
  1 sibling, 2 replies; 7+ messages in thread
From: Phil Carmody @ 1999-05-14 17:04 UTC (permalink / raw)
  To: axp-list

>>>>> "Chris" == Chris Price <cprice@its.to> writes:
Chris> 	I have tape drive (travan, and DAT) in various machines at varying SCSI
Chris> id's in the 4,5,6 range. AFAIK, the scsi bus prioritizes i/o requests
Chris> based on scsi id (please correct me if I am wrong here guys/gals) with 0
Chris> receiving a higher priority than 1, 1 than 2 and so on. So on a mixed
Chris> bus of hard drives and tape units, it is 'better'(but not required) to
Chris> have lower priority system devices such as tapes and cdroms sitting at
Chris> higher numbers (such as 4,5 or 6).

I was under the impression that the priority was in the other order, with a
asymptote between 7 and 8. So it goes (highest priority) 7 .. 0 15 .. 8.
The reason for the wraparound/gap being the fact that 8 bit devices can't
detect devices with ids 8-15 request the bus, so 8-15 must back down.

I can't cite anything to back this up I'm afraid, but I would have assumed
that the SCSI card would be given the highest priority, and it has Id 7 on
every SCSI setup I've encountered.

So, put your swap on device with Id 6 etc...

Phil


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problems with SCSI tapes.
  1999-05-14 15:49 ` Chris Price
  1999-05-14 17:04   ` Phil Carmody
@ 1999-05-14 17:04   ` Alvin Starr
  1 sibling, 0 replies; 7+ messages in thread
From: Alvin Starr @ 1999-05-14 17:04 UTC (permalink / raw)
  To: axp-list

On Fri, 14 May 1999, Chris Price wrote:

> 	No, that would fundamentally go against what SCSI is all about -> a
> homogenous multi-device, multi-access bus.. The only set device in the
> SCSI standard(s) is device 0 and device 7(15 for UW). Boot devices are
> at 0 and the scsi adapter is at 7(15). The exception to this 'standard'
> are scsi cards that are able to boot from different scsi id's via a
> jumper mod on teh card or a scsi card BIOS manipulation.

the SCSI spec does not as I remember spec what devices are "boot" devices.
This is just a custom issue. For whatever reason the first PC SCSI cards
seemed to pick 0 for the boot device but that is arbitrary and as for 7 as
the host. That is not mandated. It is possible to have multiple hosts on a
single bus.

> 	I have tape drive (travan, and DAT) in various machines at varying SCSI
> id's in the 4,5,6 range. AFAIK, the scsi bus prioritizes i/o requests
> based on scsi id (please correct me if I am wrong here guys/gals) with 0
> receiving a higher priority than 1, 1 than 2 and so on. So on a mixed
> bus of hard drives and tape units, it is 'better'(but not required) to
> have lower priority system devices such as tapes and cdroms sitting at
> higher numbers (such as 4,5 or 6).

The SCSI commands do not have any priority based on SCSI ID. It is the
arbitration process that uses the SCSI ID to decide who will get the bus
when multiple masters want it. Also the prority of arbitration is 0 ==
lowest 7 == higest. This is why the host is typicaly given ID 7. On some
systems the boot disk is placed at ID 6. Which makes sense since you would
want to have higher priority given to your disks over tapes and other
devices.

So. Technicaly the way most SCSI systems are configured is wrong.


Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin@iplink.net              ||


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: SCSI ID priorities (was: Re: Problems with SCSI tapes.)
  1999-05-14 17:04   ` Phil Carmody
@ 1999-05-14 18:12     ` Kevin Mocklin
  1999-05-14 18:24     ` Problems with SCSI tapes Chris Price
  1 sibling, 0 replies; 7+ messages in thread
From: Kevin Mocklin @ 1999-05-14 18:12 UTC (permalink / raw)
  To: axp-list

Just for closure, here is a reference.  Phil's got it right, priority is
7-->0,15->8.  Table 39, page 84 of the SPI-2 SCSI spec, T10 Project 1142D,
rev 20a.  Current rev at T10 is 20b.

Visit http://www.symbios.com/t10/ for the specs...

cheers,
Kevin

IntraServer Technology, Inc.
508.429.0425 x 241
mocklin@intraserver.com
http://www.intraserver.com/


> -----Original Message-----
> From: Phil Carmody [mailto:carmody@cpd.ntc.nokia.com]
> Sent: Friday, May 14, 1999 1:05 PM
> To: axp-list@redhat.com
> Subject: Re: Problems with SCSI tapes.
>
>
> >>>>> "Chris" == Chris Price <cprice@its.to> writes:
> Chris> 	I have tape drive (travan, and DAT) in various
> machines at varying SCSI
> Chris> id's in the 4,5,6 range. AFAIK, the scsi bus
> prioritizes i/o requests
> Chris> based on scsi id (please correct me if I am wrong here
> guys/gals) with 0
> Chris> receiving a higher priority than 1, 1 than 2 and so
> on. So on a mixed
> Chris> bus of hard drives and tape units, it is 'better'(but
> not required) to
> Chris> have lower priority system devices such as tapes and
> cdroms sitting at
> Chris> higher numbers (such as 4,5 or 6).
>
> I was under the impression that the priority was in the other
> order, with a
> asymptote between 7 and 8. So it goes (highest priority) 7 ..
> 0 15 .. 8.
> The reason for the wraparound/gap being the fact that 8 bit
> devices can't
> detect devices with ids 8-15 request the bus, so 8-15 must back down.
>
> I can't cite anything to back this up I'm afraid, but I would
> have assumed
> that the SCSI card would be given the highest priority, and
> it has Id 7 on
> every SCSI setup I've encountered.
>
> So, put your swap on device with Id 6 etc...
>
> Phil
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problems with SCSI tapes.
  1999-05-14 17:04   ` Phil Carmody
  1999-05-14 18:12     ` SCSI ID priorities (was: Re: Problems with SCSI tapes.) Kevin Mocklin
@ 1999-05-14 18:24     ` Chris Price
  1999-05-15 13:48       ` Jaap Schellekens
  1 sibling, 1 reply; 7+ messages in thread
From: Chris Price @ 1999-05-14 18:24 UTC (permalink / raw)
  To: axp-list



Phil Carmody wrote:
> 
> I was under the impression that the priority was in the other order, with a
> asymptote between 7 and 8. So it goes (highest priority) 7 .. 0 15 .. 8.
> The reason for the wraparound/gap being the fact that 8 bit devices can't
> detect devices with ids 8-15 request the bus, so 8-15 must back down.
> 
> I can't cite anything to back this up I'm afraid, but I would have assumed
> that the SCSI card would be given the highest priority, and it has Id 7 on
> every SCSI setup I've encountered.
> 
> So, put your swap on device with Id 6 etc...

	I stand corrected.

	On a somewhat Alpha related note (simply for discussion -> I am always
looking for critiques/suggestions on how to improve performance);

	I have a pair of xl300 21164 series machines with on board NCR53c810
fast scsi-2 controllers. What I did to improve performance on my disk
subsystem was to put my cdroms, tape backups, and other traditionally
'slow' scsi devices on the builtin scsi controller and then went out and
purchased a QLogic 1040B UW controller for each machine which runs my
system and user space disks (2xseagate cheetah 9gb). I do however have
the cheetahs at scsi ID's 0 & 1 on each machine.

	I am very pleased with the performance of these machines (especially
with the 256 bit memory datapath enabled).

	Comments/suggestions? (other than 'QLogic sukz' or 'Seagate sukz' :) )

	Chris
__________________________________________________________________________
Pournelle's Law: 
If you do not know what you are doing, deal with people who do.
--------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problems with SCSI tapes.
  1999-05-14 18:24     ` Problems with SCSI tapes Chris Price
@ 1999-05-15 13:48       ` Jaap Schellekens
  0 siblings, 0 replies; 7+ messages in thread
From: Jaap Schellekens @ 1999-05-15 13:48 UTC (permalink / raw)
  To: axp-list




On Fri, 14 May 1999, Chris Price wrote:

> 	I have a pair of xl300 21164 series machines with on board NCR53c810
> fast scsi-2 controllers. What I did to improve performance on my disk
> subsystem was to put my cdroms, tape backups, and other traditionally
> 'slow' scsi devices on the builtin scsi controller and then went out and
> purchased a QLogic 1040B UW controller for each machine which runs my
> system and user space disks (2xseagate cheetah 9gb). I do however have
> the cheetahs at scsi ID's 0 & 1 on each machine.
> 
> 	I am very pleased with the performance of these machines (especially
> with the 256 bit memory datapath enabled).

256 bit? I thought the XLT has a 128 bit (+ ECC) datapath. Did a miss out
on anything? If so, i would love to know how to enable this.

Thanks -- Jaap

|Vrije Universiteit, De Boelelaan 1085, 1081 HV Amsterdam NL|
|Jaap Schellekens               | E-mail:     schj@geo.vu.nl|
|Hydro(geo)logy Dept.           | Fax:        +31 20 6462457|
|Inst. of Earth Sc.             | Voice:      +31 20 4447287|



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-05-15 14:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-14  8:35 Problems with SCSI tapes Ray Kiesbrink (ETM)
1999-05-14 15:49 ` Chris Price
1999-05-14 17:04   ` Phil Carmody
1999-05-14 18:12     ` SCSI ID priorities (was: Re: Problems with SCSI tapes.) Kevin Mocklin
1999-05-14 18:24     ` Problems with SCSI tapes Chris Price
1999-05-15 13:48       ` Jaap Schellekens
1999-05-14 17:04   ` Alvin Starr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox