svn commit: r332458 - head/sys/cam/scsi

2018-04-12 Thread Kenneth D. Merry
Author: ken Date: Thu Apr 12 21:21:18 2018 New Revision: 332458 URL: https://svnweb.freebsd.org/changeset/base/332458 Log: Handle Programmable Early Warning for control commands in sa(4). When the tape position is inside the Early Warning area, the tape drive will return a sense key of NO

svn commit: r332647 - stable/11/sys/cam/scsi

2018-04-17 Thread Kenneth D. Merry
Author: ken Date: Tue Apr 17 15:34:08 2018 New Revision: 332647 URL: https://svnweb.freebsd.org/changeset/base/332647 Log: MFC r332458: r332458 | ken | 2018-04-12 15:21:18 -0600 (Thu, 12 Apr 2018) | 34 lines

svn commit: r325371 - in head: lib/libmt usr.bin/mt

2017-11-03 Thread Kenneth D. Merry
Author: ken Date: Fri Nov 3 21:04:22 2017 New Revision: 325371 URL: https://svnweb.freebsd.org/changeset/base/325371 Log: Add the LTO-8 Type M density code (0x5d, LTO-8M) to libmt and the mt(1) man page. LTO-8 Type M (also known as M8) is a pristine LTO-7 cartridge formatted in a LTO-8

svn commit: r325496 - in stable/10: lib/libmt usr.bin/mt

2017-11-06 Thread Kenneth D. Merry
Author: ken Date: Mon Nov 6 20:08:02 2017 New Revision: 325496 URL: https://svnweb.freebsd.org/changeset/base/325496 Log: MFC r325371 r325371 | ken | 2017-11-03 15:04:22 -0600 (Fri, 03 Nov 2017) | 19 lines A

svn commit: r325495 - in stable/11: lib/libmt usr.bin/mt

2017-11-06 Thread Kenneth D. Merry
Author: ken Date: Mon Nov 6 20:08:00 2017 New Revision: 325495 URL: https://svnweb.freebsd.org/changeset/base/325495 Log: MFC r325371 r325371 | ken | 2017-11-03 15:04:22 -0600 (Fri, 03 Nov 2017) | 19 lines A

svn commit: r339076 - head/sys/cam/scsi

2018-10-01 Thread Kenneth D. Merry
Author: ken Date: Mon Oct 1 19:00:46 2018 New Revision: 339076 URL: https://svnweb.freebsd.org/changeset/base/339076 Log: Fix a da(4) driver memory leak for SCSI SMR devices. In the probe case for SCSI SMR Host Aware or Most Managed drives, be sure to free allocated memory. sys/cam/

svn commit: r331223 - head/sys/cam/scsi

2018-03-19 Thread Kenneth D. Merry
Author: ken Date: Mon Mar 19 20:19:00 2018 New Revision: 331223 URL: https://svnweb.freebsd.org/changeset/base/331223 Log: cam_periph_acquire() now returns an errno. The ch(4) driver was missed in change 328918, which changed cam_periph_acquire() to return an errno instead of cam_status.

svn commit: r309943 - stable/11/sbin/camcontrol

2016-12-12 Thread Kenneth D. Merry
Author: ken Date: Mon Dec 12 21:02:34 2016 New Revision: 309943 URL: https://svnweb.freebsd.org/changeset/base/309943 Log: MFC r307684, r307747 r307684 | ken | 2016-10-20 13:42:26 -0600 (Thu, 20 Oct 2016) | 13 lines

svn commit: r309956 - stable/10/sbin/camcontrol

2016-12-12 Thread Kenneth D. Merry
Author: ken Date: Mon Dec 12 21:54:49 2016 New Revision: 309956 URL: https://svnweb.freebsd.org/changeset/base/309956 Log: MFC r307684, r307747 r307684 | ken | 2016-10-20 13:42:26 -0600 (Thu, 20 Oct 2016) | 13 lines

Re: svn commit: r307684 - head/sbin/camcontrol

2016-12-12 Thread Kenneth D. Merry
On Sun, Dec 11, 2016 at 00:49:12 +0100, Oliver Pinter wrote: > On 10/20/16, Kenneth D. Merry wrote: > > Author: ken > > Date: Thu Oct 20 19:42:26 2016 > > New Revision: 307684 > > URL: https://svnweb.freebsd.org/changeset/base/307684 > > > > Log: > >

svn commit: r310174 - in stable/11: sbin/camcontrol sys/cam/scsi

2016-12-16 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 16 20:24:47 2016 New Revision: 310174 URL: https://svnweb.freebsd.org/changeset/base/310174 Log: MFC r309374, r309513, r309839, r309840: r309374 | ken | 2016-12-01 15:20:27 -0700 (Thu, 0

Re: svn commit: r307684 - head/sbin/camcontrol

2016-12-19 Thread Kenneth D. Merry
On Sat, Dec 17, 2016 at 20:50:15 +0100, Oliver Pinter wrote: > On 12/12/16, Kenneth D. Merry wrote: > > On Sun, Dec 11, 2016 at 00:49:12 +0100, Oliver Pinter wrote: > >> On 10/20/16, Kenneth D. Merry wrote: > >> > Author: ken > >> > Date: Thu Oct 20

svn commit: r310338 - in head: share/man/man4 sys/conf sys/dev/isp

2016-12-20 Thread Kenneth D. Merry
Author: ken Date: Tue Dec 20 21:17:07 2016 New Revision: 310338 URL: https://svnweb.freebsd.org/changeset/base/310338 Log: Turn on FC-Tape by default in the isp(4) driver. FC-Tape provides additional link level error recovery, and is highly recommended for tape devices. It will only be t

svn commit: r310483 - in stable/11: share/man/man4 sys/conf sys/dev/isp

2016-12-23 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 23 18:25:43 2016 New Revision: 310483 URL: https://svnweb.freebsd.org/changeset/base/310483 Log: MFC, r310338: r310338 | ken | 2016-12-20 14:17:07 -0700 (Tue, 20 Dec 2016) | 37 lines

svn commit: r310484 - in stable/10: share/man/man4 sys/conf sys/dev/isp

2016-12-23 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 23 18:29:10 2016 New Revision: 310484 URL: https://svnweb.freebsd.org/changeset/base/310484 Log: MFC, r310338: r310338 | ken | 2016-12-20 14:17:07 -0700 (Tue, 20 Dec 2016) | 37 lines

svn commit: r321945 - stable/10/sys/dev/isp

2017-08-02 Thread Kenneth D. Merry
Author: ken Date: Wed Aug 2 20:24:28 2017 New Revision: 321945 URL: https://svnweb.freebsd.org/changeset/base/321945 Log: MFC r321622, r321623: r321622 | ken | 2017-07-27 09:33:57 -0600 (Thu, 27 Jul 2017) | 44 l

svn commit: r321944 - stable/11/sys/dev/isp

2017-08-02 Thread Kenneth D. Merry
Author: ken Date: Wed Aug 2 20:24:26 2017 New Revision: 321944 URL: https://svnweb.freebsd.org/changeset/base/321944 Log: MFC r321622, r321623: r321622 | ken | 2017-07-27 09:33:57 -0600 (Thu, 27 Jul 2017) | 44 l

svn commit: r322016 - head/usr.bin/mt

2017-08-03 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 3 15:04:54 2017 New Revision: 322016 URL: https://svnweb.freebsd.org/changeset/base/322016 Log: Oracle T1 tape drives use PRML encoding. Source: Oracle T1 SCSI reference guide. MFC after:3 days Sponsored by: Spectra Logic Modified: head/us

svn commit: r322364 - in head/sys/dev: mpr mps

2017-08-10 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 10 14:59:17 2017 New Revision: 322364 URL: https://svnweb.freebsd.org/changeset/base/322364 Log: Changes to make mps(4) and mpr(4) handle reinit with reallocation. When the mps(4) and mpr(4) drivers need to reinitialize the firmware, they sometimes need to reallo

svn commit: r322366 - in stable/11: lib/libmt usr.bin/mt

2017-08-10 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 10 15:34:49 2017 New Revision: 322366 URL: https://svnweb.freebsd.org/changeset/base/322366 Log: MFC r320991, r322016: r320991 | ken | 2017-07-14 10:45:46 -0600 (Fri, 14 Jul 2017) | 17 l

svn commit: r322367 - in stable/10: lib/libmt usr.bin/mt

2017-08-10 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 10 15:34:50 2017 New Revision: 322367 URL: https://svnweb.freebsd.org/changeset/base/322367 Log: MFC r320991, r322016: r320991 | ken | 2017-07-14 10:45:46 -0600 (Fri, 14 Jul 2017) | 17 l

svn commit: r322410 - head/usr.bin/mt

2017-08-11 Thread Kenneth D. Merry
Author: ken Date: Fri Aug 11 18:43:52 2017 New Revision: 322410 URL: https://svnweb.freebsd.org/changeset/base/322410 Log: Add historical notes on QIC tape drives and fix a couple of issues in mt(1). o Density code 0x5 is also known as QIC-11, and should have a footnote reference.

svn commit: r322658 - in stable/11/sys/dev: mpr mps

2017-08-18 Thread Kenneth D. Merry
Author: ken Date: Fri Aug 18 14:25:07 2017 New Revision: 322658 URL: https://svnweb.freebsd.org/changeset/base/322658 Log: MFC r321502, r321714, r321733, r321737, r321799, r322364: r321502 | scottl | 2017-07-25 1

svn commit: r322661 - in stable/10/sys/dev: mpr mps

2017-08-18 Thread Kenneth D. Merry
Author: ken Date: Fri Aug 18 15:38:08 2017 New Revision: 322661 URL: https://svnweb.freebsd.org/changeset/base/322661 Log: MFC r321502, r321714, r321733, r321737, r321799, r322364: r321502 | scottl | 2017-07-25 1

svn commit: r322785 - head/usr.sbin/camdd

2017-08-22 Thread Kenneth D. Merry
Author: ken Date: Tue Aug 22 13:08:22 2017 New Revision: 322785 URL: https://svnweb.freebsd.org/changeset/base/322785 Log: Restructure camdd(8) slightly to make it easier to add support for additional protocols. Submitted by: Chuck Tuffli MFC after:1 week Differential Revision:

svn commit: r322788 - stable/11/usr.bin/mt

2017-08-22 Thread Kenneth D. Merry
Author: ken Date: Tue Aug 22 13:59:50 2017 New Revision: 322788 URL: https://svnweb.freebsd.org/changeset/base/322788 Log: MFC r322410: r322410 | ken | 2017-08-11 12:43:52 -0600 (Fri, 11 Aug 2017) | 16 lines

svn commit: r322790 - stable/10/usr.bin/mt

2017-08-22 Thread Kenneth D. Merry
Author: ken Date: Tue Aug 22 14:40:56 2017 New Revision: 322790 URL: https://svnweb.freebsd.org/changeset/base/322790 Log: MFC r322410: r322410 | ken | 2017-08-11 12:43:52 -0600 (Fri, 11 Aug 2017) | 16 lines

svn commit: r322819 - head/usr.sbin/camdd

2017-08-23 Thread Kenneth D. Merry
Author: ken Date: Wed Aug 23 17:52:49 2017 New Revision: 322819 URL: https://svnweb.freebsd.org/changeset/base/322819 Log: Fix a resource leak in an error case in camdd_buf_sg_create(). Submitted by: Coverity CID: 1341622 MFC after:3 days Sponsored by: Spectra Logic Modi

svn commit: r313568 - head/sys/dev/isp

2017-02-10 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 10 22:02:45 2017 New Revision: 313568 URL: https://svnweb.freebsd.org/changeset/base/313568 Log: Change the isp(4) driver to not adjust the tag type for REQUEST SENSE. The isp(4) driver was changing the tag type for REQUEST SENSE commands to Head of Queue, when t

svn commit: r313700 - stable/10/sys/dev/isp

2017-02-13 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 13 16:11:37 2017 New Revision: 313700 URL: https://svnweb.freebsd.org/changeset/base/313700 Log: MFC r313568: r313568 | ken | 2017-02-10 15:02:45 -0700 (Fri, 10 Feb 2017) | 68 lines

svn commit: r313699 - stable/11/sys/dev/isp

2017-02-13 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 13 16:06:38 2017 New Revision: 313699 URL: https://svnweb.freebsd.org/changeset/base/313699 Log: MFC r313568: r313568 | ken | 2017-02-10 15:02:45 -0700 (Fri, 10 Feb 2017) | 68 lines

svn commit: r313893 - head/sbin/camcontrol

2017-02-17 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 17 20:04:22 2017 New Revision: 313893 URL: https://svnweb.freebsd.org/changeset/base/313893 Log: Add task attribute support to camcontrol(8). Users can use the new generic argument, -Q task_attr, to specify a task attribute (simple, ordered, head of queue, aca) f

svn commit: r313895 - head/sys/cam/ctl

2017-02-17 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 17 20:15:27 2017 New Revision: 313895 URL: https://svnweb.freebsd.org/changeset/base/313895 Log: Make ctl(4) build with CTL_IO_DELAY defined. sys/cam/ctl/ctl.c: In ctl_datamove(), inside CTL_IO_DELAY, add a lun variable and fill it in before trying

Re: svn commit: r299182 - head/sys/dev/e1000

2017-02-20 Thread Kenneth D. Merry
On Fri, May 06, 2016 at 15:41:38 +, Sean Bruno wrote: > Author: sbruno > Date: Fri May 6 15:41:38 2016 > New Revision: 299182 > URL: https://svnweb.freebsd.org/changeset/base/299182 > > Log: > If ALTQ is defined in the kern conf, switch to Legacy Mode. > > PR: 208409 > Submit

svn commit: r313997 - stable/11/sys/cam/ctl

2017-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 20:12:02 2017 New Revision: 313997 URL: https://svnweb.freebsd.org/changeset/base/313997 Log: MFC 313895: r313895 | ken | 2017-02-17 13:15:27 -0700 (Fri, 17 Feb 2017) | 9 lines

svn commit: r313998 - stable/10/sys/cam/ctl

2017-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 20:16:11 2017 New Revision: 313998 URL: https://svnweb.freebsd.org/changeset/base/313998 Log: MFC 313895: r313895 | ken | 2017-02-17 13:15:27 -0700 (Fri, 17 Feb 2017) | 9 lines

svn commit: r314220 - stable/11/sbin/camcontrol

2017-02-24 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 24 20:47:56 2017 New Revision: 314220 URL: https://svnweb.freebsd.org/changeset/base/314220 Log: MFC r313893 r313893 | ken | 2017-02-17 13:04:22 -0700 (Fri, 17 Feb 2017) | 48 lines

svn commit: r314221 - stable/10/sbin/camcontrol

2017-02-24 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 24 20:51:39 2017 New Revision: 314221 URL: https://svnweb.freebsd.org/changeset/base/314221 Log: MFC r313893 r313893 | ken | 2017-02-17 13:04:22 -0700 (Fri, 17 Feb 2017) | 48 lines

svn commit: r317657 - head/sbin/camcontrol

2017-05-01 Thread Kenneth D. Merry
Author: ken Date: Mon May 1 18:53:47 2017 New Revision: 317657 URL: https://svnweb.freebsd.org/changeset/base/317657 Log: Fix camcontrol timestamp setting and update the man page. camcontrol timestamp -s would somtimes fail due to stack garbage. Zero out the timestamp parameters to fix

svn commit: r317680 - head/sys/cam/scsi

2017-05-02 Thread Kenneth D. Merry
Author: ken Date: Tue May 2 14:52:28 2017 New Revision: 317680 URL: https://svnweb.freebsd.org/changeset/base/317680 Log: Add the SCSI SSC Manufacturer assigned serial number VPD page. This is current as of SSC-5r03. Submitted by: Sam Klopsch MFC after:3 days Modified: head/s

svn commit: r317740 - head/sys/dev/isp

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 13:17:01 2017 New Revision: 317740 URL: https://svnweb.freebsd.org/changeset/base/317740 Log: Correct loop mode CRN resets to adhere to FCP-4 section 4.10 Prior to this change, the CRN (Command Reference Number) is reset on any firmware LIP, LOOP DOWN, or LOOP

svn commit: r317745 - head/sys/cam/scsi

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 14:53:27 2017 New Revision: 317745 URL: https://svnweb.freebsd.org/changeset/base/317745 Log: Don't bother retrying errors for encrypted drives that are locked. sys/cam/scsi/scsi_all.c: In the asc_table, if we get a 0x20,0x02 error ("Access denied -

svn commit: r317774 - head/sbin/camcontrol

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 20:57:52 2017 New Revision: 317774 URL: https://svnweb.freebsd.org/changeset/base/317774 Log: Add the ability to rescan or reset devices specified by peripheral name and unit number in camcontrol(8). Previously camcontrol(8) only supported rescanning or resett

svn commit: r317775 - in head: share/man/man4 sys/cam/scsi

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 20:59:47 2017 New Revision: 317775 URL: https://svnweb.freebsd.org/changeset/base/317775 Log: Fix error recovery behavior in the pass(4) driver. After FreeBSD SVN revision 236814, the pass(4) driver changed from only doing error recovery when the CAM_PASS_ERR_

svn commit: r317776 - head/sbin/camcontrol

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 21:04:32 2017 New Revision: 317776 URL: https://svnweb.freebsd.org/changeset/base/317776 Log: Bump the camcontrol(8) man page date. MFC after:3 days X-MFC-with: r317774 Sponsored by: Spectra Logic Modified: head/sbin/camcontrol/camcontrol.8 Modifie

svn commit: r317792 - stable/11/sbin/camcontrol

2017-05-04 Thread Kenneth D. Merry
Author: ken Date: Thu May 4 14:20:52 2017 New Revision: 317792 URL: https://svnweb.freebsd.org/changeset/base/317792 Log: MFC r317657: Fix camcontrol timestamp setting and update the man page. camcontrol timestamp -s would somtimes fail due to stack garbage. Zero out the time

svn commit: r317799 - head/sys/cam/scsi

2017-05-04 Thread Kenneth D. Merry
Author: ken Date: Thu May 4 17:23:39 2017 New Revision: 317799 URL: https://svnweb.freebsd.org/changeset/base/317799 Log: Add the SCSI Solid State Media Log page (0x11) definition. sys/cam/scsi/scsi_all.h: Add the SCSI Solid State Media log page (0x11) structure definition.

svn commit: r317848 - in head: share/man/man4 sys/cam/scsi usr.bin/mt

2017-05-05 Thread Kenneth D. Merry
Author: ken Date: Fri May 5 20:00:53 2017 New Revision: 317848 URL: https://svnweb.freebsd.org/changeset/base/317848 Log: Add basic programmable early warning error injection to the sa(4) driver. This will help application developers simulate end of tape conditions. To inject an error

svn commit: r317850 - stable/11/sys/cam/scsi

2017-05-05 Thread Kenneth D. Merry
Author: ken Date: Fri May 5 20:21:13 2017 New Revision: 317850 URL: https://svnweb.freebsd.org/changeset/base/317850 Log: MFC r317680: Add the SCSI SSC Manufacturer assigned serial number VPD page. This is current as of SSC-5r03. Submitted by: Sam Klopsch Sponsored by: Spec

svn commit: r317851 - stable/10/sys/cam/scsi

2017-05-05 Thread Kenneth D. Merry
Author: ken Date: Fri May 5 20:25:31 2017 New Revision: 317851 URL: https://svnweb.freebsd.org/changeset/base/317851 Log: MFC r317680: Add the SCSI SSC Manufacturer assigned serial number VPD page. This is current as of SSC-5r03. Submitted by: Sam Klopsch Sponsored by: Spec

svn commit: r317852 - stable/11

2017-05-05 Thread Kenneth D. Merry
Author: ken Date: Fri May 5 20:41:29 2017 New Revision: 317852 URL: https://svnweb.freebsd.org/changeset/base/317852 Log: Add mergeinfo that should have been included in r317850. Original commit message for r317850: MFC r317680: Add the SCSI SSC Manufacturer assigned serial num

svn commit: r317854 - head/sbin/camcontrol

2017-05-05 Thread Kenneth D. Merry
Author: ken Date: Fri May 5 21:29:28 2017 New Revision: 317854 URL: https://svnweb.freebsd.org/changeset/base/317854 Log: When editing a mode page on a tape drive, do not clear the device specific parameter. Tape drives include write protect (WP), Buffered Mode and Speed settings in th

svn commit: r317941 - stable/10/sys/cam/scsi

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 14:48:39 2017 New Revision: 317941 URL: https://svnweb.freebsd.org/changeset/base/317941 Log: MFC r317745: Don't bother retrying errors for encrypted drives that are locked. sys/cam/scsi/scsi_all.c: In the asc_table, if we get a 0x20,0x02 error

svn commit: r317940 - stable/11/sys/cam/scsi

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 14:48:37 2017 New Revision: 317940 URL: https://svnweb.freebsd.org/changeset/base/317940 Log: MFC r317745: Don't bother retrying errors for encrypted drives that are locked. sys/cam/scsi/scsi_all.c: In the asc_table, if we get a 0x20,0x02 error

svn commit: r317946 - stable/11/sbin/camcontrol

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 17:02:01 2017 New Revision: 317946 URL: https://svnweb.freebsd.org/changeset/base/317946 Log: MFC r317774, r317776 r317774: Add the ability to rescan or reset devices specified by peripheral name and unit number in camcontrol(8). Previously camcon

svn commit: r317947 - stable/10/sbin/camcontrol

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 17:02:03 2017 New Revision: 317947 URL: https://svnweb.freebsd.org/changeset/base/317947 Log: MFC r317774, r317776 r317774: Add the ability to rescan or reset devices specified by peripheral name and unit number in camcontrol(8). Previously camcon

svn commit: r317961 - stable/11/sys/cam/scsi

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 17:21:55 2017 New Revision: 317961 URL: https://svnweb.freebsd.org/changeset/base/317961 Log: MFC r317799: Add the SCSI Solid State Media Log page (0x11) definition. sys/cam/scsi/scsi_all.h: Add the SCSI Solid State Media log page (0x11) structu

svn commit: r317962 - stable/10/sys/cam/scsi

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 17:21:57 2017 New Revision: 317962 URL: https://svnweb.freebsd.org/changeset/base/317962 Log: MFC r317799: Add the SCSI Solid State Media Log page (0x11) definition. sys/cam/scsi/scsi_all.h: Add the SCSI Solid State Media log page (0x11) structu

svn commit: r317964 - in stable/10: share/man/man4 sys/cam/scsi usr.bin/mt

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 17:55:51 2017 New Revision: 317964 URL: https://svnweb.freebsd.org/changeset/base/317964 Log: MFC r317848: Add basic programmable early warning error injection to the sa(4) driver. This will help application developers simulate end of tape conditions.

svn commit: r317963 - in stable/11: share/man/man4 sys/cam/scsi usr.bin/mt

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 17:55:49 2017 New Revision: 317963 URL: https://svnweb.freebsd.org/changeset/base/317963 Log: MFC r317848: Add basic programmable early warning error injection to the sa(4) driver. This will help application developers simulate end of tape conditions.

svn commit: r317965 - stable/11/sbin/camcontrol

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 18:30:55 2017 New Revision: 317965 URL: https://svnweb.freebsd.org/changeset/base/317965 Log: MFC r317854: When editing a mode page on a tape drive, do not clear the device specific parameter. Tape drives include write protect (WP), Buffered Mode an

svn commit: r317966 - stable/10/sbin/camcontrol

2017-05-08 Thread Kenneth D. Merry
Author: ken Date: Mon May 8 18:30:56 2017 New Revision: 317966 URL: https://svnweb.freebsd.org/changeset/base/317966 Log: MFC r317854: When editing a mode page on a tape drive, do not clear the device specific parameter. Tape drives include write protect (WP), Buffered Mode an

svn commit: r318140 - in stable/10: share/man/man4 sys/cam/scsi

2017-05-10 Thread Kenneth D. Merry
Author: ken Date: Wed May 10 15:20:39 2017 New Revision: 318140 URL: https://svnweb.freebsd.org/changeset/base/318140 Log: MFC r317775: Fix error recovery behavior in the pass(4) driver. After FreeBSD SVN revision 236814, the pass(4) driver changed from only doing error recover

svn commit: r318139 - in stable/11: share/man/man4 sys/cam/scsi

2017-05-10 Thread Kenneth D. Merry
Author: ken Date: Wed May 10 15:20:38 2017 New Revision: 318139 URL: https://svnweb.freebsd.org/changeset/base/318139 Log: MFC r317775: Fix error recovery behavior in the pass(4) driver. After FreeBSD SVN revision 236814, the pass(4) driver changed from only doing error recover

svn commit: r318148 - stable/11/sys/dev/isp

2017-05-10 Thread Kenneth D. Merry
Author: ken Date: Wed May 10 18:59:18 2017 New Revision: 318148 URL: https://svnweb.freebsd.org/changeset/base/318148 Log: MFC r317740: Correct loop mode CRN resets to adhere to FCP-4 section 4.10 Prior to this change, the CRN (Command Reference Number) is reset on any firmware

svn commit: r318149 - stable/10/sys/dev/isp

2017-05-10 Thread Kenneth D. Merry
Author: ken Date: Wed May 10 18:59:20 2017 New Revision: 318149 URL: https://svnweb.freebsd.org/changeset/base/318149 Log: MFC r317740: Correct loop mode CRN resets to adhere to FCP-4 section 4.10 Prior to this change, the CRN (Command Reference Number) is reset on any firmware

svn commit: r318185 - in head: lib/libmt usr.bin/mt

2017-05-11 Thread Kenneth D. Merry
Author: ken Date: Thu May 11 13:46:30 2017 New Revision: 318185 URL: https://svnweb.freebsd.org/changeset/base/318185 Log: Add LTO-8 density codes. lib/libmt/mtlib.c: Add the LTO-8 density code to the density table in libmt. usr.bin/mt/mt.1: Add the LTO-8 density code,

svn commit: r318295 - in stable/10: lib/libmt usr.bin/mt

2017-05-15 Thread Kenneth D. Merry
Author: ken Date: Mon May 15 15:27:59 2017 New Revision: 318295 URL: https://svnweb.freebsd.org/changeset/base/318295 Log: MFC r318185: Add LTO-8 density codes. lib/libmt/mtlib.c: Add the LTO-8 density code to the density table in libmt. usr.bin/mt/mt.1: Add

svn commit: r318296 - in stable/11: lib/libmt usr.bin/mt

2017-05-15 Thread Kenneth D. Merry
Author: ken Date: Mon May 15 15:28:01 2017 New Revision: 318296 URL: https://svnweb.freebsd.org/changeset/base/318296 Log: MFC r318185: Add LTO-8 density codes. lib/libmt/mtlib.c: Add the LTO-8 density code to the density table in libmt. usr.bin/mt/mt.1: Add

svn commit: r320123 - head/sys/cam/scsi

2017-06-19 Thread Kenneth D. Merry
Author: ken Date: Mon Jun 19 20:48:00 2017 New Revision: 320123 URL: https://svnweb.freebsd.org/changeset/base/320123 Log: Fix a potential sleep while holding a mutex in the sa(4) driver. If the user issues a MTIOCEXTGET ioctl, and the tape drive in question has a serial number that is lo

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-20 Thread Kenneth D. Merry
On Tue, Jun 20, 2017 at 23:37:10 +0300, Andriy Gapon wrote: > On 20/06/2017 23:29, Ken Merry wrote: > > I don???t know for sure that this commit is the cause, but it (and r320153) > > are the only ZFS commits between a version of head from June 14th that > > boots off a ZFS mirror, and one that p

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-21 Thread Kenneth D. Merry
On Wed, Jun 21, 2017 at 11:16:23 +0300, Andriy Gapon wrote: > On 21/06/2017 00:25, Kenneth D. Merry wrote: > > FWIW, avg sent me a patch for this particular problem (by checking for NULL > > before dereferencing the pointer), and although it got me past the above > > problem,

svn commit: r320361 - stable/10/sys/cam/scsi

2017-06-26 Thread Kenneth D. Merry
Author: ken Date: Mon Jun 26 15:23:12 2017 New Revision: 320361 URL: https://svnweb.freebsd.org/changeset/base/320361 Log: MFC r320123: Fix a potential sleep while holding a mutex in the sa(4) driver. If the user issues a MTIOCEXTGET ioctl, and the tape drive in question has a

svn commit: r320405 - stable/11/sys/cam/scsi

2017-06-27 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 27 12:56:36 2017 New Revision: 320405 URL: https://svnweb.freebsd.org/changeset/base/320405 Log: MFC r320123: Fix a potential sleep while holding a mutex in the sa(4) driver. If the user issues a MTIOCEXTGET ioctl, and the tape drive in question has a

svn commit: r320420 - head/sys/cam/scsi

2017-06-27 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 27 17:55:25 2017 New Revision: 320420 URL: https://svnweb.freebsd.org/changeset/base/320420 Log: In scsi_zbc_in(), fill in the length in the ZBC IN CDB. Without the allocation length set, the target will either reject the command or complete it without transferri

svn commit: r320421 - head/sys/cam

2017-06-27 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 27 19:26:02 2017 New Revision: 320421 URL: https://svnweb.freebsd.org/changeset/base/320421 Log: Fix a panic in camperiphfree(). If a peripheral driver (e.g. da, sa, cd) is added or removed from the peripheral driver list while an unrelated peripheral driver inst

svn commit: r320600 - stable/11/sys/cam/scsi

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 15:10:16 2017 New Revision: 320600 URL: https://svnweb.freebsd.org/changeset/base/320600 Log: MFC r320420: r320420 | ken | 2017-06-27 11:55:25 -0600 (Tue, 27 Jun 2017) | 25 lines

svn commit: r320601 - stable/10/sys/cam

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 15:34:19 2017 New Revision: 320601 URL: https://svnweb.freebsd.org/changeset/base/320601 Log: MFC r320421: r320421 | ken | 2017-06-27 13:26:02 -0600 (Tue, 27 Jun 2017) | 37 lines

svn commit: r320602 - stable/11/sys/cam

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 15:34:21 2017 New Revision: 320602 URL: https://svnweb.freebsd.org/changeset/base/320602 Log: MFC r320421: r320421 | ken | 2017-06-27 13:26:02 -0600 (Tue, 27 Jun 2017) | 37 lines

svn commit: r320607 - releng/11.1/sys/cam/scsi

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 18:07:09 2017 New Revision: 320607 URL: https://svnweb.freebsd.org/changeset/base/320607 Log: Merge r320600 from stable/11 into releng/11.1: r320600 | ken | 2017-07-03 09:10:16 -0600 (Mo

svn commit: r320608 - releng/11.1/sys/cam

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 18:20:45 2017 New Revision: 320608 URL: https://svnweb.freebsd.org/changeset/base/320608 Log: Merge r320602 from stable/11 into releng/11.1: r320602 | ken | 2017-07-03 09:34:21 -0600 (Mo

svn commit: r320991 - in head: lib/libmt usr.bin/mt

2017-07-14 Thread Kenneth D. Merry
Author: ken Date: Fri Jul 14 16:45:46 2017 New Revision: 320991 URL: https://svnweb.freebsd.org/changeset/base/320991 Log: Add IBM TS1155 density codes to libmt and the mt(1) man page. These are taken directly from the density report from a TS1155 tape drive. (Using mt getdensity) l

svn commit: r321207 - in head/sys/dev: mpr mps

2017-07-19 Thread Kenneth D. Merry
Author: ken Date: Wed Jul 19 15:39:01 2017 New Revision: 321207 URL: https://svnweb.freebsd.org/changeset/base/321207 Log: Fix spurious timeouts on commands sent to mps(4) and mpr(4) controllers. mps_wait_command() and mpr_wait_command() were using getmicrotime() to determine elapsed time

svn commit: r321415 - in stable/11/sys/dev: mpr mps

2017-07-24 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 24 14:42:43 2017 New Revision: 321415 URL: https://svnweb.freebsd.org/changeset/base/321415 Log: MFC r321207: r321207 | ken | 2017-07-19 09:39:01 -0600 (Wed, 19 Jul 2017) | 14 lines

svn commit: r321416 - in stable/10/sys/dev: mpr mps

2017-07-24 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 24 14:42:45 2017 New Revision: 321416 URL: https://svnweb.freebsd.org/changeset/base/321416 Log: MFC r321207: r321207 | ken | 2017-07-19 09:39:01 -0600 (Wed, 19 Jul 2017) | 14 lines

svn commit: r321622 - head/sys/dev/isp

2017-07-27 Thread Kenneth D. Merry
Author: ken Date: Thu Jul 27 15:33:57 2017 New Revision: 321622 URL: https://svnweb.freebsd.org/changeset/base/321622 Log: Fix probing FC targets with hard addressing turned on. This largely reverts FreeBSD SVN change 289937 from October 25th, 2015. The intent of that change was to kee

svn commit: r321623 - head/sys/dev/isp

2017-07-27 Thread Kenneth D. Merry
Author: ken Date: Thu Jul 27 15:51:56 2017 New Revision: 321623 URL: https://svnweb.freebsd.org/changeset/base/321623 Log: Remove duplicate assignments from r321622. Submitted by: mav MFC after:3 days Sponsored by: Spectra Logic Modified: head/sys/dev/isp/isp.c Modified: head/sy

svn commit: r286965 - in head: sbin/camcontrol sys/cam/scsi

2015-08-20 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 20 16:07:51 2015 New Revision: 286965 URL: https://svnweb.freebsd.org/changeset/base/286965 Log: Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. The significant changes and bugs fixed here are: 1. Fixed a bug in the progress display cod

svn commit: r287203 - in stable/10: sbin/camcontrol sys/cam/scsi

2015-08-27 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 27 13:17:05 2015 New Revision: 287203 URL: https://svnweb.freebsd.org/changeset/base/287203 Log: MFC, r286965: r286965 | ken | 2015-08-20 10:07:51 -0600 (Thu, 20 Aug 2015) | 297 lines

Re: svn commit: r287621 - in head/sys: cam/ctl conf modules/ctl

2015-09-11 Thread Kenneth D. Merry
On Thu, Sep 10, 2015 at 12:40:32 +, Alexander Motin wrote: > Author: mav > Date: Thu Sep 10 12:40:31 2015 > New Revision: 287621 > URL: https://svnweb.freebsd.org/changeset/base/287621 > > Log: > Reimplement CTL High Availability. > > CTL HA functionality was originally implemented by C

svn commit: r284192 - in head: lib/libsbuf lib/libutil sbin/camcontrol share/man/man9 sys/cam sys/cam/scsi sys/kern sys/sys

2015-06-09 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 9 21:39:38 2015 New Revision: 284192 URL: https://svnweb.freebsd.org/changeset/base/284192 Log: Add support for reading MAM attributes to camcontrol(8) and libcam(3). MAM is Medium Auxiliary Memory and is most commonly found as flash chips on tapes. This in

svn commit: r284435 - in stable/10: lib/libsbuf lib/libutil sbin/camcontrol share/man/man9 sys/cam sys/cam/scsi sys/kern sys/sys

2015-06-15 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 16 02:31:11 2015 New Revision: 284435 URL: https://svnweb.freebsd.org/changeset/base/284435 Log: MFC, r284192: r284192 | ken | 2015-06-09 15:39:38 -0600 (Tue, 09 Jun 2015) | 102 lines

svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Thu Dec 3 20:54:55 2015 New Revision: 291716 URL: https://svnweb.freebsd.org/changeset/base/291716 Log: Add asynchronous command support to the pass(4) driver, and the new camdd(8) utility. CCBs may be queued to the driver via the new CAMIOQUEUE ioctl, and completed C

Re: svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-03 Thread Kenneth D. Merry
On Thu, Dec 03, 2015 at 13:13:25 -0800, Bryan Drewery wrote: > On 12/3/15 12:54 PM, Kenneth D. Merry wrote: > > Author: ken > > Date: Thu Dec 3 20:54:55 2015 > > New Revision: 291716 > > URL: https://svnweb.freebsd.org/changeset/base/291716 > > > > Log: &g

svn commit: r291724 - head/usr.sbin/camdd

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Thu Dec 3 22:07:01 2015 New Revision: 291724 URL: https://svnweb.freebsd.org/changeset/base/291724 Log: Fix typos in the camdd(8) usage() function output caused by an error in my diff filter script. Sponsored by: Spectra Logic MFC after:1 week Modified: head/us

svn commit: r291741 - head/sys/geom

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 4 03:38:35 2015 New Revision: 291741 URL: https://svnweb.freebsd.org/changeset/base/291741 Log: Fix g_disk_vlist_limit() to work properly with deletes. Add a new bp argument to g_disk_maxsegs(), and add a new function, g_disk_maxsize() tha will properly determin

svn commit: r291742 - head/sys/geom

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 4 03:44:12 2015 New Revision: 291742 URL: https://svnweb.freebsd.org/changeset/base/291742 Log: Fix a style issue in g_disk_limit(). Noticed by: bdrewery MFC after:1 week Modified: head/sys/geom/geom_disk.c Modified: head/sys/geom/geom_disk.c =

Re: svn commit: r291741 - head/sys/geom

2015-12-03 Thread Kenneth D. Merry
On Thu, Dec 03, 2015 at 19:41:31 -0800, Bryan Drewery wrote: > On 12/3/2015 7:38 PM, Kenneth D. Merry wrote: > > g_disk_limit(struct disk *dp, struct bio *bp) > > { > > bool limited = false; > > - off_t d_maxsize; > > - > > - d_maxsize = (bp-&

Re: svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-04 Thread Kenneth D. Merry
On Thu, Dec 03, 2015 at 23:55:14 -0800, Ravi Pokala wrote: > Hi Ken, > > A few questions: > > > Although these ioctls do not have a declared argument, they > > both take a union ccb pointer. If we declare a size here, > > the ioctl code in sys/kern/sys_generic.c will malloc and free

svn commit: r291960 - head/sys/cam

2015-12-07 Thread Kenneth D. Merry
Author: ken Date: Mon Dec 7 21:04:27 2015 New Revision: 291960 URL: https://svnweb.freebsd.org/changeset/base/291960 Log: The ccb_xflags enumeration was removed from FreeBSD/head in r259397 (it contained the CAM_EXTLUN_VALID bit) and I added the same type name with a different set of values

<    1   2   3   4   5   >