Date: Wed, 11 Mar 2015 20:26:49 +0100 From: Harald Schmalzbauer <h.schmalzbauer@omnilan.de> To: "Kenneth D. Merry" <ken@freebsd.org> Cc: current@freebsd.org, scsi@freebsd.org Subject: SLR140 with new mt(1) [Was: Re: sa(4) driver changes available for test] Message-ID: <550096F9.2050309@omnilan.de> In-Reply-To: <20150228000846.GA33584@mithlond.kdm.org> References: <20150214003232.GA63990@mithlond.kdm.org> <20150219001347.GA57416@mithlond.kdm.org> <54EEEE1E.7020007@omnilan.de> <20150226224202.GA14015@mithlond.kdm.org> <54F0BFE1.4000000@omnilan.de> <20150228000846.GA33584@mithlond.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig68B0664DA276E3346E70C684 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Bez=FCglich Kenneth D. Merry's Nachricht vom 28.02.2015 01:08 (localtime= ): =85 >> Still just works fine ! :-) (stable_10.20150218.1-patchset with LTO2, >> LTO3 and DDS5) >> With DDS5, densitiy is reported as "unknown". If I remember correctly,= >> you have your DDS4 reporting "DDS4"? > That means that we need to add DDS5 to the density table in libmt. Can= > you send the output of 'mt status -v'? It would actually be helpful fo= r > all three drives. Hello, I'd like to present some test results. All tests were done with 10-stable-r273923 and Ken's sa_driver_changes-patchset, reduced by the commited scsi-sys-code. Unfortunately, there's a problem with appending files to any SLRtape. I can write the first file, but trying to open a second file for writing, results in "end of device" message. This problem doesn't exist for other drives (tested on VXA-2 (also SCSI-2) and DAT72 (SCSI-3)) with exactly same environment (all currently connected SCSI drives (7) are on one mpt(4) bus). After the first "end of device" message, consecutive write attempts lead to "Operation not permitted". According to the datasheet (http://www.tandbergdata.ru/products/files/SLR140_DS_605_ENG.pdf), the drive should speak SCSI-3, but camcontrol shows SCSI-2. ################## TandbergData SLR140 Drive ################## camcontrol inq $TAPE -v pass3: <TANDBERG SLR140 0605> Removable Sequential Access SCSI-2 device pass3: Serial Number SN140253489 pass3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Command Queueing Enabled Density 0x36 =3D ALRF-6, 186000 bpi, SLR140 drive + SLR140tape: SLRtape140 (8mm DualReel, 70GB native, 505.9m length, 5.5MiB/s) mt status -v Drive: sa3: <TANDBERG SLR140 0605> Serial Number: SN140253489 --------------------------------- Mode Density Blocksize bpi Compression Current: 0x36:UNKNOWN variable 0 enabled (0x3) --------------------------------- Current Driver State: at rest. --------------------------------- Partition: 0 Calc File Number: 0 Calc Record Number: 0 Residual: 0 Reported File Number: -1 Reported Record Number: -1 Flags: None --------------------------------- Tape I/O parameters: Maximum I/O size allowed by driver and controller (maxio): 131072 bytes Maximum I/O size reported by controller (cpi_maxio): 131072 bytes Maximum block size supported by tape drive and media (max_blk): 262144 by= tes Minimum block size supported by tape drive and media (min_blk): 1 bytes Block granularity supported by tape drive and media (blk_gran): 0 bytes Maximum possible I/O size (max_effective_iosize): 131072 bytes Minimum blocksize to reach highest throughput, thus sustained write of uncompressable data (from /dev/random): 24k@5.5MiB/s mt status --------------------------------- Current Driver State: at rest. --------------------------------- Partition: 0 Calc File Number: 1 Calc Record Number: 0 Residual: 0 Reported File Number: -1 Reported Record Number: -1 Flags: None "short READ POSITION" camcontrol cmd $TAPE -v -c "34 0 0 0 0 0 0 0 0 0" -i 20 - | hd 00000000 30 00 00 00 00 00 06 83 00 00 00 00 00 00 00 00 |0..............= =2E| 00000010 00 00 00 00 |....| 00000014 "vendor READ POSITION" camcontrol cmd $TAPE -v -c "34 1 0 0 0 0 0 0 0 0" -i 20 - | hd camcontrol: error sending command (pass3:mpt1:0:13:0): READ POSITION. CDB: 34 01 00 00 00 00 00 00 00 00 (pass3:mpt1:0:13:0): CAM status: SCSI Status Error (pass3:mpt1:0:13:0): SCSI status: Check Condition (pass3:mpt1:0:13:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (pass3:mpt1:0:13:0): Command byte 1 bit 0 is invalid "long READ POSITION" camcontrol cmd $TAPE -v -c "34 6 0 0 0 0 0 0 0 0" -i 32 - |hd camcontrol: error sending command (pass3:mpt1:0:13:0): READ POSITION. CDB: 34 06 00 00 00 00 00 00 00 00 (pass3:mpt1:0:13:0): CAM status: SCSI Status Error (pass3:mpt1:0:13:0): SCSI status: Check Condition (pass3:mpt1:0:13:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (pass3:mpt1:0:13:0): Command byte 1 bit 2 is invalid Different tapes ---------------------- Density 0x34 =3D ALRF-1, 15400 bpi: SLRtape100 (8mm DualReel, 50GB native, 457.2m length, 4.7MiB/s) SLRtape40 (8mm DualReel, 20GB native, 187,5m length, 4.7MiB/s) Mode Density Blocksize bpi Compression Current: 0x36:UNKNOWN variable 0 enabled (0x3) Density 0x30 =3D MLR3, 103124 bpi: SLRtape50 (=BC" (Quarter inch) DualReel, 25GB native, 457.2m length, 1.8M= iB/s) ########## Exabyte VXA-2 ########## camcontrol inq $TAPE -v pass9: <EXABYTE VXA-2 1009> Removable Sequential Access SCSI-2 device pass9: Serial Number 0085105377 pass9: 80.000MB/s transfers (40.000MHz, offset 32, 16bit), Command Queueing Enabled Density 0x81 =3D ??? (no info about areal density found, nor bpi/ftpi) VXA-2 Drive + V10 Tape VXA V10 (8mm DualReel, 20GB native, 120m length, 5.6MiB/s) mt status -v Drive: sa4: <EXABYTE VXA-2 1009> Serial Number: 0085105377 --------------------------------- Mode Density Blocksize bpi Compression Current: 0x81:UNKNOWN variable 0 enabled (0x3) --------------------------------- Current Driver State: at rest. --------------------------------- Partition: 0 Calc File Number: 0 Calc Record Number: 0 Residual: 0 Reported File Number: -1 Reported Record Number: -1 Flags: None --------------------------------- Tape I/O parameters: Maximum I/O size allowed by driver and controller (maxio): 131072 bytes Maximum I/O size reported by controller (cpi_maxio): 131072 bytes Maximum block size supported by tape drive and media (max_blk): 245760 by= tes Minimum block size supported by tape drive and media (min_blk): 1 bytes Block granularity supported by tape drive and media (blk_gran): 0 bytes Maximum possible I/O size (max_effective_iosize): 131072 bytes Minimum blocksize to reach highest throughput, thus sustained write of uncompressable data (from /dev/random): 24k@5.6MiB/s mt status --------------------------------- Current Driver State: at rest. --------------------------------- Partition: 0 Calc File Number: 4 Calc Record Number: 0 Residual: 0 Reported File Number: -1 Reported Record Number: -1 Flags: None "short READ POSITION" camcontrol cmd $TAPE -v -c "34 0 0 0 0 0 0 0 0 0" -i 20 - | hd 00000000 00 00 00 00 00 00 39 39 00 00 00 00 00 00 00 00 |......99.......= =2E| * 00000010 "vendor READ POSITION" camcontrol cmd $TAPE -v -c "34 1 0 0 0 0 0 0 0 0" -i 20 - | hd 00000000 00 00 00 00 00 00 39 39 00 00 00 00 00 00 00 00 |......99.......= =2E| * 00000010 "long READ POSITION" camcontrol cmd $TAPE -v -c "34 6 0 0 0 0 0 0 0 0" -i 32 - |hd camcontrol: error sending command (pass9:mpt1:0:15:0): READ POSITION. CDB: 34 06 00 00 00 00 00 00 00 00 (pass9:mpt1:0:15:0): CAM status: SCSI Status Error (pass9:mpt1:0:15:0): SCSI status: Check Condition (pass9:mpt1:0:15:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (pass9:mpt1:0:15:0): Command byte 1 bit 2 is invalid No other tape cartridges available for testing at the moment (X6 to follow together with VXA-320 drive results) ################ Seagate/Quantum DAT72 (DDS-5) ################ camcontrol inq $TAPE -v pass0: <SEAGATE DAT DAT72-052 A16K> Removable Sequential Access SCSI-3 device pass0: Serial Number HV082SN pass0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit), Command Queueing Enabled Density 0x47 =3D PRML, 162000 bpi, DAT72 Drive + DAT72 media DAT-72 Cartridge (3.81mm DualReel, 36GB native, 170m length, 3.2MiB/s): mt status -v Drive: sa0: <SEAGATE DAT DAT72-052 A16K> Serial Number: HV082SN --------------------------------- Mode Density Blocksize bpi Compression Current: 0x47:UNKNOWN variable 0 enabled (DCLZ) --------------------------------- Current Driver State: at rest. --------------------------------- Partition: 0 Calc File Number: 0 Calc Record Number: 0 Residual: 0 Reported File Number: 0 Reported Record Number: 0 Flags: BOP --------------------------------- Tape I/O parameters: Maximum I/O size allowed by driver and controller (maxio): 131072 bytes Maximum I/O size reported by controller (cpi_maxio): 131072 bytes Maximum block size supported by tape drive and media (max_blk): 16777215 bytes Minimum block size supported by tape drive and media (min_blk): 1 bytes Block granularity supported by tape drive and media (blk_gran): 0 bytes Maximum possible I/O size (max_effective_iosize): 131072 bytes Minimum blocksize to reach highest throughput, thus sustained write of uncompressable data (from /dev/random): <4k@3.2MiB/s mt status --------------------------------- Current Driver State: at rest. --------------------------------- Partition: 0 Calc File Number: 7 Calc Record Number: 0 Residual: 0 Reported File Number: 7 Reported Record Number: 115634 "short READ POSITION" camcontrol cmd $TAPE -v -c "34 0 0 0 0 0 0 0 0 0" -i 20 - | hd 00000000 30 00 00 00 00 01 c3 b2 00 01 c3 b2 00 00 00 00 |0..............= =2E| 00000010 00 00 00 00 |....| 00000014 "vendor READ POSITION" camcontrol cmd $TAPE -v -c "34 1 0 0 0 0 0 0 0 0" -i 20 - | hd 00000000 30 00 00 00 00 01 c3 ab 00 01 c3 ab 00 00 00 00 |0..............= =2E| 00000010 00 00 00 00 |....| 00000014 "long READ POSITION" camcontrol cmd $TAPE -v -c "34 6 0 0 0 0 0 0 0 0" -i 32 - |hd 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c3 b2 |...............= =2E| 00000010 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 |...............= =2E| 00000020 Different tapes ---------------------- Density 0x26 =3D PRML, 122000 bpi DDS4 Cartridge (3.81mm DualReel, 20GB native, 150m length,): Mode Density Blocksize bpi Compression Current: 0x26:DDS-4 variable 97000 enabled (DCLZ) Density 0x25 =3D PRML, 122000 bpi (3.81mm DualReel, 36GB native, 125m length, ) Mode Density Blocksize bpi Compression Current: 0x25:DDS-3 variable 97000 enabled (DCLZ) I could also provide LTO-3 (and LTO-2) results =96 after I identified the= U320 killer in the bus=85 Like reported earlier, LTO-2 worked like a charm. DLT-V4 and VXA-320 will follow soon too =96 I'm waiting for some media. Thanks, -Harry --------------enig68B0664DA276E3346E70C684 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlUAlwIACgkQLDqVQ9VXb8iNmQCfZ+aO4z7vgPsvYhqDH9cSOO4G sY8AnjhpJWHxZqEXAzG7YWiAjdMFeF6k =YNOS -----END PGP SIGNATURE----- --------------enig68B0664DA276E3346E70C684--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?550096F9.2050309>