From owner-freebsd-bugs Sat Oct 21 21:50: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 402C237B4C5 for ; Sat, 21 Oct 2000 21:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA30367; Sat, 21 Oct 2000 21:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from vampire.gothic.net.au (vampire.gothic.net.au [202.182.72.18]) by hub.freebsd.org (Postfix) with ESMTP id E909737B4CF for ; Sat, 21 Oct 2000 21:41:12 -0700 (PDT) Received: (from sean@localhost) by vampire.gothic.net.au (8.11.1/8.11.1) id e9M4f4700675; Sun, 22 Oct 2000 15:41:04 +1100 (EST) (envelope-from sean) Message-Id: <200010220441.e9M4f4700675@vampire.gothic.net.au> Date: Sun, 22 Oct 2000 15:41:04 +1100 (EST) From: sean@gothic.net.au Reply-To: sean@gothic.net.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/22204: ATA time-outs when using Seagate STT/20000A TR-5 ATAPI tape Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22204 >Category: kern >Synopsis: ATA time-outs when using Seagate STT/20000A TR-5 ATAPI tape >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 21 21:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Sean Winn >Release: FreeBSD 4.1.1-STABLE i386 >Organization: >Environment: atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=03 status0=50 status1=50 ata0: mask=03 status0=00 status1=10 ata0: devices = 0xc ata0: at 0x1f0 irq 14 on atapci0 ata0-master: piomode=3 dmamode=1 udmamode=-1 dmaflag=1 ata0-master: success setting PIO3 on generic chip acd0: CDROM drive at ata0 as master acd0: read 1376KB/s (1376KB/s), 128KB buffer, PIO3 acd0: Reads: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM unknown medium, unlocked ata0-slave: piomode=4 dmamode=-1 udmamode=-1 dmaflag=0 ata0-slave: success setting PIO4 on generic chip ast0: tape drive at ata0 as slave ast0: 1000KB/s, transfer limit 108 blks, 324KB buffer, PIO4 ast0: Unknown media (0xb7), reverse, qfa, ecc, 512b >Description: During backups or any extended write sequence to the drive, the following will be produced: ast0: WRITE command timeout - resetting ata0: resetting devices .. ata0: mask=03 status0=00 status1=10 ata0-master: success setting PIO3 on generic chip ata0-slave: timeout waiting for command=ef s=11 e=60 ata0-slave: failed setting PIO4 on generic chip ata0-slave: using PIO mode set by BIOS done At which point dump will abort write an I/O error Small backups work successfully; the drive probably recalibrates during a long dump, which makes for an extra long write cycle. Similarly, doing a mt retension will produce ast0: TEST_UNIT_READY command timeout - resetting ata0: resetting devices .. ata0: mask=03 status0=00 status1=10 ata0-master: success setting PIO3 on generic chip ata0-slave: timeout waiting for command=ef s=11 e=60 ata0-slave: failed setting PIO4 on generic chip ata0-slave: using PIO mode set by BIOS done And return to the prompt with 'Input/output error' Tape drive and tape successfully pass a 8000M read/write test using the Seagate Diagnostics Utility 2.1 under DOS This is not specific to the ATA controller (an Aladdin chipset produces the same results). >How-To-Repeat: Try a backup using that model tape drive. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message