svn commit: r216320 - in head/sys/mips: adm5120 alchemy cavium idt malta rmi sentry5 sibyte

2010-12-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 9 07:47:40 2010 New Revision: 216320 URL: http://svn.freebsd.org/changeset/base/216320 Log: - dump_avail layout should be sequence of [start, end) pairs, not . Spotted by: alc@ Modified: head/sys/mips/adm5120/adm5120_machdep.c head/sys/mips/alchemy/al

svn commit: r216319 - head/sys/vm

2010-12-08 Thread Jayachandran C.
Author: jchandra Date: Thu Dec 9 07:39:06 2010 New Revision: 216319 URL: http://svn.freebsd.org/changeset/base/216319 Log: Revert the vm/vm_page.c change in r216317. This adds back changes in r216141, which was reverted by the above check in. Modified: head/sys/vm/vm_page.c Modified:

svn commit: r216318 - in head/sys/mips: adm5120 alchemy atheros cavium idt malta rmi sentry5 sibyte

2010-12-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 9 07:01:03 2010 New Revision: 216318 URL: http://svn.freebsd.org/changeset/base/216318 Log: - Populate dump_avail with proper values from phys_avail Modified: head/sys/mips/adm5120/adm5120_machdep.c head/sys/mips/alchemy/alchemy_machdep.c head/sys/mips/atheros

svn commit: r216317 - in head/sys: mips/mips vm

2010-12-08 Thread Jayachandran C.
Author: jchandra Date: Thu Dec 9 06:54:06 2010 New Revision: 216317 URL: http://svn.freebsd.org/changeset/base/216317 Log: swi_vm() for mips. Modified: head/sys/mips/mips/vm_machdep.c head/sys/vm/vm_page.c Modified: head/sys/mips/mips/vm_machdep.c =

svn commit: r216316 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-12-08 Thread Colin Percival
Author: cperciva Date: Thu Dec 9 06:41:50 2010 New Revision: 216316 URL: http://svn.freebsd.org/changeset/base/216316 Log: Replace i386/i386/busdma_machdep.c and amd64/amd64/busdma_machdep.c (which are identical) with a single x86/x86/busdma_machdep.c. Added: head/sys/x86/x86/busdma_machde

svn commit: r216315 - in head/sys: conf mips/include mips/mips

2010-12-08 Thread Jayachandran C.
Author: jchandra Date: Thu Dec 9 06:34:28 2010 New Revision: 216315 URL: http://svn.freebsd.org/changeset/base/216315 Log: UMA_MD_SMALL_ALLOC for mips. Implement uma_small_alloc() and uma_small_free() for mips that allocates pages from direct mapped memory. Uses the same mechanism as the

svn commit: r216314 - head/sys/kern

2010-12-08 Thread David Xu
Author: davidxu Date: Thu Dec 9 05:16:20 2010 New Revision: 216314 URL: http://svn.freebsd.org/changeset/base/216314 Log: MFp4: The unit number allocator reuses ID too fast, this may hide bugs in other code, add a ring buffer to delay freeing a thread ID. Modified: head/sys/kern/kern_thr

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

2010-12-08 Thread David Xu
Author: davidxu Date: Thu Dec 9 02:42:02 2010 New Revision: 216313 URL: http://svn.freebsd.org/changeset/base/216313 Log: MFp4: It is possible a lower priority thread lending priority to higher priority thread, in old code, it is ignored, however the lending should always be recorded, add

svn commit: r216312 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2010-12-08 Thread Jung-uk Kim
Author: jkim Date: Wed Dec 8 23:40:41 2010 New Revision: 216312 URL: http://svn.freebsd.org/changeset/base/216312 Log: Do not subtract 0.5% from estimated frequency if DELAY(9) is driven by TSC. Remove a confusing comment about converting to MHz as we never did. Modified: head/sys/amd64/am

svn commit: r216311 - head/tools/regression/usr.bin/printf

2010-12-08 Thread Jilles Tjoelker
Author: jilles Date: Wed Dec 8 22:54:18 2010 New Revision: 216311 URL: http://svn.freebsd.org/changeset/base/216311 Log: printf: Test that the "--" option terminator works. Added: head/tools/regression/usr.bin/printf/regress.m5.out (contents, props changed) Modified: head/tools/regressi

Re: svn commit: r216269 - head/sys/geom/part

2010-12-08 Thread Bruce Cran
On Wed, 8 Dec 2010 16:46:17 +1100 (EST) Bruce Evans wrote: > - for ATA drives, it uses the "firmware" geometry supplied by the > drive firmware. The ATA standard specifies this to be H=16/S=63 for > all drives larger than a certain size (IIRC, about 8GB, which is the > size at which the better d

svn commit: r216310 - head/usr.bin/printf

2010-12-08 Thread Jilles Tjoelker
Author: jilles Date: Wed Dec 8 22:13:27 2010 New Revision: 216310 URL: http://svn.freebsd.org/changeset/base/216310 Log: printf: Remove support for building as a csh builtin. The #define BUILTIN was for building as a csh (not tcsh) builtin. Given that csh was replaced by tcsh years ago t

svn commit: r216309 - head/sys/dev/ahci

2010-12-08 Thread Alexander Motin
Author: mav Date: Wed Dec 8 20:35:20 2010 New Revision: 216309 URL: http://svn.freebsd.org/changeset/base/216309 Log: Add IDs of HighPoint RocketRAID 62x cards (Marvell 88SE9128 chips). PR: kern/152926 Submitted by: Mike Tancsa MFC after:1 week Modified: head/sys/dev/

svn commit: r216308 - in head/sys: amd64/amd64 i386/i386

2010-12-08 Thread Colin Percival
Author: cperciva Date: Wed Dec 8 20:20:10 2010 New Revision: 216308 URL: http://svn.freebsd.org/changeset/base/216308 Log: On amd64, we have (since r1.72, in December 2005) MAX_BPAGES=8192, while on i386 we have MAX_BPAGES=512. Implement this difference via '#ifdef __i386__'. With thi

svn commit: r216306 - head/sys/amd64/amd64

2010-12-08 Thread Colin Percival
Author: cperciva Date: Wed Dec 8 19:52:04 2010 New Revision: 216306 URL: http://svn.freebsd.org/changeset/base/216306 Log: MFi386 r1.94: If XEN, make pmap_kextract = pmap_kextract_ma. This is a no-op currently, since FreeBSD/amd64 doesn't have (paravirtualized) Xen support, but if/when tha

svn commit: r216304 - head/sys/amd64/amd64

2010-12-08 Thread Colin Percival
Author: cperciva Date: Wed Dec 8 19:42:21 2010 New Revision: 216304 URL: http://svn.freebsd.org/changeset/base/216304 Log: MFi386 r1.81, r1.82, r1.84: Reorganize code to reduce cache pressure and branch mispredictions. No objections from: scottl Modified: head/sys/amd64/amd64/busdma

Re: svn commit: r216284 - head/sys/dev/usb/net

2010-12-08 Thread Pyun YongHyeon
On Wed, Dec 08, 2010 at 08:26:50AM +0100, Hans Petter Selasky wrote: > On Wednesday 08 December 2010 02:24:05 Pyun YongHyeon wrote: > > - if (m->m_pkthdr.len > MCLBYTES) { > > - m->m_pkthdr.len = MCLBYTES; > > - } > > You ar

Re: svn commit: r216293 - head/cddl/contrib/opensolaris/lib/libzfs/common

2010-12-08 Thread Pawel Jakub Dawidek
On Wed, Dec 08, 2010 at 01:51:25PM +, Martin Matuska wrote: > Author: mm > Date: Wed Dec 8 13:51:25 2010 > New Revision: 216293 > URL: http://svn.freebsd.org/changeset/base/216293 > > Log: > Print message with information about updating the boot code if a new > vdev is attached to a root

svn commit: r216301 - head/etc

2010-12-08 Thread Shteryana Shopova
Author: syrinx Date: Wed Dec 8 17:34:07 2010 New Revision: 216301 URL: http://svn.freebsd.org/changeset/base/216301 Log: Fix typos. Modified: head/etc/snmpd.config Modified: head/etc/snmpd.config == --- head/etc/snm

svn commit: r216300 - head/etc

2010-12-08 Thread Shteryana Shopova
Author: syrinx Date: Wed Dec 8 17:27:59 2010 New Revision: 216300 URL: http://svn.freebsd.org/changeset/base/216300 Log: Add (disabled) sample configurations needed to enable the snmp_usm and snmp_vacm modules and minimal user/view configurations needed to for the modules to work properly.

svn commit: r216299 - head/contrib/bsnmp/lib

2010-12-08 Thread Shteryana Shopova
Author: syrinx Date: Wed Dec 8 15:52:06 2010 New Revision: 216299 URL: http://svn.freebsd.org/changeset/base/216299 Log: Add a forgotten file from r216294 and unbreak the build. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@ Added: head/con

svn commit: r216298 - head/sys/dev/ichwd

2010-12-08 Thread Attilio Rao
Author: attilio Date: Wed Dec 8 15:32:54 2010 New Revision: 216298 URL: http://svn.freebsd.org/changeset/base/216298 Log: Use convenience macro for minimum and maximum value capping when re-arming the watchdog timeout. Sponsored by: Sandvine Incorporated Submitted by: Mark Johnston

Re: svn commit: r216263 - head/sys/dev/acpica

2010-12-08 Thread John Baldwin
On Tuesday, December 07, 2010 8:24:28 pm Alexey Dokuchaev wrote: > On Tue, Dec 07, 2010 at 06:49:11PM +, John Baldwin wrote: > > Author: jhb > > Date: Tue Dec 7 18:49:11 2010 > > New Revision: 216263 > > URL: http://svn.freebsd.org/changeset/base/216263 > > > > Log: > > Use proper resource

svn commit: r216297 - head/sbin/route

2010-12-08 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 8 15:12:37 2010 New Revision: 216297 URL: http://svn.freebsd.org/changeset/base/216297 Log: - Fix array bounds checking. [1] - Add message length checking. PR: 151664 [1] Submitted by: Alexey Illarionov [1] Reviewed by: yar Modified: head/

svn commit: r216296 - head/sbin/route

2010-12-08 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 8 15:10:27 2010 New Revision: 216296 URL: http://svn.freebsd.org/changeset/base/216296 Log: Add RTM_IEEE80211 to array of route message descriptions. PR: 151664 Submitted by: Alexey Illarionov Modified: head/sbin/route/route.c Modified: head/s

svn commit: r216295 - in head/usr.sbin/bsnmpd: . tools tools/bsnmptools tools/libbsnmptools

2010-12-08 Thread Shteryana Shopova
Author: syrinx Date: Wed Dec 8 14:30:25 2010 New Revision: 216295 URL: http://svn.freebsd.org/changeset/base/216295 Log: Add bsnmpd(1)'s SNMP client tools (including SNMPv3 support) to the base system. Sponsored by: The FreeBSD Foundation (the SNMPv3 bits), Google Summer of Code 2005

svn commit: r216294 - in head: contrib/bsnmp/lib contrib/bsnmp/snmp_usm contrib/bsnmp/snmp_vacm contrib/bsnmp/snmpd lib/libbsnmp/libbsnmp usr.sbin/bsnmpd/bsnmpd usr.sbin/bsnmpd/modules usr.sbin/bsn...

2010-12-08 Thread Shteryana Shopova
Author: syrinx Date: Wed Dec 8 13:51:38 2010 New Revision: 216294 URL: http://svn.freebsd.org/changeset/base/216294 Log: In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415). S

svn commit: r216293 - head/cddl/contrib/opensolaris/lib/libzfs/common

2010-12-08 Thread Martin Matuska
Author: mm Date: Wed Dec 8 13:51:25 2010 New Revision: 216293 URL: http://svn.freebsd.org/changeset/base/216293 Log: Print message with information about updating the boot code if a new vdev is attached to a root pool (e.g. when creating a mirrored boot pool). Reviewed by: pav Approve

svn commit: r216292 - head/usr.sbin/extattrctl

2010-12-08 Thread Kevin Lo
Author: kevlo Date: Wed Dec 8 10:27:07 2010 New Revision: 216292 URL: http://svn.freebsd.org/changeset/base/216292 Log: Close fd in initattr() and showattr(). Reviewed by: rwatson Modified: head/usr.sbin/extattrctl/extattrctl.c Modified: head/usr.sbin/extattrctl/extattrctl.c =

Re: svn commit: r216291 - head/cddl/contrib/opensolaris/lib/libzfs/common

2010-12-08 Thread Pawel Jakub Dawidek
On Wed, Dec 08, 2010 at 10:14:13AM +0100, Martin Matuska wrote: > Here are some arguments: > > a) it was removed in OpenSolaris rev. 12865:08987220809a > b) a root pool does not not have to be a boot pool > > So if we need a warning here, it should print only some general > suggestion because > u

Re: svn commit: r216291 - head/cddl/contrib/opensolaris/lib/libzfs/common

2010-12-08 Thread Martin Matuska
Here are some arguments: a) it was removed in OpenSolaris rev. 12865:08987220809a b) a root pool does not not have to be a boot pool So if we need a warning here, it should print only some general suggestion because user may attach any vdev (e.g. a file or a memory disk) to make a mirror from a r

Re: svn commit: r216291 - head/cddl/contrib/opensolaris/lib/libzfs/common

2010-12-08 Thread Pawel Jakub Dawidek
On Wed, Dec 08, 2010 at 08:57:37AM +, Martin Matuska wrote: > Author: mm > Date: Wed Dec 8 08:57:37 2010 > New Revision: 216291 > URL: http://svn.freebsd.org/changeset/base/216291 > > Log: > Do not print OpenSolaris hint to use (non-existing) installgrub(1) command > if creating a mirror

svn commit: r216291 - head/cddl/contrib/opensolaris/lib/libzfs/common

2010-12-08 Thread Martin Matuska
Author: mm Date: Wed Dec 8 08:57:37 2010 New Revision: 216291 URL: http://svn.freebsd.org/changeset/base/216291 Log: Do not print OpenSolaris hint to use (non-existing) installgrub(1) command if creating a mirror by attaching a new vdev to a root pool. Reported by: James R. Van Artsdale