Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SCSI Tape problems
@ 1998-08-02  3:41 Brian E.W. Wood
  0 siblings, 0 replies; 17+ messages in thread
From: Brian E.W. Wood @ 1998-08-02  3:41 UTC (permalink / raw)
  To: axp-list


Any SCSI gurus out there?

I have a 164SX system, running RH5.0 with kernel 2.0.33 with the gatekeeper
patches.

I'm using an NCR53C860 controller with a hard drive, a Jaz drive, a scanner and
a Conner CTMS-3200 SCSI tape drive. The buss has an active terminator on the
external chain. Other than the following I have had no scsi-related problems
(that I know of).

The problem is that when tarring to the tape device I will get a "can't write
to device" error. This occurs at seemingly random places, never the same place
twice. Sometimes it gets almost all the way through the backup and sometimes it
errors out right away. I clean the drive before each backup. The tapes are new.

I'm using the NCR53C8XX driver.

I have read that when using a tape drive you must be sure to enable device
disconnects but make config never asks me if I want this or not. I have enabled
tagged command cueing and the synchronous speed is set to 20Mhz.

Any suggestions? I'm planning to add an NCR53C875 controller for a new
ultra-wide drive but I would keep the tape drive on the old controller.

I've thought of trying the NCR53c7,8XX driver to see if I still have the
problem, does this make sense?

I have not ruled out a hardware problem with the tape drive, I've had it for
quite a while.

Any suggestions appreciated.



---
Brian E.W. Wood  beww@intac.com


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

* RE: SCSI Tape problems
@ 1998-08-03 16:53 Lark, Dan  -  CTAC
  0 siblings, 0 replies; 17+ messages in thread
From: Lark, Dan  -  CTAC @ 1998-08-03 16:53 UTC (permalink / raw)
  To: axp-list@redhat.com

I can tell you that the Conner CTMS-3200 may be the problem. I had a
real hard time getting it to go under Intel Linux. Finally had to drop
back to an old AHA-1542 to get it to work. Same symptoms you had. Even
tried to enable tagged command cueing.

The problem from what I understand is that it simply cannot keep up with
that data being sent to it. Supposedly Connor kludged the thing from
being extensibly a floppy backup device (slow I/O) to a SCSI (and on
another model IDE) device.

In any case, I picked up a used DAT that works just fine.

-dan

P.S. Long term media availability for the Connor may become an issue, as
Seagate seems to have fallen in love with the Travan stuff. Also used
DAT drives don't really cost that much.


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

* SCSI  Tape problems
@ 2001-10-02 18:32 Daniel Green
  2001-10-02 19:03 ` W Bauske
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Daniel Green @ 2001-10-02 18:32 UTC (permalink / raw)
  To: AXP List

I am trying to use a scsi tape drive to backup/read data/write data.   I
am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
anything.

dd if=/dev/st0 of=test.raw
dd: reading `/dev/st0': Input/output error
0+0 records in
0+0 records out
dd: closing input file `/dev/st0': Input/output error

If I use tar to say copy some files to the tape, it will work for about
10 minutes before freezing up.  I have to hard boot the machine to get
it back.  Anybody have any ideas.

Thanks,
Dan





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

* Re: SCSI  Tape problems
  2001-10-02 19:03 ` W Bauske
@ 2001-10-02 19:02   ` Matthew Jacob
  2001-10-02 19:46     ` W Bauske
  2001-10-02 20:20   ` Daniel Green
  1 sibling, 1 reply; 17+ messages in thread
From: Matthew Jacob @ 2001-10-02 19:02 UTC (permalink / raw)
  To: axp-list

Not meaning to spam or oversell... You could always try my QLogic driver
instead- it seems to handle tapes && FC stuff fine.

On Tue, 2 Oct 2001, W Bauske wrote:

>
> Qlogic driver doesn't support dis-connect re-connect last I tried
> so they have problems with tape drives and  cd-burners.
>
> Use a Symbios based card for the tape drive instead. I've attached
> many kinds of tape drives to Alphas and x86 Linux using Symbios.
>
>
> Wes
>
> Daniel Green wrote:
> >
> > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > anything.
> >
> > dd if=/dev/st0 of=test.raw
> > dd: reading `/dev/st0': Input/output error
> > 0+0 records in
> > 0+0 records out
> > dd: closing input file `/dev/st0': Input/output error
> >
> > If I use tar to say copy some files to the tape, it will work for about
> > 10 minutes before freezing up.  I have to hard boot the machine to get
> > it back.  Anybody have any ideas.
> >
> > Thanks,
> > Dan
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>




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

* Re: SCSI  Tape problems
  2001-10-02 18:32 Daniel Green
@ 2001-10-02 19:03 ` W Bauske
  2001-10-02 19:02   ` Matthew Jacob
  2001-10-02 20:20   ` Daniel Green
  2001-10-03 13:49 ` Nelson Brito
  2001-10-03 15:11 ` Daniel Green
  2 siblings, 2 replies; 17+ messages in thread
From: W Bauske @ 2001-10-02 19:03 UTC (permalink / raw)
  To: axp-list

Qlogic driver doesn't support dis-connect re-connect last I tried
so they have problems with tape drives and  cd-burners.

Use a Symbios based card for the tape drive instead. I've attached
many kinds of tape drives to Alphas and x86 Linux using Symbios.


Wes

Daniel Green wrote:
> 
> I am trying to use a scsi tape drive to backup/read data/write data.   I
> am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> anything.
> 
> dd if=/dev/st0 of=test.raw
> dd: reading `/dev/st0': Input/output error
> 0+0 records in
> 0+0 records out
> dd: closing input file `/dev/st0': Input/output error
> 
> If I use tar to say copy some files to the tape, it will work for about
> 10 minutes before freezing up.  I have to hard boot the machine to get
> it back.  Anybody have any ideas.
> 
> Thanks,
> Dan
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI  Tape problems
  2001-10-02 19:02   ` Matthew Jacob
@ 2001-10-02 19:46     ` W Bauske
  2001-10-02 19:47       ` Matthew Jacob
  0 siblings, 1 reply; 17+ messages in thread
From: W Bauske @ 2001-10-02 19:46 UTC (permalink / raw)
  To: axp-list

Hi Matt,

What versions of the kernel have your driver? 

Wes

Matthew Jacob wrote:
> 
> Not meaning to spam or oversell... You could always try my QLogic driver
> instead- it seems to handle tapes && FC stuff fine.
> 
> On Tue, 2 Oct 2001, W Bauske wrote:
> 
> >
> > Qlogic driver doesn't support dis-connect re-connect last I tried
> > so they have problems with tape drives and  cd-burners.
> >
> > Use a Symbios based card for the tape drive instead. I've attached
> > many kinds of tape drives to Alphas and x86 Linux using Symbios.
> >
> >
> > Wes
> >
> > Daniel Green wrote:
> > >
> > > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > > anything.
> > >
> > > dd if=/dev/st0 of=test.raw
> > > dd: reading `/dev/st0': Input/output error
> > > 0+0 records in
> > > 0+0 records out
> > > dd: closing input file `/dev/st0': Input/output error
> > >
> > > If I use tar to say copy some files to the tape, it will work for about
> > > 10 minutes before freezing up.  I have to hard boot the machine to get
> > > it back.  Anybody have any ideas.
> > >
> > > Thanks,
> > > Dan
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI  Tape problems
  2001-10-02 19:46     ` W Bauske
@ 2001-10-02 19:47       ` Matthew Jacob
  2001-10-02 22:42         ` Matthew Jacob
  0 siblings, 1 reply; 17+ messages in thread
From: Matthew Jacob @ 2001-10-02 19:47 UTC (permalink / raw)
  To: axp-list

None are directly integrated into the kernel source.

The last kernels I have tested with was v2.4.9 for intel... I haven't
fired up alpha for a while...probably was v2.4.5... today would be
a good day for me to do that.

ftp://ftp.feral.com/pub/isp/isp_dist.tgz
bk://blade.feral.com:9002

-matt


On Tue, 2 Oct 2001, W Bauske wrote:

>
> Hi Matt,
>
> What versions of the kernel have your driver?
>
> Wes
>
> Matthew Jacob wrote:
> >
> > Not meaning to spam or oversell... You could always try my QLogic driver
> > instead- it seems to handle tapes && FC stuff fine.
> >
> > On Tue, 2 Oct 2001, W Bauske wrote:
> >
> > >
> > > Qlogic driver doesn't support dis-connect re-connect last I tried
> > > so they have problems with tape drives and  cd-burners.
> > >
> > > Use a Symbios based card for the tape drive instead. I've attached
> > > many kinds of tape drives to Alphas and x86 Linux using Symbios.
> > >
> > >
> > > Wes
> > >
> > > Daniel Green wrote:
> > > >
> > > > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > > > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > > > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > > > anything.
> > > >
> > > > dd if=/dev/st0 of=test.raw
> > > > dd: reading `/dev/st0': Input/output error
> > > > 0+0 records in
> > > > 0+0 records out
> > > > dd: closing input file `/dev/st0': Input/output error
> > > >
> > > > If I use tar to say copy some files to the tape, it will work for about
> > > > 10 minutes before freezing up.  I have to hard boot the machine to get
> > > > it back.  Anybody have any ideas.
> > > >
> > > > Thanks,
> > > > Dan
> > > >
> > > > _______________________________________________
> > > > Axp-list mailing list
> > > > Axp-list@redhat.com
> > > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> > >
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>




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

* Re: SCSI  Tape problems
  2001-10-02 19:03 ` W Bauske
  2001-10-02 19:02   ` Matthew Jacob
@ 2001-10-02 20:20   ` Daniel Green
  2001-10-02 21:01     ` Daniel Green
  1 sibling, 1 reply; 17+ messages in thread
From: Daniel Green @ 2001-10-02 20:20 UTC (permalink / raw)
  To: axp-list

Ok, so my plan know is to install an adaptec 29160 and plug the tape drive
into that.
anybody know any problems with this?

Dan


W Bauske wrote:

> Qlogic driver doesn't support dis-connect re-connect last I tried
> so they have problems with tape drives and  cd-burners.
>
> Use a Symbios based card for the tape drive instead. I've attached
> many kinds of tape drives to Alphas and x86 Linux using Symbios.
>
> Wes
>
> Daniel Green wrote:
> >
> > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > anything.
> >
> > dd if=/dev/st0 of=test.raw
> > dd: reading `/dev/st0': Input/output error
> > 0+0 records in
> > 0+0 records out
> > dd: closing input file `/dev/st0': Input/output error
> >
> > If I use tar to say copy some files to the tape, it will work for about
> > 10 minutes before freezing up.  I have to hard boot the machine to get
> > it back.  Anybody have any ideas.
> >
> > Thanks,
> > Dan
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI  Tape problems
  2001-10-02 20:20   ` Daniel Green
@ 2001-10-02 21:01     ` Daniel Green
  2001-10-02 21:16       ` W Bauske
  0 siblings, 1 reply; 17+ messages in thread
From: Daniel Green @ 2001-10-02 21:01 UTC (permalink / raw)
  To: axp-list

Well this seemed to be the plan.  With the Sony AIT 300C plugged into the
Adaptec 29160 it behaves fine.  I still can't do a dd though.  I must need dd
lessons. But tar seems to work fine.

Thanks to all for the help.
Dan


Daniel Green wrote:

> Ok, so my plan know is to install an adaptec 29160 and plug the tape drive
> into that.
> anybody know any problems with this?
>
> Dan
>
> W Bauske wrote:
>
> > Qlogic driver doesn't support dis-connect re-connect last I tried
> > so they have problems with tape drives and  cd-burners.
> >
> > Use a Symbios based card for the tape drive instead. I've attached
> > many kinds of tape drives to Alphas and x86 Linux using Symbios.
> >
> > Wes
> >
> > Daniel Green wrote:
> > >
> > > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > > anything.
> > >
> > > dd if=/dev/st0 of=test.raw
> > > dd: reading `/dev/st0': Input/output error
> > > 0+0 records in
> > > 0+0 records out
> > > dd: closing input file `/dev/st0': Input/output error
> > >
> > > If I use tar to say copy some files to the tape, it will work for about
> > > 10 minutes before freezing up.  I have to hard boot the machine to get
> > > it back.  Anybody have any ideas.
> > >
> > > Thanks,
> > > Dan
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI  Tape problems
  2001-10-02 21:01     ` Daniel Green
@ 2001-10-02 21:16       ` W Bauske
  0 siblings, 0 replies; 17+ messages in thread
From: W Bauske @ 2001-10-02 21:16 UTC (permalink / raw)
  To: axp-list

Perhaps your dd needs a 'bs=64k' or similar. Your drive may be in
fixed block size mode. dd doesn't guarantee it's output block size
unless you add the 'bs' option.

You can probably set the drive into variable block mode with
'mt -f /dev/st0 setblk 0'

man mt will tell you more.

tar by default uses 10240 bytes per block which will work with most
fixed block drives.

man tar for more info.

Wes

Daniel Green wrote:
> 
> Well this seemed to be the plan.  With the Sony AIT 300C plugged into the
> Adaptec 29160 it behaves fine.  I still can't do a dd though.  I must need dd
> lessons. But tar seems to work fine.
> 
> Thanks to all for the help.
> Dan
> 
> Daniel Green wrote:
> 
> > Ok, so my plan know is to install an adaptec 29160 and plug the tape drive
> > into that.
> > anybody know any problems with this?
> >
> > Dan
> >
> > W Bauske wrote:
> >
> > > Qlogic driver doesn't support dis-connect re-connect last I tried
> > > so they have problems with tape drives and  cd-burners.
> > >
> > > Use a Symbios based card for the tape drive instead. I've attached
> > > many kinds of tape drives to Alphas and x86 Linux using Symbios.
> > >
> > > Wes
> > >
> > > Daniel Green wrote:
> > > >
> > > > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > > > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > > > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > > > anything.
> > > >
> > > > dd if=/dev/st0 of=test.raw
> > > > dd: reading `/dev/st0': Input/output error
> > > > 0+0 records in
> > > > 0+0 records out
> > > > dd: closing input file `/dev/st0': Input/output error
> > > >
> > > > If I use tar to say copy some files to the tape, it will work for about
> > > > 10 minutes before freezing up.  I have to hard boot the machine to get
> > > > it back.  Anybody have any ideas.
> > > >
> > > > Thanks,
> > > > Dan
> > > >
> > > > _______________________________________________
> > > > Axp-list mailing list
> > > > Axp-list@redhat.com
> > > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI  Tape problems
  2001-10-02 19:47       ` Matthew Jacob
@ 2001-10-02 22:42         ` Matthew Jacob
  0 siblings, 0 replies; 17+ messages in thread
From: Matthew Jacob @ 2001-10-02 22:42 UTC (permalink / raw)
  To: axp-list


On Tue, 2 Oct 2001, Matthew Jacob wrote:

>
> None are directly integrated into the kernel source.
>
> The last kernels I have tested with was v2.4.9 for intel... I haven't
> fired up alpha for a while...probably was v2.4.5... today would be
> a good day for me to do that.

Yeah, works with v2.4.9 fine.

>
> ftp://ftp.feral.com/pub/isp/isp_dist.tgz
> bk://blade.feral.com:9002
>
> -matt
>
>
> On Tue, 2 Oct 2001, W Bauske wrote:
>
> >
> > Hi Matt,
> >
> > What versions of the kernel have your driver?
> >
> > Wes
> >
> > Matthew Jacob wrote:
> > >
> > > Not meaning to spam or oversell... You could always try my QLogic driver
> > > instead- it seems to handle tapes && FC stuff fine.
> > >
> > > On Tue, 2 Oct 2001, W Bauske wrote:
> > >
> > > >
> > > > Qlogic driver doesn't support dis-connect re-connect last I tried
> > > > so they have problems with tape drives and  cd-burners.
> > > >
> > > > Use a Symbios based card for the tape drive instead. I've attached
> > > > many kinds of tape drives to Alphas and x86 Linux using Symbios.
> > > >
> > > >
> > > > Wes
> > > >
> > > > Daniel Green wrote:
> > > > >
> > > > > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > > > > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > > > > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > > > > anything.
> > > > >
> > > > > dd if=/dev/st0 of=test.raw
> > > > > dd: reading `/dev/st0': Input/output error
> > > > > 0+0 records in
> > > > > 0+0 records out
> > > > > dd: closing input file `/dev/st0': Input/output error
> > > > >
> > > > > If I use tar to say copy some files to the tape, it will work for about
> > > > > 10 minutes before freezing up.  I have to hard boot the machine to get
> > > > > it back.  Anybody have any ideas.
> > > > >
> > > > > Thanks,
> > > > > Dan
> > > > >
> > > > > _______________________________________________
> > > > > Axp-list mailing list
> > > > > Axp-list@redhat.com
> > > > > https://listman.redhat.com/mailman/listinfo/axp-list
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Axp-list mailing list
> > > > Axp-list@redhat.com
> > > > https://listman.redhat.com/mailman/listinfo/axp-list
> > > >
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> >
>
>




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

* Re: SCSI  Tape problems
  2001-10-03 13:49 ` Nelson Brito
@ 2001-10-03 13:20   ` alvin
  2001-10-03 14:16     ` Nelson Brito
  0 siblings, 1 reply; 17+ messages in thread
From: alvin @ 2001-10-03 13:20 UTC (permalink / raw)
  To: axp-list

Nelson Brito wrote:
> 
> -> dd if=/dev/st0 of=test.raw
> -> dd: reading `/dev/st0': Input/output error
> -> 0+0 records in
> -> 0+0 records out
> -> dd: closing input file `/dev/st0': Input/output error
> 
> sorry for the dumb sugestion but why don't you try to
> write into the tape instead of reading from it?
> perhaps you're reading from an empty tape!

Are you sure you have the block size set correctly?
I have had problems at times when the tape has been writen on a system
that will write blocks other than 512 bytes. 

try "mt -f /dev/st? setblk 0" and then read the tape.

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




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

* Re: SCSI  Tape problems
  2001-10-02 18:32 Daniel Green
  2001-10-02 19:03 ` W Bauske
@ 2001-10-03 13:49 ` Nelson Brito
  2001-10-03 13:20   ` alvin
  2001-10-03 15:11 ` Daniel Green
  2 siblings, 1 reply; 17+ messages in thread
From: Nelson Brito @ 2001-10-03 13:49 UTC (permalink / raw)
  To: AXP List

-> dd if=/dev/st0 of=test.raw
-> dd: reading `/dev/st0': Input/output error
-> 0+0 records in
-> 0+0 records out
-> dd: closing input file `/dev/st0': Input/output error

sorry for the dumb sugestion but why don't you try to
write into the tape instead of reading from it?
perhaps you're reading from an empty tape!

regards, nelson




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

* Re: SCSI  Tape problems
  2001-10-03 13:20   ` alvin
@ 2001-10-03 14:16     ` Nelson Brito
  2001-10-03 14:41       ` alvin
  0 siblings, 1 reply; 17+ messages in thread
From: Nelson Brito @ 2001-10-03 14:16 UTC (permalink / raw)
  To: axp-list

-> > -> 0+0 records out
-> > -> dd: closing input file `/dev/st0': Input/output error
...

-> Are you sure you have the block size set correctly?
-> I have had problems at times when the tape has been writen on a system
-> that will write blocks other than 512 bytes. 
-> 
-> try "mt -f /dev/st? setblk 0" and then read the tape.

I have a tape recorder connected to an adaptec scsi card (aha 294X) and
when i forget to tell the block size i wrote it gives me garbish, but
gives me something... it never says 0+0 records out.

nelson




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

* Re: SCSI  Tape problems
  2001-10-03 14:16     ` Nelson Brito
@ 2001-10-03 14:41       ` alvin
  0 siblings, 0 replies; 17+ messages in thread
From: alvin @ 2001-10-03 14:41 UTC (permalink / raw)
  To: axp-list

Nelson Brito wrote:
> 
> -> > -> 0+0 records out
> -> > -> dd: closing input file `/dev/st0': Input/output error
> ...
> 
> -> Are you sure you have the block size set correctly?
> -> I have had problems at times when the tape has been writen on a system
> -> that will write blocks other than 512 bytes.
> ->
> -> try "mt -f /dev/st? setblk 0" and then read the tape.
> 
> I have a tape recorder connected to an adaptec scsi card (aha 294X) and
> when i forget to tell the block size i wrote it gives me garbish, but
> gives me something... it never says 0+0 records out.
> 
> nelson

From my experiance I have found that an "Input/output error"  on an
otherwise good tape drive implys a block size problem.

Do any errors show up with dmesg?

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




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

* Re: SCSI  Tape problems
  2001-10-02 18:32 Daniel Green
  2001-10-02 19:03 ` W Bauske
  2001-10-03 13:49 ` Nelson Brito
@ 2001-10-03 15:11 ` Daniel Green
  2001-10-03 15:35   ` Jay Estabrook
  2 siblings, 1 reply; 17+ messages in thread
From: Daniel Green @ 2001-10-03 15:11 UTC (permalink / raw)
  To: axp-list

Alright,

Everything is working now.  Thanks to Wes for pointing out that I was
leaving the block size of my dd command.  I am disapointed that the QLogic
controller doesn't work,  I now have two controllers one for tapes, one for
disks.

Has anyone been able to get SRM to recognize the Adaptec controllers.  When
I do a sh dev at srm it only sees the scsi devices on the qlogic
controller, however linux has no problem accessing and using both.  It
would be nice to reduce down to the one adaptec controller if the hardware
would support booting from it.

Thanks again,
Dan


Daniel Green wrote:

> I am trying to use a scsi tape drive to backup/read data/write data.   I
> am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> anything.
>
> dd if=/dev/st0 of=test.raw
> dd: reading `/dev/st0': Input/output error
> 0+0 records in
> 0+0 records out
> dd: closing input file `/dev/st0': Input/output error
>
> If I use tar to say copy some files to the tape, it will work for about
> 10 minutes before freezing up.  I have to hard boot the machine to get
> it back.  Anybody have any ideas.
>
> Thanks,
> Dan
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI  Tape problems
  2001-10-03 15:11 ` Daniel Green
@ 2001-10-03 15:35   ` Jay Estabrook
  0 siblings, 0 replies; 17+ messages in thread
From: Jay Estabrook @ 2001-10-03 15:35 UTC (permalink / raw)
  To: axp-list

On Wed, Oct 03, 2001 at 11:11:26AM -0400, Daniel Green wrote:
> 
> Has anyone been able to get SRM to recognize the Adaptec controllers.  When
> I do a sh dev at srm it only sees the scsi devices on the qlogic
> controller, however linux has no problem accessing and using both.  It
> would be nice to reduce down to the one adaptec controller if the hardware
> would support booting from it.

It all depends on whether the SRM console has an Adaptec driver or not.

AFAIK, these are the ones I can personally vouch for:

	all the EV6-based machines
	LX164
	SX164

And even for the above, it may require updating to the latest version
of SRM.

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------




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

end of thread, other threads:[~2001-10-03 15:42 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-02  3:41 SCSI Tape problems Brian E.W. Wood
  -- strict thread matches above, loose matches on Subject: below --
1998-08-03 16:53 Lark, Dan  -  CTAC
2001-10-02 18:32 Daniel Green
2001-10-02 19:03 ` W Bauske
2001-10-02 19:02   ` Matthew Jacob
2001-10-02 19:46     ` W Bauske
2001-10-02 19:47       ` Matthew Jacob
2001-10-02 22:42         ` Matthew Jacob
2001-10-02 20:20   ` Daniel Green
2001-10-02 21:01     ` Daniel Green
2001-10-02 21:16       ` W Bauske
2001-10-03 13:49 ` Nelson Brito
2001-10-03 13:20   ` alvin
2001-10-03 14:16     ` Nelson Brito
2001-10-03 14:41       ` alvin
2001-10-03 15:11 ` Daniel Green
2001-10-03 15:35   ` Jay Estabrook

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