* Problems with DLT tape drive.
@ 2002-05-27 2:11 Andrew R Reid
0 siblings, 0 replies; 4+ messages in thread
From: Andrew R Reid @ 2002-05-27 2:11 UTC (permalink / raw)
To: linux-tape, linux-scsi
Hi,
I hope that I have come to the right place. I have spent the whole
weekend trying to fix a problem with a DLT Tape drive that I have bought
second hand.
I keep on getting the following message when I try to back up to it.
tar: Removing leading `/' from member names
tar: /dev/st0: Cannot write: Input/output error
tar: Error is not recoverable: exiting now
This error occurs at a random time into the backup. It ssems not to
matter if I have compression turned on or off on the tape drive and
doesn't seem to matter if the data is easily compressible or not.
The kernel reports the following.
May 27 11:44:42 cpserver kernel: (scsi2:0:4:0) Data overrun detected in Data-Out phase, tag 0;
May 27 11:44:42 cpserver kernel: Have seen Data Phase. Length=10240, NumSGs=1.
May 27 11:44:42 cpserver kernel: Raw SCSI Command: 0x0a 00 00 28 00 00
May 27 11:44:42 cpserver kernel: st0: Error 27070000 (sugg. bt 0x20, driver bt 0x27, host bt 0x7).
I have the following scsi controlers on my system.
Intel Lancewood onboard #1
Adaptec AIC7xxx driver version: 5.1.33/3.2.4
Compile Options:
TCQ Enabled By Default : Disabled
AIC7XXX_PROC_STATS : Enabled
AIC7XXX_RESET_DELAY : 5
Adapter Configuration:
SCSI Adapter: Adaptec AIC-7896/7 Ultra2 SCSI host adapter
Ultra-2 LVD/SE Wide Controller Channel A at PCI 0/12/0
PCI MMAPed I/O Base: 0xf4120000
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 19
SCBs: Active 0, Max Active 1,
Allocated 15, HW 32, Page 255
Interrupts: 155498
BIOS Control Word: 0x18a6
Adapter Control Word: 0x1c5e
Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
Ultra Enable Flags: 0x0000
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
Tagged Queue By Device array for aic7xxx host instance 0:
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
Actual queue depth per device for aic7xxx host instance 0:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
Statistics:
(scsi0:0:0:0)
Device using Wide/Sync transfers at 80.0 MByte/sec, offset 31
Transinfo settings: current(10/31/1/0), goal(10/127/1/0), user(10/127/1/0)
Total transfers 155444 (90680 reads and 64764 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 15458 606 63034 7441 1711 943 1487 0
Writes: 24033 13752 19188 5631 1040 398 722 0
Intel Lancewood Onboard #2
Adaptec AIC7xxx driver version: 5.1.33/3.2.4
Compile Options:
TCQ Enabled By Default : Disabled
AIC7XXX_PROC_STATS : Enabled
AIC7XXX_RESET_DELAY : 5
Adapter Configuration:
SCSI Adapter: Adaptec AIC-7896/7 Ultra2 SCSI host adapter
Ultra-2 LVD/SE Wide Controller Channel B at PCI 0/12/1
PCI MMAPed I/O Base: 0xf4121000
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 19
SCBs: Active 0, Max Active 1,
Allocated 15, HW 32, Page 255
Interrupts: 30
BIOS Control Word: 0x18a6
Adapter Control Word: 0x1c5e
Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
Ultra Enable Flags: 0x0000
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
Tagged Queue By Device array for aic7xxx host instance 1:
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
Actual queue depth per device for aic7xxx host instance 1:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
Statistics:
Adaptec 2930U
Adaptec AIC7xxx driver version: 5.1.33/3.2.4
Compile Options:
TCQ Enabled By Default : Disabled
AIC7XXX_PROC_STATS : Enabled
AIC7XXX_RESET_DELAY : 5
Adapter Configuration:
SCSI Adapter: Adaptec AIC-7860 Ultra SCSI host adapter
Ultra Narrow Controller at PCI 0/13/0
PCI MMAPed I/O Base: 0xf4122000
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 17
SCBs: Active 0, Max Active 1,
Allocated 15, HW 3, Page 255
Interrupts: 4505
BIOS Control Word: 0x10b6
Adapter Control Word: 0x0057
Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
Ultra Enable Flags: 0x0000
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
Tagged Queue By Device array for aic7xxx host instance 2:
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
Actual queue depth per device for aic7xxx host instance 2:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
Statistics:
(scsi2:0:4:0)
Device using Narrow/Sync transfers at 5.0 MByte/sec, offset 15
Transinfo settings: current(50/15/0/0), goal(12/15/0/0), user(12/15/0/0)
Total transfers 4293 (2 reads and 4291 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 2 0 0 0 0
Writes: 0 0 0 4291 0 0 0 0
(scsi2:0:5:0)
Device using Narrow/Async transfers.
Transinfo settings: current(0/0/0/0), goal(255/0/0/0), user(12/15/0/0)
Total transfers 109 (90 reads and 19 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 90 0 0 0 0 0 0 0
Writes: 14 5 0 0 0 0 0 0
(scsi2:0:6:0)
Device using Narrow/Async transfers.
Transinfo settings: current(0/0/0/0), goal(255/0/0/0), user(12/15/0/0)
Total transfers 0 (0 reads and 0 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 0 0 0 0 0
Writes: 0 0 0 0 0 0 0 0
The devices I have attached are as follows.
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DNES-309170W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 04 Lun: 00
Vendor: DEC Model: DLT2000 Rev: 8528
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 05 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: J.02
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: AGFA Model: SnapScan Rev: 1.10
Type: Scanner ANSI SCSI revision: 02
I am running Debian GNU/Linux kernel 2.2.19 which I believe is the latest
2.2 stable kernel.
I have aic7xxx compiled into the running kernel, while st.o is inserted as
a module.
I have tried the buffer_kbs=128 option, as suggested in various HOWTOs and
have played with the other options for this module, but to no avail. I
don't really know what these options do, even after reading
/usr/src/linux/drivers/scsi/README.st.
I know I may be a little slow, but please bear with me.
As you can see I have a iomega zip and a Agfa snapscan connected to the
same scsi bus. I have a micro 50 to centronics 50 pin cable from the
host adaptor to the DLT drive. I have a 50 pin centronics to DB25 cable
from the DLT drive to the zip drive and a db25-db25 cable from there to
the scanner. The scanner is terminated with a db25 passive terminator.
After reading a SCSI FAQ, I have a feeling that mixing 25 pin devices with
50 pin devices may not be a good idea, but this is the only option I have
at present without playing around a good deal to use the second host
adaptor on the mainboard.
I have had no problems untill I installed the DLT drive. I have had
confirmation the the DLT drive was working up until the time I purchased
it. It was in operation in a large government department.
I am using a new tape. I cleaned the heads prior to using it.
Your feedback on this issue is very much appreciated.
Thank you to the community involved with producing the aic7xxx and
the st drivers. Also to the folk who have written the mt software. I
know many who use this software with great success.
Regards,
Andrew Reid C.P.Plating
Technical Sales Manager P O Box 1335 --------- /--- /---\
C. P. Plating Pty Ltd 222a Macathur Ave ------- / / /
Mob: +61 4 1474 9943 EAGLE FARM 4009 ----- / /----/
Direct: +61 7 3260 3260 AUSTRALIA --- / /
e-mail: andrew@cpplating.com.au Phn: +61 7 3268 3044 - |---- o / o
Fax: +61 7 3268 3433
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with DLT tape drive.
[not found] <Pine.LNX.4.21.0205271140010.5429-100000@cpserver>
@ 2002-05-27 8:55 ` Friedrich Lobenstock
2002-05-28 19:37 ` Doug Ledford
1 sibling, 0 replies; 4+ messages in thread
From: Friedrich Lobenstock @ 2002-05-27 8:55 UTC (permalink / raw)
To: Andrew R Reid; +Cc: linux-tape, linux-scsi
Andrew R Reid wrote:
> Hi,
>
> I hope that I have come to the right place. I have spent the whole
> weekend trying to fix a problem with a DLT Tape drive that I have bought
> second hand.
>
> I keep on getting the following message when I try to back up to it.
>
> tar: Removing leading `/' from member names
> tar: /dev/st0: Cannot write: Input/output error
> tar: Error is not recoverable: exiting now
>
> This error occurs at a random time into the backup. It ssems not to
> matter if I have compression turned on or off on the tape drive and
> doesn't seem to matter if the data is easily compressible or not.
>
> The kernel reports the following.
>
> May 27 11:44:42 cpserver kernel: (scsi2:0:4:0) Data overrun detected in Data-Out phase, tag 0;
> May 27 11:44:42 cpserver kernel: Have seen Data Phase. Length=10240, NumSGs=1.
> May 27 11:44:42 cpserver kernel: Raw SCSI Command: 0x0a 00 00 28 00 00
> May 27 11:44:42 cpserver kernel: st0: Error 27070000 (sugg. bt 0x20, driver bt 0x27, host bt 0x7).
>
I'm having this problem too, but with a brand new HP LTO drive.
May 25 02:39:31 backup kernel: (scsi1:A:3:0): Unexpected busfree in Message-out phase
May 25 02:39:31 backup kernel: SEQADDR == 0x168
May 25 02:39:31 backup kernel: st0: Error 70000 (sugg. bt 0x0, driver bt 0x0, host bt 0x7).
May 25 02:39:31 backup kernel: st0: Error with sense data: Current st09:00: sns = 70 5
May 25 02:39:31 backup kernel: ASC=20 ASCQ= 0
May 25 02:39:31 backup kernel: Raw sense data:0x70 0x00 0x05 0x00 0x00 0x00 0x00 0x0e 0x00 0x00 0x00 0x00 0x20 0x00 0x00 0x00 0x2c 0x01 0x00 0x00 0x00 0x00
# uname -a
Linux backup 2.4.16-4GB #1 Fri Mar 22 15:38:04 GMT 2002 i686 unknown
# lspci | grep SCSI
00:09.0 SCSI storage controller: Adaptec 7892A (rev 02)
# cat /proc/scsi/aic7xxx/1
Adaptec AIC7xxx driver version: 6.2.4
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
Channel A Target 3 Negotiation Settings
User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Goal: 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
Curr: 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
Channel A Target 3 Lun 0 Settings
Commands Queued 1875861
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
(there are no other drives connected to this controller)
PS: On linux-scsi please CC me because I'm not on the list.
--
MfG / Regards
Friedrich Lobenstock
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with DLT tape drive.
[not found] <Pine.LNX.4.21.0205271140010.5429-100000@cpserver>
2002-05-27 8:55 ` Friedrich Lobenstock
@ 2002-05-28 19:37 ` Doug Ledford
1 sibling, 0 replies; 4+ messages in thread
From: Doug Ledford @ 2002-05-28 19:37 UTC (permalink / raw)
To: Andrew R Reid; +Cc: linux-tape, linux-scsi
On Mon, May 27, 2002 at 12:11:59PM +1000, Andrew R Reid wrote:
> Hi,
>
> I hope that I have come to the right place. I have spent the whole
> weekend trying to fix a problem with a DLT Tape drive that I have bought
> second hand.
>
> I keep on getting the following message when I try to back up to it.
>
> tar: Removing leading `/' from member names
> tar: /dev/st0: Cannot write: Input/output error
> tar: Error is not recoverable: exiting now
>
> This error occurs at a random time into the backup. It ssems not to
> matter if I have compression turned on or off on the tape drive and
> doesn't seem to matter if the data is easily compressible or not.
>
> The kernel reports the following.
>
> May 27 11:44:42 cpserver kernel: (scsi2:0:4:0) Data overrun detected in Data-Out phase, tag 0;
> May 27 11:44:42 cpserver kernel: Have seen Data Phase. Length=10240, NumSGs=1.
> May 27 11:44:42 cpserver kernel: Raw SCSI Command: 0x0a 00 00 28 00 00
> May 27 11:44:42 cpserver kernel: st0: Error 27070000 (sugg. bt 0x20, driver bt 0x27, host bt 0x7).
>
[ snip ]
> As you can see I have a iomega zip and a Agfa snapscan connected to the
> same scsi bus. I have a micro 50 to centronics 50 pin cable from the
> host adaptor to the DLT drive. I have a 50 pin centronics to DB25 cable
> from the DLT drive to the zip drive and a db25-db25 cable from there to
> the scanner. The scanner is terminated with a db25 passive terminator.
>
> After reading a SCSI FAQ, I have a feeling that mixing 25 pin devices with
> 50 pin devices may not be a good idea, but this is the only option I have
> at present without playing around a good deal to use the second host
> adaptor on the mainboard.
For testing purposes you could install a terminator on the tape drive,
leaving the scanner and zip drive disconnected long enough to reboot the
machine and try a backup. The SCSI bus layout you list is somewhat
questionable as far as reliability is concerned, and this test should
eliminate a lot of the possible variances that could result in bus errors.
Another option is to configure the BIOS on the 2930 card to only allow
async transfers to the tape drive. That can help with bus errors on
questionable busses.
--
Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with DLT tape drive.
[not found] <20020528153728.C14543@redhat.com>
@ 2002-05-28 23:31 ` Andrew R Reid
0 siblings, 0 replies; 4+ messages in thread
From: Andrew R Reid @ 2002-05-28 23:31 UTC (permalink / raw)
To: Doug Ledford; +Cc: linux-tape, linux-scsi
Thank you Doug.
I did what you sugessted and it works fine. I will reconfigure my scsi
busses so that all the 25 pin scsi devices are on the same controller with
no other devices.
I suppose the reason I was having problems is that there is no termination
on the pins that arn't used in the 25 pin cables. Should have thought of
that myself!
> For testing purposes you could install a terminator on the tape drive,
> leaving the scanner and zip drive disconnected long enough to reboot the
> machine and try a backup. The SCSI bus layout you list is somewhat
> questionable as far as reliability is concerned, and this test should
> eliminate a lot of the possible variances that could result in bus errors.
> Another option is to configure the BIOS on the 2930 card to only allow
> async transfers to the tape drive. That can help with bus errors on
> questionable busses.
>
> --
> Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
> Red Hat, Inc.
> 1801 Varsity Dr.
> Raleigh, NC 27606
Andrew Reid C.P.Plating
Technical Sales Manager P O Box 1335 --------- /--- /---\
C. P. Plating Pty Ltd 222a Macathur Ave ------- / / /
Mob: +61 4 1474 9943 EAGLE FARM 4009 ----- / /----/
Direct: +61 7 3260 3260 AUSTRALIA --- / /
e-mail: andrew@cpplating.com.au Phn: +61 7 3268 3044 - |---- o / o
Fax: +61 7 3268 3433
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-05-28 23:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-27 2:11 Problems with DLT tape drive Andrew R Reid
[not found] <Pine.LNX.4.21.0205271140010.5429-100000@cpserver>
2002-05-27 8:55 ` Friedrich Lobenstock
2002-05-28 19:37 ` Doug Ledford
[not found] <20020528153728.C14543@redhat.com>
2002-05-28 23:31 ` Andrew R Reid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).