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

2014-11-19 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 20 06:32:47 2014 New Revision: 274743 URL: https://svnweb.freebsd.org/changeset/base/274743 Log: cpudep_ap_early_bootstrap() takes no arguments, so no need to give it one. MFC after:3 weeks Modified: head/sys/powerpc/aim/trap_subr32.S head/sys/powerpc

svn commit: r274742 - head/sbin/growfs

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 20 06:14:40 2014 New Revision: 274742 URL: https://svnweb.freebsd.org/changeset/base/274742 Log: Uniformly refer to a file system as "file system". MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sbin/growfs/growfs.8 Modified: head

svn commit: r274741 - head/sbin/growfs

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 20 06:12:11 2014 New Revision: 274741 URL: https://svnweb.freebsd.org/changeset/base/274741 Log: Add example on how to use gpart before growfs. While here, reorder examples so that the simplest one comes first. MFC after:1 month Sponsored by: The FreeBSD

svn commit: r274740 - head/sys/mips/conf

2014-11-19 Thread Adrian Chadd
Author: adrian Date: Thu Nov 20 05:54:29 2014 New Revision: 274740 URL: https://svnweb.freebsd.org/changeset/base/274740 Log: * Add a random device * Use the same rootdev path as MALTA, so the same emulator setups can be used with minimal fuss. Modified: head/sys/mips/conf/MALTA64 Modi

svn commit: r274739 - head/sys/mips/conf

2014-11-19 Thread Adrian Chadd
Author: adrian Date: Thu Nov 20 05:52:48 2014 New Revision: 274739 URL: https://svnweb.freebsd.org/changeset/base/274739 Log: Include a random device. Modified: head/sys/mips/conf/MALTA Modified: head/sys/mips/conf/MALTA ===

svn commit: r274738 - head/sbin/growfs

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 20 05:31:41 2014 New Revision: 274738 URL: https://svnweb.freebsd.org/changeset/base/274738 Log: Document growfs(8) feature apparently nobody knows about. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sbin/growfs/growfs.8 Modifie

svn commit: r274737 - head/sbin/growfs

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 20 05:25:52 2014 New Revision: 274737 URL: https://svnweb.freebsd.org/changeset/base/274737 Log: Use proper ordering in EXAMPLES section in growfs(8). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sbin/growfs/growfs.8 Modified: h

Re: svn commit: r274721 - head/sys/geom/part

2014-11-19 Thread Bruce Evans
On Wed, 19 Nov 2014, Warner Losh wrote: Log: The number of BSD partitions is variable. Return the proper number (which is in basetable->gpt_entries). Submitted by: ae@ Modified: head/sys/geom/part/g_part_bsd.c Modified: head/sys/geom/part/g_part_bsd.c =

svn commit: r274736 - head/libexec/fingerd

2014-11-19 Thread John-Mark Gurney
Author: jmg Date: Thu Nov 20 04:15:58 2014 New Revision: 274736 URL: https://svnweb.freebsd.org/changeset/base/274736 Log: I agree w/ tedu that this isn't a Bug.. it's like complaining that you can't use an ssh client to fetch a web page... Submitted by: tedu (via -tech) Modified: head

svn commit: r274735 - head/sys/powerpc/powerpc

2014-11-19 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 20 03:47:04 2014 New Revision: 274735 URL: https://svnweb.freebsd.org/changeset/base/274735 Log: Use db_printsym() instead of our own in backtraces Summary: Currently if there are problems finding a symbol, backtrace ends up printing something like: 0

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

2014-11-19 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 20 03:23:33 2014 New Revision: 274733 URL: https://svnweb.freebsd.org/changeset/base/274733 Log: Add support for Power Button PMU events on non-ADB macs, such as aluminum PowerBooks. MFC after:2 weeks Relnotes: yes Modified: head/sys/powerpc/pow

svn commit: r274727 - head/usr.sbin/pw/tests

2014-11-19 Thread Brad Davis
Author: brd (doc committer) Date: Wed Nov 19 23:07:46 2014 New Revision: 274727 URL: https://svnweb.freebsd.org/changeset/base/274727 Log: Replace the pw(1) calls with a variable, to make it easier to to change across all the tests as needed. Reviewed by: will Modified: head/usr.sbin/p

svn commit: r274724 - in head/sys/dev/cxgbe: . common

2014-11-19 Thread Navdeep Parhar
Author: np Date: Wed Nov 19 20:16:56 2014 New Revision: 274724 URL: https://svnweb.freebsd.org/changeset/base/274724 Log: cxgbe(4): figure out the max payload size and save it for later. MFC after:1 week Modified: head/sys/dev/cxgbe/common/common.h head/sys/dev/cxgbe/t4_main.c Mod

svn commit: r274723 - head/usr.sbin/autofs

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Nov 19 19:46:58 2014 New Revision: 274723 URL: https://svnweb.freebsd.org/changeset/base/274723 Log: Make the auto_master(5) man page clearer on how auto_master and map files work together, and add example for smbfs. Differential Revision:https://reviews.fr

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

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Nov 19 19:43:39 2014 New Revision: 274722 URL: https://svnweb.freebsd.org/changeset/base/274722 Log: Remove acl_size.c; apparently it was never used. PR: 194398 Submitted by: ngie@ MFC after:1 month Sponsored by: The FreeBSD Foundation Deleted:

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread John Baldwin
On Tuesday, November 18, 2014 10:29:52 PM Chagin Dmitry wrote: > On Tue, Nov 18, 2014 at 07:47:46AM -0800, Adrian Chadd wrote: > > Hi, > > > > Want to post a bootverbose suspend/resume pass with -HEAD without this > > patch in it, then with this patch in it? > > it seems that at resume path METHO

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread Andriy Gapon
On 19/11/2014 20:19, Adrian Chadd wrote: > On 19 November 2014 10:17, Andriy Gapon wrote: >> On 19/11/2014 19:46, Adrian Chadd wrote: >>> On 19 November 2014 08:53, Andriy Gapon wrote: On 19/11/2014 18:15, Adrian Chadd wrote: > On 19 November 2014 03:17, Andriy Gapon wrote: >> On 18

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

2014-11-19 Thread Warner Losh
Author: imp Date: Wed Nov 19 18:55:27 2014 New Revision: 274721 URL: https://svnweb.freebsd.org/changeset/base/274721 Log: The number of BSD partitions is variable. Return the proper number (which is in basetable->gpt_entries). Submitted by: ae@ Modified: head/sys/geom/part/g_part_bsd.

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-19 Thread Warner Losh
On Nov 19, 2014, at 11:00 AM, Andrey V. Elsukov wrote: > On 19.11.2014 19:20, Warner Losh wrote: >>> Probably you need to use basetable->gpt_entries here instead of >>> MAXPARTITIONS. >> >> I’m having trouble connecting the dots between GPT and BSDlabels. Why >> would this field be relevant? I

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread Adrian Chadd
On 19 November 2014 10:17, Andriy Gapon wrote: > On 19/11/2014 19:46, Adrian Chadd wrote: >> On 19 November 2014 08:53, Andriy Gapon wrote: >>> On 19/11/2014 18:15, Adrian Chadd wrote: On 19 November 2014 03:17, Andriy Gapon wrote: > On 18/11/2014 21:29, Chagin Dmitry wrote: >> it s

svn commit: r274720 - in head: usr.bin/man usr.sbin/bhyve

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Nov 19 18:19:21 2014 New Revision: 274720 URL: https://svnweb.freebsd.org/changeset/base/274720 Log: Fix improper .Fx macro usage. Differential Revision:https://reviews.freebsd.org/D1158 Reviewed by: wblock@ MFC after:1 month Sponsored by: The Free

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread Andriy Gapon
On 19/11/2014 19:46, Adrian Chadd wrote: > On 19 November 2014 08:53, Andriy Gapon wrote: >> On 19/11/2014 18:15, Adrian Chadd wrote: >>> On 19 November 2014 03:17, Andriy Gapon wrote: On 18/11/2014 21:29, Chagin Dmitry wrote: > it seems that at resume path METHOD set_powerstate() is not

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-19 Thread Andrey V. Elsukov
On 19.11.2014 19:20, Warner Losh wrote: >> Probably you need to use basetable->gpt_entries here instead of >> MAXPARTITIONS. > > I’m having trouble connecting the dots between GPT and BSDlabels. Why > would this field be relevant? Is it just poorly named? MAXPARTITIONS gpt_entries isn't related

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread Adrian Chadd
On 19 November 2014 08:53, Andriy Gapon wrote: > On 19/11/2014 18:15, Adrian Chadd wrote: >> On 19 November 2014 03:17, Andriy Gapon wrote: >>> On 18/11/2014 21:29, Chagin Dmitry wrote: it seems that at resume path METHOD set_powerstate() is not invoked. fro proper pciX. ie, no "T

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread Andriy Gapon
On 19/11/2014 18:15, Adrian Chadd wrote: > On 19 November 2014 03:17, Andriy Gapon wrote: >> On 18/11/2014 21:29, Chagin Dmitry wrote: >>> it seems that at resume path METHOD set_powerstate() is not invoked. fro >>> proper pciX. >>> ie, no "Transition from D3 to D0" prints. i'm trying to understa

svn commit: r274718 - head/sys/vm

2014-11-19 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 19 16:29:39 2014 New Revision: 274718 URL: https://svnweb.freebsd.org/changeset/base/274718 Log: Use __func__ in KASSERTs, since the code is about to be moved to other place. Sponsored by: Nginx, Inc. Modified: head/sys/vm/vnode_pager.c Modified: head/sys/v

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-19 Thread Andrey V. Elsukov
On 19.11.2014 19:20, Warner Losh wrote: >> Probably you need to use basetable->gpt_entries here instead of >> MAXPARTITIONS. > > I’m having trouble connecting the dots between GPT and BSDlabels. Why > would this field be relevant? Is it just poorly named? MAXPARTITIONS > is the number of partitio

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-19 Thread Warner Losh
On Nov 19, 2014, at 9:16 AM, Andrey V. Elsukov wrote: > On 18.11.2014 20:06, Warner Losh wrote: >> Author: imp >> Date: Tue Nov 18 17:06:40 2014 >> New Revision: 274661 >> URL: https://svnweb.freebsd.org/changeset/base/274661 >> >> Log: >> Implement the historic DIOCGDINFO ioctl for gpart on B

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-19 Thread Andrey V. Elsukov
On 18.11.2014 20:06, Warner Losh wrote: > Author: imp > Date: Tue Nov 18 17:06:40 2014 > New Revision: 274661 > URL: https://svnweb.freebsd.org/changeset/base/274661 > > Log: > Implement the historic DIOCGDINFO ioctl for gpart on BSD > partitions. Several utilities still use this interface and

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread Adrian Chadd
On 19 November 2014 03:17, Andriy Gapon wrote: > On 18/11/2014 21:29, Chagin Dmitry wrote: >> it seems that at resume path METHOD set_powerstate() is not invoked. fro >> proper pciX. >> ie, no "Transition from D3 to D0" prints. i'm trying to understand the reason > > Just a note that I see this a

Re: svn commit: r274672 - in head/contrib/libxo: . libxo xolint

2014-11-19 Thread Marcel Moolenaar
> On Nov 18, 2014, at 10:04 PM, Alfred Perlstein wrote: > > Marcel, is there a way to get libxo programs to emit time series data? > > Any examples of this in the tree right now? > > Example would be if "netstat -1" was libxo-ified, it would also emit a > timestamp. Patches for netstat can

svn commit: r274715 - head/sys/vm

2014-11-19 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 19 15:17:19 2014 New Revision: 274715 URL: https://svnweb.freebsd.org/changeset/base/274715 Log: In vnode_pager_generic_getpages() vp->v_mount is dereferenced in the beginning, thus can't be NULL. Sponsored by: Nginx, Inc. Modified: head/sys/vm/vnode_pager

svn commit: r274714 - head/sys/dev/beri/virtio

2014-11-19 Thread Ruslan Bukin
Author: br Date: Wed Nov 19 14:49:29 2014 New Revision: 274714 URL: https://svnweb.freebsd.org/changeset/base/274714 Log: Add BERI-specific virtio mmio "platform" device. This device provides a connector to Altera PIO allowing us to interrupt software-implemented virtio mmio backend. Sp

svn commit: r274712 - head/sys/kern

2014-11-19 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 19 14:27:38 2014 New Revision: 274712 URL: https://svnweb.freebsd.org/changeset/base/274712 Log: Do not allocate zero-length mbuf in sosend_generic(). Found by: pho Sponsored by: Nginx, Inc. Modified: head/sys/kern/uipc_socket.c Modified: head/sys/ker

svn commit: r274711 - head/sys/kern

2014-11-19 Thread Zbigniew Bodek
Author: zbb Date: Wed Nov 19 14:23:29 2014 New Revision: 274711 URL: https://svnweb.freebsd.org/changeset/base/274711 Log: Stop using early_putc immediately after configuring console with cninit() Early UART should be released right after system console initialization is completed. Otherw

svn commit: r274710 - head/sbin/ifconfig

2014-11-19 Thread Mark Felder
Author: feld (ports committer) Date: Wed Nov 19 13:57:39 2014 New Revision: 274710 URL: https://svnweb.freebsd.org/changeset/base/274710 Log: Expose groups by default in ifconfig output. This was never hidden by OpenBSD; unsure why we chose to do so. As groups are a requirement for pf, expos

svn commit: r274709 - head/sys/netpfil/pf

2014-11-19 Thread Ermal Luçi
Author: eri Date: Wed Nov 19 13:31:08 2014 New Revision: 274709 URL: https://svnweb.freebsd.org/changeset/base/274709 Log: pf(4) needs to have a correct checksum during its processing. Calculate checksums for the IPv6 path when needed before delving into pf(4) code as required. PR:

svn commit: r274708 - head/sys/dev/isp

2014-11-19 Thread Alexander Motin
Author: mav Date: Wed Nov 19 13:04:25 2014 New Revision: 274708 URL: https://svnweb.freebsd.org/changeset/base/274708 Log: Fix build without INVARIANTS, broken by r274675. Modified: head/sys/dev/isp/isp_freebsd.c head/sys/dev/isp/isp_freebsd.h Modified: head/sys/dev/isp/isp_freebsd.c =

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-19 Thread Andriy Gapon
On 18/11/2014 21:29, Chagin Dmitry wrote: > it seems that at resume path METHOD set_powerstate() is not invoked. fro > proper pciX. > ie, no "Transition from D3 to D0" prints. i'm trying to understand the reason Just a note that I see this as well. -- Andriy Gapon _

svn commit: r274707 - head/sys/dev/pci

2014-11-19 Thread Dmitry Chagin
Author: dchagin Date: Wed Nov 19 11:05:45 2014 New Revision: 274707 URL: https://svnweb.freebsd.org/changeset/base/274707 Log: Revert r274635 as it's completely wrong. The parent of a pci dev device is a pciX device which do not implement the PCIB_POWER_FOR_SLEEP method from pcib_if.m. Modi

svn commit: r274703 - head/sys/cam/ctl

2014-11-19 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Nov 19 08:59:49 2014 New Revision: 274703 URL: https://svnweb.freebsd.org/changeset/base/274703 Log: Fix typo. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c Modified: head/sys/cam/ctl/ctl_frontend_isc