Re: svn commit: r188727 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/modules/sem sys/sys tools/regression/posixsem usr.bin/procstat

2009-02-18 Thread Bruce Simpson
John Baldwin wrote: Author: jhb Date: Tue Feb 17 19:57:52 2009 New Revision: 188727 URL: http://svn.freebsd.org/changeset/base/188727 Log: MFC: Rework the lifetime management of the kernel implementation of POSIX semaphores. Specifically, semaphores are now represented as new file

svn commit: r188749 - head/share/misc

2009-02-18 Thread Maxim Konovalov
Author: maxim Date: Wed Feb 18 10:02:32 2009 New Revision: 188749 URL: http://svn.freebsd.org/changeset/base/188749 Log: o DragonFly 2.2.0 added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

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

2009-02-18 Thread Ed Schouten
* Andrew Thompson thom...@freebsd.org wrote: Bump __FreeBSD_version to 800063 after GENERIC changed to USB2. Let this __FreeBSD_version also indicate the addition of fdevname() and fdevname_r(). I didn't increase __FreeBSD_version for this, because I suspected it would be done anyway. I'll add

Re: svn commit: r188727 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/modules/sem sys/sys tools/regression/posixsem usr.bin/procstat

2009-02-18 Thread Bruce Simpson
Bruce Simpson wrote: FYI: This change *may* fix Python 2.6's 'multiprocessing' module on FreeBSD 7-STABLE, which is known to have problems there; it depends on POSIX semaphores to synchronize its IPC between different fork()'s of the Python interpreter. If anyone else has an interest in

Re: svn commit: r188514 - in stable/7/sys: . contrib/pf dev/cxgb libkern

2009-02-18 Thread John Baldwin
On Tuesday 17 February 2009 7:15:33 pm Peter Jeremy wrote: On 2009-Feb-12 14:37:58 +, John Baldwin j...@freebsd.org wrote: Log: MFC: Add simple locking for the in-kernel iconv code. This breaks building LIBICONV: Given a config file comprising include GENERIC options LIBICONV you

Re: svn commit: r188727 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/modules/sem sys/sys tools/regression/posixsem usr.bin/procstat

2009-02-18 Thread John Baldwin
On Wednesday 18 February 2009 3:18:03 am Bruce Simpson wrote: John Baldwin wrote: Author: jhb Date: Tue Feb 17 19:57:52 2009 New Revision: 188727 URL: http://svn.freebsd.org/changeset/base/188727 Log: MFC: Rework the lifetime management of the kernel implementation of POSIX

Re: svn commit: r188727 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/modules/sem sys/sys tools/regression/posixsem usr.bin/procstat

2009-02-18 Thread John Baldwin
On Wednesday 18 February 2009 9:16:35 am Bruce Simpson wrote: Bruce Simpson wrote: FYI: This change *may* fix Python 2.6's 'multiprocessing' module on FreeBSD 7-STABLE, which is known to have problems there; it depends on POSIX semaphores to synchronize its IPC between different

Re: svn commit: r188727 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/modules/sem sys/sys tools/regression/posixsem usr.bin/procstat

2009-02-18 Thread Bruce Simpson
John Baldwin wrote: ... I just tested this and Python 2.5 still dumps core in sem_open() when called from semlock_new() in _multiprocessing.so, this is with the most recent back-port of multiprocessing to Python 2.5: http://pypi.python.org/pypi/multiprocessing Do you have a core

Re: svn commit: r188727 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/modules/sem sys/sys tools/regression/posixsem usr.bin/procstat

2009-02-18 Thread John Baldwin
On Wednesday 18 February 2009 10:17:49 am Bruce Simpson wrote: John Baldwin wrote: ... I just tested this and Python 2.5 still dumps core in sem_open() when called from semlock_new() in _multiprocessing.so, this is with the most recent back-port of multiprocessing to Python 2.5:

svn commit: r188750 - in head/sys: amd64/linux32 i386/linux

2009-02-18 Thread Konstantin Belousov
Author: kib Date: Wed Feb 18 16:11:39 2009 New Revision: 188750 URL: http://svn.freebsd.org/changeset/base/188750 Log: Adapt linux emulation to use cv for vfork wait. Submitted by: Takahiro Kurosawa takahiro.kurosawa gmail com PR: kern/131506 Modified:

svn commit: r188751 - head/sys/nfsclient

2009-02-18 Thread John Baldwin
Author: jhb Date: Wed Feb 18 16:34:13 2009 New Revision: 188751 URL: http://svn.freebsd.org/changeset/base/188751 Log: Reindent a small bit of code that was not 8-space indented like the rest of the nfs_lookup() function. Modified: head/sys/nfsclient/nfs_vnops.c Modified:

svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Roman Divacky
Author: rdivacky Date: Wed Feb 18 18:25:16 2009 New Revision: 188753 URL: http://svn.freebsd.org/changeset/base/188753 Log: Mark these variables as __used as those are used in the asm block. Approved by: kib (mentor) Modified: head/sys/i386/acpica/acpi_wakeup.c Modified:

svn commit: r188755 - head/sys/dev/ata

2009-02-18 Thread Alexander Motin
Author: mav Date: Wed Feb 18 18:36:13 2009 New Revision: 188755 URL: http://svn.freebsd.org/changeset/base/188755 Log: Remove unused variable. Submitted by: ganbold Modified: head/sys/dev/ata/ata-all.c Modified: head/sys/dev/ata/ata-all.c

svn commit: r188756 - head/sys/dev/firewire

2009-02-18 Thread Sean Bruno
Author: sbruno Date: Wed Feb 18 18:41:34 2009 New Revision: 188756 URL: http://svn.freebsd.org/changeset/base/188756 Log: Enhance debugging mode by storing the string BB:TT:LL once and use it instead of overloading sbp_show_sdev_info(). replace calls to printf with calls to device_printf

Re: svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Ed Schouten
Roman, This file doesn't seem to compile with LLVM properly. I don't know a lot about inline asm, but shouldn't these variables be passed as arguments to the __asm block? I would fix it if I knew how, but I don't. :-( -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgpL50WwQYRpJ.pgp

Re: svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Roman Divacky
On Wed, Feb 18, 2009 at 07:55:35PM +0100, Ed Schouten wrote: Roman, This file doesn't seem to compile with LLVM properly. I don't know a lot about inline asm, but shouldn't these variables be passed as arguments to the __asm block? I would fix it if I knew how, but I don't. :-( it does

svn commit: r188759 - head/share/misc

2009-02-18 Thread Maxim Konovalov
Author: maxim Date: Wed Feb 18 19:05:27 2009 New Revision: 188759 URL: http://svn.freebsd.org/changeset/base/188759 Log: o Fix year in the previous commit. Submitted by: Munehiro Matsuda Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

Re: svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Christoph Mallon
Ed Schouten schrieb: Roman, This file doesn't seem to compile with LLVM properly. I don't know a lot about inline asm, but shouldn't these variables be passed as arguments to the __asm block? I would fix it if I knew how, but I don't. :-( You cannot pass variables to global asm statements.

Re: svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Christoph Mallon
Christoph Mallon schrieb: Ed Schouten schrieb: Roman, This file doesn't seem to compile with LLVM properly. I don't know a lot about inline asm, but shouldn't these variables be passed as arguments to the __asm block? I would fix it if I knew how, but I don't. :-( You cannot pass variables

Re: svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Ed Schouten
* Christoph Mallon christoph.mal...@gmx.de wrote: You cannot pass variables to global asm statements. Oh, yuck. So I guess the only solution would be to move it into its own assembly file? -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgpSDnSkBulWA.pgp Description: PGP signature

Re: svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Christoph Mallon
Ed Schouten schrieb: * Christoph Mallon christoph.mal...@gmx.de wrote: You cannot pass variables to global asm statements. Oh, yuck. So I guess the only solution would be to move it into its own assembly file? Marking the involved variables as __used (which evaluates to

Re: svn commit: r188753 - head/sys/i386/acpica

2009-02-18 Thread Ed Schouten
* Roman Divacky rdiva...@freebsd.org wrote: On Wed, Feb 18, 2009 at 07:55:35PM +0100, Ed Schouten wrote: Roman, This file doesn't seem to compile with LLVM properly. I don't know a lot about inline asm, but shouldn't these variables be passed as arguments to the __asm block? I would

svn commit: r188760 - head/contrib/bsnmp/snmp_mibII

2009-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 19:59:27 2009 New Revision: 188760 URL: http://svn.freebsd.org/changeset/base/188760 Log: Add an extra (void *) cast. The struct if_msghdr has an 8 byte alignment requirement, while rt_msghdr has a 4 byte alignment requirement. The root cause is that if_msghdr

svn commit: r188761 - in stable/7: lib/libc lib/libc/string lib/libc/sys sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/net sys/netinet sys/netinet6 sys/sys

2009-02-18 Thread Jamie Gritton
Author: jamie Date: Wed Feb 18 20:12:08 2009 New Revision: 188761 URL: http://svn.freebsd.org/changeset/base/188761 Log: MFC: r188144: Standardize the various prison_foo_ip[46] functions and prison_if to return zero on success and an error code otherwise. The possible errors

svn commit: r188762 - head/sys/dev/ata

2009-02-18 Thread Alexander Motin
Author: mav Date: Wed Feb 18 20:42:42 2009 New Revision: 188762 URL: http://svn.freebsd.org/changeset/base/188762 Log: Implement proper attach/detach routines for ISA driver. Modified: head/sys/dev/ata/ata-isa.c Modified: head/sys/dev/ata/ata-isa.c

svn commit: r188763 - head/sys/dev/ata

2009-02-18 Thread Alexander Motin
Author: mav Date: Wed Feb 18 21:12:48 2009 New Revision: 188763 URL: http://svn.freebsd.org/changeset/base/188763 Log: Make ch-dma.free() called symmetrically to ch-dma.alloc(). Modified: head/sys/dev/ata/ata-all.c head/sys/dev/ata/ata-pci.c Modified: head/sys/dev/ata/ata-all.c

svn commit: r188764 - head/sys/kern

2009-02-18 Thread Attilio Rao
Author: attilio Date: Wed Feb 18 21:52:13 2009 New Revision: 188764 URL: http://svn.freebsd.org/changeset/base/188764 Log: - Add a function (fill_kinfo_aggregate()) which aggregates relevant members for a kinfo entry on a process-wide system. - Use the newly introduced function in order

svn commit: r188765 - in head/sys/dev/ata: . chipsets

2009-02-18 Thread Alexander Motin
Author: mav Date: Wed Feb 18 22:17:48 2009 New Revision: 188765 URL: http://svn.freebsd.org/changeset/base/188765 Log: As soon as they called in only same one place (ata_pcichannel_attach()), join allocate() and dmainit() atapci subdriver's channel initialization methods into single

svn commit: r188766 - head/usr.sbin/rpc.yppasswdd

2009-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 22:27:46 2009 New Revision: 188766 URL: http://svn.freebsd.org/changeset/base/188766 Log: yppasswdd assumed that a struct x_master_passwd is type punable to a struct passwd. This is not the case when sizeof(unsigned long) != sizeof(time_t). Write a dinky

svn commit: r188767 - head/sys/i386/acpica

2009-02-18 Thread Roman Divacky
Author: rdivacky Date: Wed Feb 18 22:44:55 2009 New Revision: 188767 URL: http://svn.freebsd.org/changeset/base/188767 Log: Mark these variables as __used too. Fix a style of previous commit. Noticed by: Christoph Mallon Approved by: kib (mentor) Modified:

OT: svn commit: r188764 - head/sys/kern

2009-02-18 Thread pluknet
Hi. Am I right that td_estcpu is only updated under SCHED_4BSD ? (well, user's ki_estcpu is not used in top anyway. ps shows all zeroes under SCHED_ULE (as it should then though). I'm just interested.) -- wbr, pluknet ___ svn-src-all@freebsd.org

svn commit: r188768 - head/sys/dev/cx

2009-02-18 Thread Robert Watson
Author: rwatson Date: Thu Feb 19 00:06:01 2009 New Revision: 188768 URL: http://svn.freebsd.org/changeset/base/188768 Log: if_cx is currently disconnected from the build due to a dependence on the old TTY implementation; however, take a cut at stripping its optional Giant-protected code

svn commit: r188770 - head/sys/dev/ath/ath_hal

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:10:51 2009 New Revision: 188770 URL: http://svn.freebsd.org/changeset/base/188770 Log: whitespace Modified: head/sys/dev/ath/ath_hal/ah.h Modified: head/sys/dev/ath/ath_hal/ah.h ==

svn commit: r188771 - head/sys/dev/ath/ath_hal

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:15:14 2009 New Revision: 188771 URL: http://svn.freebsd.org/changeset/base/188771 Log: add HAL_DIAG_SETREGS to write registers via the diag api Modified: head/sys/dev/ath/ath_hal/ah.c head/sys/dev/ath/ath_hal/ah_internal.h Modified:

svn commit: r188772 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:19:58 2009 New Revision: 188772 URL: http://svn.freebsd.org/changeset/base/188772 Log: add phy types for 1/2 and 1/4-rate modes Modified: head/sys/net80211/_ieee80211.h Modified: head/sys/net80211/_ieee80211.h

svn commit: r188773 - in head/sys/dev/ath/ath_hal: . ar5212

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:24:22 2009 New Revision: 188773 URL: http://svn.freebsd.org/changeset/base/188773 Log: Cleanup ath_hal_computetxtime's handling of 1/2 and 1/4-width channels: o mark phy type to indicate 1/2 or 1/4-rate operation o use phy type instead of channel attributes

svn commit: r188774 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:33:36 2009 New Revision: 188774 URL: http://svn.freebsd.org/changeset/base/188774 Log: instead of special casing lookups for the 11na/g legacy rate set, just install the rates once when creating the com structure Modified: head/sys/net80211/ieee80211.c

svn commit: r188775 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:34:22 2009 New Revision: 188775 URL: http://svn.freebsd.org/changeset/base/188775 Log: check ptr against NULL Modified: head/sys/net80211/ieee80211.c Modified: head/sys/net80211/ieee80211.c

svn commit: r188776 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:37:44 2009 New Revision: 188776 URL: http://svn.freebsd.org/changeset/base/188776 Log: simplify setting up the roaming parameters; writing default parameters only for active modes hasn't turned out to be useful so just define a const table and copy it in

svn commit: r188777 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:40:47 2009 New Revision: 188777 URL: http://svn.freebsd.org/changeset/base/188777 Log: use c99 initializer Modified: head/sys/net80211/ieee80211_scan_sta.c Modified: head/sys/net80211/ieee80211_scan_sta.c

svn commit: r188778 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:44:18 2009 New Revision: 188778 URL: http://svn.freebsd.org/changeset/base/188778 Log: Change country ie construction to simplify forthcoming changes: o use c99 initializer for skipflags o calculate band flags instead of statically listing them in the table

svn commit: r188780 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 04:52:03 2009 New Revision: 188780 URL: http://svn.freebsd.org/changeset/base/188780 Log: use c99 initializers Modified: head/sys/net80211/ieee80211_ioctl.c head/sys/net80211/ieee80211_proto.c Modified: head/sys/net80211/ieee80211_ioctl.c

svn commit: r188781 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 05:03:10 2009 New Revision: 188781 URL: http://svn.freebsd.org/changeset/base/188781 Log: o looseen abi dependencies on IEEE80211_MODE_MAX by accepting smaller parameters for IEEE80211_IOC_ROAM and IEEE80211_IOC_TXPARAMS; this lets us add more modes and

svn commit: r188782 - head/sys/net80211

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 05:21:54 2009 New Revision: 188782 URL: http://svn.freebsd.org/changeset/base/188782 Log: Add modes for 1/2 and 1/4-width channels so we have separate roaming and xmit parameters. This makes it possible to use tdma on fractional channels. o add

svn commit: r188783 - head/sys/dev/ath

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 05:22:40 2009 New Revision: 188783 URL: http://svn.freebsd.org/changeset/base/188783 Log: remove private support for IEEE80211_MODE_HALF and IEEE80211_MODE_QUARTER now that net80211 has them Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_athvar.h

svn commit: r188784 - head/sbin/ifconfig

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 05:28:03 2009 New Revision: 188784 URL: http://svn.freebsd.org/changeset/base/188784 Log: Fixup handling of roaming and xmit parameters to support 1/2 and 1/4-width channel modes: o usurp 'h' mode flag for half-width channels o add 'q' mode flag for

svn commit: r188785 - head/tools/tools/net80211/wlantxtime

2009-02-18 Thread Sam Leffler
Author: sam Date: Thu Feb 19 05:36:07 2009 New Revision: 188785 URL: http://svn.freebsd.org/changeset/base/188785 Log: revamp after 1/2 and 1/4 rate changes Modified: head/tools/tools/net80211/wlantxtime/wlantxtime.c Modified: head/tools/tools/net80211/wlantxtime/wlantxtime.c