svn commit: r207491 - stable/8/usr.sbin/config

2010-05-02 Thread Warner Losh
Author: imp Date: Sun May 2 06:14:36 2010 New Revision: 207491 URL: http://svn.freebsd.org/changeset/base/207491 Log: MFC r207260: Move checking the version up from Makefile generation to just after we've parsed the config file. Makefile generation is too late if we've introduce

svn commit: r207492 - stable/8/usr.sbin/config

2010-05-02 Thread Warner Losh
Author: imp Date: Sun May 2 06:18:08 2010 New Revision: 207492 URL: http://svn.freebsd.org/changeset/base/207492 Log: MFC r207263: Redo how we add compat options so as to be compatible with old versions of config. Remove support for the syntax OLD = NEW form the options file,

svn commit: r207493 - stable/8/usr.sbin/config

2010-05-02 Thread Warner Losh
Author: imp Date: Sun May 2 06:18:57 2010 New Revision: 207493 URL: http://svn.freebsd.org/changeset/base/207493 Log: MFC r207265: Require the option that's mapped be listed in the options file. This will allow people with old config options to either have it just work (if config

svn commit: r207494 - in stable/8/sys: amd64/conf conf

2010-05-02 Thread Warner Losh
Author: imp Date: Sun May 2 06:20:42 2010 New Revision: 207494 URL: http://svn.freebsd.org/changeset/base/207494 Log: Move to the new way of specifying compat options. The backs out the FOO = BAR form, in favor of listing the mapping in a separate file for more compatibility with older

svn commit: r207495 - stable/8/sys/conf

2010-05-02 Thread Warner Losh
Author: imp Date: Sun May 2 06:23:15 2010 New Revision: 207495 URL: http://svn.freebsd.org/changeset/base/207495 Log: Ooops. Bump the version to 69, not 68. Modified: stable/8/sys/conf/Makefile.ia64 Modified: stable/8/sys/conf/Makefile.ia64

svn commit: r207496 - stable/8/sys/amd64/conf

2010-05-02 Thread Warner Losh
Author: imp Date: Sun May 2 06:24:17 2010 New Revision: 207496 URL: http://svn.freebsd.org/changeset/base/207496 Log: Revert 207494: it was only for testing purposes. Modified: stable/8/sys/amd64/conf/GENERIC Modified: stable/8/sys/amd64/conf/GENERIC

svn commit: r207497 - stable/8

2010-05-02 Thread Warner Losh
THINK THAT FreeBSD 8. debugging tools present in HEAD were left in place because sun4v support still needs work to become production ready. +20100502: + The config(8) command has been updated to maintain compatibility + with config files from 8.0-RELEASE. You will need

svn commit: r207498 - head/sbin/camcontrol

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 11:36:27 2010 New Revision: 207498 URL: http://svn.freebsd.org/changeset/base/207498 Log: Add -d and -f arguments to `camcontrol cmd`, to execute DMA ATA commands. Modified: head/sbin/camcontrol/camcontrol.8 head/sbin/camcontrol/camcontrol.c Modified:

svn commit: r207499 - in head: sbin/camcontrol sys/cam sys/cam/ata sys/dev/ahci sys/dev/siis

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 12:07:47 2010 New Revision: 207499 URL: http://svn.freebsd.org/changeset/base/207499 Log: Make SATA XPT negotiate and enable some additional SATA features, such as: - device initiated power management (some devices support only this way); - Automatic Partial

svn commit: r207500 - head/sys/sparc64/sparc64

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 12:08:15 2010 New Revision: 207500 URL: http://svn.freebsd.org/changeset/base/207500 Log: Add a hack for SPARC64 V CPUs, which set some undocumented bits in the first data word. Modified: head/sys/sparc64/sparc64/interrupt.S Modified:

svn commit: r207501 - stable/8/lib/libkvm

2010-05-02 Thread Jilles Tjoelker
Author: jilles Date: Sun May 2 12:38:59 2010 New Revision: 207501 URL: http://svn.freebsd.org/changeset/base/207501 Log: MFC r207187: kvm(3): Mention that some of the functions use sysctl(3) instead of kmem. Additionally, because of sysctl(3) use (which is generally good), behaviour

svn commit: r207502 - stable/8/sys/dev/ata/chipsets

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 12:39:29 2010 New Revision: 207502 URL: http://svn.freebsd.org/changeset/base/207502 Log: MFC r206604: For early ALI chips do not announce I/O sizes that require unsupported 48bit DMA commands. Modified: stable/8/sys/dev/ata/chipsets/ata-acerlabs.c Directory

svn commit: r207503 - stable/8/sys/dev/ata

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 12:40:54 2010 New Revision: 207503 URL: http://svn.freebsd.org/changeset/base/207503 Log: MFC r207221: Mark ATA channel as idle on timeout in non-ATA_CAM mode. This should fix possible duplicate request completion. Modified: stable/8/sys/dev/ata/ata-queue.c

svn commit: r207504 - stable/8/bin/ln

2010-05-02 Thread Jilles Tjoelker
Author: jilles Date: Sun May 2 12:43:18 2010 New Revision: 207504 URL: http://svn.freebsd.org/changeset/base/207504 Log: MFC r207188: symlink(7): The ownership of symlinks is used by the system, in at least three ways, so do not say it is ignored: * who may delete/rename a symlink in a

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

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 12:44:11 2010 New Revision: 207505 URL: http://svn.freebsd.org/changeset/base/207505 Log: MFC r205358: Enable MSI by default for SiI3124. Modified: stable/8/sys/dev/siis/siis.c Directory Properties: stable/8/sys/ (props changed)

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

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 12:45:22 2010 New Revision: 207506 URL: http://svn.freebsd.org/changeset/base/207506 Log: MFC r206652: Explicitly enable PCI busmastering on attach. Now SiI3124 with siis(4) successfully works on sparc64 (SunBlade 100). Modified: stable/8/sys/dev/siis/siis.c

svn commit: r207507 - stable/8/sys/cam/ata

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 12:50:29 2010 New Revision: 207507 URL: http://svn.freebsd.org/changeset/base/207507 Log: MFC r207222: Move PI_TAG_ABLE check from ada driver to ATA XPT. Modified: stable/8/sys/cam/ata/ata_da.c stable/8/sys/cam/ata/ata_xpt.c Directory Properties:

svn commit: r207508 - stable/8/bin/ln

2010-05-02 Thread Jilles Tjoelker
Author: jilles Date: Sun May 2 13:36:23 2010 New Revision: 207508 URL: http://svn.freebsd.org/changeset/base/207508 Log: MFC r207189: symlink(7): Add lpathconf(2) and *at system calls. Modified: stable/8/bin/ln/symlink.7 Directory Properties: stable/8/bin/ln/ (props changed) Modified:

svn commit: r207509 - stable/7/bin/ln

2010-05-02 Thread Jilles Tjoelker
Author: jilles Date: Sun May 2 13:38:08 2010 New Revision: 207509 URL: http://svn.freebsd.org/changeset/base/207509 Log: MFC r207188: symlink(7): The ownership of symlinks is used by the system, in at least three ways, so do not say it is ignored: * who may delete/rename a symlink in a

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

2010-05-02 Thread Attilio Rao
2010/5/1 Kostik Belousov kostik...@gmail.com: On Sat, May 01, 2010 at 04:47:36PM +0200, Attilio Rao wrote: 2010/5/1 Konstantin Belousov k...@freebsd.org: Author: kib Date: Sat May  1 14:46:17 2010 New Revision: 207468 URL: http://svn.freebsd.org/changeset/base/207468 Log:  Extract

svn commit: r207510 - stable/7/lib/libkvm

2010-05-02 Thread Jilles Tjoelker
Author: jilles Date: Sun May 2 13:53:08 2010 New Revision: 207510 URL: http://svn.freebsd.org/changeset/base/207510 Log: MFC r207187: kvm(3): Mention that some of the functions use sysctl(3) instead of kmem. Additionally, because of sysctl(3) use (which is generally good), behaviour

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

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 14:46:05 2010 New Revision: 207511 URL: http://svn.freebsd.org/changeset/base/207511 Log: Enable PCI busmastering explicitly to be sure. Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/dev/ahci/ahci.c

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

2010-05-02 Thread Kostik Belousov
On Sun, May 02, 2010 at 03:48:50PM +0200, Attilio Rao wrote: 2010/5/1 Kostik Belousov kostik...@gmail.com: On Sat, May 01, 2010 at 04:47:36PM +0200, Attilio Rao wrote: 2010/5/1 Konstantin Belousov k...@freebsd.org: Author: kib Date: Sat May  1 14:46:17 2010 New Revision: 207468

svn commit: r207512 - stable/8/sys/netinet

2010-05-02 Thread Bjoern A. Zeeb
Author: bz Date: Sun May 2 15:55:29 2010 New Revision: 207512 URL: http://svn.freebsd.org/changeset/base/207512 Log: MFC r206989: Avoid memory access after free. Use the (shortend) copy for the ipsec mtu lookup as well. PR: kern/145736 Submitted by: Peter Molnar

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

2010-05-02 Thread Bjoern A. Zeeb
Author: bz Date: Sun May 2 15:58:25 2010 New Revision: 207513 URL: http://svn.freebsd.org/changeset/base/207513 Log: MFC r207116: Remove one zero from the double-0. This code doesn't have a license to kill. Modified: stable/8/sys/kern/kern_descrip.c Directory Properties:

svn commit: r207514 - stable/8/sys/netinet6

2010-05-02 Thread Bjoern A. Zeeb
Author: bz Date: Sun May 2 16:32:41 2010 New Revision: 207514 URL: http://svn.freebsd.org/changeset/base/207514 Log: MFC r207276: Make sure IPv6 source address selection does not change interface addresses while walking the IPv6 address list if in the jail case something is

svn commit: r207515 - in stable/8/sys: netinet netinet6

2010-05-02 Thread Bjoern A. Zeeb
Author: bz Date: Sun May 2 16:36:15 2010 New Revision: 207515 URL: http://svn.freebsd.org/changeset/base/207515 Log: MFC r207277: Enhance the historic behaviour of raw sockets and jails in a way that we allow all possible jail IPs as source address rather than forcing the primary.

svn commit: r207516 - stable/7/sys/sparc64/sparc64

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:38:57 2010 New Revision: 207516 URL: http://svn.freebsd.org/changeset/base/207516 Log: MFC: r206448 Do as the comment suggests and determine the bus space based on the last bus we actually mapped at rather than always based on the last bus we

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

2010-05-02 Thread Bjoern A. Zeeb
Author: bz Date: Sun May 2 16:39:15 2010 New Revision: 207517 URL: http://svn.freebsd.org/changeset/base/207517 Log: MFC r207278: MFP4: @177254 Add missing CURVNET_RESTORE() calls for multiple code paths, to stop leaking the currently cached vnet into callers and to the process.

svn commit: r207518 - stable/8/sys/sparc64/sparc64

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:40:18 2010 New Revision: 207518 URL: http://svn.freebsd.org/changeset/base/207518 Log: MFC: r206448 Do as the comment suggests and determine the bus space based on the last bus we actually mapped at rather than always based on the last bus we

svn commit: r207519 - head/sys/vm

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 16:44:06 2010 New Revision: 207519 URL: http://svn.freebsd.org/changeset/base/207519 Log: This change addresses the race condition that was introduced by the previous revision, r207450, to this file. Specifically, between dropping the page queues lock in

svn commit: r207520 - stable/8/sys/sparc64/sparc64

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:45:08 2010 New Revision: 207520 URL: http://svn.freebsd.org/changeset/base/207520 Log: MFC: r206449 Unlike the sun4v variant, the sun4u version of SUNW,set-trap-table actually only takes one argument. Modified: stable/8/sys/sparc64/sparc64/trap.c

svn commit: r207521 - stable/7/sys/sparc64/sparc64

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:45:09 2010 New Revision: 207521 URL: http://svn.freebsd.org/changeset/base/207521 Log: MFC: r206449 Unlike the sun4v variant, the sun4u version of SUNW,set-trap-table actually only takes one argument. Modified: stable/7/sys/sparc64/sparc64/trap.c

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

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:46:20 2010 New Revision: 207522 URL: http://svn.freebsd.org/changeset/base/207522 Log: MFC: r206450 Correct the DCR_IPE macro to refer to the right bit. Also improve the associated comment as besides US-IV+ these bits are only available with US-III++,

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

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:46:22 2010 New Revision: 207523 URL: http://svn.freebsd.org/changeset/base/207523 Log: MFC: r206450 Correct the DCR_IPE macro to refer to the right bit. Also improve the associated comment as besides US-IV+ these bits are only available with US-III++,

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

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:47:50 2010 New Revision: 207524 URL: http://svn.freebsd.org/changeset/base/207524 Log: MFC: r206480 Update for UltraSPARC-IV{,+} and SPARC64 V, VI, VII and VIIIfx CPUs. Modified: stable/8/sys/sparc64/include/lsu.h Directory Properties: stable/8/sys/

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

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:47:54 2010 New Revision: 207525 URL: http://svn.freebsd.org/changeset/base/207525 Log: MFC: r206480 Update for UltraSPARC-IV{,+} and SPARC64 V, VI, VII and VIIIfx CPUs. Modified: stable/7/sys/sparc64/include/lsu.h Directory Properties: stable/7/sys/

svn commit: r207526 - stable/8/lib/libc/softfloat

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:52:23 2010 New Revision: 207526 URL: http://svn.freebsd.org/changeset/base/207526 Log: MFC: r206490, r206492 While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and

svn commit: r207527 - stable/7/lib/libc/softfloat

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:52:24 2010 New Revision: 207527 URL: http://svn.freebsd.org/changeset/base/207527 Log: MFC: r206490, r206492 While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and

svn commit: r207528 - in stable/8/tools/test: . testfloat

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:55:10 2010 New Revision: 207528 URL: http://svn.freebsd.org/changeset/base/207528 Log: MFC: r207151 Add a TestFloat based test suite for floating-point implementations currently supporting sparc64. After a `make depend all` there are three programs;

svn commit: r207529 - in stable/7/tools/test: . testfloat

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 16:55:13 2010 New Revision: 207529 URL: http://svn.freebsd.org/changeset/base/207529 Log: MFC: r207151 Add a TestFloat based test suite for floating-point implementations currently supporting sparc64. After a `make depend all` there are three programs;

svn commit: r207530 - in head/sys: fs/tmpfs kern vm

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 17:33:46 2010 New Revision: 207530 URL: http://svn.freebsd.org/changeset/base/207530 Log: It makes no sense for vm_page_sleep_if_busy()'s helper, vm_page_sleep(), to unconditionally set PG_REFERENCED on a page before sleeping. In many cases, it's perfectly ok

svn commit: r207531 - head/sys/vm

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 18:09:33 2010 New Revision: 207531 URL: http://svn.freebsd.org/changeset/base/207531 Log: Correct an error in r207410: Remove an unlock of a lock that is no longer held. Modified: head/sys/vm/vm_object.c Modified: head/sys/vm/vm_object.c

svn commit: r207532 - head/sys/dev/quicc

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 19:05:57 2010 New Revision: 207532 URL: http://svn.freebsd.org/changeset/base/207532 Log: Remove a soft member which was never used. Approved by: marcel Modified: head/sys/dev/quicc/quicc_bfe.h Modified: head/sys/dev/quicc/quicc_bfe.h

svn commit: r207533 - in head/sys: dev/uart mips/cavium

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 19:07:19 2010 New Revision: 207533 URL: http://svn.freebsd.org/changeset/base/207533 Log: Remove redundant checking of sc_leaving (uart_intr() already handles this). Approved by: marcel Modified: head/sys/dev/uart/uart_dev_ns8250.c

svn commit: r207534 - head/sys/kern

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 19:10:27 2010 New Revision: 207534 URL: http://svn.freebsd.org/changeset/base/207534 Log: Properly synchronize access to the page's hold_count in vfs_vmio_release(). Reviewed by: kib Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

svn commit: r207535 - head/sys/kern

2010-05-02 Thread Konstantin Belousov
Author: kib Date: Sun May 2 19:25:22 2010 New Revision: 207535 URL: http://svn.freebsd.org/changeset/base/207535 Log: Lock the page around hold_count access. Reviewed by: alc Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c

svn commit: r207536 - in head: share/man/man4 sys/arm/mv sys/conf sys/dev/mvs sys/modules sys/modules/mvs

2010-05-02 Thread Alexander Motin
Author: mav Date: Sun May 2 19:28:30 2010 New Revision: 207536 URL: http://svn.freebsd.org/changeset/base/207536 Log: Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers driver for CAM ATA subsystem. This driver supports same hardware as atamarvell, ataadaptec and

svn commit: r207537 - in head/sys: boot/sparc64/loader conf sparc64/include sparc64/sparc64

2010-05-02 Thread Marius Strobl
Author: marius Date: Sun May 2 19:38:17 2010 New Revision: 207537 URL: http://svn.freebsd.org/changeset/base/207537 Log: Add support for SPARC64 V (and where it already makes sense for other HAL/Fujitsu) CPUs. For the most part this consists of fleshing out the MMU and cache handling, it

svn commit: r207538 - stable/7/lib/csu/i386-elf

2010-05-02 Thread Jilles Tjoelker
Author: jilles Date: Sun May 2 20:12:20 2010 New Revision: 207538 URL: http://svn.freebsd.org/changeset/base/207538 Log: MFC r205398: Do not create *.gmon files for PIE executables on i386. Scrt1_c.o was accidentally compiled with -DGCRT (profiling), like gcrt1_c.o. This problem is

svn commit: r207539 - head/sys/vm

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 20:24:25 2010 New Revision: 207539 URL: http://svn.freebsd.org/changeset/base/207539 Log: Simplify vm_fault(). The introduction of the new page lock renders a bit of cleverness by vm_fault() to avoid repeatedly releasing and reacquiring the page queues lock

svn commit: r207540 - head/sys/vm

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 20:46:17 2010 New Revision: 207540 URL: http://svn.freebsd.org/changeset/base/207540 Log: Defer the acquisition of the page and page queues locks in vm_pageout_object_deactivate_pages(). Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c

svn commit: r207541 - head/sys/vm

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 21:04:59 2010 New Revision: 207541 URL: http://svn.freebsd.org/changeset/base/207541 Log: Eliminate an assignment that was made redundant by r207410. Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c

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

2010-05-02 Thread Matt Jacob
Author: mjacob Date: Sun May 2 22:48:27 2010 New Revision: 207543 URL: http://svn.freebsd.org/changeset/base/207543 Log: Print IR_RESYNC updates informatively. Obtained from:pluknet MFC after:1 week Modified: head/sys/dev/mpt/mpt_cam.c Modified:

svn commit: r207544 - head/sys/vm

2010-05-02 Thread Alan Cox
Author: alc Date: Sun May 2 23:33:10 2010 New Revision: 207544 URL: http://svn.freebsd.org/changeset/base/207544 Log: Add page lock assertions where we access the page's hold_count. Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c

svn commit: r207545 - head/sys/dev/sge

2010-05-02 Thread Pyun YongHyeon
Author: yongari Date: Mon May 3 00:56:26 2010 New Revision: 207545 URL: http://svn.freebsd.org/changeset/base/207545 Log: Fix wrong dma tag usage. Previously it used TX descriptor ring dma tag which should be TX mbuf dma tag. Reported by: xclin xclin cs dot nctu dot edu dot tw

svn commit: r207546 - stable/8/sys/dev/ale

2010-05-02 Thread Pyun YongHyeon
Author: yongari Date: Mon May 3 01:04:44 2010 New Revision: 207546 URL: http://svn.freebsd.org/changeset/base/207546 Log: MFC r207251: It seems ale(4) controllers do not like to see TCP payload in the first descriptor in TSO case. Otherwise controller can generate bad frames during

svn commit: r207547 - stable/7/sys/dev/ale

2010-05-02 Thread Pyun YongHyeon
Author: yongari Date: Mon May 3 01:13:37 2010 New Revision: 207547 URL: http://svn.freebsd.org/changeset/base/207547 Log: MFC r207251: It seems ale(4) controllers do not like to see TCP payload in the first descriptor in TSO case. Otherwise controller can generate bad frames during

svn commit: r207548 - in head/sys: kern net

2010-05-02 Thread Alan Cox
Author: alc Date: Mon May 3 05:41:50 2010 New Revision: 207548 URL: http://svn.freebsd.org/changeset/base/207548 Log: This is the first step in transitioning responsibility for synchronizing access to the page's wire_count from the page queues lock to the page lock. Submitted by: kmacy