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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 08:13:52 PM Ngie Cooper wrote: > > On Apr 14, 2017, at 20:12, Peter Wemm wrote: > > > > On Friday, April 14, 2017 07:36:55 PM Peter Wemm wrote: > >> On Friday, April 14, 2017 02:14:16 PM Ngie Cooper wrote: > On Apr 14, 2017, at 14:10, Maxim Sobolev wrote: > >

Re: svn commit: r316953 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> Author: ngie > Date: Sat Apr 15 06:53:07 2017 > New Revision: 316953 > URL: https://svnweb.freebsd.org/changeset/base/316953 > > Log: > Switch back to non-IEC units for 1024 bytes > > I was swayed a little too quickly when I saw the wiki page discussing > kB vs KiB. Switch back as none

svn commit: r316953 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper
Author: ngie Date: Sat Apr 15 06:53:07 2017 New Revision: 316953 URL: https://svnweb.freebsd.org/changeset/base/316953 Log: Switch back to non-IEC units for 1024 bytes I was swayed a little too quickly when I saw the wiki page discussing kB vs KiB. Switch back as none of the code in base

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> On Fri, Apr 14, 2017 at 06:30:17PM -0700, Rodney W. Grimes wrote: > > > The patch to add compression support is here and should largely still > > > work: > > > https://people.freebsd.org/~markj/patches/core-compression/20141110-kern_dump.diff > > > > > > I've been hesitant about pushing it forwa

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Mark Johnston
On Fri, Apr 14, 2017 at 07:00:36PM -0700, Conrad Meyer wrote: > Larry, > > You just need to run netdumpd on the nearby server. It could be a > port (although I'm not aware that it is ported yet). I was working on a port makefile for netdumpd before this thread started. :) It would be a bit more

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Mark Johnston
On Fri, Apr 14, 2017 at 06:30:17PM -0700, Rodney W. Grimes wrote: > > The patch to add compression support is here and should largely still > > work: > > https://people.freebsd.org/~markj/patches/core-compression/20141110-kern_dump.diff > > > > I've been hesitant about pushing it forward: > > - Th

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > > > On Apr 14, 2017, at 20:05, Rodney W. Grimes > > wrote: > > > >>> > >>> On Apr 14, 2017, at 18:49, Rodney W. Grimes > >>> wrote: > >>> > On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: > > Author: ngie > > Date: Fri Apr

svn commit: r316952 - head/share/mk

2017-04-14 Thread Simon J. Gerraty
Author: sjg Date: Sat Apr 15 03:28:13 2017 New Revision: 316952 URL: https://svnweb.freebsd.org/changeset/base/316952 Log: Latest version, we need to realpath anyway to check if an obj dependency is also a src dependency. Modified: head/share/mk/meta2deps.py Modified: head/share/mk/meta2de

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> > > On Apr 14, 2017, at 19:40, Ngie Cooper (yaneurabeya) > > wrote: > > > >> > >> On Apr 14, 2017, at 18:49, Rodney W. Grimes > >> wrote: > >> > >>> On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: > Author: ngie > Date: Fri Apr 14 19:41:48 2017 > New Revision: 3169

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

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 20:12, Peter Wemm wrote: > > On Friday, April 14, 2017 07:36:55 PM Peter Wemm wrote: >> On Friday, April 14, 2017 02:14:16 PM Ngie Cooper wrote: On Apr 14, 2017, at 14:10, Maxim Sobolev wrote: Peter, Ngie, Looks like out of that refactoring came

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 20:05, Rodney W. Grimes > wrote: > >>> >>> On Apr 14, 2017, at 18:49, Rodney W. Grimes >>> wrote: >>> On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: > Author: ngie > Date: Fri Apr 14 19:41:48 2017 > New Revision: 316938 > URL: https://svn

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 07:36:55 PM Peter Wemm wrote: > On Friday, April 14, 2017 02:14:16 PM Ngie Cooper wrote: > > > On Apr 14, 2017, at 14:10, Maxim Sobolev wrote: > > > > > > Peter, Ngie, > > > > > > Looks like out of that refactoring came a logical bug that is present in > > > the head, w

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> > > On Apr 14, 2017, at 18:49, Rodney W. Grimes > > wrote: > > > >> On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: > >>> Author: ngie > >>> Date: Fri Apr 14 19:41:48 2017 > >>> New Revision: 316938 > >>> URL: https://svnweb.freebsd.org/changeset/base/316938 > >>> > >>> Log: > >>>

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 19:40, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Apr 14, 2017, at 18:49, Rodney W. Grimes >> wrote: >> >>> On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: Author: ngie Date: Fri Apr 14 19:41:48 2017 New Revision: 316938 URL: https://svn

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 18:49, Rodney W. Grimes > wrote: > >> On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: >>> Author: ngie >>> Date: Fri Apr 14 19:41:48 2017 >>> New Revision: 316938 >>> URL: https://svnweb.freebsd.org/changeset/base/316938 >>> >>> Log: >>> savecore: fix space calc

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 02:14:16 PM Ngie Cooper wrote: > > On Apr 14, 2017, at 14:10, Maxim Sobolev wrote: > > > > Peter, Ngie, > > > > Looks like out of that refactoring came a logical bug that is present in > > the head, which causes syslod to first to shutdown the socket for reading > > and

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 02:21:05 PM Maxim Sobolev wrote: > Peter, It is actually the other way around. If you take syslogd code out of > 11-stable and earlier that would work just fine with or without r316874. > But since r285910 syslogd in head had been refactored a lot and I think > that partic

Re: svn commit: r316945 - in head: etc/defaults etc/periodic/daily share/man/man5

2017-04-14 Thread Alan Somers
On Fri, Apr 14, 2017 at 7:55 PM, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] >> Author: asomers >> Date: Fri Apr 14 22:59:14 2017 >> New Revision: 316945 >> URL: https://svnweb.freebsd.org/changeset/base/316945 >> >> Log: >> Add 410.status-mfi, a periodic script for mf

svn commit: r316951 - head/usr.sbin/syslogd

2017-04-14 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 15 02:24:22 2017 New Revision: 316951 URL: https://svnweb.freebsd.org/changeset/base/316951 Log: Since shutdown(2) on datagram socket is no longer a NOP after rev 316874 don't bother to select/recv on that socket. This prevents syslogd(8) from spinning endlessly

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Conrad Meyer
That has not actually been committed yet. Mark Johnston has a patch for it. On Fri, Apr 14, 2017 at 7:17 PM, Larry Rosenman wrote: > > On 4/14/17, 9:16 PM, "Conrad Meyer" wrote: > > On Fri, Apr 14, 2017 at 7:02 PM, Larry Rosenman wrote: > > It looked like the netdump code might need so

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
On 4/14/17, 9:16 PM, "Conrad Meyer" wrote: On Fri, Apr 14, 2017 at 7:02 PM, Larry Rosenman wrote: > It looked like the netdump code might need some stuff for current –CURRENT. Not for the server (netdumpd) — it's just a simple UDP daemon that writes incoming UDP streams to

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Conrad Meyer
On Fri, Apr 14, 2017 at 7:02 PM, Larry Rosenman wrote: > It looked like the netdump code might need some stuff for current –CURRENT. Not for the server (netdumpd) — it's just a simple UDP daemon that writes incoming UDP streams to disk. Best, Conrad __

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> > On 4/14/17, 8:35 PM, "Rodney W. Grimes" > > wrote: > > > > > Yeah, I have the following: > > > borg.lerctr.org /home/ler $ swapctl -l > > > Device: 1024-blocks Used: > > > /dev/mfid0p38388608 0 > > > /dev/mfid1p38388608 0 > > > /dev/mfid2

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
It looked like the netdump code might need some stuff for current –CURRENT. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: l...@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 On 4/14/17, 9:00 PM, "Conrad Meye

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
On 4/14/17, 8:59 PM, "Rodney W. Grimes" wrote: > On 4/14/17, 8:35 PM, "Rodney W. Grimes" wrote: > > > Yeah, I have the following: > > borg.lerctr.org /home/ler $ swapctl -l > > Device: 1024-blocks Used: > > /dev/mfid0p38388608 0 >

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Conrad Meyer
Larry, You just need to run netdumpd on the nearby server. It could be a port (although I'm not aware that it is ported yet). Best, Conrad On Fri, Apr 14, 2017 at 6:37 PM, Larry Rosenman wrote: > On 4/14/17, 8:35 PM, "Rodney W. Grimes" > wrote: > >> Yeah, I have the following: > > borg.l

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> On 4/14/17, 8:35 PM, "Rodney W. Grimes" > wrote: > > > Yeah, I have the following: > > borg.lerctr.org /home/ler $ swapctl -l > > Device: 1024-blocks Used: > > /dev/mfid0p38388608 0 > > /dev/mfid1p38388608 0 > > /dev/mfid2p38388608

Re: svn commit: r316945 - in head: etc/defaults etc/periodic/daily share/man/man5

2017-04-14 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: asomers > Date: Fri Apr 14 22:59:14 2017 > New Revision: 316945 > URL: https://svnweb.freebsd.org/changeset/base/316945 > > Log: > Add 410.status-mfi, a periodic script for mfi(4) arrays > > PR: 176049 > Submitted by: do

svn commit: r316950 - head/share/mk

2017-04-14 Thread Simon J. Gerraty
Author: sjg Date: Sat Apr 15 01:52:49 2017 New Revision: 316950 URL: https://svnweb.freebsd.org/changeset/base/316950 Log: Update to latest, handle case of __objdir=obj Modified: head/share/mk/auto.obj.mk Modified: head/share/mk/auto.obj.mk ===

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: > > Author: ngie > > Date: Fri Apr 14 19:41:48 2017 > > New Revision: 316938 > > URL: https://svnweb.freebsd.org/changeset/base/316938 > > > > Log: > > savecore: fix space calculation with respect to `minfree` in > > check_space(..) > >

svn commit: r316949 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake

2017-04-14 Thread Simon J. Gerraty
Author: sjg Date: Sat Apr 15 01:44:45 2017 New Revision: 316949 URL: https://svnweb.freebsd.org/changeset/base/316949 Log: Update to bmake 20170413 Modified: head/contrib/bmake/ChangeLog head/contrib/bmake/Makefile head/contrib/bmake/job.c head/contrib/bmake/main.c head/contrib/bmake/

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Fri, Apr 14, 2017 at 01:45:22PM -0700, Ngie Cooper (yaneurabeya) wrote: > > > > > > On Apr 14, 2017, at 13:42, Slawa Olhovchenkov wrote: > > > > ? > > > > > No, something like: > > > % swapinfo > > > Device 1K-blocks UsedAvail

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
On 4/14/17, 8:35 PM, "Rodney W. Grimes" wrote: > Yeah, I have the following: > borg.lerctr.org /home/ler $ swapctl -l > Device: 1024-blocks Used: > /dev/mfid0p38388608 0 > /dev/mfid1p38388608 0 > /dev/mfid2p38388608 0 > /dev/mf

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> On 4/14/17, 3:39 PM, "Ngie Cooper (yaneurabeya)" > wrote: > > > > On Apr 14, 2017, at 13:37, Larry Rosenman wrote: > > > > On 4/14/17, 3:33 PM, "Ngie Cooper (yaneurabeya)" > wrote: > > > >> On Apr 14, 2017, at 13:26, Larry Rosenman wrote: > >> > >> On 4/

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Rodney W. Grimes
> On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: > > On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: > > > Author: ngie > > > Date: Fri Apr 14 19:41:48 2017 > > > New Revision: 316938 > > > URL: https://svnweb.freebsd.org/changeset/base/316938 > > > > > > Log: > > > savecore: f

Re: svn commit: r316936 - head/sys/dev/cxgbe/iw_cxgbe

2017-04-14 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: np > Date: Fri Apr 14 19:15:31 2017 > New Revision: 316936 > URL: https://svnweb.freebsd.org/changeset/base/316936 > > Log: > cxgbe/iw_cxgbe: hw supports 64K (not 32K) Protection Domains. > > MFC after: 3 days > Sponsored by: C

svn commit: r316946 - head/etc/periodic/daily

2017-04-14 Thread Alan Somers
Author: asomers Date: Sat Apr 15 00:39:45 2017 New Revision: 316946 URL: https://svnweb.freebsd.org/changeset/base/316946 Log: Reorder Makefile entries from r316945 PR: 176049 Reported by: Oliver Pinter MFC after:3 weeks X-MFC-With: 316945 Modified: head/etc/period

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 02:10:56 PM Maxim Sobolev wrote: > Peter, Ngie, > > Looks like out of that refactoring came a logical bug that is present in > the head, which causes syslod to first to shutdown the socket for reading > and then try to select/recv on it (which is somewhat stupid). And tha

Re: svn commit: r316945 - in head: etc/defaults etc/periodic/daily share/man/man5

2017-04-14 Thread Oliver Pinter
On Saturday, April 15, 2017, Alan Somers wrote: > Author: asomers > Date: Fri Apr 14 22:59:14 2017 > New Revision: 316945 > URL: https://svnweb.freebsd.org/changeset/base/316945 > > Log: > Add 410.status-mfi, a periodic script for mfi(4) arrays > > PR: 176049 > Submitted by: docon

Re: svn commit: r313343 - head/sys/arm/arm

2017-04-14 Thread Ronald Klop
With this change merged to 11-CURRENT my SHEEVAPLUG/arm displays different information in dmesg: messages:Apr 15 00:53:07 sheeva2 kernel: Little-endian DC enabled IC enabled WA disabled DC streaming enabled messages:Apr 15 00:53:07 sheeva2 kernel: WB enabled LABT branch prediction enabled m

svn commit: r316945 - in head: etc/defaults etc/periodic/daily share/man/man5

2017-04-14 Thread Alan Somers
Author: asomers Date: Fri Apr 14 22:59:14 2017 New Revision: 316945 URL: https://svnweb.freebsd.org/changeset/base/316945 Log: Add 410.status-mfi, a periodic script for mfi(4) arrays PR: 176049 Submitted by: docon...@gsoft.com.au Reviewed by: scottl, Larry Rosenman MFC aft

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Mark Johnston
On Fri, Apr 14, 2017 at 02:28:57PM -0700, Xin LI wrote: > On Fri, Apr 14, 2017 at 1:29 PM, Mark Johnston wrote: > > - I'm not sure how encryption should compose with compression. It seems > > intuitively obvious that we should compress before encrypting if the > > compression is to be of any u

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 02:21:05 PM Maxim Sobolev wrote: > Peter, It is actually the other way around. If you take syslogd code out of > 11-stable and earlier that would work just fine with or without r316874. > But since r285910 syslogd in head had been refactored a lot and I think > that partic

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 2:40 PM, John Baldwin wrote: > > On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: >> Author: ngie >> Date: Fri Apr 14 19:41:48 2017 >> New Revision: 316938 >> URL: https://svnweb.freebsd.org/changeset/base/316938 >> >> Log: >> savecore: fix space calculation with

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread John Baldwin
On Friday, April 14, 2017 07:41:48 PM Ngie Cooper wrote: > Author: ngie > Date: Fri Apr 14 19:41:48 2017 > New Revision: 316938 > URL: https://svnweb.freebsd.org/changeset/base/316938 > > Log: > savecore: fix space calculation with respect to `minfree` in check_space(..) > > - Use strtoll(3

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

2017-04-14 Thread Bruce Evans
On Fri, 14 Apr 2017, Edward Tomasz Napierala wrote: Log: Don't try to write out bufs that have already failed with ENXIO. This fixes some panics after disconnecting mounted disks. Submitted by: imp (slightly different version, which I've then lost) Reviewed by: kib, imp, mckusick MFC af

Re: svn commit: r316822 - in head/sys: kern netinet netinet6

2017-04-14 Thread Gleb Smirnoff
Andrey, On Fri, Apr 14, 2017 at 09:00:48AM +, Andrey V. Elsukov wrote: A> Log: A> Rework r316770 to make it protocol independent and general, like we A> do for streaming sockets. A> A> And do more cleanup in the sbappendaddr_locked_internal() to prevent A> leak information from ex

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Xin LI
On Fri, Apr 14, 2017 at 1:29 PM, Mark Johnston wrote: > - I'm not sure how encryption should compose with compression. It seems > intuitively obvious that we should compress before encrypting if the > compression is to be of any use, but I don't know enough to know > whether the compression

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

2017-04-14 Thread Maxim Sobolev
Peter, It is actually the other way around. If you take syslogd code out of 11-stable and earlier that would work just fine with or without r316874. But since r285910 syslogd in head had been refactored a lot and I think that particular bug has introduced that has been masked by the shutdown() on d

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

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 14:10, Maxim Sobolev wrote: > > Peter, Ngie, > > Looks like out of that refactoring came a logical bug that is present in the > head, which causes syslod to first to shutdown the socket for reading and > then try to select/recv on it (which is somewhat stupid). And that

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

2017-04-14 Thread Maxim Sobolev
Peter, Ngie, Looks like out of that refactoring came a logical bug that is present in the head, which causes syslod to first to shutdown the socket for reading and then try to select/recv on it (which is somewhat stupid). And that issue has been masked by shutdown() on datagram socket becoming eff

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Xin LI
No, this is not the threat model for swaps. On Fri, Apr 14, 2017 at 1:47 PM, Ronald Klop wrote: > On Fri, 14 Apr 2017 22:29:18 +0200, Mark Johnston wrote: > >> On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: >>> >>> On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: >>> > Author:

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Conrad Meyer
On Fri, Apr 14, 2017 at 1:41 PM, Alan Somers wrote: > On Fri, Apr 14, 2017 at 2:29 PM, Mark Johnston wrote: >> I've been hesitant about pushing it forward: >> - The dump_write* APIs need some simplification after the addition of >> encrypted dump support and support for dumping to 4Kn drives. >

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:48, Larry Rosenman wrote: … > No can do, the rest of the space is pool. >_>… that sucks. This is part of the reason why I still make my swap partitions >greater than or equal to the amount of memory I have in systems :/.. The best recommendation I have is either: wait

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ronald Klop
On Fri, 14 Apr 2017 22:29:18 +0200, Mark Johnston wrote: On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: > Author: ngie > Date: Fri Apr 14 19:41:48 2017 > New Revision: 316938 > URL: https://svnweb.freebsd.org/changeset/base/3

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:46, Slawa Olhovchenkov wrote: > > On Fri, Apr 14, 2017 at 01:45:22PM -0700, Ngie Cooper (yaneurabeya) wrote: > >> >>> On Apr 14, 2017, at 13:42, Slawa Olhovchenkov wrote: >> >> … >> >>> No, something like: >>> % swapinfo >>> Device 1K-blocks UsedAva

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
On 4/14/17, 3:46 PM, "Ngie Cooper (yaneurabeya)" wrote: > On Apr 14, 2017, at 13:43, Larry Rosenman wrote: > > On 4/14/17, 3:39 PM, "Ngie Cooper (yaneurabeya)" wrote: > >> On Apr 14, 2017, at 13:37, Larry Rosenman wrote: >> >> On 4/14/17, 3:33 PM, "Ngie Coo

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:43, Larry Rosenman wrote: > > On 4/14/17, 3:39 PM, "Ngie Cooper (yaneurabeya)" > wrote: > >> On Apr 14, 2017, at 13:37, Larry Rosenman wrote: >> >> On 4/14/17, 3:33 PM, "Ngie Cooper (yaneurabeya)" >> wrote: >> >>> On Apr 14, 2017, at 13:26, Larry Rosenman wrote:

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Slawa Olhovchenkov
On Fri, Apr 14, 2017 at 01:45:22PM -0700, Ngie Cooper (yaneurabeya) wrote: > > > On Apr 14, 2017, at 13:42, Slawa Olhovchenkov wrote: > > … > > > No, something like: > > % swapinfo > > Device 1K-blocks UsedAvail Capacity > > /dev/ada0p2 335544320 33554432 0% >

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:42, Slawa Olhovchenkov wrote: … > No, something like: > % swapinfo > Device 1K-blocks UsedAvail Capacity > /dev/ada0p2 335544320 33554432 0% > /dev/ada1p2 335544320 33554432 0% > Total671088640 67108

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
On 4/14/17, 3:39 PM, "Ngie Cooper (yaneurabeya)" wrote: > On Apr 14, 2017, at 13:37, Larry Rosenman wrote: > > On 4/14/17, 3:33 PM, "Ngie Cooper (yaneurabeya)" wrote: > >> On Apr 14, 2017, at 13:26, Larry Rosenman wrote: >> >> On 4/14/17, 3:19 PM, "Ngie Coo

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Slawa Olhovchenkov
On Fri, Apr 14, 2017 at 01:33:36PM -0700, Ngie Cooper (yaneurabeya) wrote: > > > On Apr 14, 2017, at 13:26, Larry Rosenman wrote: > > > > On 4/14/17, 3:19 PM, "Ngie Cooper (yaneurabeya)" > > wrote: > > > >> On Apr 14, 2017, at 13:14, Slawa Olhovchenkov wrote: > >> > >> On Fri, Apr 14, 2017

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Alan Somers
On Fri, Apr 14, 2017 at 2:29 PM, Mark Johnston wrote: > On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: >> On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: >> > Author: ngie >> > Date: Fri Apr 14 19:41:48 2017 >> > New Revision: 316938 >> > URL: https://svnweb.freebsd.org/changese

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:37, Larry Rosenman wrote: > > On 4/14/17, 3:33 PM, "Ngie Cooper (yaneurabeya)" > wrote: > >> On Apr 14, 2017, at 13:26, Larry Rosenman wrote: >> >> On 4/14/17, 3:19 PM, "Ngie Cooper (yaneurabeya)" >> wrote: >> >>> On Apr 14, 2017, at 13:14, Slawa Olhovchenkov wr

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
On 4/14/17, 3:33 PM, "Ngie Cooper (yaneurabeya)" wrote: > On Apr 14, 2017, at 13:26, Larry Rosenman wrote: > > On 4/14/17, 3:19 PM, "Ngie Cooper (yaneurabeya)" wrote: > >> On Apr 14, 2017, at 13:14, Slawa Olhovchenkov wrote: >> >> On Fri, Apr 14, 2017 at 01

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:26, Larry Rosenman wrote: > > On 4/14/17, 3:19 PM, "Ngie Cooper (yaneurabeya)" > wrote: > >> On Apr 14, 2017, at 13:14, Slawa Olhovchenkov wrote: >> >> On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: >> >>> On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Mark Johnston
On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: > On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: > > Author: ngie > > Date: Fri Apr 14 19:41:48 2017 > > New Revision: 316938 > > URL: https://svnweb.freebsd.org/changeset/base/316938 > > > > Log: > > savecore: fix space calculati

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Larry Rosenman
On 4/14/17, 3:19 PM, "Ngie Cooper (yaneurabeya)" wrote: > On Apr 14, 2017, at 13:14, Slawa Olhovchenkov wrote: > > On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: > >> On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: >>> Author: ngie >>> Date:

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:14, Slawa Olhovchenkov wrote: > > On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: > >> On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: >>> Author: ngie >>> Date: Fri Apr 14 19:41:48 2017 >>> New Revision: 316938 >>> URL: https://svnweb.freebsd.org/chan

svn commit: r316941 - head/sys/kern

2017-04-14 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Apr 14 20:15:34 2017 New Revision: 316941 URL: https://svnweb.freebsd.org/changeset/base/316941 Log: Don't try to write out bufs that have already failed with ENXIO. This fixes some panics after disconnecting mounted disks. Submitted by: imp (slightly different ver

svn commit: r316940 - head/sys/dev/cxgbe/iw_cxgbe

2017-04-14 Thread Navdeep Parhar
Author: np Date: Fri Apr 14 20:15:17 2017 New Revision: 316940 URL: https://svnweb.freebsd.org/changeset/base/316940 Log: cxgbe/iw_cxgbe: Report the actual values of various parameters as configured by the firmware. MFC after:3 days Sponsored by: Chelsio Communications Modified:

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Slawa Olhovchenkov
On Fri, Apr 14, 2017 at 01:49:51PM -0600, Alan Somers wrote: > On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: > > Author: ngie > > Date: Fri Apr 14 19:41:48 2017 > > New Revision: 316938 > > URL: https://svnweb.freebsd.org/changeset/base/316938 > > > > Log: > > savecore: fix space calculat

svn commit: r316939 - head/lib/lib80211

2017-04-14 Thread Adrian Chadd
Author: adrian Date: Fri Apr 14 20:10:18 2017 New Revision: 316939 URL: https://svnweb.freebsd.org/changeset/base/316939 Log: [lib80211] fix a missing cleanup path. PR: lib/218655 Reported by: Modified: head/lib/lib80211/lib80211_regdomain.c Modified: head/lib/lib80211/lib

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:04, Ngie Cooper (yaneurabeya) > wrote: > > >> On Apr 14, 2017, at 13:02, Alan Somers wrote: > > ... > >> Right: check_size() needs to know the on-disk size of the core dump. >> But it doesn't have any way to know the on-disk size until after it's >> written everythi

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 13:02, Alan Somers wrote: ... > Right: check_size() needs to know the on-disk size of the core dump. > But it doesn't have any way to know the on-disk size until after it's > written everything to disk. That's why I simply disabled the check at > $WORK. Another possibili

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Alan Somers
On Fri, Apr 14, 2017 at 1:58 PM, Ngie Cooper (yaneurabeya) wrote: > >> On Apr 14, 2017, at 12:49, Alan Somers wrote: >> >> On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: >>> Author: ngie >>> Date: Fri Apr 14 19:41:48 2017 >>> New Revision: 316938 >>> URL: https://svnweb.freebsd.org/changese

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 12:49, Alan Somers wrote: > > On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: >> Author: ngie >> Date: Fri Apr 14 19:41:48 2017 >> New Revision: 316938 >> URL: https://svnweb.freebsd.org/changeset/base/316938 >> >> Log: >> savecore: fix space calculation with respect

Re: svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Alan Somers
On Fri, Apr 14, 2017 at 1:41 PM, Ngie Cooper wrote: > Author: ngie > Date: Fri Apr 14 19:41:48 2017 > New Revision: 316938 > URL: https://svnweb.freebsd.org/changeset/base/316938 > > Log: > savecore: fix space calculation with respect to `minfree` in check_space(..) > > - Use strtoll(3) instea

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

2017-04-14 Thread Ngie Cooper (yaneurabeya)
> On Apr 14, 2017, at 12:46, Peter Wemm wrote: > > On Friday, April 14, 2017 12:41:52 PM Maxim Sobolev wrote: >> Thanks, Peter. I will try to look into this asap. > > I don't understand what is going on yet. Presumably there must be other > changes in play that affect udp/select sometime betwee

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 12:41:52 PM Maxim Sobolev wrote: > Thanks, Peter. I will try to look into this asap. I don't understand what is going on yet. Presumably there must be other changes in play that affect udp/select sometime between the original 2015 change and this. The syslogd -s code is

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

2017-04-14 Thread Maxim Sobolev
Thanks, Peter. I will try to look into this asap. -Max On Apr 14, 2017 12:32 PM, "Peter Wemm" wrote: > On Friday, April 14, 2017 11:49:26 AM Peter Wemm wrote: > > On Friday, April 14, 2017 05:23:28 PM Maxim Sobolev wrote: > > > Author: sobomax > > > Date: Fri Apr 14 17:23:28 2017 > > > New Revi

svn commit: r316938 - head/sbin/savecore

2017-04-14 Thread Ngie Cooper
Author: ngie Date: Fri Apr 14 19:41:48 2017 New Revision: 316938 URL: https://svnweb.freebsd.org/changeset/base/316938 Log: savecore: fix space calculation with respect to `minfree` in check_space(..) - Use strtoll(3) instead of atoi(3), because atoi(3) limits the representable data to

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 11:49:26 AM Peter Wemm wrote: > On Friday, April 14, 2017 05:23:28 PM Maxim Sobolev wrote: > > Author: sobomax > > Date: Fri Apr 14 17:23:28 2017 > > New Revision: 316874 > > URL: https://svnweb.freebsd.org/changeset/base/316874 > > > > Log: > > Restore ability to shutd

svn commit: r316937 - in head: contrib/ofed/libcxgb4/src sys/dev/cxgbe/iw_cxgbe

2017-04-14 Thread Navdeep Parhar
Author: np Date: Fri Apr 14 19:18:50 2017 New Revision: 316937 URL: https://svnweb.freebsd.org/changeset/base/316937 Log: cxgbe/iw_cxgbe: Report accurate page_size_cap in ib_query_device. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/contrib/ofed/libcxgb4/src

svn commit: r316936 - head/sys/dev/cxgbe/iw_cxgbe

2017-04-14 Thread Navdeep Parhar
Author: np Date: Fri Apr 14 19:15:31 2017 New Revision: 316936 URL: https://svnweb.freebsd.org/changeset/base/316936 Log: cxgbe/iw_cxgbe: hw supports 64K (not 32K) Protection Domains. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/iw_cxgbe/t4.h

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

2017-04-14 Thread Peter Wemm
On Friday, April 14, 2017 05:23:28 PM Maxim Sobolev wrote: > Author: sobomax > Date: Fri Apr 14 17:23:28 2017 > New Revision: 316874 > URL: https://svnweb.freebsd.org/changeset/base/316874 > > Log: > Restore ability to shutdown DGRAM sockets, still forcing ENOTCONN to be > returned by the shutdo

svn commit: r316878 - head/sys/dev/syscons

2017-04-14 Thread Bruce Evans
Author: bde Date: Fri Apr 14 17:38:43 2017 New Revision: 316878 URL: https://svnweb.freebsd.org/changeset/base/316878 Log: Oops, the previous revision was missing the update of the shift variable. Modified: head/sys/dev/syscons/scvgarndr.c Modified: head/sys/dev/syscons/scvgarndr.c =

svn commit: r316874 - head/sys/kern

2017-04-14 Thread Maxim Sobolev
Author: sobomax Date: Fri Apr 14 17:23:28 2017 New Revision: 316874 URL: https://svnweb.freebsd.org/changeset/base/316874 Log: Restore ability to shutdown DGRAM sockets, still forcing ENOTCONN to be returned by the shutdown(2) system call. This ability has been lost as part of the svn revis

svn commit: r316869 - head/sys/geom/mirror

2017-04-14 Thread Mark Johnston
Author: markj Date: Fri Apr 14 17:13:57 2017 New Revision: 316869 URL: https://svnweb.freebsd.org/changeset/base/316869 Log: Rename two gmirror state flags to make their meanings slightly clearer. No functional change. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified:

svn commit: r316867 - head/sys/geom/mirror

2017-04-14 Thread Mark Johnston
Author: markj Date: Fri Apr 14 17:08:37 2017 New Revision: 316867 URL: https://svnweb.freebsd.org/changeset/base/316867 Log: Don't set the mirror GEOM softc to NULL in g_mirror_destroy(). At this point we have not rendezvous'ed with the mirror worker thread, and I/O may still be in flight

svn commit: r316866 - head/sys/geom/mirror

2017-04-14 Thread Mark Johnston
Author: markj Date: Fri Apr 14 17:03:32 2017 New Revision: 316866 URL: https://svnweb.freebsd.org/changeset/base/316866 Log: Check for a provider error before enqueuing mirror I/O. We are otherwise susceptible to a race with a concurrent teardown of the mirror provider, causing the I/O to

svn commit: r316865 - head/sys/dev/syscons

2017-04-14 Thread Bruce Evans
Author: bde Date: Fri Apr 14 17:02:24 2017 New Revision: 316865 URL: https://svnweb.freebsd.org/changeset/base/316865 Log: Adjust shifting so that cursor widths up to 17 (was 9) work in vga planar mode. Direct mode always supported widths up to 32, except for its hard-coded 16s matching

svn commit: r316859 - head/sys/geom/mirror

2017-04-14 Thread Mark Johnston
Author: markj Date: Fri Apr 14 16:54:50 2017 New Revision: 316859 URL: https://svnweb.freebsd.org/changeset/base/316859 Log: Stop mirror synchronization before draining the I/O queue. Regular I/O requests may be blocked by concurrent synchronization requests targeted to the same LBAs, in

svn commit: r316856 - head/cddl/contrib/opensolaris/cmd/zdb

2017-04-14 Thread Alan Somers
Author: asomers Date: Fri Apr 14 16:30:37 2017 New Revision: 316856 URL: https://svnweb.freebsd.org/changeset/base/316856 Log: MFV 316855 7900 zdb shouldn't print the path of a znode at verbosity < 5 Reviewed by: Paul Dagnelie Reviewed by: Matt Ahrens Approved by: Dan McDonald

Re: svn commit: r316826 - head/sys/netpfil/ipfw/nat64

2017-04-14 Thread Conrad Meyer
Ian, I don't know about "guaranteed," but it certainly looks like the htonl/bswap macros intend to avoid double-evaluating macro parameters. On Fri, Apr 14, 2017 at 8:53 AM, Ian Lepore wrote: > On Fri, 2017-04-14 at 08:32 -0700, Conrad Meyer wrote: >> On Fri, Apr 14, 2017 at 4:58 AM, Andrey V. E

Re: svn commit: r316854 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-04-14 Thread Andriy Gapon
On 14/04/2017 18:55, Alan Somers wrote: > Are you sure it's a good idea to MFC this change? Doing so will upset > anybody currently setting that sysctl in /etc/sysctl.conf. Well, this is a debug knob, so I expected that it is tweaked by hand on as needed basis. I don't expect that it is used as

Re: svn commit: r316854 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-04-14 Thread Alan Somers
Are you sure it's a good idea to MFC this change? Doing so will upset anybody currently setting that sysctl in /etc/sysctl.conf. On Fri, Apr 14, 2017 at 9:35 AM, Andriy Gapon wrote: > Author: avg > Date: Fri Apr 14 15:35:07 2017 > New Revision: 316854 > URL: https://svnweb.freebsd.org/changeset/

Re: svn commit: r316826 - head/sys/netpfil/ipfw/nat64

2017-04-14 Thread Ian Lepore
On Fri, 2017-04-14 at 08:32 -0700, Conrad Meyer wrote: > On Fri, Apr 14, 2017 at 4:58 AM, Andrey V. Elsukov > wrote: > > > > Author: ae > > Date: Fri Apr 14 11:58:41 2017 > > New Revision: 316826 > > URL: https://svnweb.freebsd.org/changeset/base/316826 > > > > Log: > >   Avoid undefined behavio

Re: svn commit: r316851 - head/sys/x86/iommu

2017-04-14 Thread Conrad Meyer
On Fri, Apr 14, 2017 at 8:16 AM, Konstantin Belousov wrote: > Author: kib > Date: Fri Apr 14 15:16:41 2017 > New Revision: 316851 > URL: https://svnweb.freebsd.org/changeset/base/316851 > > Log: > Correct calculation of the entry->free_down in the invariants-checking > code. > > Reported by:

svn commit: r316854 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-04-14 Thread Andriy Gapon
Author: avg Date: Fri Apr 14 15:35:07 2017 New Revision: 316854 URL: https://svnweb.freebsd.org/changeset/base/316854 Log: rename vfs.zfs.debug_flags to vfs.zfs.debugflags While the former name is easier to read, the "_flags" suffix has a special meaning for loader(8) and, thus, it was im

  1   2   >