svn commit: r209790 - stable/8/sys/sys

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 03:41:57 2010 New Revision: 209790 URL: http://svn.freebsd.org/changeset/base/209790 Log: MFC r209119,209325: - Add a utility macro to simplify calculating an aggregate sum from a DPCPU counter variable. - Rename the internal for loop iterator to "

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

2010-07-07 Thread Alan Cox
Author: alc Date: Thu Jul 8 03:35:00 2010 New Revision: 209789 URL: http://svn.freebsd.org/changeset/base/209789 Log: Correctly maintain the per-cpu field "curpmap" on amd64 just like we do on i386. The consequences of not doing so on amd64 became apparent with the introduction of the COUN

svn commit: r209788 - in stable/8: share/man/man9 sys/kern sys/sys

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 03:28:25 2010 New Revision: 209788 URL: http://svn.freebsd.org/changeset/base/209788 Log: MFC r207223: - Rework the underlying ALQ storage to be a circular buffer, which amongst other things allows variable length messages to be easily supported.

svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-07 Thread Randi Harper
Author: randi Date: Thu Jul 8 03:28:25 2010 New Revision: 209787 URL: http://svn.freebsd.org/changeset/base/209787 Log: Remove the ability to upgrade via sysinstall. This feature has been flaky and broken for a number of years. freebsd-update now provides a reasonable way to handle upgrades

svn commit: r209786 - stable/8/sys/kern

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 02:46:42 2010 New Revision: 209786 URL: http://svn.freebsd.org/changeset/base/209786 Log: MFC r206028: The ALQ should not be considered drained until it has been made inactive. Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rw

svn commit: r209785 - stable/8/sys/kern

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 02:43:52 2010 New Revision: 209785 URL: http://svn.freebsd.org/changeset/base/209785 Log: MFC r206027: According to SLEEP(9), msleep() is deprecated in favour of mtx_sleep(). Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwat

svn commit: r209784 - stable/8/sys/kern

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 02:41:55 2010 New Revision: 209784 URL: http://svn.freebsd.org/changeset/base/209784 Log: MFC r206026: - Factor code to destroy an ALQ out of alq_close() into a private alq_destroy(). - Use the new alq_destroy() to properly handle a failure case in al

svn commit: r209783 - in stable/8/sys: kern modules modules/alq

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 02:35:37 2010 New Revision: 209783 URL: http://svn.freebsd.org/changeset/base/209783 Log: MFC r205959: Add support for ALQ(9) to be compiled and loaded as a kernel module. Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson

Re: svn commit: r209772 - head/usr.bin/getopt

2010-07-07 Thread Anonymous
Garrett Cooper writes: > On Wed, Jul 7, 2010 at 10:58 AM, Anonymous wrote: >> Doug Barton writes: >> >>> On 7/7/2010 10:44 AM, Benedict Reuschling wrote: Author: bcr (doc committer) >>> -for i +while true;  do >>> >>> If this is intended to be an sh scripting example a bette

svn commit: r209782 - head/usr.sbin/sysinstall

2010-07-07 Thread Randi Harper
Author: randi Date: Wed Jul 7 22:53:58 2010 New Revision: 209782 URL: http://svn.freebsd.org/changeset/base/209782 Log: Add support for remote logging to syslogd via an install.cfg variable. Approved by: cperciva (mentor) MFC after:3 weeks Modified: head/usr.sbin/sysinstall/insta

Re: svn commit: r209772 - head/usr.bin/getopt

2010-07-07 Thread Garrett Cooper
On Wed, Jul 7, 2010 at 10:58 AM, Anonymous wrote: > Doug Barton writes: > >> On 7/7/2010 10:44 AM, Benedict Reuschling wrote: >>> Author: bcr (doc committer) >> >>> -for i >>> +while true; >>>  do >> >> If this is intended to be an sh scripting example a better way to write >> that is: >> >> whil

svn commit: r209781 - releng/8.1/sys/sparc64/include

2010-07-07 Thread Marius Strobl
Author: marius Date: Wed Jul 7 21:00:17 2010 New Revision: 209781 URL: http://svn.freebsd.org/changeset/base/209781 Log: MFC: r209695 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which a

svn commit: r209779 - in head/sys/ia64: acpica include

2010-07-07 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 7 20:07:33 2010 New Revision: 209779 URL: http://svn.freebsd.org/changeset/base/209779 Log: Add acpi_find_table() -- a convenience function for looking up an ACPI table given the signature. Modified: head/sys/ia64/acpica/acpi_machdep.c head/sys/ia64/include/m

svn commit: r209778 - head/usr.sbin/sysinstall

2010-07-07 Thread Randi Harper
Author: randi Date: Wed Jul 7 20:06:48 2010 New Revision: 209778 URL: http://svn.freebsd.org/changeset/base/209778 Log: Add further documentation for netDev in install.cfg to reflect the new usage. Approved by: cperciva (mentor) MFC after:3 days Modified: head/usr.sbin/sysinsta

svn commit: r209777 - stable/7/sys/sparc64/include

2010-07-07 Thread Marius Strobl
Author: marius Date: Wed Jul 7 19:52:57 2010 New Revision: 209777 URL: http://svn.freebsd.org/changeset/base/209777 Log: MFC: r209695 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which a

svn commit: r209776 - stable/8/sys/sparc64/include

2010-07-07 Thread Marius Strobl
Author: marius Date: Wed Jul 7 19:52:50 2010 New Revision: 209776 URL: http://svn.freebsd.org/changeset/base/209776 Log: MFC: r209695 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which a

svn commit: r209775 - head/sys/ia64/ia64

2010-07-07 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 7 19:34:48 2010 New Revision: 209775 URL: http://svn.freebsd.org/changeset/base/209775 Log: Remove pointless BOOTP conditional. Modified: head/sys/ia64/ia64/autoconf.c Modified: head/sys/ia64/ia64/autoconf.c ==

svn commit: r209774 - in head/sys/boot/ia64: common efi

2010-07-07 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 7 19:06:53 2010 New Revision: 209774 URL: http://svn.freebsd.org/changeset/base/209774 Log: Use the kernel's start address to determine what to map. This allows us to link the kernel at different addresses without needing to build a corresponding loader. Modifi

Re: svn commit: r209773 - releng/8.1/sys/net

2010-07-07 Thread pluknet
On 7 July 2010 21:52, Bjoern A. Zeeb wrote: > Author: bz > Date: Wed Jul  7 17:52:13 2010 > New Revision: 209773 > URL: http://svn.freebsd.org/changeset/base/209773 > > Log: >  MFC r207303 (originally by kmacy): > >    need to initialize the lock before it is used > >    Reported on:  stable@ (MFC

Re: svn commit: r209772 - head/usr.bin/getopt

2010-07-07 Thread Anonymous
Doug Barton writes: > On 7/7/2010 10:44 AM, Benedict Reuschling wrote: >> Author: bcr (doc committer) > >> -for i >> +while true; >> do > > If this is intended to be an sh scripting example a better way to write > that is: > > while : ; > > You can't guarantee that "true" will always be availabl

svn commit: r209773 - releng/8.1/sys/net

2010-07-07 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jul 7 17:52:13 2010 New Revision: 209773 URL: http://svn.freebsd.org/changeset/base/209773 Log: MFC r207303 (originally by kmacy): need to initialize the lock before it is used Reported on: stable@ (MFC missing) Approved by: re (kensmith) Modified: r

Re: svn commit: r209772 - head/usr.bin/getopt

2010-07-07 Thread Doug Barton
On 7/7/2010 10:44 AM, Benedict Reuschling wrote: > Author: bcr (doc committer) > -for i > +while true; > do If this is intended to be an sh scripting example a better way to write that is: while : ; You can't guarantee that "true" will always be available and do what you expect, whereas the ':

svn commit: r209772 - head/usr.bin/getopt

2010-07-07 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Wed Jul 7 17:44:09 2010 New Revision: 209772 URL: http://svn.freebsd.org/changeset/base/209772 Log: Fix an error in the EXAMPLES section of getopt(1), which is based on the same fix present in NetBSD. Note: the getopt man page contains more antique infor

svn commit: r209771 - in releng/8.1/release: picobsd/floppy.tree/sbin scripts

2010-07-07 Thread Ken Smith
Author: kensmith Date: Wed Jul 7 17:20:16 2010 New Revision: 209771 URL: http://svn.freebsd.org/changeset/base/209771 Log: Merge r209770 from stable/8: > Package set for 8.1-RELEASE. We still have a 2Gb maximum file size > limit caused by cvsup still being used for some of our mirror sy

svn commit: r209770 - stable/8/release/scripts

2010-07-07 Thread Ken Smith
Author: kensmith Date: Wed Jul 7 17:05:32 2010 New Revision: 209770 URL: http://svn.freebsd.org/changeset/base/209770 Log: Package set for 8.1-RELEASE. We still have a 2Gb maximum file size limit caused by cvsup still being used for some of our mirror system. That is being worked on.

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

2010-07-07 Thread Adrian Chadd
Author: adrian Date: Wed Jul 7 15:05:44 2010 New Revision: 209769 URL: http://svn.freebsd.org/changeset/base/209769 Log: Fix the CS line definitions. These bits are for the CS2/CS1 lines rather than CS1/CS0. This has been tested on the Ubiqiti Routerstation Pro board. Modified: head/s

svn commit: r209768 - vendor-cddl

2010-07-07 Thread Rui Paulo
Author: rpaulo Date: Wed Jul 7 14:24:48 2010 New Revision: 209768 URL: http://svn.freebsd.org/changeset/base/209768 Log: As per discussion in freebsd-arch, remove the vendor-cddl tree. Deleted: vendor-cddl/ ___ svn-src-all@freebsd.org mailing list

svn commit: r209767 - stable/8/sys/powerpc/aim

2010-07-07 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jul 7 14:21:40 2010 New Revision: 209767 URL: http://svn.freebsd.org/changeset/base/209767 Log: MFC r209114: Make SMP work on MPC7400-based Apple desktops like the PowerMac3,3. Modified: stable/8/sys/powerpc/aim/mp_cpudep.c stable/8/sys/powerpc/aim/platform_c

svn commit: r209766 - stable/8/sys/powerpc/ofw

2010-07-07 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jul 7 14:19:58 2010 New Revision: 209766 URL: http://svn.freebsd.org/changeset/base/209766 Log: MFC r209222: Modify the console mouse pointer drawing routine to use single-byte writes instead of 4-byte ones. Because the mouse pointer can start part way thro

svn commit: r209765 - stable/8/sys/kern

2010-07-07 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jul 7 14:15:51 2010 New Revision: 209765 URL: http://svn.freebsd.org/changeset/base/209765 Log: MFC r209490,209492: Move default HZ from 100 to 1000 on powerpc, and rearrange the logic slightly, so that it is set to 100 on ARM and MIPS and defaults to 1000,

svn commit: r209764 - head/usr.sbin/sysinstall

2010-07-07 Thread Bruce Cran
Author: brucec Date: Wed Jul 7 12:44:19 2010 New Revision: 209764 URL: http://svn.freebsd.org/changeset/base/209764 Log: Increase the default and minimum partition sizes. Bump / to 1GB, /var to 4GB and /tmp to 1GB. A 512MB root partition is now too small to hold two kernels, so to prev

svn commit: r209763 - head/sys/amd64/include

2010-07-07 Thread Rui Paulo
Author: rpaulo Date: Wed Jul 7 12:08:58 2010 New Revision: 209763 URL: http://svn.freebsd.org/changeset/base/209763 Log: Fix style issues with the previous commit, namely use-tab-instead-of-space and don't use underscores in macro variables. Pointed out by: bde Modified: head/sy

svn commit: r209761 - head/sys/kern

2010-07-07 Thread Attilio Rao
Author: attilio Date: Wed Jul 7 12:00:11 2010 New Revision: 209761 URL: http://svn.freebsd.org/changeset/base/209761 Log: - Simplify logic in handling ticks wrap-up - Fix a bug where thread may be in sleeping state but the wchan won't be set, leading to an empty container for sleepq_type(

svn commit: r209760 - head/lib/libc/net

2010-07-07 Thread Randall Stewart
Author: rrs Date: Wed Jul 7 11:19:06 2010 New Revision: 209760 URL: http://svn.freebsd.org/changeset/base/209760 Log: If a user calls sctp_sendx() with a NULL sinfo we will crash. Instead we should provide our own temp structure to use internally. MFC after:1 month Modified: hea

svn commit: r209758 - head/sys/amd64/conf

2010-07-07 Thread Kevin Lo
Author: kevlo Date: Wed Jul 7 09:23:46 2010 New Revision: 209758 URL: http://svn.freebsd.org/changeset/base/209758 Log: Add the u3g(4) driver. I can't find any reason why it's not here. Modified: head/sys/amd64/conf/GENERIC Modified: head/sys/amd64/conf/GENERIC =

svn commit: r209757 - head/cddl/compat/opensolaris/misc

2010-07-07 Thread Martin Matuska
Author: mm Date: Wed Jul 7 07:09:33 2010 New Revision: 209757 URL: http://svn.freebsd.org/changeset/base/209757 Log: - Add support for the "sec" option to "zfs set sharenfs" Submitted by: Dmitry Morozovsky Approved by: delphij (mentor) MFC after:3 days Modified: head/cddl/comp