svn commit: r215111 - head/sys/kern

2010-11-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 11 08:15:12 2010 New Revision: 215111 URL: http://svn.freebsd.org/changeset/base/215111 Log: Remove unneeded conditional. Discussed with: kib Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c

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

2010-11-11 Thread Kostik Belousov
On Thu, Nov 11, 2010 at 08:15:12AM +, Edward Tomasz Napierala wrote: Author: trasz Date: Thu Nov 11 08:15:12 2010 New Revision: 215111 URL: http://svn.freebsd.org/changeset/base/215111 Log: Remove unneeded conditional. The commit message is unuseful. Why the conditional is not needed

svn commit: r215112 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:26:59 2010 New Revision: 215112 URL: http://svn.freebsd.org/changeset/base/215112 Log: Fix typo. Function is called ffs_blkfree. Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c

svn commit: r215113 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:35:42 2010 New Revision: 215113 URL: http://svn.freebsd.org/changeset/base/215113 Log: Add function lbn_offset to calculate offset of the indirect block of given level. Reviewed by: jeff Tested by:pho Modified: head/sys/ufs/ffs/ffs_inode.c

svn commit: r215114 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:38:57 2010 New Revision: 215114 URL: http://svn.freebsd.org/changeset/base/215114 Log: In journal_mount(), only set MNTK_SUJ flag after the jblocks are mapped. I believe there is a window otherwise where jblocks can be accessed without proper initialization.

svn commit: r215115 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:41:52 2010 New Revision: 215115 URL: http://svn.freebsd.org/changeset/base/215115 Log: Change #ifdef INVARIANTS panic into KASSERT, and print some useful information to diagnose the issue, in handle_complete_freeblocks(). Reviewed by: jeff Tested by:

svn commit: r215116 - in head/crypto/openssh: . openbsd-compat

2010-11-11 Thread Dag-Erling Smorgrav
Author: des Date: Thu Nov 11 11:46:19 2010 New Revision: 215116 URL: http://svn.freebsd.org/changeset/base/215116 Log: Upgrade to OpenSSH 5.6p1. Added: head/crypto/openssh/openbsd-compat/strptime.c - copied unchanged from r214980, vendor-crypto/openssh/dist/openbsd-compat/strptime.c

svn commit: r215117 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:54:01 2010 New Revision: 215117 URL: http://svn.freebsd.org/changeset/base/215117 Log: The softdep_setup_freeblocks() adds worklist items before deallocate_dependencies() is done. This opens a race between softdep thread and the thread that does the

svn commit: r215118 - head/sys/geom/part

2010-11-11 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 11 12:13:41 2010 New Revision: 215118 URL: http://svn.freebsd.org/changeset/base/215118 Log: Fix regression introduced in r215088: gpart(8) reports arg0 'provider': Invalid argument after creating new partition table. Move code for search of existing geom into

svn commit: r215119 - in head/sys/powerpc: booke include

2010-11-11 Thread Rafal Jaworowski
Author: raj Date: Thu Nov 11 13:35:23 2010 New Revision: 215119 URL: http://svn.freebsd.org/changeset/base/215119 Log: Use local TLB_UNLOCKED marker instead of MTX_UNOWNED for Book-E PowerPC trap routines. This unbreaks Book-E build after the recent machine/mutex.h removal. While

svn commit: r215120 - head/sys/dev/ofw

2010-11-11 Thread Rafal Jaworowski
Author: raj Date: Thu Nov 11 13:42:46 2010 New Revision: 215120 URL: http://svn.freebsd.org/changeset/base/215120 Log: Return IEEE 1275 compliant error codes. Submitted by: nwhitehorn Modified: head/sys/dev/ofw/ofw_fdt.c Modified: head/sys/dev/ofw/ofw_fdt.c

svn commit: r215121 - in head/sys/powerpc: aim booke

2010-11-11 Thread Rafal Jaworowski
Author: raj Date: Thu Nov 11 13:46:28 2010 New Revision: 215121 URL: http://svn.freebsd.org/changeset/base/215121 Log: Fix typo in the comment. Modified: head/sys/powerpc/aim/clock.c head/sys/powerpc/booke/clock.c Modified: head/sys/powerpc/aim/clock.c

svn commit: r215122 - head/sys/boot/fdt/dts

2010-11-11 Thread Rafal Jaworowski
Author: raj Date: Thu Nov 11 13:48:48 2010 New Revision: 215122 URL: http://svn.freebsd.org/changeset/base/215122 Log: Correct RAM size of the MPC8555CDS board. Modified: head/sys/boot/fdt/dts/mpc8555cds.dts Modified: head/sys/boot/fdt/dts/mpc8555cds.dts

svn commit: r215124 - head/sys/arm/conf

2010-11-11 Thread Bernd Walter
Author: ticso Date: Thu Nov 11 15:02:14 2010 New Revision: 215124 URL: http://svn.freebsd.org/changeset/base/215124 Log: add hint for at45d flash device sitting of spibus0 Modified: head/sys/arm/conf/BWCT.hints Modified: head/sys/arm/conf/BWCT.hints

svn commit: r215125 - in head: contrib/compiler-rt contrib/compiler-rt/BlocksRuntime contrib/compiler-rt/BlocksRuntime/tests contrib/compiler-rt/cmake contrib/compiler-rt/lib contrib/compiler-rt/li...

2010-11-11 Thread Ed Schouten
Author: ed Date: Thu Nov 11 15:13:11 2010 New Revision: 215125 URL: http://svn.freebsd.org/changeset/base/215125 Log: Import libcompiler_rt into HEAD and add Makefiles. Obtained from:user/ed/compiler-rt Added: head/contrib/compiler-rt/ - copied from r214849,

svn commit: r215126 - head/gnu/lib/libgcc

2010-11-11 Thread Ed Schouten
Author: ed Date: Thu Nov 11 15:24:57 2010 New Revision: 215126 URL: http://svn.freebsd.org/changeset/base/215126 Log: Don't use ${LIB} to obtain the library name. Once we use libcompiler_rt, the LIB-line must go, to prevent libgcc.a from being built. Therefore, just hardcode the name.

svn commit: r215127 - in head: . gnu/lib/libgcc lib sys/sys

2010-11-11 Thread Ed Schouten
Author: ed Date: Thu Nov 11 15:48:27 2010 New Revision: 215127 URL: http://svn.freebsd.org/changeset/base/215127 Log: Replace libgcc.a by libcompiler_rt.a. libcompiler_rt.a is a BSD licensed C language runtime, which implements many routines which are linked into binaries on

svn commit: r215128 - in head/sys/sun4v: include sun4v

2010-11-11 Thread John Baldwin
Author: jhb Date: Thu Nov 11 16:06:47 2010 New Revision: 215128 URL: http://svn.freebsd.org/changeset/base/215128 Log: Fix a few more places to use cpumask_t rather than 'u_int'. These are just cosmetic. Modified: head/sys/sun4v/include/pmap.h head/sys/sun4v/include/smp.h

svn commit: r215129 - in head: contrib/compiler-rt/lib lib/libcompiler_rt

2010-11-11 Thread Ed Schouten
Author: ed Date: Thu Nov 11 16:53:25 2010 New Revision: 215129 URL: http://svn.freebsd.org/changeset/base/215129 Log: Set symbol visibility to hidden. Not doing so may cause all sorts of random libraries to expose libcompiler_rt's functions, which should of course not be done.

svn commit: r215131 - head/sys/x86/cpufreq

2010-11-11 Thread Andriy Gapon
Author: avg Date: Thu Nov 11 17:30:49 2010 New Revision: 215131 URL: http://svn.freebsd.org/changeset/base/215131 Log: make it possible to actually enable hwpstate_verbose Either via the tunable or the sysctl. MFC after:3 days Modified: head/sys/x86/cpufreq/hwpstate.c

svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 11 18:08:50 2010 New Revision: 215132 URL: http://svn.freebsd.org/changeset/base/215132 Log: Add basic WOL support for MCP ethernet controllers. It seems the controller does not perform automatic switching from 1000Mbps link to 10/100Mbps link when WOL is

svn commit: r215133 - in head: lib/libkvm sys/amd64/amd64 sys/amd64/include

2010-11-11 Thread Andriy Gapon
Author: avg Date: Thu Nov 11 18:35:28 2010 New Revision: 215133 URL: http://svn.freebsd.org/changeset/base/215133 Log: amd64: introduce minidump version 2 After KVA space was increased to 512GB on amd64 it became impractical to use PTEs as entries in the minidump map of dumped pages,

svn commit: r215134 - head/sys/netinet

2010-11-11 Thread Michael Tuexen
Author: tuexen Date: Thu Nov 11 18:41:03 2010 New Revision: 215134 URL: http://svn.freebsd.org/changeset/base/215134 Log: Fix the SACK/NR-SACK generation code. MFC after: 3 days. Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c

svn commit: r215135 - head/sys/compat/ndis

2010-11-11 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Nov 11 18:43:31 2010 New Revision: 215135 URL: http://svn.freebsd.org/changeset/base/215135 Log: According to specs for MmAllocateContiguousMemorySpecifyCache() physically contiguous memory with requested restrictions must be allocated. Submitted by: Paul B

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Joel Dahl
On 11-11-2010 18:08, Pyun YongHyeon wrote: Author: yongari Date: Thu Nov 11 18:08:50 2010 New Revision: 215132 URL: http://svn.freebsd.org/changeset/base/215132 Log: Add basic WOL support for MCP ethernet controllers. It seems the controller does not perform automatic switching from

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

2010-11-11 Thread Bruce Cran
Author: brucec Date: Thu Nov 11 19:13:16 2010 New Revision: 215136 URL: http://svn.freebsd.org/changeset/base/215136 Log: Bump .Dd due to additions in r214279. MFC after:3 days Modified: head/share/man/man4/ada.4 Modified: head/share/man/man4/ada.4

svn commit: r215137 - head/sys/sys

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 19:17:59 2010 New Revision: 215137 URL: http://svn.freebsd.org/changeset/base/215137 Log: Revert r103230, which depended on ld preserving the __start_xxx and __stop_xxx symbols for custom sections, even when these were not referenced (at link time). This

svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 19:18:52 2010 New Revision: 215138 URL: http://svn.freebsd.org/changeset/base/215138 Log: Use the same treatment as in linker_set.h for the __start and __stop symbols of the set_vnet and set_pcpu sections, so those symbols will always be emitted in kernel

svn commit: r215139 - head/sys/i386/bios

2010-11-11 Thread Jung-uk Kim
Author: jkim Date: Thu Nov 11 19:20:33 2010 New Revision: 215139 URL: http://svn.freebsd.org/changeset/base/215139 Log: Add compat shim for apm(4) to translate APM BIOS function numbers from i386 to PC98-specific ones. Any binaries using apm ioctl(4) commands but built for i386 should also

Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Andriy Gapon
on 11/11/2010 21:18 Dimitry Andric said the following: Author: dim Date: Thu Nov 11 19:18:52 2010 New Revision: 215138 URL: http://svn.freebsd.org/changeset/base/215138 Log: Use the same treatment as in linker_set.h for the __start and __stop symbols of the set_vnet and set_pcpu

svn commit: r215140 - in head/sys: amd64/include i386/include pc98/include x86/include

2010-11-11 Thread Jung-uk Kim
Author: jkim Date: Thu Nov 11 19:36:21 2010 New Revision: 215140 URL: http://svn.freebsd.org/changeset/base/215140 Log: Move identical copies of apm_bios.h to sys/x86/include, replace them with stubs, and adjust PC98 stub accordingly. Reviewed by: imp, nyan Added:

Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Dimitry Andric
On 2010-11-11 20:29, Andriy Gapon wrote: Do I understand it correctly that set_pcpu section itself would not be produced if DPCPU_DEFINE() is not actually used? Yes, although currently this does not occur in any kernel module (I tested using make universe). But indeed, if you would include

Re: svn commit: r215139 - head/sys/i386/bios

2010-11-11 Thread Jung-uk Kim
On Thursday 11 November 2010 02:20 pm, Jung-uk Kim wrote: Author: jkim Date: Thu Nov 11 19:20:33 2010 New Revision: 215139 URL: http://svn.freebsd.org/changeset/base/215139 Log: Add compat shim for apm(4) to translate APM BIOS function numbers from i386 to PC98-specific ones. Any

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 07:34:09PM +0100, Joel Dahl wrote: On 11-11-2010 18:08, Pyun YongHyeon wrote: Author: yongari Date: Thu Nov 11 18:08:50 2010 New Revision: 215132 URL: http://svn.freebsd.org/changeset/base/215132 Log: Add basic WOL support for MCP ethernet controllers. It

svn commit: r215142 - in head/sys: arm/conf arm/xscale/ixp425 dev/gpio

2010-11-11 Thread Andrew Thompson
Author: thompsa Date: Thu Nov 11 20:18:33 2010 New Revision: 215142 URL: http://svn.freebsd.org/changeset/base/215142 Log: Add a GPIO driver for the Gateworks Cambria platform. The external gpio pins are connected to a PLD on the i2c bus, unfortunatley this device does not conform by

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Rob Farmer
On Thu, Nov 11, 2010 at 11:19, Pyun YongHyeon pyu...@gmail.com wrote: On Thu, Nov 11, 2010 at 07:34:09PM +0100, Joel Dahl wrote: On 11-11-2010 18:08, Pyun YongHyeon wrote: Author: yongari Date: Thu Nov 11 18:08:50 2010 New Revision: 215132 URL:

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 11:56:43AM -0800, Rob Farmer wrote: On Thu, Nov 11, 2010 at 11:19, Pyun YongHyeon pyu...@gmail.com wrote: On Thu, Nov 11, 2010 at 07:34:09PM +0100, Joel Dahl wrote: On 11-11-2010 18:08, Pyun YongHyeon wrote: Author: yongari Date: Thu Nov 11 18:08:50 2010 New

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Rob Farmer
On Thu, Nov 11, 2010 at 13:18, Pyun YongHyeon pyu...@gmail.com wrote: Yes, but I think this has nothing to do with the subject. I think MCP controllers have a silicon bug that does not generate TX completion interrupts under certain conditions/controller models. The PR indicates what was

svn commit: r215144 - head/lib/libc/include

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 21:36:52 2010 New Revision: 215144 URL: http://svn.freebsd.org/changeset/base/215144 Log: Remove some unneeded spaces from the __sym_compat() macro, since newer versions of gas are more fussy about spaces surrounding '@' signs in versioned symbol names.

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 01:34:34PM -0800, Rob Farmer wrote: On Thu, Nov 11, 2010 at 13:18, Pyun YongHyeon pyu...@gmail.com wrote: Yes, but I think this has nothing to do with the subject. I think MCP controllers have a silicon bug that does not generate TX completion interrupts under

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Rob Farmer
On Thu, Nov 11, 2010 at 13:48, Pyun YongHyeon pyu...@gmail.com wrote: I believe you're the first one that reported real issue. Could you give me more details about bogus traffic? I don't know what PHY I don't know how to get more info about it, but basically the switch's activity lights blink

svn commit: r215148 - head/libexec/rtld-elf

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 22:53:55 2010 New Revision: 215148 URL: http://svn.freebsd.org/changeset/base/215148 Log: Use -fPIC to build libexec/rtld-elf on sparc64, so it will also be able to link with newer binutils, without overflowing the GOT. Obtained from:

svn commit: r215149 - head/share/mk

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 23:00:37 2010 New Revision: 215149 URL: http://svn.freebsd.org/changeset/base/215149 Log: Fix typo, and re-wrap paragraph. Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk

svn commit: r215150 - in head: . gnu/usr.bin/binutils/doc

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 23:41:36 2010 New Revision: 215150 URL: http://svn.freebsd.org/changeset/base/215150 Log: Do not build or install gasp.info anymore, as gasp has not been built or installed for more than 6 years. Obtained from:projects/binutils-2.17 Modified:

svn commit: r215151 - in head/gnu/usr.bin/binutils: gasp gdb gdbreplay

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 23:45:19 2010 New Revision: 215151 URL: http://svn.freebsd.org/changeset/base/215151 Log: Garbage collect gnu/usr.bin/binutils/{gasp,gdb,gdbreplay}, as these have not been connected to the build for more than 6 years. Obtained from:

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 02:52:41PM -0800, Rob Farmer wrote: On Thu, Nov 11, 2010 at 13:48, Pyun YongHyeon pyu...@gmail.com wrote: I believe you're the first one that reported real issue. Could you give me more details about bogus traffic? I don't know what PHY I don't know how to get more

svn commit: r215152 - in head/sys/netinet: . libalias

2010-11-11 Thread Lawrence Stewart
Author: lstewart Date: Fri Nov 12 00:19:42 2010 New Revision: 215152 URL: http://svn.freebsd.org/changeset/base/215152 Log: The university does not require that its CRICOS number be included in source code. Remove all references from the tree. MFC after:3 days Modified:

svn commit: r215153 - in head/sys/netinet: . libalias

2010-11-11 Thread Lawrence Stewart
Author: lstewart Date: Fri Nov 12 00:44:18 2010 New Revision: 215153 URL: http://svn.freebsd.org/changeset/base/215153 Log: Standardise all Swinburne related copyright/licence statements throughout the tree in preparation for another large code import. Swinburne University is the legal

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

2010-11-11 Thread Lawrence Stewart
Author: lstewart Date: Fri Nov 12 01:40:29 2010 New Revision: 215154 URL: http://svn.freebsd.org/changeset/base/215154 Log: The first releases SIFTR will ship in will be 7.4 and 8.2. MFC after:3 days Modified: head/share/man/man4/siftr.4 Modified: head/share/man/man4/siftr.4

svn commit: r215157 - in head/sys/powerpc: aim booke powerpc

2010-11-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Nov 12 03:43:22 2010 New Revision: 215157 URL: http://svn.freebsd.org/changeset/base/215157 Log: Centralize CPU idle routines into powerpc/cpu.c and use the same cpu_idle_hook mechanism that x86 uses for overriding the idle routine. This is required for

svn commit: r215158 - head/sys/powerpc/aim

2010-11-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Nov 12 04:13:48 2010 New Revision: 215158 URL: http://svn.freebsd.org/changeset/base/215158 Log: Fix an error in r215067. An existing /chosen/mmu but missing translations property just means we shouldn't add any translations, not that we should panic. Modified:

svn commit: r215159 - in head/sys: powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sys

2010-11-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Nov 12 04:18:19 2010 New Revision: 215159 URL: http://svn.freebsd.org/changeset/base/215159 Log: Add some platform KOBJ extensions and continue integrating PowerPC hypervisor infrastructure support: - Fix coexistence of multiple platform modules in the same

svn commit: r215160 - in head/sys/powerpc: aim powerpc

2010-11-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Nov 12 04:22:00 2010 New Revision: 215160 URL: http://svn.freebsd.org/changeset/base/215160 Log: Remove or conditionalize some hypervisor-unfriendly instruction sequences. Modified: head/sys/powerpc/aim/mmu_oea64.c head/sys/powerpc/powerpc/mp_machdep.c

svn commit: r215163 - in head/sys: conf powerpc/aim powerpc/ofw

2010-11-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Nov 12 05:12:38 2010 New Revision: 215163 URL: http://svn.freebsd.org/changeset/base/215163 Log: Remove use of a separate ofw_pmap on 32-bit CPUs. Many Open Firmware mappings need to end up in the kernel anyway since the kernel begins executing in OF context.

svn commit: r215166 - in head: . sys/conf sys/netinet sys/netinet/cc sys/sys

2010-11-11 Thread Lawrence Stewart
. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +2010: + The TCP stack has received a significant update to add support for + modularised congestion control and generally improve the clarity of + congestion control decisions. Bump __FreeBSD_version

Re: svn commit: r215135 - head/sys/compat/ndis

2010-11-11 Thread Alan Cox
Bernhard Schmidt wrote: Author: bschmidt Date: Thu Nov 11 18:43:31 2010 New Revision: 215135 URL: http://svn.freebsd.org/changeset/base/215135 Log: According to specs for MmAllocateContiguousMemorySpecifyCache() physically contiguous memory with requested restrictions must be allocated.

Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Andriy Gapon
on 11/11/2010 21:37 Dimitry Andric said the following: On 2010-11-11 20:29, Andriy Gapon wrote: Do I understand it correctly that set_pcpu section itself would not be produced if DPCPU_DEFINE() is not actually used? Yes, although currently this does not occur in any kernel module (I tested