Date: Fri, 13 Feb 1998 09:50:32 +0100 (CET) From: hausen@punkt.de To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: hausen@punkt.de, egeling@punkt.de Subject: kern/5735: serious bug in st driver or misconfiguration? Message-ID: <199802130850.JAA00470@hugo10.ka.punkt.de>
next in thread | raw e-mail | index | archive | help
>Number: 5735 >Category: kern >Synopsis: Can't write to SCSI tape after "mt fsf" command >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 13 01:00:01 PST 1998 >Last-Modified: >Originator: Patrick M. Hausen >Organization: WEB Internet Services, Karlsruhe, Germany >Release: FreeBSD 2.2.5-RELEASE i386 >Environment: 2 Adaptec 2940 Tandberg TDC 4220 on second controller Kernel config: controller scbus0 #base SCSI code device ch0 #SCSI media changers device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs device od0 #SCSI optical disk controller pci0 controller ahc0 controller ahc1 dmesg output: ahc1 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 14 on pci0:14 ahc1: aic7870 Single Channel, SCSI Id=7, 16 SCBs (ahc1:5:0): "PIONEER CD-ROM DR-124X 1.04" type 5 removable SCSI 2 cd0(ahc1:5:0): CD-ROM can't get the size (ahc1:6:0): "TANDBERG TDC 4200 =08:" type 1 removable SCSI 2 st0(ahc1:6:0): Sequential-Access density code 0x0, 512-byte blocks, write-enable >Description: Can't write or even rewind after "mt fsf". This makes (e.g.) Amanda fail after reading the tape-label trying to rewind. >How-To-Repeat: ry93@hugo10:/home/ry93> dd if=/dev/zero of=/dev/nrst0 bs=5k count=10 10+0 records in 10+0 records out 51200 bytes transferred in 0.104582 secs (489568 bytes/sec) ry93@hugo10:/home/ry93> mt -f /dev/rst0 rewind ry93@hugo10:/home/ry93> mt -f /dev/nrst0 fsf ry93@hugo10:/home/ry93> dd if=/dev/zero of=/dev/nrst0 bs=5k count=10 dd: /dev/nrst0: Invalid argument 1+0 records in 0+0 records out 0 bytes transferred in 0.010303 secs (0 bytes/sec) ry93@hugo10:/home/ry93> dmesg | tail -1 st0(ahc1:6:0): ILLEGAL REQUEST asc:50,0 Write append error ry93@hugo10:/home/ry93> mt -f /dev/rst0 rewind mt: /dev/rst0: rewind: Invalid argument ry93@hugo10:/home/ry93> dmesg | tail -1 st0(ahc1:6:0): ILLEGAL REQUEST asc:50,0 Write append error >Fix: unknown >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?199802130850.JAA00470>