From owner-freebsd-bugs Tue Feb 11 00:54:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA08849 for bugs-outgoing; Tue, 11 Feb 1997 00:54:46 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id AAA08844 for ; Tue, 11 Feb 1997 00:54:40 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA05482; Tue, 11 Feb 1997 09:54:28 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id JAA24335; Tue, 11 Feb 1997 09:45:50 +0100 (MET) Message-ID: Date: Tue, 11 Feb 1997 09:45:50 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: plm@xs4all.nl (Peter Mutsaers) Cc: gurney_j@resnet.uoregon.edu (John-Mark Gurney), freebsd-bugs@freefall.freebsd.org Subject: Re: kern/2698: scsi tape driver problem References: <199702101950.LAA20963@freefall.freebsd.org> <199702110000.BAA00374@plm.xs4all.nl> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199702110000.BAA00374@plm.xs4all.nl>; from Peter Mutsaers on Feb 11, 1997 01:00:53 +0100 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Peter Mutsaers wrote: > I did this. The result is that mt -f /dev/rst0 status now reports the > correct densities: > > /sys/scsi# mt -f /dev/rst0 status > Present Mode: Density = QIC-150 Blocksize = 512 bytes > ---------available modes--------- > Mode 0: Density = 0x00 Blocksize variable > Mode 1: Density = QIC-320 Blocksize variable > Mode 2: Density = QIC-150 Blocksize variable > Mode 3: Density = QIC-120 Blocksize variable > > instead of those X3.--- density codes (whatevery they are). That's expected. Note that the Mode 0 through Mode 3 values are simple ``preset profiles'', nothing else. It reports your present mode to be fixed-length 512-byte. But apparently, while the driver attempts to tell this to the drive, your drive doesn't honor this. > Indeed, as Joerg Wunsch said, the QIC 150 tape seems to write variable blocks > instead of 512 byte blocks. (525MB tapes are always variable blocks. I > have no problems at all with them). 525 MB yes. But if your drive doesn't honor the blocksize setting in the buffer header of a MODE SELECT command, it's simply broken. I suggest getting a newer firmware revision. -- 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. ;-)