svn commit: r279314 - head/usr.sbin/ctld

2015-02-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 26 09:08:48 2015 New Revision: 279314 URL: https://svnweb.freebsd.org/changeset/base/279314 Log: Add missing error check. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/parse.y Modified: head/usr.sbin/ctld/parse.y ==

svn commit: r279315 - in head/usr.sbin: . uefisign

2015-02-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 26 09:15:24 2015 New Revision: 279315 URL: https://svnweb.freebsd.org/changeset/base/279315 Log: Add uefisign(8), UEFI Secure Boot signing utility. MFC after:1 month Sponsored by: The FreeBSD Foundation Added: head/usr.sbin/uefisign/ head/usr.sbin/uefi

svn commit: r279316 - head/share/man/man8

2015-02-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 26 09:16:36 2015 New Revision: 279316 URL: https://svnweb.freebsd.org/changeset/base/279316 Log: Add uefisign(8) reference to uefi(8) manual page. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/share/man/man8/uefi.8 Modified: head

svn commit: r279317 - in head: etc/mtree share/examples share/examples/uefisign

2015-02-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 26 09:31:25 2015 New Revision: 279317 URL: https://svnweb.freebsd.org/changeset/base/279317 Log: Add key/cert generation script for uefisign(8). (Forgot about Relnotes in the commit that added uefisign(8), so set it here.) MFC after:1 month Relnotes:

svn commit: r279318 - head/lib/libstdthreads

2015-02-26 Thread Konstantin Belousov
Author: kib Date: Thu Feb 26 09:42:03 2015 New Revision: 279318 URL: https://svnweb.freebsd.org/changeset/base/279318 Log: Check that the pointer to the thread return value is not NULL before dereferencing. NULL is allowed by C11 and must be handled. Reported and tested by: Vineela

Re: svn commit: r279315 - in head/usr.sbin: . uefisign

2015-02-26 Thread Baptiste Daroussin
On Thu, Feb 26, 2015 at 09:15:25AM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Thu Feb 26 09:15:24 2015 > New Revision: 279315 > URL: https://svnweb.freebsd.org/changeset/base/279315 > > Log: > Add uefisign(8), UEFI Secure Boot signing utility. > > MFC after: 1 month >

svn commit: r279319 - in head/sys/x86: include x86

2015-02-26 Thread Konstantin Belousov
Author: kib Date: Thu Feb 26 11:02:40 2015 New Revision: 279319 URL: https://svnweb.freebsd.org/changeset/base/279319 Log: Implements EOI suppression mode, where LAPIC on EOI command for level-triggered interrupt does not broadcast the EOI message to all APICs in the system. Instead, interr

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

2015-02-26 Thread Alexander Motin
Author: mav Date: Thu Feb 26 12:51:05 2015 New Revision: 279320 URL: https://svnweb.freebsd.org/changeset/base/279320 Log: For some uniformity move ahci_ch_init() call under the lock. Submitted by: Dmitry Luhtionov MFC after:2 weeks Modified: head/sys/dev/ahci/ahci.c Modified: he

svn commit: r279321 - head/share/examples/uefisign

2015-02-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 26 14:22:27 2015 New Revision: 279321 URL: https://svnweb.freebsd.org/changeset/base/279321 Log: Make the uefikeys script output slightly more obvious. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/share/examples/uefisign/uefikeys

svn commit: r279323 - head/usr.sbin/uefisign

2015-02-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 26 15:48:20 2015 New Revision: 279323 URL: https://svnweb.freebsd.org/changeset/base/279323 Log: Use LIBADD. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/uefisign/Makefile Modified: head/usr.sbin/uefisign/Makefile =

svn commit: r279324 - head/sbin/geom/class/part

2015-02-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Feb 26 15:59:45 2015 New Revision: 279324 URL: https://svnweb.freebsd.org/changeset/base/279324 Log: When gpart(8) is trying automatically determine the first available block of free space after existing partition, take into account provider's stripeoffset, since the res

svn commit: r279325 - head/sys/x86/xen

2015-02-26 Thread Roger Pau Monné
Author: royger Date: Thu Feb 26 16:05:09 2015 New Revision: 279325 URL: https://svnweb.freebsd.org/changeset/base/279325 Log: xen/intr: fix fallout from r278854 r278854 introduced a race in the event channel handling code. We must make sure that the pending bit is cleared before executing

svn commit: r279326 - head/lib/libstdthreads

2015-02-26 Thread Konstantin Belousov
Author: kib Date: Thu Feb 26 16:39:57 2015 New Revision: 279326 URL: https://svnweb.freebsd.org/changeset/base/279326 Log: Use pthread_mutex_trylock(3) to implement mtx_trylock(3). Noted and tested by: Vineela PR: 198050 Sponsored by: The FreeBSD Foundation MFC after:1 week M

Re: svn commit: r278320 - in head: contrib/mdocml lib lib/libdevctl share/mk sys/dev/acpica sys/dev/pci sys/kern sys/sys usr.sbin usr.sbin/devctl

2015-02-26 Thread John Baldwin
On Thursday, February 26, 2015 12:40:06 AM Mateusz Guzik wrote: > On Fri, Feb 06, 2015 at 04:09:02PM +, John Baldwin wrote: > > Author: jhb > > Date: Fri Feb 6 16:09:01 2015 > > New Revision: 278320 > > URL: https://svnweb.freebsd.org/changeset/base/278320 > > > > Log: > > Add a new device

Re: svn commit: r279262 - head/sys/netinet

2015-02-26 Thread Rui Paulo
On Feb 24, 2015, at 09:43 PM, Xin LI wrote: Author: delphij Date: Wed Feb 25 05:42:59 2015 New Revision: 279262 URL: https://svnweb.freebsd.org/changeset/base/279262 Log: Fix integer overflow in IGMP protocol. Security:    FreeBSD-SA-15:04.igmp Security:        CVE-2015-1414 Found by:        M

Re: svn commit: r278320 - in head: contrib/mdocml lib lib/libdevctl share/mk sys/dev/acpica sys/dev/pci sys/kern sys/sys usr.sbin usr.sbin/devctl

2015-02-26 Thread Mateusz Guzik
On Thu, Feb 26, 2015 at 07:46:38AM -0500, John Baldwin wrote: > On Thursday, February 26, 2015 12:40:06 AM Mateusz Guzik wrote: > > On Fri, Feb 06, 2015 at 04:09:02PM +, John Baldwin wrote: > > > Author: jhb > > > Date: Fri Feb 6 16:09:01 2015 > > > New Revision: 278320 > > > URL: https://svnw

svn commit: r279328 - head

2015-02-26 Thread Ed Maste
Author: emaste Date: Thu Feb 26 20:02:29 2015 New Revision: 279328 URL: https://svnweb.freebsd.org/changeset/base/279328 Log: Support CROSS_BINUTILS_PREFIX with in-tree compiler Reviewed by: bapt, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.o

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Adrian Chadd
Kib, This just broke on my sandybridge laptop. It hung during obot at the same place. I'm going to set the x2apic_disable=0 by default in 24 hours so people have time to fix this without it impacting the functionality of -HEAD by default. Thanks, -adrian __

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Peter Grehan
I'm going to set the x2apic_disable=0 by default in 24 hours so people have time to fix this without it impacting the functionality of -HEAD by default. What gives you the right to make this decision ? later, Peter. ___ svn-src-head@freebsd.org mai

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Adrian Chadd
On 26 February 2015 at 12:17, Peter Grehan wrote: >> I'm going to set the x2apic_disable=0 by default in 24 hours so people >> have time to fix this without it impacting the functionality of -HEAD >> by default. > > What gives you the right to make this decision ? This has been reported by more

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Peter Grehan
This has been reported by more than one person, it's been a couple of weeks, it's an actual regression, and there's no specific solution in sight. It's been reported by you and one other, with no feedback from the other person despite requests for more information, and there would be a specif

svn commit: r279330 - head/bin/sh

2015-02-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Feb 26 20:59:18 2015 New Revision: 279330 URL: https://svnweb.freebsd.org/changeset/base/279330 Log: Fix unitialized variable that broke sh on PowerPC starting with r278826. Modified: head/bin/sh/expand.c Modified: head/bin/sh/expand.c ===

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

2015-02-26 Thread Andreas Tobler
On 26.02.15 21:59, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Feb 26 20:59:18 2015 New Revision: 279330 URL: https://svnweb.freebsd.org/changeset/base/279330 Log: Fix unitialized variable that broke sh on PowerPC starting with r278826. Thanks Nathan! Andreas

Re: svn commit: r279300 - in head/sys: kern sys

2015-02-26 Thread hiren panchasara
On 02/25/15 at 09:59P, Adrian Chadd wrote: > Author: adrian > Date: Wed Feb 25 21:59:03 2015 > New Revision: 279300 > URL: https://svnweb.freebsd.org/changeset/base/279300 > > Log: > Remove taskqueue_start_threads_pinned(); there's noa generic cpuset version > of this. > > Sponsored by:

Re: svn commit: r278320 - in head: contrib/mdocml lib lib/libdevctl share/mk sys/dev/acpica sys/dev/pci sys/kern sys/sys usr.sbin usr.sbin/devctl

2015-02-26 Thread John Baldwin
On Thursday, February 26, 2015 08:28:33 PM Mateusz Guzik wrote: > On Thu, Feb 26, 2015 at 07:46:38AM -0500, John Baldwin wrote: > > On Thursday, February 26, 2015 12:40:06 AM Mateusz Guzik wrote: > > > On Fri, Feb 06, 2015 at 04:09:02PM +, John Baldwin wrote: > > > > Author: jhb > > > > Date: F

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Adrian Chadd
On 26 February 2015 at 12:36, Peter Grehan wrote: >> This has been reported by more than one person, it's been a couple of >> weeks, it's an actual regression, and there's no specific solution in >> sight. > > > It's been reported by you and one other, with no feedback from the other > person des

Re: svn commit: r279300 - in head/sys: kern sys

2015-02-26 Thread Adrian Chadd
I'm going to do this soon. Just need to get some help from doc@. I was waiting until I killed _pinned() so I wouldn't have to do it twice. Thanks (and keep poking me until i do it!) -a On 26 February 2015 at 13:22, hiren panchasara wrote: > On 02/25/15 at 09:59P, Adrian Chadd wrote: >> Autho

svn commit: r279336 - in head/sys/dev: mpr mps

2015-02-26 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 26 22:22:06 2015 New Revision: 279336 URL: https://svnweb.freebsd.org/changeset/base/279336 Log: Add FreeBSD stable/10 version checks for the availability of the CDAI_FLAG_NONE advanced information CCB flag. Support for the flag was merged to stable/10 in r279329

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Peter Grehan
I'm not suggesting anything is backed out. I'm suggesting that we just disable it until it's fixed. Both Kostik and Neel gave their reasons for keeping it enabled. I'm adding to that. >That way we don't end up with other >people complaining that things hang the way that they do and then >ass

svn commit: r279338 - head/sys/arm/include

2015-02-26 Thread Ian Lepore
Author: ian Date: Thu Feb 26 23:05:46 2015 New Revision: 279338 URL: https://svnweb.freebsd.org/changeset/base/279338 Log: Add casting to make atomic ops work for pointers. (Apparently nobody has ever done atomic ops on pointers before now on arm). Submitted by: Svatopluk Kraus Modifie

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Adrian Chadd
Peter, Koop did provide feedback shortly after Kib asked him to provide information and test a patch. There wasn't a response from kib or anyone else until I reported the same bug. -adrian ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Peter Grehan
Koop did provide feedback shortly after Kib asked him to provide information and test a patch. There wasn't a response from kib or anyone else until I reported the same bug. http://docs.FreeBSD.org/cgi/mid.cgi?20150219200900.GH34251 later, Peter. _

svn commit: r279341 - head/sys/mips/nlm

2015-02-26 Thread Jayachandran C.
Author: jchandra Date: Fri Feb 27 00:57:09 2015 New Revision: 279341 URL: https://svnweb.freebsd.org/changeset/base/279341 Log: Improve additional interrupt ACK for Broadcom XLP Handling some interrupts in XLP (like PCIe and SATA) involves writing to vendor specific registers as part of i

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Adrian Chadd
On 26 February 2015 at 15:13, Peter Grehan wrote: >> Koop did provide feedback shortly after Kib asked him to provide >> information and test a patch. There wasn't a response from kib or >> anyone else until I reported the same bug. > > > http://docs.FreeBSD.org/cgi/mid.cgi?20150219200900.GH34251

svn commit: r279342 - head/sys/net

2015-02-26 Thread Gleb Smirnoff
Author: glebius Date: Fri Feb 27 01:15:23 2015 New Revision: 279342 URL: https://svnweb.freebsd.org/changeset/base/279342 Log: Hide struct ifmultiaddr under _KERNEL, too. Modified: head/sys/net/if_var.h Modified: head/sys/net/if_var.h =

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Peter Grehan
Anyway - I have that model laptop, it hangs after calling ipi_startup() to the first AP with x2apic enabled. What can I do to continue debugging? Please provide the info that Kostik requested here, try out the patch, and wait for the timezone in Ukraine to be a little more reasonable for a re

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-26 Thread Adrian Chadd
On 26 February 2015 at 17:17, Peter Grehan wrote: >> Anyway - I have that model laptop, it hangs after calling >> ipi_startup() to the first AP with x2apic enabled. What can I do to >> continue debugging? > > > Please provide the info that Kostik requested here, try out the patch, and > wait for

svn commit: r279344 - head/lib/libc/net

2015-02-26 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 27 01:59:29 2015 New Revision: 279344 URL: https://svnweb.freebsd.org/changeset/base/279344 Log: Hint out check for unsigned negative values. On FreeBSD socklen_t is unsigned so the check negative len in inet6_opt_append() is redundant and likely to be optimized

svn commit: r279345 - in head/sys: boot/fdt/dts/mips mips/nlm

2015-02-26 Thread Jayachandran C.
Author: jchandra Date: Fri Feb 27 02:21:52 2015 New Revision: 279345 URL: https://svnweb.freebsd.org/changeset/base/279345 Log: Move PCI bus below simplebus for Broadcom XLP This will enable us to do common allocation code for memory and interrupts for SoC devices as well as PCI devices.

Re: svn commit: r279338 - head/sys/arm/include

2015-02-26 Thread Bruce Evans
On Thu, 26 Feb 2015, Ian Lepore wrote: Log: Add casting to make atomic ops work for pointers. (Apparently nobody has ever done atomic ops on pointers before now on arm). Apparently, arm code handled pointers correctly before. des broke i386 in the same way and didn't back out the changes a

svn commit: r279346 - head/lib/libdevstat

2015-02-26 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 27 02:44:12 2015 New Revision: 279346 URL: https://svnweb.freebsd.org/changeset/base/279346 Log: Remove an obsolete comment in devstat(3) about the accuracy of the milliseconds per transaction (DSM_MS_PER_TRANSACTION) calculation. The comment was accurate many ye

svn commit: r279349 - head/sys/kern

2015-02-26 Thread Warner Losh
Author: imp Date: Fri Feb 27 02:56:58 2015 New Revision: 279349 URL: https://svnweb.freebsd.org/changeset/base/279349 Log: Create sched_rand() and move the LCG code into that. Call this when we need randomness in ULE. This removes random() call from the rebalance interval code. Submitte

svn commit: r279350 - head/sys/net80211

2015-02-26 Thread Adrian Chadd
Author: adrian Date: Fri Feb 27 04:45:47 2015 New Revision: 279350 URL: https://svnweb.freebsd.org/changeset/base/279350 Log: Fix kern/196290 - don't announce 11n HTINFO rates if the channel is configured as 11b. This came up when debugging other issues surrounding scanning and channel

svn commit: r279351 - head/sys/dev/sfxge

2015-02-26 Thread Andrew Rybchenko
Author: arybchik Date: Fri Feb 27 07:39:09 2015 New Revision: 279351 URL: https://svnweb.freebsd.org/changeset/base/279351 Log: sfxge: expect required init_state on data path and in periodic calls With the patch applied the number of instruction events is 1% less and number of mispredicte