Re: svn commit: r209221 - head/bin/sh

2010-06-18 Thread Doug Barton
On 06/17/10 14:55, Jilles Tjoelker wrote: On Thu, Jun 17, 2010 at 12:36:51PM -0700, Doug Barton wrote: On 06/17/10 03:03, Andrey Chernov wrote: Jilles Tjoelker writes: Log: sh: Add filename completion. FWIW, what I actually do is set the shell for both root and my unprivileged user to

svn commit: r209327 - in releng/8.1/sys/ia64: ia64 include

2010-06-18 Thread Marcel Moolenaar
Author: marcel Date: Sat Jun 19 05:35:47 2010 New Revision: 209327 URL: http://svn.freebsd.org/changeset/base/209327 Log: MFC revs 209026 and 209085: o Bump MAX_BPAGES from 256 to 1024. o Synchronize the kernel entry on all CPUs with the use of the ptc.g instruction on a single CPU

Re: svn commit: r209221 - head/bin/sh

2010-06-18 Thread Alexey Dokuchaev
On Thu, Jun 17, 2010 at 12:36:51PM -0700, Doug Barton wrote: > I've been very supportive of Jilles work up to this point, and I think > he's done a great job of making our sh functional and compliant as a > scripting shell. However in my mind adding completion (and his suggested > inclusion of t

svn commit: r209326 - in stable/8/sys/ia64: ia64 include

2010-06-18 Thread Marcel Moolenaar
Author: marcel Date: Sat Jun 19 04:57:58 2010 New Revision: 209326 URL: http://svn.freebsd.org/changeset/base/209326 Log: MFC revs 209026 and 209085: o Bump MAX_BPAGES from 256 to 1024. o Synchronize the kernel entry on all CPUs with the use of the ptc.g instruction on a single CPU

Re: svn commit: r209119 - head/sys/sys

2010-06-18 Thread Lawrence Stewart
On 06/18/10 22:08, Robert Watson wrote: On Fri, 18 Jun 2010, Lawrence Stewart wrote: True but I figured on large SMP systems where the potential to process more is likely, 32bit counters per cpu may be enough to avoid overflow but the aggregate number of events may exceed a 32bit variable. I s

Re: svn commit: r209158 - in head/contrib/wpa: hostapd hostapd/doc src/common src/crypto src/drivers src/eap_common src/eap_peer src/eap_server src/eapol_supp src/hlr_auc_gw src/l2_packet src/radius s

2010-06-18 Thread Lawrence Stewart
Hi Rui, On 06/15/10 01:37, Rui Paulo wrote: Author: rpaulo Date: Mon Jun 14 15:37:48 2010 New Revision: 209158 URL: http://svn.freebsd.org/changeset/base/209158 Log: MFV hostapd& wpa_supplicant 0.6.10. Added: [snip] head/contrib/wpa/hostapd/radiotap.h - copied unchanged from r

svn commit: r209325 - head/sys/sys

2010-06-18 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 19 02:30:10 2010 New Revision: 209325 URL: http://svn.freebsd.org/changeset/base/209325 Log: - Rename the internal for loop iterator to "_i" to avoid potential shadowing of external variables named "i". The "_" prefix is reserved for infrastructure type co

svn commit: r209324 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Sat Jun 19 00:41:29 2010 New Revision: 209324 URL: http://svn.freebsd.org/changeset/base/209324 Log: This is an MFC of 208849 Be more specific about which CDB length we're going to use. Not really a likely bug but we might as well be clearer. Modified: stable/8/sy

svn commit: r209323 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Sat Jun 19 00:39:19 2010 New Revision: 209323 URL: http://svn.freebsd.org/changeset/base/209323 Log: This is an MFC of 208809 Make the internal target > SPC2 (so REPORT LUNS can be tested). Give the NIL inquiry data real values other than just plain 0x7f in the firs

svn commit: r209322 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Sat Jun 19 00:37:14 2010 New Revision: 209322 URL: http://svn.freebsd.org/changeset/base/209322 Log: This is an MFC of 208808 I was getting panics in sleepq_add for the second sleep in isp_kthread. I don't know why- but it occurred to me in looking at the second sleep

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

2010-06-18 Thread Alan Cox
Author: alc Date: Fri Jun 18 23:14:16 2010 New Revision: 209321 URL: http://svn.freebsd.org/changeset/base/209321 Log: Catch up with the page and page queues locking changes. Modified: head/sys/dev/cxgb/ulp/tom/cxgb_vm.c Modified: head/sys/dev/cxgb/ulp/tom/cxgb_vm.c =

svn commit: r209320 - in head/sys/fs: nwfs smbfs

2010-06-18 Thread Alan Cox
Author: alc Date: Fri Jun 18 22:12:12 2010 New Revision: 209320 URL: http://svn.freebsd.org/changeset/base/209320 Log: Eliminate unnecessary page queues locking. Modified: head/sys/fs/nwfs/nwfs_io.c head/sys/fs/smbfs/smbfs_io.c Modified: head/sys/fs/nwfs/nwfs_io.c =

svn commit: r209319 - in releng/8.1/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern

2010-06-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jun 18 22:06:49 2010 New Revision: 209319 URL: http://svn.freebsd.org/changeset/base/209319 Log: MFC r209265: r209260: Backout r207970 for now, it can lead to deadlocks. Reported by: kan r209261: Turn off UMA allocations on all archs by default. It

svn commit: r209318 - in head/sys/mips/rmi: . dev/xlr

2010-06-18 Thread Jayachandran C.
Author: jchandra Date: Fri Jun 18 21:40:32 2010 New Revision: 209318 URL: http://svn.freebsd.org/changeset/base/209318 Log: Add support for newer XLS chips/boards in the GMAC driver. Improved processor id code in board.h, remove unnecessary macros. Approved by: rrs(mentor) Modified: h

svn commit: r209317 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 21:37:27 2010 New Revision: 209317 URL: http://svn.freebsd.org/changeset/base/209317 Log: This is an MFC of 208761 Various minor and not so minor fixes suggested by Coverity. In at least one case, it's amazing that target mode worked at all. Modified: st

svn commit: r209316 - head/sys/powerpc/include

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 21:24:17 2010 New Revision: 209316 URL: http://svn.freebsd.org/changeset/base/209316 Log: Missed commit in r209310: the IRQ number in INTR_VEC() should have parantheses around it to allow arithmetic expressions to be passed. Submitted by: Andreas Tobler

svn commit: r209315 - releng/8.1/usr.sbin/sysinstall

2010-06-18 Thread Randi Harper
Author: randi Date: Fri Jun 18 21:10:56 2010 New Revision: 209315 URL: http://svn.freebsd.org/changeset/base/209315 Log: MFC r209273: Fix uninitialized variables that cause a crash when the network is initialized and sysinstall is not running as init. Submitted by: Nick Mills Appr

svn commit: r209314 - in head/sys/mips: include mips

2010-06-18 Thread Jayachandran C.
Author: jchandra Date: Fri Jun 18 20:07:30 2010 New Revision: 209314 URL: http://svn.freebsd.org/changeset/base/209314 Log: Merge jmallett@'s n64 work into HEAD - changeset 5 Remove unnecessary locking and sched_pin() call while creating a temporary mapping. Changes from http://svn.f

svn commit: r209313 - in head/sys: amd64/conf conf i386/conf

2010-06-18 Thread Konstantin Belousov
Author: kib Date: Fri Jun 18 18:51:09 2010 New Revision: 209313 URL: http://svn.freebsd.org/changeset/base/209313 Log: Only enable kdtrace hook in the LINT on the architectures that implement it. Modified: head/sys/amd64/conf/NOTES head/sys/conf/NOTES head/sys/i386/conf/NOTES Modified: h

svn commit: r209312 - head/usr.bin/systat

2010-06-18 Thread Alexander Motin
Author: mav Date: Fri Jun 18 18:18:03 2010 New Revision: 209312 URL: http://svn.freebsd.org/changeset/base/209312 Log: Do not print first digits of IRQ number if whole number doesn't fit. Modified: head/usr.bin/systat/vmstat.c Modified: head/usr.bin/systat/vmstat.c ==

svn commit: r209311 - stable/7/contrib/cpio/src

2010-06-18 Thread Xin LI
Author: delphij Date: Fri Jun 18 18:15:40 2010 New Revision: 209311 URL: http://svn.freebsd.org/changeset/base/209311 Log: Fix two regressions introduced by GNU cpio 2.8 import: cpio/src/copyout.c: Old behavior is not to strip leading / from symbol link target. By default

svn commit: r209310 - in head/sys/powerpc: ofw powermac

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 17:39:56 2010 New Revision: 209310 URL: http://svn.freebsd.org/changeset/base/209310 Log: Add MSI support for PCI devices attached to the CPC925 and CPC945 bridges found in Apple and IBM G5 systems. Modified: head/sys/powerpc/ofw/ofw_pcib_pci.c head/sys

svn commit: r209309 - stable/8/sys/dev/e1000

2010-06-18 Thread Jack F Vogel
Author: jfv Date: Fri Jun 18 17:22:08 2010 New Revision: 209309 URL: http://svn.freebsd.org/changeset/base/209309 Log: MFC of E1000 drivers: Stability fixes from M.Tuexen Cool stats changes from gnn Changes for POLL friendliness from John Baldwin Thanks everyone! MFC to R

svn commit: r209308 - stable/8/sys/dev/ixgbe

2010-06-18 Thread Jack F Vogel
Author: jfv Date: Fri Jun 18 16:36:57 2010 New Revision: 209308 URL: http://svn.freebsd.org/changeset/base/209308 Log: MFC of ixgbe driver version 2.2.1 -mostly stability fixes MFC to RELENG 8.1 asap Modified: stable/8/sys/dev/ixgbe/ixgbe.c stable/8/sys/dev/ixgbe/ixgbe.h Directory

svn commit: r209307 - head/sys/sun4v/sun4v

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 16:29:03 2010 New Revision: 209307 URL: http://svn.freebsd.org/changeset/base/209307 Log: Missed change to sun4v while adding iparent lookup to the OFW interrupt map interface. Modified: head/sys/sun4v/sun4v/hv_pci.c Modified: head/sys/sun4v/sun4v/hv_pci

svn commit: r209306 - stable/8/cddl/contrib/opensolaris/tools/ctf/cvt

2010-06-18 Thread Alexander Kabaev
Author: kan Date: Fri Jun 18 16:14:37 2010 New Revision: 209306 URL: http://svn.freebsd.org/changeset/base/209306 Log: MFC r207578: Do not encode more than CTF_MAX_VLEN(1023) enum members. CTF can not represent enums with more than CTF_MAX_VLEN members, but ctfconvert will happily ignor

svn commit: r209305 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2010-06-18 Thread Alexander Kabaev
Author: kan Date: Fri Jun 18 16:07:24 2010 New Revision: 209305 URL: http://svn.freebsd.org/changeset/base/209305 Log: Do not allow EOF token to be put back into input buffer. This reimplements previous change from r20930 in more generic way. MFC after:1 week Modified: head/cddl

svn commit: r209304 - in stable/8/sys: amd64/linux32 i386/linux

2010-06-18 Thread Alexander Kabaev
Author: kan Date: Fri Jun 18 15:25:57 2010 New Revision: 209304 URL: http://svn.freebsd.org/changeset/base/209304 Log: MFC r208994: Do not require pos parameter to be zero in MAP_ANONYMOUS mmap requests in Linux emulation layer. Linux seems to only require that pos is page-aligned, but

svn commit: r209303 - stable/8/libexec/rtld-elf

2010-06-18 Thread Alexander Kabaev
Author: kan Date: Fri Jun 18 15:17:38 2010 New Revision: 209303 URL: http://svn.freebsd.org/changeset/base/209303 Log: MFC r208763: Plug possible memory leak. Found by: Coverity Prevent Modified: stable/8/libexec/rtld-elf/rtld.c Directory Properties: stable/8/libexec/rtld-elf/ (pr

svn commit: r209302 - head/sys/powerpc/powermac

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:28:57 2010 New Revision: 209302 URL: http://svn.freebsd.org/changeset/base/209302 Log: Add support for the Keywest I2C controller in Apple uninorth northbridges. Although the Keywest registers have only 1 byte of content, they are secretly 4-byte regist

svn commit: r209301 - head/sys/dev/iicbus

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:20:54 2010 New Revision: 209301 URL: http://svn.freebsd.org/changeset/base/209301 Log: Revert changes accidentally committed as part of r209298. Modified: head/sys/dev/iicbus/iiconf.c Modified: head/sys/dev/iicbus/iiconf.c ==

svn commit: r209300 - head/sys/dev/ata/chipsets

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:17:45 2010 New Revision: 209300 URL: http://svn.freebsd.org/changeset/base/209300 Log: Following r209299, level interrupts are low by default on PPC, so remove the hack here to reprogram the interrupt for K2 SATA devices. Modified: head/sys/dev/ata/chi

svn commit: r209299 - in head/sys/powerpc: ofw powermac powerpc

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:16:24 2010 New Revision: 209299 URL: http://svn.freebsd.org/changeset/base/209299 Log: Change the default interrupt polarity on PowerPC systems from high to low. On Apple systems at least, all the level interrupts are wired active low. Before this chang

svn commit: r209298 - in head/sys: dev/iicbus dev/ofw powerpc/aim powerpc/booke powerpc/include powerpc/mpc85xx powerpc/ofw powerpc/powermac powerpc/powerpc sparc64/ebus sparc64/isa sparc64/pci

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:06:27 2010 New Revision: 209298 URL: http://svn.freebsd.org/changeset/base/209298 Log: Provide for multiple, cascaded PICs on PowerPC systems, and extend the OFW interrupt map interface to also return the device's interrupt parent. MFC after:8.1-

Re: svn commit: r209119 - head/sys/sys

2010-06-18 Thread Robert Watson
On Fri, 18 Jun 2010, Lawrence Stewart wrote: True but I figured on large SMP systems where the potential to process more is likely, 32bit counters per cpu may be enough to avoid overflow but the aggregate number of events may exceed a 32bit variable. I suspect you're right though and that if

svn commit: r209295 - head/lib/csu/i386-elf

2010-06-18 Thread Konstantin Belousov
Author: kib Date: Fri Jun 18 11:10:39 2010 New Revision: 209295 URL: http://svn.freebsd.org/changeset/base/209295 Log: Add unwind annotations to the asm part of crt1 on i386. Terminate the process with SIGTRAP if _start1() unexpectedly returns. Reviewed by: kan MFC after:2 weeks M

svn commit: r209294 - head/gnu/lib/csu

2010-06-18 Thread Konstantin Belousov
Author: kib Date: Fri Jun 18 11:09:51 2010 New Revision: 209294 URL: http://svn.freebsd.org/changeset/base/209294 Log: Often reported issue with newer ld is: error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created. The issue is that crtend is compiled with unwind t

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

2010-06-18 Thread Konstantin Belousov
Author: kib Date: Fri Jun 18 09:40:01 2010 New Revision: 209293 URL: http://svn.freebsd.org/changeset/base/209293 Log: MFC r208773: Sometimes vnodes share the lock despite being different vnodes on different mount points, e.g. the nullfs vnode and the covered vnode from the lower filesyste

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

2010-06-18 Thread Konstantin Belousov
Author: kib Date: Fri Jun 18 09:34:31 2010 New Revision: 209292 URL: http://svn.freebsd.org/changeset/base/209292 Log: MFC r208604: Clarify a potential issue in get_fpcontext() use. Modified: stable/8/sys/i386/i386/machdep.c Directory Properties: stable/8/sys/ (props changed) stable/8

svn commit: r209291 - stable/8/sys/modules

2010-06-18 Thread Konstantin Belousov
Author: kib Date: Fri Jun 18 09:29:08 2010 New Revision: 209291 URL: http://svn.freebsd.org/changeset/base/209291 Log: MFC r208565: Remove a check that should be always true. Modified: stable/8/sys/modules/Makefile Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64

svn commit: r209290 - stable/8/sys/vm

2010-06-18 Thread Konstantin Belousov
Author: kib Date: Fri Jun 18 09:25:00 2010 New Revision: 209290 URL: http://svn.freebsd.org/changeset/base/209290 Log: MFC r208340: When waiting for the busy page, do not unlock the object unless unlock cannot be avoided. Modified: stable/8/sys/vm/vm_fault.c Directory Properties: stable

svn commit: r209289 - head/sys/netinet

2010-06-18 Thread Michael Tuexen
Author: tuexen Date: Fri Jun 18 09:01:44 2010 New Revision: 209289 URL: http://svn.freebsd.org/changeset/base/209289 Log: Fix a rece condition in the shutdown handling. The race condition resulted in a panic. MFC after: 3 days Modified: head/sys/netinet/sctp.h head/sys/netinet/sctp_u

svn commit: r209286 - head/etc/namedb

2010-06-18 Thread Doug Barton
Author: dougb Date: Fri Jun 18 08:11:52 2010 New Revision: 209286 URL: http://svn.freebsd.org/changeset/base/209286 Log: Add the address for i.root-servers.net Modified: head/etc/namedb/named.root Modified: head/etc/namedb/named.root =

svn commit: r209284 - stable/8/usr.bin/jot

2010-06-18 Thread Brian Somers
Author: brian Date: Fri Jun 18 07:19:30 2010 New Revision: 209284 URL: http://svn.freebsd.org/changeset/base/209284 Log: MFC r208728 - Fix stuttering sequences and reverse ranges PR: 123635 Submitted by: Ulrich Spörlein, uqs at spoerlein dot net Modified: stable/8/usr.bin