Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 1999 05:42:20 -0500 (EST)
From:      tom@tomqnx.com (Tom Torrance at home)
To:        chris@shenton.org, hackers@freebsd.org
Subject:   Re: 3.1-STABLE: nrsa0 T4000 doesn't honor "no rewind"? SCSI errs in logs (fwd)
Message-ID:  <m10KJxs-000HytC@TomQNX.tomqnx.com>

next in thread | raw e-mail | index | archive | help

--ELM920976140-19527-0_
Content-Type: message/rfc822
Content-Disposition: inline
Content-Description: Forwarded message from Tom Torrance
Content-Transfer-Encoding: 7bit

Return-Path: <freebsd>
Received: by TomQNX.tomqnx.com (Smail3.2 #1)
	id m10KJSk-000HytC; Tue, 9 Mar 1999 05:10:10 -0500 (EST)
Message-Id: <m10KJSk-000HytC@TomQNX.tomqnx.com>
From: freebsd (Tom Torrance)
Subject: Re: 3.1-STABLE: nrsa0 T4000 doesn't honor "no rewind"? SCSI errs in logs
In-Reply-To: <Pine.LNX.4.04.9903080749550.12922-100000@feral-gw> 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: <Adaptec 2940 SCSI adapter> 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: <HP T4000s 1.06> Removable Sequential Access SCSI-2 device 
> >     sa0: 3.300MB/s transfers
> > 
> >     da0 at ahc0 bus 0 target 3 lun 0
> >     da0: <FUJITSU M2949S-512 0177> 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: <SONY CD-ROM CDU-76S 1.0a> 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: <SEAGATE ST34555N 0930> 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: <HP CD-Writer 6020 1.07> Removable CD-ROM SCSI-2 device 
pass1: 3.300MB/s transfers
pass2 at ncr0 bus 0 target 6 lun 0
pass2: <HP T4000s 1.10> Removable Sequential Access SCSI-2 device 
pass2: 3.300MB/s transfers
cd0 at ncr0 bus 0 target 5 lun 0
cd0: <HP CD-Writer 6020 1.07> 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: <SEAGATE ST34555N 0930> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m10KJxs-000HytC>