From owner-freebsd-questions@FreeBSD.ORG Mon Jun 14 09:13:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7899416A4CE for ; Mon, 14 Jun 2004 09:13:32 +0000 (GMT) Received: from gw.woopwoop.com (gw.woopwoop.com [203.18.85.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF9F243D2D for ; Mon, 14 Jun 2004 09:13:28 +0000 (GMT) (envelope-from raymond@woopwoop.com) Received: from unixworks.com.au (oneman.lnk.telstra.net [139.130.45.175]) by gw.woopwoop.com (8.12.6/8.11.6) with SMTP id i5E9D5jn018407 for freebsd-questions@FreeBSD.org; Mon, 14 Jun 2004 19:13:08 +1000 (EST) (envelope-from raymond@woopwoop.com) Date: Mon, 14 Jun 2004 19:13:05 +1000 (EST) From: raymond@www.woopwoop.com Message-Id: <200406140913.i5E9D5jn018407@gw.woopwoop.com> Subj: ATAPICAM - Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1 To: freebsd-questions@FreeBSD.org Subject: ATAPICAM - Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 09:13:32 -0000 I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system. The following is part of the kernel build: # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicam # SCSI peripherals device scbus # SCSI bus (required for SCSI) device sa # Sequential Access (tape etc) device cd # CD dmesg includes: GEOM: create disk ad0 dp=0xc43f8760 ad0: 114473MB [232581/16/63] at ata0-master UDMA100 GEOM: create disk cd0 dp=0xc44e7600 sa0 at ata1 bus 0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 3.300MB/s transfers SMP: AP CPU #1 Launched! cd0 at ata1 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present A dump appears to work: monster# mt rew monster# dump -ua0 -b64 /usr DUMP: WARNING: should use -L when dumping live filesystems! DUMP: Date of this level 0 dump: Mon Jun 14 18:45:49 2004 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/ad0s1f (/usr) to /dev/sa0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1668552 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 1800569 tape blocks on 1 volume DUMP: finished in 262 seconds, throughput 6872 KBytes/sec DUMP: level 0 dump on Mon Jun 14 18:45:49 2004 DUMP: Closing /dev/sa0 DUMP: DUMP IS DONE But restore does this: monster# mt rew monster# restore -t -b 64 Mount tape volume 2 Enter ``none'' if there are no more tapes otherwise enter tape name (default: /dev/sa0) none Tape read error while trying to resynchronize continue? [yn] y continuation failed: Bad file descriptor I have tried quite a number of differing things... Any hints or suggestions welcome. Ray Newman