From owner-freebsd-hackers Tue Mar 9 2:42:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from TomQNX.tomqnx.com (cpu2745.adsl.bellglobal.com [207.236.55.214]) by hub.freebsd.org (Postfix) with ESMTP id 42D0714CC1 for ; Tue, 9 Mar 1999 02:42:43 -0800 (PST) (envelope-from tom@tomqnx.com) Received: by TomQNX.tomqnx.com (Smail3.2 #1) id m10KJxs-000HytC; Tue, 9 Mar 1999 05:42:20 -0500 (EST) Message-Id: From: tom@tomqnx.com (Tom Torrance at home) Subject: Re: 3.1-STABLE: nrsa0 T4000 doesn't honor "no rewind"? SCSI errs in logs (fwd) To: chris@shenton.org, hackers@freebsd.org Date: Tue, 9 Mar 1999 05:42:20 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM920976140-19527-0_ Content-Transfer-Encoding: 7bit Content-Length: 6536 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ELM920976140-19527-0_ Content-Type: message/rfc822 Content-Disposition: inline Content-Description: Forwarded message from Tom Torrance Content-Transfer-Encoding: 7bit Return-Path: Received: by TomQNX.tomqnx.com (Smail3.2 #1) id m10KJSk-000HytC; Tue, 9 Mar 1999 05:10:10 -0500 (EST) Message-Id: From: freebsd (Tom Torrance) Subject: Re: 3.1-STABLE: nrsa0 T4000 doesn't honor "no rewind"? SCSI errs in logs In-Reply-To: from Matthew Jacob at "Mar 8, 1999 7:50:26 am" To: mjacob@feral.com Date: Tue, 9 Mar 1999 05:10:10 -0500 (EST) Cc: scsi@freebsd.org, tom@tomqnx.com X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM920974210-19344-0_ Content-Transfer-Encoding: 7bit Content-Length: 5661 --ELM920974210-19344-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > > What errors? And what 'does not honor'? I know that Tom Torrance claimed > this happened- which I can't reproduce. RELENG_3 generates errors. Your routine to rewind the tape at EOM is activated by those errors. The test version of "current" that you sent me does not generate those errors. Your routine to rewind the tape is not activated. Attached you will find a backup script and the associated errors generated from it using today's version of RELENG_3. More errors than usual are generated now. It used to only complain about the PREVENT/ALLOW. Using RELENG_3 the tape always rewinds on the "DUMP: Closing /dev/nrsa0" message which appears on the console. Note that a person running X-windows would not see the error messages. Regards, Tom > > On 8 Mar 1999, Chris Shenton wrote: > > > Oops, should have provided details on the drive; dmesg says: > > > > ahc0: rev 0x03 int a irq 9 on pci0.8.0 > > ahc0: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs > > > > sa0 at ahc0 bus 0 target 5 lun 0 > > sa0: Removable Sequential Access SCSI-2 device > > sa0: 3.300MB/s transfers > > > > da0 at ahc0 bus 0 target 3 lun 0 > > da0: Fixed Direct Access SCSI-2 device > > da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled > > da0: 8682MB (17781964 512 byte sectors: 255H 63S/T 1106C) > > changing root device to da0s1a > > > > cd0 at ahc0 bus 0 target 2 lun 0 > > cd0: Removable CD-ROM SCSI-2 device > > cd0: 5.681MB/s transfers (5.681MHz, offset 15) > > cd0: Attempt to query device size failed: NOT READY, Medium not present > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > --ELM920974210-19344-0_ Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=dmesg Content-Description: dmesg Content-Transfer-Encoding: 7bit evice sa0: 3.300MB/s transfers pass0 at ncr0 bus 0 target 0 lun 0 pass0: Fixed Direct Access SCSI-2 device pass0: Serial Number JKA5580002KB3M pass0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled pass1 at ncr0 bus 0 target 5 lun 0 pass1: Removable CD-ROM SCSI-2 device pass1: 3.300MB/s transfers pass2 at ncr0 bus 0 target 6 lun 0 pass2: Removable Sequential Access SCSI-2 device pass2: 3.300MB/s transfers cd0 at ncr0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [253970 x 2048 byte records] da0 at ncr0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Serial Number JKA5580002KB3M da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled da0: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) Considering FFS root f/s. changing root device to da0s2a da0s1: type 0x6, start 63, end = 1025891, size 1025829 : OK da0s2: type 0xa5, start 1025892, end = 8885267, size 7859376 : OK ffs_mountfs: superblock updated for soft updates (sa0:ncr0:0:6:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:24,0 (sa0:ncr0:0:6:0): Invalid field in CDB (sa0:ncr0:0:6:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:26,0 (sa0:ncr0:0:6:0): Invalid field in parameter list (sa0:ncr0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:20,0 (sa0:ncr0:0:6:0): Invalid command operation code (sa0:ncr0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:20,0 (sa0:ncr0:0:6:0): Invalid command operation code (sa0:ncr0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:20,0 (sa0:ncr0:0:6:0): Invalid command operation code (sa0:ncr0:0:6:0): SPACE. CDB: 11 1 ff ff ff 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:2c,0 (sa0:ncr0:0:6:0): Command sequence error (sa0:ncr0:0:6:0): unable to backspace over one of double filemarks at EOD- opting for safety (sa0:ncr0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:20,0 (sa0:ncr0:0:6:0): Invalid command operation code (sa0:ncr0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:20,0 (sa0:ncr0:0:6:0): Invalid command operation code (sa0:ncr0:0:6:0): SPACE. CDB: 11 1 ff ff ff 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:2c,0 (sa0:ncr0:0:6:0): Command sequence error (sa0:ncr0:0:6:0): unable to backspace over one of double filemarks at EOD- opting for safety (sa0:ncr0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:20,0 (sa0:ncr0:0:6:0): Invalid command operation code (sa0:ncr0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:20,0 (sa0:ncr0:0:6:0): Invalid command operation code --ELM920974210-19344-0_ Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=backup Content-Description: backup script Content-Transfer-Encoding: 7bit #!/bin/sh # System Backup export TAPE=/dev/nrsa0 mt rewind mt status >/dev/null 2>&1 dump 0abuf 64 /dev/nrsa0 / dump 0abuf 64 /dev/nrsa0 /usr mt rewind --ELM920974210-19344-0_-- --ELM920976140-19527-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message