Date: Fri, 21 May 1999 11:29:00 +0200 (CEST) From: blank@uni-trier.de To: FreeBSD-gnats-submit@freebsd.org Subject: kern/11815: SCSI tape driver fails on media type recognition Message-ID: <199905210929.LAA00624@uni-trier.de>
next in thread | raw e-mail | index | archive | help
>Number: 11815 >Category: kern >Synopsis: SCSI tape driver fails on media type recognition >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 21 02:40:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Sascha Blank >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: A FreeBSD 3.2-STABLE system, CVSupped on Thursday, May 20th at about 18:50 o'clock CEST. A "make world" has been performed after that. Import messages from dmesg output: ... ncr0: <ncr 53c815 fast10 scsi> rev 0x03 int a irq 11 on pci0.8.0 ... sa0 at ncr0 bus 0 target 0 lun 0 sa0: <TANDBERG TDC 4100 =07:> Removable Sequential Access SCSI-2 device sa0: 4.807MB/s transfers (4.807MHz, offset 8) ... The tape drive's firmware has revision 07:28, and the drive itself is the only device connected to the ncr0 controller. ident /usr/src/sys/cam/scsi/scsi_sa.c: $Id: scsi_sa.c,v 1.16.2.4 1999/05/11 05:40:43 mjacob Exp $ >Description: When I insert a tape of my choice into the drive and do a "mt status", I get the following status report: Mode Density Blocksize bpi Compression Current: 0x11:QIC-320 1024 bytes 16000 disabled ---------available modes--------- 0: 0x11:QIC-320 1024 bytes 16000 none 1: 0x11:QIC-320 1024 bytes 16000 none 2: 0x11:QIC-320 1024 bytes 16000 none 3: 0x11:QIC-320 1024 bytes 16000 none --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 The output is always the same, no matter whether I have inserted a QIC-120, a QIC-150 or a QIC-1000 tape! Doing tape operations like reading from or writing to the tape doesn't make a change either, even a "mt erase" doesn't help; the "mt status" output after these operations is always the same as shown above (except for the blocksize that I might have to change to 512 to be able to read "smaller" tapes like QIC-120s). >How-To-Repeat: See above. >Fix: The problem is introduced by changes that were made to scsi_sa.c when going from revision 1.16.2.3 to 1.16.2.4. Going back to version 1.16.2.3 makes the media type recognition work again. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905210929.LAA00624>