Re: svn commit: r195534 - in head: etc/mtree include lib/libcam sbin/camcontrol share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/conf sys/dev/advansys sys/dev/ahci sys/dev/aic7xxx sys/dev/amd sys/d

2009-07-14 Thread Scott Long
Peter Jeremy wrote: On 2009-Jul-12 20:16:26 -0600, Scott Long sco...@samsco.org wrote: Another solution is to just bite the bullet and do what I've ultimately wanted to do with disk device names, and create 'diskX' aliases for all direct-access block devices. This would affect hard disks,

Re: svn commit: r195637 - head/lib/libc/stdio

2009-07-14 Thread Navdeep Parhar
On Sun, Jul 12, 2009 at 6:09 AM, Ed Schoutene...@freebsd.org wrote: Author: ed Date: Sun Jul 12 13:09:43 2009 New Revision: 195637 URL: http://svn.freebsd.org/changeset/base/195637 Log: Fix fwrite() to return 0 when size or nmemb are zero. Hello Ed, This breaks buildworld. This change

Re: svn commit: r195652 - head/etc

2009-07-14 Thread David Malone
The above sentence seems very clumsy to me. How about: # If you wish to choose which country's public server you want # to sync against, ... Looks reasonable to me. I might collect up some suggestions like this and commit them at a later date. As it stands, I think we have a reasonable

Re: svn commit: r195637 - head/lib/libc/stdio

2009-07-14 Thread Bjoern A. Zeeb
On Mon, 13 Jul 2009, Navdeep Parhar wrote: On Sun, Jul 12, 2009 at 6:09 AM, Ed Schoutene...@freebsd.org wrote: Author: ed Date: Sun Jul 12 13:09:43 2009 New Revision: 195637 URL: http://svn.freebsd.org/changeset/base/195637 Log: Fix fwrite() to return 0 when size or nmemb are zero. Hello

svn commit: r195676 - head/usr.bin/mklocale

2009-07-14 Thread Ed Schouten
Author: ed Date: Tue Jul 14 09:19:33 2009 New Revision: 195676 URL: http://svn.freebsd.org/changeset/base/195676 Log: Make mklocale work again, now that fwrite()'s return codes are different. Submitted by: Navdeep Parhar nparhar gmail com Approved by: re (kib) Modified:

Re: svn commit: r195643 - head/sys/netinet6

2009-07-14 Thread Bjoern A. Zeeb
On Sun, 12 Jul 2009, Qing Li wrote: Author: qingli Date: Sun Jul 12 19:20:55 2009 New Revision: 195643 URL: http://svn.freebsd.org/changeset/base/195643 Log: This patch adds a host route to an interface address (that is assigned to a non loopback/ppp link type) through the loopback

svn commit: r195677 - head/sys/dev/cxgb/ulp/tom

2009-07-14 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 14 11:53:21 2009 New Revision: 195677 URL: http://svn.freebsd.org/changeset/base/195677 Log: Fix a buglet that slipped into r195654. My buildworld/buildkernel sanity check missed this because cxgb's TOM is currently commented out of the build system.

svn commit: r195679 - in stable/7/sys: . contrib/pf dev/pci

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 14:56:01 2009 New Revision: 195679 URL: http://svn.freebsd.org/changeset/base/195679 Log: MFC: Enable MSI in the MSI capability registers any time that the first message in an MSI group is enabled, not just if the address/data pair are not initialized.

Re: svn commit: r195679 - in stable/7/sys: . contrib/pf dev/pci

2009-07-14 Thread Robert Noland
On Tue, 2009-07-14 at 14:56 +, John Baldwin wrote: Author: jhb Date: Tue Jul 14 14:56:01 2009 New Revision: 195679 URL: http://svn.freebsd.org/changeset/base/195679 Log: MFC: Enable MSI in the MSI capability registers any time that the first message in an MSI group is enabled, not

svn commit: r195680 - in stable/6/sys: . contrib/pf dev/cxgb dev/pci

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 15:06:58 2009 New Revision: 195680 URL: http://svn.freebsd.org/changeset/base/195680 Log: MFC: Enable MSI in the MSI capability registers any time that the first message in an MSI group is enabled, not just if the address/data pair are not initialized.

svn commit: r195681 - in stable/7/sys: . contrib/pf kern

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 15:16:39 2009 New Revision: 195681 URL: http://svn.freebsd.org/changeset/base/195681 Log: MFC: Return errors from intr_event_bind() to the caller of intr_set_affinity(). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r195682 - stable/7/usr.sbin/sysinstall

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 15:30:59 2009 New Revision: 195682 URL: http://svn.freebsd.org/changeset/base/195682 Log: MFC: Raise the default size of the EFI partition on ia64 from 100MB to 400MB. Modified: stable/7/usr.sbin/sysinstall/ (props changed)

svn commit: r195683 - svnadmin/conf

2009-07-14 Thread Giorgos Keramidas
Author: keramida (doc committer) Date: Tue Jul 14 15:42:13 2009 New Revision: 195683 URL: http://svn.freebsd.org/changeset/base/195683 Log: Please welcome back Matthew Jacob (mjacob) who is interested in doing some mass storage support. Approved by: core@ Modified:

Re: svn commit: r195458 - in head: include lib/libc/sys sys/bsm sys/compat/freebsd32 sys/compat/svr4 sys/i386/ibcs2 sys/kern sys/sys

2009-07-14 Thread Tim Kientzle
Jilles Tjoelker wrote: On Wed, Jul 08, 2009 at 03:23:18PM +, Edward Tomasz Napierala wrote: Author: trasz Date: Wed Jul 8 15:23:18 2009 New Revision: 195458 URL: http://svn.freebsd.org/changeset/base/195458 Log: There is an optimization in chmod(1), that makes it not to call chmod(2)

svn commit: r195684 - head/contrib/tcpdump

2009-07-14 Thread Sam Leffler
Author: sam Date: Tue Jul 14 17:11:06 2009 New Revision: 195684 URL: http://svn.freebsd.org/changeset/base/195684 Log: Updates, mostly to add 802.11s support: o add missing Status and Reason codes o parse/display Action frames o parse/display Mesh data frames o parse/display BA frames

svn commit: r195685 - head/sys/cam/scsi

2009-07-14 Thread Ed Maste
Author: emaste Date: Tue Jul 14 17:26:37 2009 New Revision: 195685 URL: http://svn.freebsd.org/changeset/base/195685 Log: Fix leaks in probestart, probedone, and scsi_scan_bus. Also free page_list using the matching malloc type for the allocation. Approved by: re Reviewed by: scottl

svn commit: r195686 - in stable/7/sys: . amd64/amd64 amd64/include conf contrib/pf crypto/via modules

2009-07-14 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 14 17:37:59 2009 New Revision: 195686 URL: http://svn.freebsd.org/changeset/base/195686 Log: MFC: r187109, r187112 r187109 - Add basic amd64 support for VIA Nano processors. r187112 - Connect padlock(4) to amd64 build for VIA Nano processors. Modified:

svn commit: r195687 - in stable/7/sys: . amd64/amd64 contrib/pf i386/i386

2009-07-14 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 14 18:40:31 2009 New Revision: 195687 URL: http://svn.freebsd.org/changeset/base/195687 Log: MFC: r191788 Unlock the largest standard CPUID on Intel CPUs for both amd64 and i386. On i386, we extend it to cover Core, Core 2, and Core i7 processors, not just

svn commit: r195688 - head/sys/cam/scsi

2009-07-14 Thread Ed Maste
Author: emaste Date: Tue Jul 14 18:44:17 2009 New Revision: 195688 URL: http://svn.freebsd.org/changeset/base/195688 Log: Change xpt_scan_bus to scsi_scan_bus and xpt_scan_lun to scsi_scan_lun in comments and printfs to match new function names after refacoring. Approved by: re

svn commit: r195689 - head/sys/dev/sound/pcm

2009-07-14 Thread Ariff Abdullah
Author: ariff Date: Tue Jul 14 18:53:34 2009 New Revision: 195689 URL: http://svn.freebsd.org/changeset/base/195689 Log: - Do aggresive saturation on various polynomial interpolators. This dramatically pushing 99.9% interpolations and quantizations error _below_ -180dB on 32bit dynamic

svn commit: r195690 - head/sys/dev/sound/pci/hda

2009-07-14 Thread Alexander Motin
Author: mav Date: Tue Jul 14 19:18:31 2009 New Revision: 195690 URL: http://svn.freebsd.org/changeset/base/195690 Log: Disable MSI by default for nVidia MCP55 chipset. It is reported to be broken in the same way as MCP51. PR: kern/136429 Approved by: re (kib) Modified:

svn commit: r195691 - head/sys/dev/e1000

2009-07-14 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jul 14 19:32:36 2009 New Revision: 195691 URL: http://svn.freebsd.org/changeset/base/195691 Log: Re-add opt_inet.h, as we did in r193862 and lost yet again. Approved by: re (kib) Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c

svn commit: r195692 - head/lib/libc/posix1e

2009-07-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jul 14 19:37:53 2009 New Revision: 195692 URL: http://svn.freebsd.org/changeset/base/195692 Log: Add missing MLINKS for acl_{get,set}_link_fd(3). Approved by: re (kib) Modified: head/lib/libc/posix1e/Makefile.inc Modified: head/lib/libc/posix1e/Makefile.inc

svn commit: r195693 - in head: lib/libc/sys sys/vm

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 19:45:36 2009 New Revision: 195693 URL: http://svn.freebsd.org/changeset/base/195693 Log: - Change mmap() to fail requests with EINVAL that pass a length of 0. This behavior is mandated by POSIX. - Do not fail requests that pass a length greater than

svn commit: r195694 - in stable/7: include lib/libc lib/libc/sys sys sys/compat/freebsd32 sys/contrib/pf sys/kern sys/sys tools/regression/file tools/regression/file/closefrom tools/regression/file...

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 19:48:31 2009 New Revision: 195694 URL: http://svn.freebsd.org/changeset/base/195694 Log: MFC: Add a new 'void closefrom(int lowfd)' system call. When called, it closes any open file descriptors = 'lowfd'. Bump __FreeBSD_version to 702104. Added:

svn commit: r195695 - in stable/7/sys: compat/freebsd32 kern sys

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 19:50:46 2009 New Revision: 195695 URL: http://svn.freebsd.org/changeset/base/195695 Log: Regenerate after addition of closefrom(). Modified: stable/7/sys/compat/freebsd32/freebsd32_proto.h stable/7/sys/compat/freebsd32/freebsd32_syscall.h

svn commit: r195696 - in stable/7: crypto/openssh secure/lib/libssh

2009-07-14 Thread John Baldwin
Author: jhb Date: Tue Jul 14 20:46:19 2009 New Revision: 195696 URL: http://svn.freebsd.org/changeset/base/195696 Log: MFC: Use the closefrom(2) system call. Modified: stable/7/crypto/openssh/ (props changed) stable/7/crypto/openssh/config.h stable/7/crypto/openssh/ssh_namespace.h

svn commit: r195697 - in head: . contrib/gcc/config gnu/lib/libgcc gnu/lib/libssp/libssp_nonshared lib/libc lib/libc/sys libexec/rtld-elf share/mk

2009-07-14 Thread Alexander Kabaev
Author: kan Date: Tue Jul 14 21:19:13 2009 New Revision: 195697 URL: http://svn.freebsd.org/changeset/base/195697 Log: Second attempt at eliminating .text relocations in shared libraries compiled with stack protector. Use libssp_nonshared library to pull __stack_chk_fail_local symbol

svn commit: r195699 - in head: . sys/compat/linprocfs sys/compat/linux sys/compat/svr4 sys/conf sys/contrib/altq/altq sys/contrib/ipfilter/netinet sys/contrib/pf/net sys/contrib/rdma sys/ddb sys/de...

2009-07-14 Thread Robert Watson
aj /etc/malloc.conf.) +20090714: + Due to changes in the implementation of virtual network stack + support, all network-related kernel modules must be recompiled. + As this change breaks the ABI, bump __FreeBSD_version to 800104. + 20090713: The TOE interface to the TCP

svn commit: r195700 - head/sys/kern

2009-07-14 Thread Konstantin Belousov
Author: kib Date: Tue Jul 14 22:50:41 2009 New Revision: 195700 URL: http://svn.freebsd.org/changeset/base/195700 Log: When wakeup(9) is going to notify swapper, assert that wait channel is not equal to proc0. It shall be not, since proc0 stack is not swappable, and kick_proc0() is

svn commit: r195701 - head/sys/kern

2009-07-14 Thread Konstantin Belousov
Author: kib Date: Tue Jul 14 22:51:31 2009 New Revision: 195701 URL: http://svn.freebsd.org/changeset/base/195701 Log: Move the repeated code to calculate the number of the threads in the process that still need to be suspended or exited from thread_single into the new function

svn commit: r195702 - in head/sys: cddl/compat/opensolaris/sys kern sys

2009-07-14 Thread Konstantin Belousov
Author: kib Date: Tue Jul 14 22:52:46 2009 New Revision: 195702 URL: http://svn.freebsd.org/changeset/base/195702 Log: Add new msleep(9) flag PBDY that shall be specified together with PCATCH, to indicate that thread shall not be stopped upon receipt of SIGSTOP until it reaches the

svn commit: r195703 - in head/sys: nfsclient rpc

2009-07-14 Thread Konstantin Belousov
Author: kib Date: Tue Jul 14 22:54:29 2009 New Revision: 195703 URL: http://svn.freebsd.org/changeset/base/195703 Log: Use PBDRY flag for msleep(9) in NFS and NLM when sleeping thread owns kernel resources that block other threads, like vnode locks. The SIGSTOP sent to such thread (process,

svn commit: r195704 - head/sys/fs/nfsclient

2009-07-14 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 14 23:10:23 2009 New Revision: 195704 URL: http://svn.freebsd.org/changeset/base/195704 Log: Fix the experimental nfs client so that it does not cause a share-excl panic when doing a lookup of dotdot at the root of a server's file system. The patch avoids

svn commit: r195705 - head/sys/net

2009-07-14 Thread Robert Watson
Author: rwatson Date: Wed Jul 15 00:56:15 2009 New Revision: 195705 URL: http://svn.freebsd.org/changeset/base/195705 Log: Add missing license line for vnet.h, correct white space nit. Approved by: re (kensmith) (implicit) Modified: head/sys/net/vnet.h Modified: head/sys/net/vnet.h