svn commit: r237800 - head/sys/dev/mps

2012-06-29 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 29 17:00:52 2012 New Revision: 237800 URL: http://svn.freebsd.org/changeset/base/237800 Log: Change the mps(4) driver to only scan a target if that is what is needed instead of scanning the full bus every time. Submitted by: mav Discussed with: Sreekanth

svn commit: r237821 - in stable/9: sys/cam/ctl usr.sbin/ctladm

2012-06-29 Thread Kenneth D. Merry
/ctladm/ctladm.c Fri Jun 29 21:19:24 2012 (r237821) @@ -1,8 +1,12 @@ /*- * Copyright (c) 2003, 2004 Silicon Graphics International Corp. * Copyright (c) 1997-2007 Kenneth D. Merry + * Copyright (c) 2012 The FreeBSD Foundation * All rights reserved. * + * Portions of this software

svn commit: r237824 - stable/9/sys/cam/ctl

2012-06-29 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 29 21:27:37 2012 New Revision: 237824 URL: http://svn.freebsd.org/changeset/base/237824 Log: MFC r233963: r233963 | ken | 2012-04-06 16:23:13 -0600 (Fri, 06 Apr 2012) | 27 lines Change the SCSI INQUIRY peripheral qualifier that CTL reports for LUNs that

svn commit: r237825 - in stable/9: share/examples/scsi_target sys/cam/ctl sys/dev/aic7xxx sys/dev/firewire sys/dev/mpt

2012-06-29 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 29 21:33:36 2012 New Revision: 237825 URL: http://svn.freebsd.org/changeset/base/237825 Log: MFC r237601: r237601 | ken | 2012-06-26 08:51:35 -0600 (Tue, 26 Jun 2012) | 38 lines Fix an issue that caused the kernel to panic inside CTL when trying to

svn commit: r237826 - stable/9/sys/cam/scsi

2012-06-29 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 29 22:00:30 2012 New Revision: 237826 URL: http://svn.freebsd.org/changeset/base/237826 Log: MFC r236138, with the exception of scsi_enc.c: r236138 | ken | 2012-05-27 00:11:09 -0600 (Sun, 27 May 2012) | 64 lines Work around a race condition in devfs by

svn commit: r237827 - in stable/9/sys/cam: . scsi

2012-06-29 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 29 22:28:31 2012 New Revision: 237827 URL: http://svn.freebsd.org/changeset/base/237827 Log: MFC r237328, except for the scsi_enc.c changes: r237328 | ken | 2012-06-20 11:08:00 -0600 (Wed, 20 Jun 2012) | 69 lines Fix several reference counting and object

svn commit: r237828 - in stable/9: sbin/camcontrol sys/cam/scsi

2012-06-29 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 29 22:33:48 2012 New Revision: 237828 URL: http://svn.freebsd.org/changeset/base/237828 Log: MFC r237452: r237452 | ken | 2012-06-22 12:57:06 -0600 (Fri, 22 Jun 2012) | 25 lines Change 'camcontrol defects' to first probe a drive to find out how much

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

2012-06-28 Thread Kenneth D. Merry
Author: ken Date: Thu Jun 28 19:39:30 2012 New Revision: 237726 URL: http://svn.freebsd.org/changeset/base/237726 Log: Add a loader tunable, kern.cam.ctl.disable, that will disable loading CTL. This may be useful in very low memory installations. MFC after:3 days Modified:

svn commit: r237730 - in head/sys: powerpc/conf sparc64/conf

2012-06-28 Thread Kenneth D. Merry
Author: ken Date: Thu Jun 28 20:48:24 2012 New Revision: 237730 URL: http://svn.freebsd.org/changeset/base/237730 Log: Now that the mps(4) driver is endian-safe, add it to the powerpc and sparc64 GENERIC config files. MFC after:3 days Modified: head/sys/powerpc/conf/GENERIC64

svn commit: r237648 - head/sys/geom

2012-06-27 Thread Kenneth D. Merry
Author: ken Date: Wed Jun 27 16:05:09 2012 New Revision: 237648 URL: http://svn.freebsd.org/changeset/base/237648 Log: In g_disk_providergone(), don't continue if the softc is NULL. This may be the case if we've already gone through g_disk_destroy(). Reported by: Michael Butler

svn commit: r237682 - head/sys/cam

2012-06-27 Thread Kenneth D. Merry
Author: ken Date: Thu Jun 28 03:36:13 2012 New Revision: 237682 URL: http://svn.freebsd.org/changeset/base/237682 Log: Fix a typo in a panic() call. PR: kern/169497 Submitted by: Steven Hartland steven.hartl...@multiplay.co.uk MFC after:3 days Modified:

svn commit: r237683 - in head/sys/dev/mps: . mpi

2012-06-27 Thread Kenneth D. Merry
Author: ken Date: Thu Jun 28 03:48:54 2012 New Revision: 237683 URL: http://svn.freebsd.org/changeset/base/237683 Log: Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 14.00.00.01-fbsd. Their description of the changes is as follows: 1.Copyright contents has

svn commit: r237601 - in head: share/examples/scsi_target sys/cam/ctl sys/dev/aic7xxx sys/dev/firewire sys/dev/mpt

2012-06-26 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 26 14:51:35 2012 New Revision: 237601 URL: http://svn.freebsd.org/changeset/base/237601 Log: Fix an issue that caused the kernel to panic inside CTL when trying to attach to target capable HBAs that implement the old immediate notify (XPT_IMMED_NOTIFY) and notify

svn commit: r237545 - head/sys/geom

2012-06-24 Thread Kenneth D. Merry
Author: ken Date: Mon Jun 25 04:26:10 2012 New Revision: 237545 URL: http://svn.freebsd.org/changeset/base/237545 Log: Consume spare fields for the providergone pointers added to the g_class and g_geom structures in change 237518. The original change would have broken the ABI.

Re: svn commit: r237518 - in head: share/man/man9 sys/cam/scsi sys/dev/xen/blkfront sys/geom

2012-06-24 Thread Kenneth D. Merry
On Mon, Jun 25, 2012 at 07:47:59 +0400, Andrey V. Elsukov wrote: On 24.06.2012 8:29, Kenneth D. Merry wrote: Author: ken Date: Sun Jun 24 04:29:03 2012 New Revision: 237518 URL: http://svn.freebsd.org/changeset/base/237518 Log: Fix a bug which causes a panic in daopen

svn commit: r237518 - in head: share/man/man9 sys/cam/scsi sys/dev/xen/blkfront sys/geom

2012-06-23 Thread Kenneth D. Merry
Author: ken Date: Sun Jun 24 04:29:03 2012 New Revision: 237518 URL: http://svn.freebsd.org/changeset/base/237518 Log: Fix a bug which causes a panic in daopen(). The panic is caused by a da(4) instance going away while GEOM is still probing it. In this case, the GEOM disk class instance

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

2012-06-22 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 22 18:57:06 2012 New Revision: 237452 URL: http://svn.freebsd.org/changeset/base/237452 Log: Change 'camcontrol defects' to first probe a drive to find out how much defect information it has before grabbing the full defect list. This works around a bug with some

svn commit: r237328 - in head/sys/cam: . scsi

2012-06-20 Thread Kenneth D. Merry
Author: ken Date: Wed Jun 20 17:08:00 2012 New Revision: 237328 URL: http://svn.freebsd.org/changeset/base/237328 Log: Fix several reference counting and object lifetime issues between the pass(4) and enc(4) drivers and devfs. The pass(4) driver uses the destroy_dev_sched() routine to

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

2012-06-06 Thread Kenneth D. Merry
Author: ken Date: Wed Jun 6 17:04:56 2012 New Revision: 236689 URL: http://svn.freebsd.org/changeset/base/236689 Log: Fix a memory leak in the kernel case in scsi_command_string(). Submitted by: Kashyap Desai kashyap.de...@lsi.com MFC after:3 days Modified:

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

2012-05-27 Thread Kenneth D. Merry
Author: ken Date: Sun May 27 06:11:09 2012 New Revision: 236138 URL: http://svn.freebsd.org/changeset/base/236138 Log: Work around a race condition in devfs by changing the way closes are handled in most CAM peripheral drivers that are not handled by GEOM's disk class. The usual

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

2012-04-06 Thread Kenneth D. Merry
Author: ken Date: Fri Apr 6 22:23:13 2012 New Revision: 233963 URL: http://svn.freebsd.org/changeset/base/233963 Log: Change the SCSI INQUIRY peripheral qualifier that CTL reports for LUNs that don't exist. Anecdotal evidence indicates that it is better to return 011b (bad LUN) than

svn commit: r233006 - releng/8.3/sys/dev/mps

2012-03-15 Thread Kenneth D. Merry
Author: ken Date: Thu Mar 15 15:43:15 2012 New Revision: 233006 URL: http://svn.freebsd.org/changeset/base/233006 Log: Merge r232675 from head, via r232989 in stable/8: Make the mps(4) module depend on the cam module. Submitted by: Mykola Dzham i...@levsha.me Approved

svn commit: r232988 - stable/9/sys/dev/mps

2012-03-14 Thread Kenneth D. Merry
Author: ken Date: Wed Mar 14 22:27:28 2012 New Revision: 232988 URL: http://svn.freebsd.org/changeset/base/232988 Log: MFC 232675 Make the mps(4) module depend on the cam module. Submitted by: Mykola Dzham i...@levsha.me Modified: stable/9/sys/dev/mps/mps_pci.c Directory

svn commit: r232989 - stable/8/sys/dev/mps

2012-03-14 Thread Kenneth D. Merry
Author: ken Date: Wed Mar 14 22:30:14 2012 New Revision: 232989 URL: http://svn.freebsd.org/changeset/base/232989 Log: MFC 232675 Make the mps(4) module depend on the cam module. Submitted by: Mykola Dzham i...@levsha.me Modified: stable/8/sys/dev/mps/mps_pci.c Directory

svn commit: r232675 - head/sys/dev/mps

2012-03-07 Thread Kenneth D. Merry
Author: ken Date: Wed Mar 7 22:39:11 2012 New Revision: 232675 URL: http://svn.freebsd.org/changeset/base/232675 Log: Make the mps(4) module depend on the cam module. Submitted by: Mykola Dzham i...@levsha.me MFC after:3 days Modified: head/sys/dev/mps/mps_pci.c Modified:

svn commit: r232562 - stable/9/sys/dev/mpt

2012-03-05 Thread Kenneth D. Merry
Author: ken Date: Mon Mar 5 18:54:28 2012 New Revision: 232562 URL: http://svn.freebsd.org/changeset/base/232562 Log: MFC 232411: Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem

svn commit: r232563 - stable/8/sys/dev/mpt

2012-03-05 Thread Kenneth D. Merry
Author: ken Date: Mon Mar 5 19:01:23 2012 New Revision: 232563 URL: http://svn.freebsd.org/changeset/base/232563 Log: MFC 232411: Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem

svn commit: r232411 - head/sys/dev/mpt

2012-03-02 Thread Kenneth D. Merry
Author: ken Date: Fri Mar 2 22:00:40 2012 New Revision: 232411 URL: http://svn.freebsd.org/changeset/base/232411 Log: Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem is that the mpt(4)

svn commit: r231940 - stable/9/sys/dev/mps

2012-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 16:50:16 2012 New Revision: 231940 URL: http://svn.freebsd.org/changeset/base/231940 Log: MFC r231716 Set the max_lun field of the path inquiry CCB to 8. This allows LUNs greater than 0 to be probed. It can be increased later if need be.

svn commit: r231944 - stable/8/sys/dev/mps

2012-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 20:31:05 2012 New Revision: 231944 URL: http://svn.freebsd.org/changeset/base/231944 Log: MFC r231716 Set the max_lun field of the path inquiry CCB to 8. This allows LUNs greater than 0 to be probed. It can be increased later if need be.

Re: svn commit: r231814 - in head/sys: kern sys

2012-02-16 Thread Kenneth D. Merry
On Thu, Feb 16, 2012 at 11:13:09 +0200, Andriy Gapon wrote: on 16/02/2012 11:00 Andriy Gapon said the following: on 16/02/2012 10:53 Julian Elischer said the following: Bruce, this is a good example of a legitimate gripe going un-noticed because you didn't shout loud enough at the right

Re: svn commit: r231814 - in head/sys: kern sys

2012-02-16 Thread Kenneth D. Merry
On Fri, Feb 17, 2012 at 06:25:42 +1100, Bruce Evans wrote: On Thu, 16 Feb 2012, Kenneth D. Merry wrote: On Thu, Feb 16, 2012 at 11:13:09 +0200, Andriy Gapon wrote: on 16/02/2012 11:00 Andriy Gapon said the following: on 16/02/2012 10:53 Julian Elischer said the following: Bruce

svn commit: r231759 - in stable/8: share/man/man4 sys/amd64/conf sys/conf sys/dev/acpica sys/dev/esp sys/dev/twa sys/dev/xen/balloon sys/dev/xen/blkback sys/dev/xen/blkfront sys/dev/xen/console sys...

2012-02-15 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 15 14:23:01 2012 New Revision: 231759 URL: http://svn.freebsd.org/changeset/base/231759 Log: MFC r215818, r216405, r216437, r216448, r216956, r221827, r222975, r223059, r225343, r225704, r225705, r225706, r225707, r225709, r226029, r220647, r230183, r230587,

svn commit: r231772 - in stable/9: share/examples/scsi_target sys/amd64/conf sys/cam/ctl sys/cam/scsi sys/conf sys/dev/ata sys/dev/ciss sys/i386/conf sys/ia64/conf sys/sparc64/conf usr.bin usr.bin/...

2012-02-15 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 15 17:28:09 2012 New Revision: 231772 URL: http://svn.freebsd.org/changeset/base/231772 Log: MFC r229997, r230033, and r230334 Bring the CAM Target Layer into stable/9. r230334 | ken | 2012-01-19 11:42:03 -0700 (Thu, 19 Jan 2012) | 19 lines Quiet

svn commit: r231773 - stable/9/sys/cam/ctl

2012-02-15 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 15 17:46:16 2012 New Revision: 231773 URL: http://svn.freebsd.org/changeset/base/231773 Log: MFC r231092 r231092 | emaste | 2012-02-06 11:11:00 -0700 (Mon, 06 Feb 2012) | 4 lines Avoid panic from unlocking a not locked mutex (in some error cases).

svn commit: r231679 - stable/9/sys/dev/mps

2012-02-14 Thread Kenneth D. Merry
Author: ken Date: Tue Feb 14 14:17:46 2012 New Revision: 231679 URL: http://svn.freebsd.org/changeset/base/231679 Log: MFC 231240 Bring in a number of mps(4) driver fixes from LSI: 1. Fixed timeout specification for the msleep in mps_wait_command(). Added 30 second timeout for

svn commit: r231680 - stable/8/sys/dev/mps

2012-02-14 Thread Kenneth D. Merry
Author: ken Date: Tue Feb 14 14:18:28 2012 New Revision: 231680 URL: http://svn.freebsd.org/changeset/base/231680 Log: MFC 231240 Bring in a number of mps(4) driver fixes from LSI: 1. Fixed timeout specification for the msleep in mps_wait_command(). Added 30 second timeout for

svn commit: r231690 - stable/9/sys/dev/mps

2012-02-14 Thread Kenneth D. Merry
Author: ken Date: Tue Feb 14 16:46:59 2012 New Revision: 231690 URL: http://svn.freebsd.org/changeset/base/231690 Log: MFC 231485 Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver probe routine. This will allow LSI to ship drivers that return BUS_PROBE_VENDOR

svn commit: r231691 - stable/8/sys/dev/mps

2012-02-14 Thread Kenneth D. Merry
Author: ken Date: Tue Feb 14 16:47:52 2012 New Revision: 231691 URL: http://svn.freebsd.org/changeset/base/231691 Log: MFC 231485 Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver probe routine. This will allow LSI to ship drivers that return BUS_PROBE_VENDOR

svn commit: r231697 - in stable/9: share/man/man4 sys/conf sys/dev/xen/blkback sys/dev/xen/netback sys/i386/include/xen sys/kern sys/xen/interface/io

2012-02-14 Thread Kenneth D. Merry
Author: ken Date: Tue Feb 14 18:00:37 2012 New Revision: 231697 URL: http://svn.freebsd.org/changeset/base/231697 Log: MFC 230587, 230916 Xen netback driver rewrite. r230587 | ken | 2012-01-26 09:35:09 -0700 (Thu, 26 Jan 2012) | 38 lines Xen netback driver rewrite.

svn commit: r231716 - head/sys/dev/mps

2012-02-14 Thread Kenneth D. Merry
Author: ken Date: Tue Feb 14 22:27:43 2012 New Revision: 231716 URL: http://svn.freebsd.org/changeset/base/231716 Log: Set the max_lun field of the path inquiry CCB to 8. This allows LUNs greater than 0 to be probed. It can be increased later if need be. This brings back SVN rev

svn commit: r231392 - stable/9/share/man/man4

2012-02-10 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 10 18:14:25 2012 New Revision: 231392 URL: http://svn.freebsd.org/changeset/base/231392 Log: MFC 231170 Update the mps(4) man page for the changes in the new LSI-supported driver. This should have been included in change 230592. The supported hardware

svn commit: r231393 - stable/8/share/man/man4

2012-02-10 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 10 18:15:45 2012 New Revision: 231393 URL: http://svn.freebsd.org/changeset/base/231393 Log: MFC 231170 Update the mps(4) man page for the changes in the new LSI-supported driver. This should have been included in change 230592. The supported hardware

svn commit: r231485 - head/sys/dev/mps

2012-02-10 Thread Kenneth D. Merry
Author: ken Date: Sat Feb 11 00:28:30 2012 New Revision: 231485 URL: http://svn.freebsd.org/changeset/base/231485 Log: Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver probe routine. This will allow LSI to ship drivers that return BUS_PROBE_VENDOR to override

svn commit: r231240 - head/sys/dev/mps

2012-02-08 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 9 00:16:12 2012 New Revision: 231240 URL: http://svn.freebsd.org/changeset/base/231240 Log: Bring in a number of mps(4) driver fixes from LSI: 1. Fixed timeout specification for the msleep in mps_wait_command(). Added 30 second timeout for

svn commit: r231170 - head/share/man/man4

2012-02-07 Thread Kenneth D. Merry
Author: ken Date: Tue Feb 7 23:43:29 2012 New Revision: 231170 URL: http://svn.freebsd.org/changeset/base/231170 Log: Update the mps(4) man page for the changes in the new LSI-supported driver. This should have been included in change 230592. The supported hardware section still

svn commit: r230916 - in head/sys: conf dev/xen/netback i386/include/xen

2012-02-02 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 2 17:54:35 2012 New Revision: 230916 URL: http://svn.freebsd.org/changeset/base/230916 Log: Fix the netback driver build for i386. netback.c:Add missing VM includes. xen/xenvar.h, xen/xenpmap.h:Move some XENHVM macros from machine/xen/xenpmap.h

svn commit: r230920 - in stable/9/sys: conf dev/mps dev/mps/mpi modules/mps

2012-02-02 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 2 19:01:41 2012 New Revision: 230920 URL: http://svn.freebsd.org/changeset/base/230920 Log: MFC 230592: Bring in the LSI-supported version of the mps(4) driver. This involves significant changes to the mps(4) driver, but is not a complete rewrite.

svn commit: r230922 - in stable/8/sys: conf dev/mps dev/mps/mpi modules/mps

2012-02-02 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 2 19:03:29 2012 New Revision: 230922 URL: http://svn.freebsd.org/changeset/base/230922 Log: MFC 230592: Bring in the LSI-supported version of the mps(4) driver. This involves significant changes to the mps(4) driver, but is not a complete rewrite.

svn commit: r230878 - head/sys/conf

2012-02-01 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 1 20:18:57 2012 New Revision: 230878 URL: http://svn.freebsd.org/changeset/base/230878 Log: Add the netback driver to the build. MFC after:3 days Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r230879 - head/sys/xen/interface/io

2012-02-01 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 1 20:19:33 2012 New Revision: 230879 URL: http://svn.freebsd.org/changeset/base/230879 Log: Add the GSO prefix descriptor define. MFC after:3 days Modified: head/sys/xen/interface/io/netif.h Modified: head/sys/xen/interface/io/netif.h

svn commit: r230902 - head/sys/conf

2012-02-01 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 2 07:38:40 2012 New Revision: 230902 URL: http://svn.freebsd.org/changeset/base/230902 Log: Unbreak the i386 full PV (XEN kernel) build by reverting rev 230878 and taking the netback driver out of the build temporarily. Modified: head/sys/conf/files Modified:

Re: svn commit: r230878 - head/sys/conf

2012-02-01 Thread Kenneth D. Merry
On Thu, Feb 02, 2012 at 03:56:03 +, Bjoern A. Zeeb wrote: On 1. Feb 2012, at 20:18 , Kenneth D. Merry wrote: Author: ken Date: Wed Feb 1 20:18:57 2012 New Revision: 230878 URL: http://svn.freebsd.org/changeset/base/230878 Log: Add the netback driver to the build. I guess

svn commit: r230849 - in stable/9/sys/cam: . scsi

2012-01-31 Thread Kenneth D. Merry
Author: ken Date: Tue Jan 31 23:04:58 2012 New Revision: 230849 URL: http://svn.freebsd.org/changeset/base/230849 Log: MFC: 23, 230544 Fix a race condition in CAM peripheral free handling, locking in the CAM XPT bus traversal code, and a number of other periph level issues.

svn commit: r230850 - in stable/8/sys/cam: . scsi

2012-01-31 Thread Kenneth D. Merry
Author: ken Date: Tue Jan 31 23:09:27 2012 New Revision: 230850 URL: http://svn.freebsd.org/changeset/base/230850 Log: MFC: 23, 230544 Fix a race condition in CAM peripheral free handling, locking in the CAM XPT bus traversal code, and a number of other periph level issues.

svn commit: r230587 - in head: share/man/man4 sys/dev/xen/blkback sys/dev/xen/netback sys/kern sys/xen/interface/io

2012-01-26 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 26 16:35:09 2012 New Revision: 230587 URL: http://svn.freebsd.org/changeset/base/230587 Log: Xen netback driver rewrite. share/man/man4/Makefile, share/man/man4/xnb.4, sys/dev/xen/netback/netback.c, sys/dev/xen/netback/netback_unit_tests.c:

svn commit: r230589 - head/share/man/man4

2012-01-26 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 26 17:28:33 2012 New Revision: 230589 URL: http://svn.freebsd.org/changeset/base/230589 Log: Start sentences on a new line, and fix a few other nits. Prompted by: gjb MFC after:1 week Modified: head/share/man/man4/xnb.4 Modified:

svn commit: r230590 - in head: sbin/camcontrol sys/cam sys/cam/scsi sys/sys usr.sbin/mptutil

2012-01-26 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 26 18:09:28 2012 New Revision: 230590 URL: http://svn.freebsd.org/changeset/base/230590 Log: Add CAM infrastructure to allow reporting when a drive's long read capacity data changes. cam_ccb.h:Add a new advanced information type, CDAI_TYPE_RCAPLONG,

svn commit: r230592 - in head/sys: conf dev/mps dev/mps/mpi modules/mps

2012-01-26 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 26 18:17:21 2012 New Revision: 230592 URL: http://svn.freebsd.org/changeset/base/230592 Log: Bring in the LSI-supported version of the mps(4) driver. This involves significant changes to the mps(4) driver, but is not a complete rewrite. Some of the changes

svn commit: r230593 - head/share/man/man4

2012-01-26 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 26 18:18:47 2012 New Revision: 230593 URL: http://svn.freebsd.org/changeset/base/230593 Log: Remove the blank line between the license and .Dd Prompted by: brueffer MFC after:1 week Modified: head/share/man/man4/xnb.4 Modified: head/share/man/man4/xnb.4

svn commit: r230544 - head/sys/cam

2012-01-25 Thread Kenneth D. Merry
Author: ken Date: Wed Jan 25 17:58:47 2012 New Revision: 230544 URL: http://svn.freebsd.org/changeset/base/230544 Log: Fix a bug introduced in r23. We were eliminating all LUNs on a target in response to CAM_DEV_NOT_THERE, instead of just the LUN in question. This will now just

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

2012-01-19 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 19 18:42:03 2012 New Revision: 230334 URL: http://svn.freebsd.org/changeset/base/230334 Log: Quiet some clang warnings when compiling CTL. ctl_error.c, ctl_error.h: Take out the ctl_sense_format enumeration, and use scsi_sense_data_type instead.

Re: svn commit: r229997 - in head: share/examples/scsi_target sys/amd64/conf sys/cam/ctl sys/cam/scsi sys/conf sys/dev/ata sys/dev/ciss sys/i386/conf sys/ia64/conf sys/sparc64/conf usr.bin usr.bin/ctl

2012-01-12 Thread Kenneth D. Merry
On Thu, Jan 12, 2012 at 09:58:36 +0100, Hans Petter Selasky wrote: Hi, ? Does the cam target layer support attach/detach of logical units? Yes, you can add and remove LUNs using ctladm. Can it be used with USB target mode? If the USB driver supports the various CAM target mode CCBs,

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

2012-01-12 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 12 22:08:33 2012 New Revision: 230033 URL: http://svn.freebsd.org/changeset/base/230033 Log: Silence some unnecessary verbosity. Reported by: mav MFC after:1 month Modified: head/sys/cam/ctl/scsi_ctl.c Modified: head/sys/cam/ctl/scsi_ctl.c

svn commit: r230034 - head/usr.bin/ctlstat

2012-01-12 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 12 22:12:42 2012 New Revision: 230034 URL: http://svn.freebsd.org/changeset/base/230034 Log: Fix building ctlstat with clang. Submitted by: Dan McGregor danismostlik...@gmail.com MFC after:1 month Modified: head/usr.bin/ctlstat/ctlstat.c Modified:

svn commit: r229997 - in head: share/examples/scsi_target sys/amd64/conf sys/cam/ctl sys/cam/scsi sys/conf sys/dev/ata sys/dev/ciss sys/i386/conf sys/ia64/conf sys/sparc64/conf usr.bin usr.bin/ctls...

2012-01-11 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 12 00:34:33 2012 New Revision: 229997 URL: http://svn.freebsd.org/changeset/base/229997 Log: Add the CAM Target Layer (CTL). CTL is a disk and processor device emulation subsystem originally written for Copan Systems under Linux starting in 2003. It has been

svn commit: r230000 - in head/sys/cam: . scsi

2012-01-11 Thread Kenneth D. Merry
Author: ken Date: Thu Jan 12 00:41:48 2012 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: Fix a race condition in CAM peripheral free handling, locking in the CAM XPT bus traversal code, and a number of other periph level issues. cam_periph.h,

svn commit: r226067 - in stable/9: sbin/camcontrol share/examples/scsi_target share/misc sys/cam sys/cam/scsi sys/dev/ciss sys/dev/firewire sys/dev/iir sys/dev/iscsi/initiator sys/dev/isp sys/dev/m...

2011-10-06 Thread Kenneth D. Merry
Author: ken Date: Thu Oct 6 19:15:51 2011 New Revision: 226067 URL: http://svn.freebsd.org/changeset/base/226067 Log: MFC r225950: Add descriptor sense support to CAM, and honor sense residuals properly in CAM. Desriptor sense is a new sense data format that originated in SPC-3.

svn commit: r225950 - in head: sbin/camcontrol share/examples/scsi_target share/misc sys/cam sys/cam/scsi sys/dev/ciss sys/dev/firewire sys/dev/iir sys/dev/iscsi/initiator sys/dev/isp sys/dev/mly s...

2011-10-03 Thread Kenneth D. Merry
Author: ken Date: Mon Oct 3 20:32:55 2011 New Revision: 225950 URL: http://svn.freebsd.org/changeset/base/225950 Log: Add descriptor sense support to CAM, and honor sense residuals properly in CAM. Desriptor sense is a new sense data format that originated in SPC-3. Among other

svn commit: r224973 - head/sys/dev/mps

2011-08-18 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 18 16:07:41 2011 New Revision: 224973 URL: http://svn.freebsd.org/changeset/base/224973 Log: Set the max_lun field in the path inquiry CCB for the mps(4) driver to 8. This allows LUNs greater than 0 to be probed. The value can be increased later if need be.

svn commit: r223062 - head/sys/kern

2011-06-13 Thread Kenneth D. Merry
Author: ken Date: Mon Jun 13 22:08:24 2011 New Revision: 223062 URL: http://svn.freebsd.org/changeset/base/223062 Log: Instead of using an atomic operation to determine whether the devstat(9) device node has been created, pass MAKEDEV_CHECKNAME in so that the devfs code will do the check.

Re: svn commit: r223061 - head/sys/kern

2011-06-13 Thread Kenneth D. Merry
On Tue, Jun 14, 2011 at 00:31:50 +0300, Kostik Belousov wrote: On Mon, Jun 13, 2011 at 09:21:02PM +, Justin T. Gibbs wrote: Author: gibbs Date: Mon Jun 13 21:21:02 2011 New Revision: 223061 URL: http://svn.freebsd.org/changeset/base/223061 Log: Fix a couple of race conditions

svn commit: r222883 - head/sbin/rtsol

2011-06-08 Thread Kenneth D. Merry
Author: ken Date: Wed Jun 8 21:59:07 2011 New Revision: 222883 URL: http://svn.freebsd.org/changeset/base/222883 Log: Add dump.c to the rtsol build. It is needed now that sec2str is non-static and used in rtsold.c. Modified: head/sbin/rtsol/Makefile Modified: head/sbin/rtsol/Makefile

svn commit: r222804 - head/sys/kern

2011-06-06 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 7 05:04:37 2011 New Revision: 222804 URL: http://svn.freebsd.org/changeset/base/222804 Log: Set pca.p_bufr to NULL when we haven't allocated a buffer. Otherwise, p_bufr is set to garbage on the stack, and if that garbage happens to be non-NULL, and the TOLOG or

Re: svn commit: r222537 - in head/sys: kern sys

2011-06-02 Thread Kenneth D. Merry
On Wed, Jun 01, 2011 at 20:07:31 +1000, Bruce Evans wrote: On Wed, 1 Jun 2011, Andriy Gapon wrote: on 31/05/2011 20:29 Kenneth D. Merry said the following: + mtx_init(mbp-msg_lock, msgbuf, NULL, MTX_SPIN); Sorry that I didn't gather myself together for a review before this change got

svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
Author: ken Date: Tue May 31 17:29:58 2011 New Revision: 222537 URL: http://svn.freebsd.org/changeset/base/222537 Log: Fix apparent garbage in the message buffer. While we have had a fix in place (options PRINTF_BUFR_SIZE=128) to fix scrambled console output, the message buffer and

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
On Tue, May 31, 2011 at 14:00:18 -0700, m...@freebsd.org wrote: On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry k...@freebsd.org wrote: Author: ken Date: Tue May 31 17:29:58 2011 New Revision: 222537 URL: http://svn.freebsd.org/changeset/base/222537 Log: ?Fix apparent garbage

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
On Tue, May 31, 2011 at 15:02:37 -0700, m...@freebsd.org wrote: On Tue, May 31, 2011 at 2:46 PM, Kenneth D. Merry k...@freebsd.org wrote: On Tue, May 31, 2011 at 14:00:18 -0700, m...@freebsd.org wrote: On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry k...@freebsd.org wrote: Author

svn commit: r222550 - head/sys/kern

2011-05-31 Thread Kenneth D. Merry
Author: ken Date: Tue May 31 22:39:32 2011 New Revision: 222550 URL: http://svn.freebsd.org/changeset/base/222550 Log: Fix a bug introduced in revision 222537. In msgbuf_reinit() and msgbuf_init(), we weren't initializing the mutex. Depending on the contents of memory, the LO_INITIALIZED

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
On Tue, May 31, 2011 at 15:16:05 -0700, m...@freebsd.org wrote: On Tue, May 31, 2011 at 3:11 PM, Kenneth D. Merry k...@freebsd.org wrote: On Tue, May 31, 2011 at 15:02:37 -0700, m...@freebsd.org wrote: On Tue, May 31, 2011 at 2:46 PM, Kenneth D. Merry k...@freebsd.org wrote: On Tue, May 31

svn commit: r219678 - stable/8/share/man/man4

2011-03-15 Thread Kenneth D. Merry
Author: ken Date: Tue Mar 15 21:34:10 2011 New Revision: 219678 URL: http://svn.freebsd.org/changeset/base/219678 Log: MFC: 212624, 212669, 213535 Merge the mps(4) man page. r212624 | ken | 2010-09-14 15:40:29 -0600 (Tue, 14 Sep 2010) | 7 lines MFp4 (//depot/projects/mps/...)

svn commit: r219099 - stable/8/sys/dev/mps

2011-02-28 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 28 16:39:15 2011 New Revision: 219099 URL: http://svn.freebsd.org/changeset/base/219099 Log: MFC: r219036 Silence 'out of chain frames' warnings and bump the number of frames. mps.c:Hide the 'out of chain frames' warning behind MPS_INFO.

svn commit: r219036 - head/sys/dev/mps

2011-02-25 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 25 17:30:25 2011 New Revision: 219036 URL: http://svn.freebsd.org/changeset/base/219036 Log: Silence 'out of chain frames' warnings and bump the number of frames. mps.c:Hide the 'out of chain frames' warning behind MPS_INFO. mps_sas.c:Hide

svn commit: r218921 - stable/8/sys/dev/mps

2011-02-21 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 21 16:55:53 2011 New Revision: 218921 URL: http://svn.freebsd.org/changeset/base/218921 Log: MFC: r218811: In the MPS driver, during device removal processing, don't assume that the controller firmware will return all of our commands. Instead, keep track of

svn commit: r218922 - stable/8/sys/dev/mps

2011-02-21 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 21 18:11:56 2011 New Revision: 218922 URL: http://svn.freebsd.org/changeset/base/218922 Log: MFC: r218812 Fix several issues with the mps(4) driver. When the driver ran out of DMA chaining buffers, it kept the timeout for the I/O, and I/O would stall.

svn commit: r218810 - in stable/8/sys: amd64/conf conf dev/bwn dev/mps dev/siba dev/sis mips/mips modules modules/mps

2011-02-18 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 18 16:29:38 2011 New Revision: 218810 URL: http://svn.freebsd.org/changeset/base/218810 Log: MFC: 212420, 212616, 212772, 212802, 213535, 213702, 213704, 213707, 213708, 213743, 213839, 213840, 213882, 213898, 216088, 216227, 216363, 216368: Merge the

svn commit: r218811 - head/sys/dev/mps

2011-02-18 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 18 17:01:57 2011 New Revision: 218811 URL: http://svn.freebsd.org/changeset/base/218811 Log: In the MPS driver, during device removal processing, don't assume that the controller firmware will return all of our commands. Instead, keep track of outstanding I/Os and

svn commit: r218812 - head/sys/dev/mps

2011-02-18 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 18 17:06:06 2011 New Revision: 218812 URL: http://svn.freebsd.org/changeset/base/218812 Log: Fix several issues with the mps(4) driver. When the driver ran out of DMA chaining buffers, it kept the timeout for the I/O, and I/O would stall. The driver was not

svn commit: r217016 - head/sbin/camcontrol

2011-01-05 Thread Kenneth D. Merry
Author: ken Date: Wed Jan 5 18:27:38 2011 New Revision: 217016 URL: http://svn.freebsd.org/changeset/base/217016 Log: The camcontrol smppc option to clear a PHY error log is 'clearerrlog', not 'clearerrorlog'. Modified: head/sbin/camcontrol/camcontrol.8 Modified:

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

2010-12-10 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 10 21:38:51 2010 New Revision: 216361 URL: http://svn.freebsd.org/changeset/base/216361 Log: Fix a few issues related to the XPT_GDEV_ADVINFO CCB. camcontrol.c: In buildbusdevlist(), don't attempt to get call getdevid() for an unconfigured device,

svn commit: r216363 - head/sys/dev/mps

2010-12-10 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 10 21:45:10 2010 New Revision: 216363 URL: http://svn.freebsd.org/changeset/base/216363 Log: Fix an event handling bug with the mps(4) driver. This bug manifested itself after repeated device arrivals and departures. The root of the problem was that the last

svn commit: r216368 - head/sys/dev/mps

2010-12-10 Thread Kenneth D. Merry
Author: ken Date: Sat Dec 11 00:36:35 2010 New Revision: 216368 URL: http://svn.freebsd.org/changeset/base/216368 Log: Fix setting LUN numbers in the mps(4) driver. Prior to this change, the addressing method wasn't getting set, and so the LUN field could be set incorrectly in some

svn commit: r216088 - in head: lib/libcam sbin/camcontrol sys/cam sys/cam/scsi sys/conf sys/dev/mps sys/sys

2010-11-30 Thread Kenneth D. Merry
Author: ken Date: Tue Nov 30 22:39:46 2010 New Revision: 216088 URL: http://svn.freebsd.org/changeset/base/216088 Log: Add Serial Management Protocol (SMP) passthrough support to CAM. This includes support in the kernel, camcontrol(8), libcam and the mps(4) driver for SMP passthrough.

svn commit: r216093 - head/sys/modules/cam

2010-11-30 Thread Kenneth D. Merry
Author: ken Date: Wed Dec 1 05:39:02 2010 New Revision: 216093 URL: http://svn.freebsd.org/changeset/base/216093 Log: Add smp_all.c to the cam module build to un-break it. Reported by: jkim Modified: head/sys/modules/cam/Makefile Modified: head/sys/modules/cam/Makefile

svn commit: r213535 - in head: share/man/man4 sys/dev/mps

2010-10-07 Thread Kenneth D. Merry
Author: ken Date: Thu Oct 7 21:56:10 2010 New Revision: 213535 URL: http://svn.freebsd.org/changeset/base/213535 Log: Turn on serialization of task management commands going down to the controller, but make it optional. After a problem report from Andrew Boyer, it looks like the LSI

svn commit: r212802 - head/sys/dev/mps

2010-09-17 Thread Kenneth D. Merry
Author: ken Date: Fri Sep 17 21:53:56 2010 New Revision: 212802 URL: http://svn.freebsd.org/changeset/base/212802 Log: Fix a couple of mps problems. When the driver is completely saturated with commands (1024 in the case of the SAS2008 in my test system), I/O stops. If we tell CAM

svn commit: r212772 - head/sys/dev/mps

2010-09-16 Thread Kenneth D. Merry
Author: ken Date: Thu Sep 16 22:54:56 2010 New Revision: 212772 URL: http://svn.freebsd.org/changeset/base/212772 Log: MFp4 (//depot/projects/mps/...): According to the MPT2 spec, task management commands are serialized, and so no I/O should start while task management commands are

svn commit: r212669 - head/share/man/man4

2010-09-15 Thread Kenneth D. Merry
Author: ken Date: Wed Sep 15 16:05:51 2010 New Revision: 212669 URL: http://svn.freebsd.org/changeset/base/212669 Log: MFp4 (//depot/projects/mps/...) Fix a typo. Submitted by: pluknet at gmail dot com Modified: head/share/man/man4/mps.4 Modified: head/share/man/man4/mps.4

svn commit: r212616 - head/sys/dev/mps

2010-09-14 Thread Kenneth D. Merry
Author: ken Date: Tue Sep 14 17:22:06 2010 New Revision: 212616 URL: http://svn.freebsd.org/changeset/base/212616 Log: MFp4: (//depot/projects/mps/...) Report data overruns properly. Submitted by: scottl Modified: head/sys/dev/mps/mps_sas.c Modified: head/sys/dev/mps/mps_sas.c

svn commit: r212624 - head/share/man/man4

2010-09-14 Thread Kenneth D. Merry
Author: ken Date: Tue Sep 14 21:40:29 2010 New Revision: 212624 URL: http://svn.freebsd.org/changeset/base/212624 Log: MFp4 (//depot/projects/mps/...) Add a man page for the mps(4) driver, and reference it in the mpt(4) driver man page. Sponsored by: Spectra Logic Corporation

<    1   2   3   4   5   >