Date: Mon, 14 Jun 2004 19:13:05 +1000 (EST) From: raymond@www.woopwoop.com To: freebsd-questions@FreeBSD.org Subject: ATAPICAM - Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1 Message-ID: <200406140913.i5E9D5jn018407@gw.woopwoop.com>
next in thread | raw e-mail | index | archive | help
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 <ST3120026A> [232581/16/63] at ata0-master UDMA100 GEOM: create disk cd0 dp=0xc44e7600 sa0 at ata1 bus 0 target 0 lun 0 sa0: <SONY SDX-420C 0101> 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: <SONY CD-RW CRX175A1 5YS3> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406140913.i5E9D5jn018407>