From nobody@FreeBSD.org  Sun Jun 20 11:32:11 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F13DB16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Jun 2004 11:32:11 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D62D943D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Jun 2004 11:32:11 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5KBViVp045459
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Jun 2004 11:31:44 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i5KBVihG045458;
	Sun, 20 Jun 2004 11:31:44 GMT
	(envelope-from nobody)
Message-Id: <200406201131.i5KBVihG045458@www.freebsd.org>
Date: Sun, 20 Jun 2004 11:31:44 GMT
From: Ray Newman <raymond@unixworks.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Problem with Sony AIT ATAPI Tape dirve
X-Send-Pr-Version: www-2.3

>Number:         68140
>Category:       i386
>Synopsis:       [TAPE] Problem with Sony AIT ATAPI Tape dirve
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 20 11:40:20 GMT 2004
>Closed-Date:    Mon Sep 11 13:08:38 GMT 2006
>Last-Modified:  Mon Sep 11 13:08:38 GMT 2006
>Originator:     Ray Newman
>Release:        5.2.1
>Organization:
One Support Pty Ltd
>Environment:
FreeBSD monster.qmm 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Mon Jun 14 17:40:07 EST 2004     one@monster.qmm:/usr/src/sys/i386/compile/MONSTER  i386
>Description:
I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system.
The tape successfully does a dump and restore on this system but when
the tape is taken to a Sony SDX-400 SCSI tape drive on a FreeBSD 4.7-RELEASE
system, restore insists that the tape blocks are 512 bytes and this is
not a multiple of 1024 (the tape was created with a -b 32).

I have then taken the backup from the SCSI drive (where it reads) and attempted
to read it on the ATAPI drive; the result looks like:

monster# mt -f /dev/nast0 status
Mode      Density              Blocksize      bpi      Compression
Current:  0x01:X3.22-1983      512 bytes      800      0x1
---------available modes---------
0:        default              variable       0        none
1:        default              variable       0        none
2:        default              variable       0        none
3:        default              variable       0        none
---------------------------------
File Number: 0  Record Number: 0        Residual Count 0
monster# mt -f /dev/nast0 rew
monster# restore -t -b32 -f /dev/nast0
Tape read error while trying to set up tape
continue? [yn] y
Tape is not a dump tape
monster# atacontrol info 1
Master: ast0 <SONY SDX-420C/0101> ATA/ATAPI rev 5
Slave:  acd0 <SONY CD-RW CRX175A1/5YS3> ATA/ATAPI rev 0
monster# atacontrol mode 1
Master = UDMA66                                         <<<--- I had set this
Slave  = PIO4
monster# atacontrol reinit 1
Master: ast0 <SONY SDX-420C/0101> ATA/ATAPI rev 5
Slave:  acd0 <SONY CD-RW CRX175A1/5YS3> ATA/ATAPI rev 0
monster# atacontrol mode 1
Master = PIO4                                           <<<--- It reverts
Slave  = PIO4
monster# mt -f /dev/nast0 rew
monster# restore -t -b32 -f /dev/nast0
Tape read error while trying to set up tape
continue? [yn] y
Tape is not a dump tape

>How-To-Repeat:
as above
>Fix:
Unfortunately none.

>Release-Note:
>Audit-Trail:

From: Ray Newman <raymond@unixworks.com.au>
To: freebsd-gnats-submit@FreeBSD.org, raymond@unixworks.com.au
Cc:  
Subject: Re: i386/68140: Problem with Sony AIT ATAPI Tape dirve
Date: Mon, 11 Oct 2004 14:31:43 +1000

 This problem remains unchanged under FreeBSD 5.3-BETA7
 
 
 Ray Newman
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 13:01:42 UTC 2006 
State-Changed-Why:  
hello can you confirm that this problem is still 
there on the 6.1 release of freebsd? 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Sep 11 13:01:42 UTC 2006 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68140 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 13:08:37 UTC 2006 
State-Changed-Why:  
the mail bounces, close the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68140 
>Unformatted:
