svn commit: r200933 - head/sys/geom/stripe

2009-12-24 Thread Alexander Motin
Author: mav Date: Thu Dec 24 10:43:44 2009 New Revision: 200933 URL: http://svn.freebsd.org/changeset/base/200933 Log: Make geom_stripe report it's stripe size to upper layers. Modified: head/sys/geom/stripe/g_stripe.c Modified: head/sys/geom/stripe/g_stripe.c

svn commit: r200934 - in head/sys: geom sys

2009-12-24 Thread Alexander Motin
Author: mav Date: Thu Dec 24 11:05:23 2009 New Revision: 200934 URL: http://svn.freebsd.org/changeset/base/200934 Log: Add two disk ioctls, giving user-level tools information about disk/array stripe (optimal access block) size and offset. Modified: head/sys/geom/geom_dev.c

svn commit: r200935 - head/sys/geom/mirror

2009-12-24 Thread Alexander Motin
Author: mav Date: Thu Dec 24 12:17:22 2009 New Revision: 200935 URL: http://svn.freebsd.org/changeset/base/200935 Log: As soon as mirror has no own stripes, report largest stripe of unrerlying components, hoping others fit, if they are not equal. Modified: head/sys/geom/mirror/g_mirror.c

svn commit: r200936 - in stable/8/sys/boot: i386/libi386 pc98/libpc98

2009-12-24 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Dec 24 12:19:52 2009 New Revision: 200936 URL: http://svn.freebsd.org/changeset/base/200936 Log: MFC: revision 200631 Fix debug messages of bd_io(). Modified: stable/8/sys/boot/i386/libi386/biosdisk.c stable/8/sys/boot/pc98/libpc98/biosdisk.c Directory

svn commit: r200937 - in stable/7/sys/boot: i386/libi386 pc98/libpc98

2009-12-24 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Dec 24 12:26:13 2009 New Revision: 200937 URL: http://svn.freebsd.org/changeset/base/200937 Log: MFC: revision 200631 Fix debug messages of bd_io(). Modified: stable/7/sys/boot/i386/libi386/biosdisk.c stable/7/sys/boot/pc98/libpc98/biosdisk.c Directory

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

2009-12-24 Thread Marius Strobl
Author: marius Date: Thu Dec 24 12:27:22 2009 New Revision: 200938 URL: http://svn.freebsd.org/changeset/base/200938 Log: - Don't check for a valid interrupt controller on every interrupt in intr_execute_handlers(). If we managed to get here without an associated interrupt controller we

svn commit: r200939 - in stable/6/sys/boot: i386/libi386 pc98/libpc98

2009-12-24 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Dec 24 12:31:27 2009 New Revision: 200939 URL: http://svn.freebsd.org/changeset/base/200939 Log: MFC: revision 200631 Fix debug messages of bd_io(). Modified: stable/6/sys/boot/i386/libi386/biosdisk.c stable/6/sys/boot/pc98/libpc98/biosdisk.c Directory

svn commit: r200940 - head/sys/geom/raid3

2009-12-24 Thread Alexander Motin
Author: mav Date: Thu Dec 24 13:38:02 2009 New Revision: 200940 URL: http://svn.freebsd.org/changeset/base/200940 Log: As soon as geom_raid3 reports it's own stripe as sector size, report largest underlying provider's stripe, multiplied by number of data disks in array, due to

svn commit: r200941 - in head/tools/tools: . notescheck

2009-12-24 Thread John Baldwin
Author: jhb Date: Thu Dec 24 14:32:11 2009 New Revision: 200941 URL: http://svn.freebsd.org/changeset/base/200941 Log: Add a new tool which attempts to check for kernel configuration options that are missing from NOTES files. Added: head/tools/tools/notescheck/

svn commit: r200942 - head/sys/geom/concat

2009-12-24 Thread Alexander Motin
Author: mav Date: Thu Dec 24 14:32:21 2009 New Revision: 200942 URL: http://svn.freebsd.org/changeset/base/200942 Log: Make geom_concat to passthrough stripe parameters of the first component, hoping that rest will fit. Modified: head/sys/geom/concat/g_concat.c Modified:

Re: svn commit: r200797 - head/lib/libc/stdtime

2009-12-24 Thread Ruslan Ermilov
On Tue, Dec 22, 2009 at 12:19:25PM -0800, Doug Barton wrote: In the short term I think we are well served on all fronts to modify the build architecture to better support compilers from ports. This would actually help with the llvm/clang testing too, and sidestep the problems of gplv3 stuff

svn commit: r200943 - head/bin/sh

2009-12-24 Thread Jilles Tjoelker
Author: jilles Date: Thu Dec 24 15:14:22 2009 New Revision: 200943 URL: http://svn.freebsd.org/changeset/base/200943 Log: sh: Remove setting variables from dotcmd/exportcmd. It is already done by evalcommand(), unless special-ness has been removed, in which case variable assignments

svn commit: r200944 - head/sys/boot/sparc64/loader

2009-12-24 Thread Marius Strobl
Author: marius Date: Thu Dec 24 15:14:35 2009 New Revision: 200944 URL: http://svn.freebsd.org/changeset/base/200944 Log: Revert r183628 as with the current ata(4) ATAPI DMA with AcerLabs M5229 appears to be once again fixed. If this happens to return we probably should disable ATAPI DMA in

svn commit: r200945 - head/sys/boot/common

2009-12-24 Thread Marius Strobl
Author: marius Date: Thu Dec 24 15:16:16 2009 New Revision: 200945 URL: http://svn.freebsd.org/changeset/base/200945 Log: - Consistently wrap debugging in NETIF_DEBUG. This basically merges NetBSD rev 1.19. - Make the functions match their prototypes regarding static. Modified:

svn commit: r200946 - head/sys/boot/sparc64/loader

2009-12-24 Thread Marius Strobl
Author: marius Date: Thu Dec 24 15:23:51 2009 New Revision: 200946 URL: http://svn.freebsd.org/changeset/base/200946 Log: Execute the cleanup handlers before jumping to the kernel just like the other architectures do. Modified: head/sys/boot/sparc64/loader/main.c Modified:

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

2009-12-24 Thread Marius Strobl
Author: marius Date: Thu Dec 24 15:40:08 2009 New Revision: 200947 URL: http://svn.freebsd.org/changeset/base/200947 Log: Add missing locking in intr_bind(). Modified: head/sys/sparc64/sparc64/intr_machdep.c Modified: head/sys/sparc64/sparc64/intr_machdep.c

svn commit: r200948 - in head/sys/sparc64: include pci sparc64

2009-12-24 Thread Marius Strobl
Author: marius Date: Thu Dec 24 15:43:37 2009 New Revision: 200948 URL: http://svn.freebsd.org/changeset/base/200948 Log: Merge from amd64/i386: Implement support for interrupt descriptions. Modified: head/sys/sparc64/include/intr_machdep.h head/sys/sparc64/pci/psycho.c

Re: svn commit: r200797 - head/lib/libc/stdtime

2009-12-24 Thread M. Warner Losh
In message: 20091224144136.ga28...@edoofus.dev.vega.ru Ruslan Ermilov r...@freebsd.org writes: : On Tue, Dec 22, 2009 at 12:19:25PM -0800, Doug Barton wrote: : In the short term I think we are well served on all fronts to modify : the build architecture to better support compilers

svn commit: r200950 - head/sys/dev/ste

2009-12-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 24 17:22:15 2009 New Revision: 200950 URL: http://svn.freebsd.org/changeset/base/200950 Log: Implement RX interrupt moderation using one-shot timer interrupt. Unlike TX interrupt, ST201 does not provide any mechanism to suppress RX interrupts. ste(4) can

svn commit: r200951 - head/sys/netinet/ipfw

2009-12-24 Thread Luigi Rizzo
Author: luigi Date: Thu Dec 24 17:35:28 2009 New Revision: 200951 URL: http://svn.freebsd.org/changeset/base/200951 Log: fix poor indentation resulting from a merge Modified: head/sys/netinet/ipfw/ip_fw_sockopt.c Modified: head/sys/netinet/ipfw/ip_fw_sockopt.c

svn commit: r200953 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2009-12-24 Thread Ed Schouten
Author: ed Date: Thu Dec 24 17:55:47 2009 New Revision: 200953 URL: http://svn.freebsd.org/changeset/base/200953 Log: Let the snmp_hostres module use utmpx. Approved by: harti Modified: head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile

svn commit: r200954 - head/usr.sbin/syslogd

2009-12-24 Thread Ed Schouten
Author: ed Date: Thu Dec 24 18:05:33 2009 New Revision: 200954 URL: http://svn.freebsd.org/changeset/base/200954 Log: Let syslogd use utmpx. Because strings are guaranteed to be null terminated, there is no need for excessive copying of strings, such as the line name. Modified:

Re: svn commit: r200941 - in head/tools/tools: . notescheck

2009-12-24 Thread Alexey Dokuchaev
On Thu, Dec 24, 2009 at 02:32:11PM +, John Baldwin wrote: Author: jhb Date: Thu Dec 24 14:32:11 2009 New Revision: 200941 URL: http://svn.freebsd.org/changeset/base/200941 Log: Add a new tool which attempts to check for kernel configuration options that are missing from NOTES

svn commit: r200956 - head/bin/sh

2009-12-24 Thread Jilles Tjoelker
Author: jilles Date: Thu Dec 24 18:41:14 2009 New Revision: 200956 URL: http://svn.freebsd.org/changeset/base/200956 Log: sh: Constify various strings. Most of this is adding const keywords, but setvar() in var.c had to be changed somewhat more. Modified: head/bin/sh/alias.c

svn commit: r200958 - head/share/man/man4

2009-12-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 24 18:50:59 2009 New Revision: 200958 URL: http://svn.freebsd.org/changeset/base/200958 Log: Document newly added loader tunable/sysctl variable dev.ste.%d.int_rx_mod. While I'm here add .Xr vlan as ste(4) supports long frames. Modified:

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

2009-12-24 Thread Peter Pentchev
Author: roam (doc,ports committer) Date: Thu Dec 24 20:29:58 2009 New Revision: 200960 URL: http://svn.freebsd.org/changeset/base/200960 Log: MFC r199863: Fix the cross-reference to sctp_opt_info in the text - section 3, not 2. PR: 140938 Submitted by: Bruce Cran

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

2009-12-24 Thread Peter Pentchev
Author: roam (doc,ports committer) Date: Thu Dec 24 20:31:26 2009 New Revision: 200961 URL: http://svn.freebsd.org/changeset/base/200961 Log: MFC r199863: Fix the cross-reference to sctp_opt_info in the text - section 3, not 2. PR: 140938 Submitted by: Bruce Cran

svn commit: r200962 - stable/8/lib/libc/locale

2009-12-24 Thread Peter Pentchev
Author: roam (doc,ports committer) Date: Thu Dec 24 20:35:01 2009 New Revision: 200962 URL: http://svn.freebsd.org/changeset/base/200962 Log: MFC r199244: Fix the grammar in the isgraph(3) description, almost as per the PR. PR: 140455 Submitted by: Jeremy Huddleston

svn commit: r200963 - stable/7/lib/libc/locale

2009-12-24 Thread Peter Pentchev
Author: roam (doc,ports committer) Date: Thu Dec 24 20:35:41 2009 New Revision: 200963 URL: http://svn.freebsd.org/changeset/base/200963 Log: MFC r199244: Fix the grammar in the isgraph(3) description, almost as per the PR. PR: 140455 Submitted by: Jeremy Huddleston

svn commit: r200964 - stable/6/lib/libc/locale

2009-12-24 Thread Peter Pentchev
Author: roam (doc,ports committer) Date: Thu Dec 24 20:36:37 2009 New Revision: 200964 URL: http://svn.freebsd.org/changeset/base/200964 Log: MFC r199244: Fix the grammar in the isgraph(3) description, almost as per the PR. PR: 140455 Submitted by: Jeremy Huddleston

svn commit: r200965 - head/sys/dev/ste

2009-12-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 24 20:43:31 2009 New Revision: 200965 URL: http://svn.freebsd.org/changeset/base/200965 Log: Update if_iqdrops in case of RX buffer allocation failure. Modified: head/sys/dev/ste/if_ste.c Modified: head/sys/dev/ste/if_ste.c

svn commit: r200966 - head/sys/dev/ste

2009-12-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 24 20:45:33 2009 New Revision: 200966 URL: http://svn.freebsd.org/changeset/base/200966 Log: ether_ifattach sets if_mtu, remove unnecessary code. Modified: head/sys/dev/ste/if_ste.c Modified: head/sys/dev/ste/if_ste.c

svn commit: r200967 - head/bin/sh

2009-12-24 Thread Jilles Tjoelker
Author: jilles Date: Thu Dec 24 20:55:14 2009 New Revision: 200967 URL: http://svn.freebsd.org/changeset/base/200967 Log: sh: Add some __dead2 to indicate functions that do not return. Modified: head/bin/sh/error.c head/bin/sh/error.h head/bin/sh/exec.h head/bin/sh/trap.h Modified:

svn commit: r200968 - head/usr.sbin/diskinfo

2009-12-24 Thread Alexander Motin
Author: mav Date: Thu Dec 24 21:39:30 2009 New Revision: 200968 URL: http://svn.freebsd.org/changeset/base/200968 Log: Make diskinfo report disk stripe size and offset. It should help users to make file systems optimally aligned and tuned for better performance. Modified:

svn commit: r200969 - head/sys/cam/ata

2009-12-24 Thread Alexander Motin
Author: mav Date: Thu Dec 24 21:54:44 2009 New Revision: 200969 URL: http://svn.freebsd.org/changeset/base/200969 Log: Report stripe size only if physical sector size is not equal to logical. Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/cam/ata/ata_da.c

svn commit: r200972 - head/sys/dev/vge

2009-12-24 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 25 00:23:47 2009 New Revision: 200972 URL: http://svn.freebsd.org/changeset/base/200972 Log: Remove wrong assertion. Modified: head/sys/dev/vge/if_vge.c Modified: head/sys/dev/vge/if_vge.c

svn commit: r200976 - head/sys/kern

2009-12-24 Thread Robert Watson
Author: rwatson Date: Fri Dec 25 01:16:24 2009 New Revision: 200976 URL: http://svn.freebsd.org/changeset/base/200976 Log: Minor comment tweaks in rmlocks. MFC after:3 days Modified: head/sys/kern/kern_rmlock.c Modified: head/sys/kern/kern_rmlock.c

Re: svn commit: r200818 - head/etc

2009-12-24 Thread Ulrich Spörlein
On Mon, 21.12.2009 at 22:16:07 +, Jilles Tjoelker wrote: Author: jilles Date: Mon Dec 21 22:16:07 2009 New Revision: 200818 URL: http://svn.freebsd.org/changeset/base/200818 Log: rc.subr: Use pwait in wait_for_pids. This waits for the requested process(es) to terminate, rather

Re: svn commit: r200818 - head/etc

2009-12-24 Thread Doug Barton
Ulrich Spörlein wrote: A timeout for pwait would be nice, so that we still get a progress report and not simply a hang. The code will still print the same Waiting for PIDS: message that it always has prior to running pwait, so you'll know why the shutdown has paused. With pwait what it will not

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

2009-12-24 Thread Alexander Motin
Author: mav Date: Fri Dec 25 07:59:31 2009 New Revision: 200977 URL: http://svn.freebsd.org/changeset/base/200977 Log: Avoid false positive probe on ICH6 chipsets. Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/dev/ahci/ahci.c