svn commit: r217391 - in head/release: amd64 i386 ia64 pc98 powerpc sparc64 sun4v

2011-01-14 Thread Takahashi Yoshihiro
Author: nyan Date: Fri Jan 14 10:56:44 2011 New Revision: 217391 URL: http://svn.freebsd.org/changeset/base/217391 Log: Fix making a release. The old libdialog was renamed to libodialog. Modified: head/release/amd64/boot_crunch.conf head/release/i386/boot_crunch.conf head/release/ia64/bo

svn commit: r217392 - stable/8/sys/geom

2011-01-14 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 14 11:12:56 2011 New Revision: 217392 URL: http://svn.freebsd.org/changeset/base/217392 Log: MFC r214748: Extend the g_eventlock mutex coverage in one_event() to include setting of the EV_DONE flag and use the mutex to protect against losing wakeups in g_waitfor

svn commit: r217393 - head/lib/libcompiler_rt

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:23:39 2011 New Revision: 217393 URL: http://svn.freebsd.org/changeset/base/217393 Log: Mark libcompiler_rt as not needed executable stack on powerpc. Reviewed and tested by: nwhitehorn Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/li

svn commit: r217394 - head/contrib/binutils/ld

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:25:11 2011 New Revision: 217394 URL: http://svn.freebsd.org/changeset/base/217394 Log: Add a workaround for the warnings and sometimes errors due to missed forward-declaration. Reviewed by: dim Modified: head/contrib/binutils/ld/ldemul.h Modified: head

svn commit: r217395 - head/contrib/binutils/ld/emultempl

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:28:34 2011 New Revision: 217395 URL: http://svn.freebsd.org/changeset/base/217395 Log: On PowerPC64, linker emits a fake object into each linked object, 'linker stubs'. Add .note.GNU-stack for the stubs objects. Without this, final binary will have RWE mode fo

svn commit: r217396 - head/contrib/gcc/config/rs6000

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:31:22 2011 New Revision: 217396 URL: http://svn.freebsd.org/changeset/base/217396 Log: Configure gcc to emit .note.GNU-stack for both 32 and 64 bits PowerPC. Mark gcc-provided asm files as not requiring executable stack. It seems that non-FreeBSD ABIs for p

svn commit: r217397 - in head/libexec/rtld-elf: powerpc powerpc64

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:32:31 2011 New Revision: 217397 URL: http://svn.freebsd.org/changeset/base/217397 Log: Mark rtld on PowerPC as not requiring executable stack. Reviewed and tested by: nwhitehorn Modified: head/libexec/rtld-elf/powerpc/rtld_start.S head/libexec/rtld

svn commit: r217398 - in head/lib/libc: powerpc/gen powerpc/sys powerpc64/gen powerpc64/sys

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:33:40 2011 New Revision: 217398 URL: http://svn.freebsd.org/changeset/base/217398 Log: Mark assembler sources from libc as working with non-executable stack. Reviewed and tested by: nwhitehorn Modified: head/lib/libc/powerpc/gen/_ctx_start.S head/l

svn commit: r217399 - in head/lib/csu: powerpc powerpc64

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:34:58 2011 New Revision: 217399 URL: http://svn.freebsd.org/changeset/base/217399 Log: Mark csu on PowerPC as not requiring executable stack. Reviewed and tested by: nwhitehorn Modified: head/lib/csu/powerpc/crti.S head/lib/csu/powerpc/crtn.S hea

svn commit: r217400 - in head/sys/powerpc: include powerpc

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:36:44 2011 New Revision: 217400 URL: http://svn.freebsd.org/changeset/base/217400 Log: Enable shared page for the signal trampolines on PowerPC. Reviewed and tested by: nwhitehorn Modified: head/sys/powerpc/include/vmparam.h head/sys/powerpc/powerp

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-14 Thread John Baldwin
On Thursday, January 13, 2011 5:12:47 pm Warner Losh wrote: > On 01/12/2011 17:06, Bruce Evans wrote: > > On Wed, 12 Jan 2011, John Baldwin wrote: > > > >>> Log: > >>> Fix a brain fart. Since this file is shared between i386 and > >>> amd64, a > >>> bus_size_t may be 32 or 64 bits. Change th

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

2011-01-14 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jan 14 13:34:56 2011 New Revision: 217401 URL: http://svn.freebsd.org/changeset/base/217401 Log: MFC r217135: Clarify when we switch from keepidle to keepinvtl intervals if sending TCP keepalive probes is enabled. Modified: stable/8/share/man/man4/tcp.4 Directo

svn commit: r217402 - stable/7/share/man/man4

2011-01-14 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jan 14 13:35:55 2011 New Revision: 217402 URL: http://svn.freebsd.org/changeset/base/217402 Log: MFC r217135: Clarify when we switch from keepidle to keepinvtl intervals if sending TCP keepalive probes is enabled. Modified: stable/7/share/man/man4/tcp.4 Directo

svn commit: r217403 - stable/8/sys/net

2011-01-14 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jan 14 14:20:54 2011 New Revision: 217403 URL: http://svn.freebsd.org/changeset/base/217403 Log: MFC r217203: MfP4 CH=185246 [1]: Add FEATURE() to announce optional VIMAGE. [1] for the moment put it in vnet.c. Modified: stable/8/sys/net/vnet.c Direc

Re: svn commit: r217391 - in head/release: amd64 i386 ia64 pc98 powerpc sparc64 sun4v

2011-01-14 Thread Nathan Whitehorn
On 01/14/11 04:56, Takahashi Yoshihiro wrote: Author: nyan Date: Fri Jan 14 10:56:44 2011 New Revision: 217391 URL: http://svn.freebsd.org/changeset/base/217391 Log: Fix making a release. The old libdialog was renamed to libodialog. Ack, I guess I missed this one. Thank you for fixing it!

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread mdf
On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans wrote: > On Thu, 13 Jan 2011 m...@freebsd.org wrote: > >> There appear to be 330 uses of SYSCTL and QUAD on the same line in >> CURRENT.  This seems reasonable to change them to S64, U64 and X64 so >> they correctly reflect the size they operate upon.

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread mdf
On Thu, Jan 13, 2011 at 9:56 PM, Bruce Evans wrote: > On Thu, 13 Jan 2011, Matthew D Fleming wrote: > >> Log: >>  Add a 64-bit hex-printed sysctl(9) since there is at least one place in >>  the code that wanted it.  It is named X64 rather than XQUAD since the >>  quad name is a historical abominat

svn commit: r217408 - stable/8/sys/i386/i386

2011-01-14 Thread Colin Percival
Author: cperciva Date: Fri Jan 14 16:30:22 2011 New Revision: 217408 URL: http://svn.freebsd.org/changeset/base/217408 Log: Don't use amdc1e on XEN && !XEN_PRIVILEGED. The Xen hypervisor gets justifiably annoyed when a guest OS tries to halt the CPU. This fixes a panic when booting FreeBSD/

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

2011-01-14 Thread John Baldwin
Author: jhb Date: Fri Jan 14 17:06:54 2011 New Revision: 217410 URL: http://svn.freebsd.org/changeset/base/217410 Log: Rework realtime priority support: - Move the realtime priority range up above kernel sleep priorities and just below interrupt thread priorities. - Contract the interrup

svn commit: r217412 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:16:59 2011 New Revision: 217412 URL: http://svn.freebsd.org/changeset/base/217412 Log: - Masking IFM_GMASK when also masking IFM_FDX is redundant and just complicates the code. - Don't let atphy_setmedia() announce PAUSE support for half-duplex when M

svn commit: r217413 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:29:53 2011 New Revision: 217413 URL: http://svn.freebsd.org/changeset/base/217413 Log: - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. -

svn commit: r217414 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:33:58 2011 New Revision: 217414 URL: http://svn.freebsd.org/changeset/base/217414 Log: - Don't announce PAUSE support for half-duplex when MIIF_FORCEPAUSE is set. - Let mii_phy_auto() also announce PAUSE support for 10baseT-FDX. MFC after:1 week

svn commit: r217415 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:39:12 2011 New Revision: 217415 URL: http://svn.freebsd.org/changeset/base/217415 Log: - Allow IFM_FLAG0 to be set indicating that auto-negotiation with manual configuration, which is used to work around issues with certain setups (see r161237) by defau

svn commit: r217416 - head/usr.bin/cpuset

2011-01-14 Thread John Baldwin
Author: jhb Date: Fri Jan 14 19:57:28 2011 New Revision: 217416 URL: http://svn.freebsd.org/changeset/base/217416 Log: Add two more features to cpuset(1): - Add a new -C flag to create a new cpuset and move an existing pid into that set. - Allow 'all' to be specified for a cpu list (e.g.

svn commit: r217417 - head/sys/dev/dc

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:26:59 2011 New Revision: 217417 URL: http://svn.freebsd.org/changeset/base/217417 Log: - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. -

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

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:28:11 2011 New Revision: 217418 URL: http://svn.freebsd.org/changeset/base/217418 Log: MFC: r217009 Remove a redundant variable assignment found with the clang static analyzer. Modified: stable/8/sys/dev/mpt/mpt_cam.c Directory Properties: stable/8/sy

svn commit: r217419 - stable/7/sys/dev/mpt

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:28:12 2011 New Revision: 217419 URL: http://svn.freebsd.org/changeset/base/217419 Log: MFC: r217009 Remove a redundant variable assignment found with the clang static analyzer. Modified: stable/7/sys/dev/mpt/mpt_cam.c Directory Properties: stable/7/sy

svn commit: r217420 - stable/7/sys/net

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:30:17 2011 New Revision: 217420 URL: http://svn.freebsd.org/changeset/base/217420 Log: MFC: r217010 Fix whitespace. Modified: stable/7/sys/net/if_media.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/

svn commit: r217421 - stable/8/sys/net

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:30:17 2011 New Revision: 217421 URL: http://svn.freebsd.org/changeset/base/217421 Log: MFC: r217010 Fix whitespace. Modified: stable/8/sys/net/if_media.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props

svn commit: r217422 - in stable/8: sbin/ifconfig sys/net

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:43:21 2011 New Revision: 217422 URL: http://svn.freebsd.org/changeset/base/217422 Log: MFC: r217013 Teach ifconfig(8) the handy shared option shortcut aliases the NetBSD counterpart also takes, i.e. "fdx" for "full-duplex", "flow" for "flowcontrol", "h

svn commit: r217423 - in stable/7: sbin/ifconfig sys/net

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:43:24 2011 New Revision: 217423 URL: http://svn.freebsd.org/changeset/base/217423 Log: MFC: r217013 Teach ifconfig(8) the handy shared option shortcut aliases the NetBSD counterpart also takes, i.e. "fdx" for "full-duplex", "flow" for "flowcontrol", "h

svn commit: r217424 - in head/sys/amd64: ia32 linux32

2011-01-14 Thread Jung-uk Kim
Author: jkim Date: Fri Jan 14 21:09:01 2011 New Revision: 217424 URL: http://svn.freebsd.org/changeset/base/217424 Log: Remove redundant, bogus, and even harmful uses of setting TS bit in CR0. It is done from fpstate_drop() when it is really necessary. Reviewed by: kib MFC after:1

svn commit: r217425 - head/bin/sh

2011-01-14 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 14 21:30:27 2011 New Revision: 217425 URL: http://svn.freebsd.org/changeset/base/217425 Log: sh: Make 'trap -l' look like 'kill -l'. Modified: head/bin/sh/trap.c Modified: head/bin/sh/trap.c

svn commit: r217426 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:29:45 2011 New Revision: 217426 URL: http://svn.freebsd.org/changeset/base/217426 Log: MFC r215960,215962-215964,215966: r215960: Apply GPIO configuration for all CICADA PHYs. While I'm here show selected phymode to ease of debugging. r215962:

svn commit: r217427 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:31:26 2011 New Revision: 217427 URL: http://svn.freebsd.org/changeset/base/217427 Log: MFC r215968: Introduce new macro AXE_IS_178_FAMILY and AXE_IS_772. Include AX88772A and AX88772B for future extension. While here add TX buffer size for 178 fami

svn commit: r217428 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:33:12 2011 New Revision: 217428 URL: http://svn.freebsd.org/changeset/base/217428 Log: MFC r215969: Add initial AX88772A support. H/W donated by: Derrick Brashear (shadow <> gmail dot com) Modified: stable/8/sys/dev/usb/net/if_axe.c stable/

svn commit: r217429 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:36:33 2011 New Revision: 217429 URL: http://svn.freebsd.org/changeset/base/217429 Log: MFC r216284: r184610 changed the way how TX frames are handled on AX88178 and AX88772 controllers. ASIX added a new feature for AX88178/AX88772 controllers which

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

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:58:08 2011 New Revision: 217430 URL: http://svn.freebsd.org/changeset/base/217430 Log: MFC r216131: Document loader tunable hw.re.prefer_iomap. Modified: stable/8/share/man/man4/re.4 Directory Properties: stable/8/share/man/man4/ (props changed) Mo

svn commit: r217431 - stable/7/share/man/man4

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:58:41 2011 New Revision: 217431 URL: http://svn.freebsd.org/changeset/base/217431 Log: MFC r216131: Document loader tunable hw.re.prefer_iomap. Modified: stable/7/share/man/man4/re.4 Directory Properties: stable/7/share/man/man4/ (props changed) Mo

svn commit: r217432 - in head/sys: fs/nfs fs/nfsserver nfs

2011-01-14 Thread Rick Macklem
Author: rmacklem Date: Fri Jan 14 23:30:35 2011 New Revision: 217432 URL: http://svn.freebsd.org/changeset/base/217432 Log: Modify the experimental NFSv4 server so that it posts a SIGUSR2 signal to the master nfsd daemon whenever the stable restart file has been modified. This will allow the

svn commit: r217435 - stable/8/sys/dev/re

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Sat Jan 15 00:32:15 2011 New Revision: 217435 URL: http://svn.freebsd.org/changeset/base/217435 Log: MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuri

svn commit: r217436 - stable/7/sys/dev/re

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Sat Jan 15 00:34:50 2011 New Revision: 217436 URL: http://svn.freebsd.org/changeset/base/217436 Log: MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuri

svn commit: r217437 - in stable/8/sys/fs: nfs nfsserver

2011-01-14 Thread Rick Macklem
Author: rmacklem Date: Sat Jan 15 01:03:26 2011 New Revision: 217437 URL: http://svn.freebsd.org/changeset/base/217437 Log: MFC: r216875 Add support for shared vnode locks for the Read operation in the experimental NFSv4 server. Modified: stable/8/sys/fs/nfs/nfs_commonsubs.c stable/8/sy

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Bruce Evans
On Fri, 14 Jan 2011 m...@freebsd.org wrote: On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans wrote: On Thu, 13 Jan 2011 m...@freebsd.org wrote: There appear to be 330 uses of SYSCTL and QUAD on the same line in CURRENT. ?This seems reasonable to change them to S64, U64 and X64 so they correctly

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Garrett Cooper
On Fri, Jan 14, 2011 at 6:42 PM, Bruce Evans wrote: > On Fri, 14 Jan 2011 m...@freebsd.org wrote: > >> On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans >> wrote: >>> >>> On Thu, 13 Jan 2011 m...@freebsd.org wrote: >>> There appear to be 330 uses of SYSCTL and QUAD on the same line in CURRE

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Bruce Evans
On Fri, 14 Jan 2011 m...@freebsd.org wrote: On Thu, Jan 13, 2011 at 9:56 PM, Bruce Evans wrote: Now with stricter type checking, even formats for integers are redundant. The CTLTYPE now always matches the type, and the format should always match the type. ?The space wasted for the format is 1

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Bruce Evans
On Fri, 14 Jan 2011, Garrett Cooper wrote: On Fri, Jan 14, 2011 at 6:42 PM, Bruce Evans wrote: On Fri, 14 Jan 2011 m...@freebsd.org wrote: On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans wrote: On Thu, 13 Jan 2011 m...@freebsd.org wrote: There appear to be 330 uses of SYSCTL and QUAD on t