Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-19 Thread Alexander Motin
Lawrence Stewart wrote: > On 02/19/10 02:53, Matthew Jacob wrote: >> Just a total swag here, but reduce the openings via camcontrol to < 32, >> or even < 16 > > Thanks for the suggestion. camcontrol doesn't seem able to futz with the > mpt controller e.g.: > > r...@server# camcontrol identify da0

svn commit: r204083 - head/etc/rc.d

2010-02-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Feb 19 09:18:26 2010 New Revision: 204083 URL: http://svn.freebsd.org/changeset/base/204083 Log: Add missing KEYWORD line. Pointed out by: dougb Modified: head/etc/rc.d/hastd Modified: head/etc/rc.d/hastd ==

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-19 Thread Lawrence Stewart
On 02/19/10 19:50, Alexander Motin wrote: Lawrence Stewart wrote: On 02/19/10 02:53, Matthew Jacob wrote: Just a total swag here, but reduce the openings via camcontrol to< 32, or even< 16 Thanks for the suggestion. camcontrol doesn't seem able to futz with the mpt controller e.g.: r...@se

svn commit: r204085 - head/usr.sbin/mptable

2010-02-19 Thread John Baldwin
Author: jhb Date: Fri Feb 19 14:27:32 2010 New Revision: 204085 URL: http://svn.freebsd.org/changeset/base/204085 Log: Fix a typo. Submitted by: Jakub Lach jakub_lach of mailplus pl Modified: head/usr.sbin/mptable/mptable.c Modified: head/usr.sbin/mptable/mptable.c

svn commit: r204086 - head/usr.sbin/mptutil

2010-02-19 Thread John Baldwin
Author: jhb Date: Fri Feb 19 14:31:01 2010 New Revision: 204086 URL: http://svn.freebsd.org/changeset/base/204086 Log: - Don't emit a warning in 'show adapter' if the IOC2 or IOC6 pages are not present. mpt(4) controllers that do not support RAID do not have an IOC6 page, for example.

svn commit: r204087 - head/sys/kern

2010-02-19 Thread Attilio Rao
Author: attilio Date: Fri Feb 19 14:59:41 2010 New Revision: 204087 URL: http://svn.freebsd.org/changeset/base/204087 Log: Fix a race in regard of p_numthreads. Submitted by: Giovanni Trematerra Modified: head/sys/kern/kern_kthread.c Modified: head/sys/kern/kern_kthread

svn commit: r204088 - head/sys/kern

2010-02-19 Thread Attilio Rao
Author: attilio Date: Fri Feb 19 15:03:55 2010 New Revision: 204088 URL: http://svn.freebsd.org/changeset/base/204088 Log: Fix the grammar. Submitted by: Brandon Gooch Modified: head/sys/kern/kern_kthread.c Modified: head/sys/kern/kern_kthread.c

svn commit: r204089 - head/sys/kern

2010-02-19 Thread Attilio Rao
Author: attilio Date: Fri Feb 19 15:10:05 2010 New Revision: 204089 URL: http://svn.freebsd.org/changeset/base/204089 Log: Use the cached value within comparison. Submitted by: jhb Modified: head/sys/kern/kern_kthread.c Modified: head/sys/kern/kern_kthread.c

svn commit: r204090 - head/usr.sbin/mptutil

2010-02-19 Thread John Baldwin
Author: jhb Date: Fri Feb 19 15:16:00 2010 New Revision: 204090 URL: http://svn.freebsd.org/changeset/base/204090 Log: Fix mptutil's method for locating disk devices attached to a specific mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MA

svn commit: r204091 - stable/8/sys/fs/nfsserver

2010-02-19 Thread Rick Macklem
Author: rmacklem Date: Fri Feb 19 16:36:08 2010 New Revision: 204091 URL: http://svn.freebsd.org/changeset/base/204091 Log: MFC: r203849 Change the default value for vfs.newnfs.enable_locallocks to 0 for the experimental NFS server, since local locking is known to be broken and the patch t

svn commit: r204092 - head/usr.bin/unifdef

2010-02-19 Thread Tony Finch
Author: fanf Date: Fri Feb 19 16:54:51 2010 New Revision: 204092 URL: http://svn.freebsd.org/changeset/base/204092 Log: Update to upstream version 1.338 Fix a long-standing cpp compatibility bug: The -DFOO argument (without an explicit value) should define FOO to 1 not to the empty stri

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-19 Thread Alexander Motin
Lawrence Stewart wrote: > A couple of times it has gotten even more upset reporting things like this: > > mpt0: mpt_cam_event: 0x16 > mpt0: mpt_cam_event: 0x16 > mpt0: request 0xff80002f1400:54058 timed out for ccb > 0xff0001c65000 (req->ccb 0xff0001c65000) > mpt0: attempting to abort

svn commit: r204093 - head/sys/mips/atheros

2010-02-19 Thread Alexander Kabaev
Author: kan Date: Fri Feb 19 17:37:46 2010 New Revision: 204093 URL: http://svn.freebsd.org/changeset/base/204093 Log: Define DMA_RX_STATUS_OVERFLOW with correct value. The RX overflow is reported in bit 2 on real hardware and Linux driver for the same device already has this defined corr

svn commit: r204094 - stable/8/sys/cam/scsi

2010-02-19 Thread Alexander Motin
Author: mav Date: Fri Feb 19 17:45:47 2010 New Revision: 204094 URL: http://svn.freebsd.org/changeset/base/204094 Log: MFC r203931: Make CD driver a bit more robust and predictable to unreported errors. Modified: stable/8/sys/cam/scsi/scsi_cd.c Directory Properties: stable/8/sys/ (props

svn commit: r204095 - stable/8/sys/dev/ahci

2010-02-19 Thread Alexander Motin
Author: mav Date: Fri Feb 19 17:54:03 2010 New Revision: 204095 URL: http://svn.freebsd.org/changeset/base/204095 Log: MFC r203873: With FBS enabled, we have no idea what command caused timeout. Implement same logic as in siis(4) - wait for other commands complete or timeout and then give

svn commit: r204096 - head/sys/netinet

2010-02-19 Thread Michael Tuexen
Author: tuexen Date: Fri Feb 19 18:00:38 2010 New Revision: 204096 URL: http://svn.freebsd.org/changeset/base/204096 Log: * Fix another u_long -> uint32_t issue. * Remove an unused global variable. * Fix an issue reported by Bruce Cran related to reusing SCTP socket which where connected

svn commit: r204097 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci netinet

2010-02-19 Thread Alexander Motin
Author: mav Date: Fri Feb 19 18:01:32 2010 New Revision: 204097 URL: http://svn.freebsd.org/changeset/base/204097 Log: Mark r203870 as merged. It was accidentally committed before. Modified: Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props chang

svn commit: r204098 - stable/8/sys/dev/pci

2010-02-19 Thread Alexander Motin
Author: mav Date: Fri Feb 19 18:07:51 2010 New Revision: 204098 URL: http://svn.freebsd.org/changeset/base/204098 Log: MFC r203528: Add pci_get|set_max_read_req() helper functions to control maximum PCIe read request size. Modified: stable/8/sys/dev/pci/pci.c stable/8/sys/dev/pci/pcivar

svn commit: r204099 - stable/8/sys/dev/siis

2010-02-19 Thread Alexander Motin
Author: mav Date: Fri Feb 19 18:15:45 2010 New Revision: 204099 URL: http://svn.freebsd.org/changeset/base/204099 Log: MFC r200291, r203529: Increase Max Read Request Size for PCIe chips from 512 to 1024 bytes. It gives those beasts additional 10% of write bandwidth. Use new helper functio

svn commit: r204100 - head/sys/dev/ath

2010-02-19 Thread Daniel Eischen
Author: deischen Date: Fri Feb 19 18:23:45 2010 New Revision: 204100 URL: http://svn.freebsd.org/changeset/base/204100 Log: Correct spelling of reseting (found while researching the "bb hang detected" messages that are plaguing me). While I'm here, delete trailing whitespace. Modified: hea

svn commit: r204101 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-02-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Feb 19 20:18:16 2010 New Revision: 204101 URL: http://svn.freebsd.org/changeset/base/204101 Log: Don't set f_bsize to recordsize. It might confuse some software (like squid). Submitted by: Alexander Zagrebin MFC after:2 weeks Modified: head/sys/cddl/contrib/o

svn commit: r204102 - head/sys/modules

2010-02-19 Thread Marius Strobl
Author: marius Date: Fri Feb 19 21:11:40 2010 New Revision: 204102 URL: http://svn.freebsd.org/changeset/base/204102 Log: Hook up nfs_common missed in r203968. Submitted by: kib Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile =

svn commit: r204103 - in head/usr.bin: . seq

2010-02-19 Thread Xin LI
Author: delphij Date: Fri Feb 19 23:54:12 2010 New Revision: 204103 URL: http://svn.freebsd.org/changeset/base/204103 Log: Add seq(1), a small utility to generate sequence number. Obtained from:NetBSD MFC after:3 months Added: head/usr.bin/seq/ head/usr.bin/seq/Makefile

svn commit: r204104 - head/usr.bin/jot

2010-02-19 Thread Xin LI
Author: delphij Date: Sat Feb 20 00:16:44 2010 New Revision: 204104 URL: http://svn.freebsd.org/changeset/base/204104 Log: Add a reference to newly added seq(1) command. Submitted by: jilles MFC after:3 months Modified: head/usr.bin/jot/jot.1 Modified: head/usr.bin/jot/jot.1 =

svn commit: r204105 - head/sys/net

2010-02-19 Thread Jung-uk Kim
Author: jkim Date: Sat Feb 20 00:19:21 2010 New Revision: 204105 URL: http://svn.freebsd.org/changeset/base/204105 Log: Return partially filled buffer for non-blocking read(2) in non-immediate mode. PR: kern/143855 Modified: head/sys/net/bpf.c Modified: head/sys/net/bpf.c ==

svn commit: r204106 - head/sys/sys

2010-02-19 Thread Ed Maste
Author: emaste Date: Sat Feb 20 01:05:30 2010 New Revision: 204106 URL: http://svn.freebsd.org/changeset/base/204106 Log: Avoid corrupting the list or queue if _REMOVE is invoked with a reference to the head. PR: kern/119307 MFC After:1 week Modified: head/sys/sys/queue

svn commit: r204107 - head/usr.bin/seq

2010-02-19 Thread Xin LI
Author: delphij Date: Sat Feb 20 01:23:15 2010 New Revision: 204107 URL: http://svn.freebsd.org/changeset/base/204107 Log: Treat numbers after [Ee] a positive number rather than an invalid one. Modified: head/usr.bin/seq/seq.c Modified: head/usr.bin/seq/seq.c ==

Re: svn commit: r204105 - head/sys/net

2010-02-19 Thread Jung-uk Kim
On Friday 19 February 2010 07:19 pm, Jung-uk Kim wrote: > Author: jkim > Date: Sat Feb 20 00:19:21 2010 > New Revision: 204105 > URL: http://svn.freebsd.org/changeset/base/204105 > > Log: > Return partially filled buffer for non-blocking read(2) > in non-immediate mode. > > PR: kern/1

svn commit: r204108 - in head/sys: conf mips/conf

2010-02-19 Thread Neel Natu
Author: neel Date: Sat Feb 20 06:39:14 2010 New Revision: 204108 URL: http://svn.freebsd.org/changeset/base/204108 Log: Get rid of unused options: KERNPHYSADDR, KERNVIRTADDR, PHYSADDR, PHYS_ADDR_64BIT Discussed with: gonzo, imp Modified: head/sys/conf/options.mips head/sys/mips/conf/A

svn commit: r204109 - head/sys/mips/mips

2010-02-19 Thread Neel Natu
Author: neel Date: Sat Feb 20 07:34:37 2010 New Revision: 204109 URL: http://svn.freebsd.org/changeset/base/204109 Log: Fix DDB backtrace that includes a kernel exception frame. The backtrace code tries to look for an instruction of the form "sw ra, x(sp)" to figure out the program counte