From peterb@fns.muc.de  Thu Nov 16 02:05:51 1995
Received: from vogon.muc.de (vogon.muc.de [193.174.4.4])
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id CAA27435
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Nov 1995 02:05:39 -0800
Received: from fns.muc.de ([193.174.4.223]) by vogon.muc.de with SMTP id <93369-1>; Thu, 16 Nov 1995 11:04:10 +0100
Received: (from peterb@localhost) by fns.muc.de (8.6.12/8.6.9) id LAA07380; Thu, 16 Nov 1995 11:00:19 +0100
Message-Id: <199511161000.LAA07380@fns.muc.de>
Date: Thu, 16 Nov 1995 11:00:19 +0100
From: peterb@muc.de
Reply-To: peterb@muc.de
To: FreeBSD-gnats-submit@freebsd.org
Cc: peterb@fns.muc.de
Subject: reading my scsi tape doesn't work
X-Send-Pr-Version: 3.2

>Number:         825
>Category:       kern
>Synopsis:       reading from scsi tape gives "bad request"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 16 02:10:01 PST 1995
>Closed-Date:    Sat Nov 18 09:57:27 MET 1995
>Last-Modified:  Sat Nov 18 09:58:46 MET 1995
>Originator:     Peter Bechtold
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
--
>Environment:
486, aha0 (1542) with st0 (Tandberg 3820 SCSI II QIC 525)
and 3 SCSI I disks, ahc0 (2842) with 2 SCSI II disks

	

>Description:
fns# tar tvf /dev/rst0
tar: read error on /dev/rst0 : Input/output error

in syslog:
st0: block wrong size, 10 blocks residual

Writing to tape works fine.

	

>How-To-Repeat:
Just try to read the tape with dd, tar, cpio ...

	

>Fix:
	
	

>Release-Note:
>Audit-Trail:

From: J Wunsch <j@uriah.heep.sax.de>
To: peterb@muc.de
Cc: FreeBSD-gnats-submit@freebsd.org, peterb@fns.muc.de
Subject: Re: kern/825: reading my scsi tape doesn't work
Date: Fri, 17 Nov 1995 12:47:32 +0100 (MET)

 As peterb@muc.de wrote:
 > 
 > in syslog:
 > st0: block wrong size, 10 blocks residual
 > 
 > Writing to tape works fine.
 
 Use the correct blocksize when reading.  QIC-525 and higher, as well
 as DAT use variable-size blocks, so the block size for reading and
 writing must match.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Nov 18 09:57:27 MET 1995 
State-Changed-Why:  
Operator error: block sizes for input and output operations 
must be identical on variable blocksize devices. 
>Unformatted:
