Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Eugene Grosbein
On 14.12.2017 19:26, Konstantin Belousov wrote: > Sigh. This would make i386 even less usable for everybody, perhaps > except you. Because default 3G of UVA is too small for some common tasks > (thanks clang, but also e.g. pypy), and you reduce the user address > space even more. Those who need

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-14 Thread Alexey Dokuchaev
On Thu, Dec 14, 2017 at 02:36:48AM +0700, Eugene Grosbein wrote: > 14.12.2017 1:24, Alexey Dokuchaev wrote: > ... > > One does not tweak FreeBSD, it just works. (tm) > > Hmm. Do you really think so? I do. > I can assure you this is not true. There are numerous ways to take > down untweaked

svn commit: r326847 - head/sys/netinet

2017-12-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 14 12:54:20 2017 New Revision: 326847 URL: https://svnweb.freebsd.org/changeset/base/326847 Log: Fix mbuf leak when TCPMD5_OUTPUT() method returns error. PR: 223817 MFC after:1 week Modified: head/sys/netinet/tcp_output.c Modified:

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

2017-12-14 Thread Andrew Turner
Author: andrew Date: Thu Dec 14 13:19:43 2017 New Revision: 326850 URL: https://svnweb.freebsd.org/changeset/base/326850 Log: Add the virtualisation special register definitions. Submitted by: Mihai Carabas Reviewed by: mmel Differential Revision:

svn commit: r326851 - head/sys/fs/devfs

2017-12-14 Thread Konstantin Belousov
Author: kib Date: Thu Dec 14 13:41:11 2017 New Revision: 326851 URL: https://svnweb.freebsd.org/changeset/base/326851 Log: In devfs_lookupx() dotdot lookup case, avoid dereferencing dvp->v_mount after dvp is unlocked. The vnode might be reclaimed after unlock, so v_mount becomes NULL.

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Eugene Grosbein
14.12.2017 23:00, Konstantin Belousov wrote: > Sigh. This would make i386 even less usable for everybody, perhaps > except you. Because default 3G of UVA is too small for some common tasks > (thanks clang, but also e.g. pypy), and you reduce the user address > space even more.

svn commit: r326857 - in head: . share/mk stand/i386/zfsboot

2017-12-14 Thread Warner Losh
/UPDATING Thu Dec 14 16:51:43 2017(r326856) +++ head/UPDATING Thu Dec 14 17:00:24 2017(r326857) @@ -51,6 +51,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: ** SPECIAL WARNING: ** +20171214: + r362593

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-14 Thread Eugene Grosbein
14.12.2017 23:27, Warner Losh wrote: > - zfsloader(8) failing to find any ZFS pool after zfsboot(8) successfully > loaded and started zfsload(8) from zpool (PR pending, need to collect > more info) > > > GPT or MBR? MBR, no GELI used. > If you disable GELI support, it will work. If

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Konstantin Belousov
On Thu, Dec 14, 2017 at 07:59:03PM +0700, Eugene Grosbein wrote: > On 14.12.2017 19:26, Konstantin Belousov wrote: > > > Sigh. This would make i386 even less usable for everybody, perhaps > > except you. Because default 3G of UVA is too small for some common tasks > > (thanks clang, but also e.g.

svn commit: r326856 - head/stand/i386/gptboot

2017-12-14 Thread Warner Losh
Author: imp Date: Thu Dec 14 16:51:43 2017 New Revision: 326856 URL: https://svnweb.freebsd.org/changeset/base/326856 Log: Fix comments after bump in size. Modified: head/stand/i386/gptboot/gptldr.S Modified: head/stand/i386/gptboot/gptldr.S

svn commit: r326855 - head/stand/ficl

2017-12-14 Thread Warner Losh
Author: imp Date: Thu Dec 14 16:51:26 2017 New Revision: 326855 URL: https://svnweb.freebsd.org/changeset/base/326855 Log: Cargo cut a fix for the regressions r326585 caused. We need to include ficl.h after the standard includes, rather than before them. It changes the generated code in

Re: svn commit: r326857 - in head: . share/mk stand/i386/zfsboot

2017-12-14 Thread Shawn Webb
On Thu, Dec 14, 2017 at 05:00:24PM +, Warner Losh wrote: > Author: imp > Date: Thu Dec 14 17:00:24 2017 > New Revision: 326857 > URL: https://svnweb.freebsd.org/changeset/base/326857 > > Log: > Turn loader GELI support in the boot loaders off by default as a > temporary workaround. This

svn commit: r326853 - head/sbin/dhclient

2017-12-14 Thread Alan Somers
Author: asomers Date: Thu Dec 14 15:41:32 2017 New Revision: 326853 URL: https://svnweb.freebsd.org/changeset/base/326853 Log: dhclient(8): raise WARNS to 3 Mostly had to fix a lot of signed/unsigned comparison warnings MFC after:3 weeks Sponsored by: Spectra Logic Corp

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-14 Thread Warner Losh
On Thu, Dec 14, 2017 at 2:36 PM, Eugene Grosbein wrote: > - zfsloader(8) failing to find any ZFS pool after zfsboot(8) successfully > loaded and started zfsload(8) from zpool (PR pending, need to collect more > info) > GPT or MBR? If you disable GELI support, it will work.

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Eugene Grosbein
On 14.12.2017 22:23, Konstantin Belousov wrote: >>> Sigh. This would make i386 even less usable for everybody, perhaps >>> except you. Because default 3G of UVA is too small for some common tasks >>> (thanks clang, but also e.g. pypy), and you reduce the user address >>> space even more. >> >>

svn commit: r326852 - head/usr.bin/vmstat

2017-12-14 Thread Mark Johnston
Author: markj Date: Thu Dec 14 15:40:03 2017 New Revision: 326852 URL: https://svnweb.freebsd.org/changeset/base/326852 Log: Re-add spaces lost in r326436. X-MFC with: r326436 Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Konstantin Belousov
On Thu, Dec 14, 2017 at 10:39:18PM +0700, Eugene Grosbein wrote: > On 14.12.2017 22:23, Konstantin Belousov wrote: > > >>> Sigh. This would make i386 even less usable for everybody, perhaps > >>> except you. Because default 3G of UVA is too small for some common tasks > >>> (thanks clang, but

svn commit: r326854 - in head/stand/efi: boot1 include libefi

2017-12-14 Thread Toomas Soome
Author: tsoome Date: Thu Dec 14 16:41:52 2017 New Revision: 326854 URL: https://svnweb.freebsd.org/changeset/base/326854 Log: libefi: make efichar.h more usable in stand code Use _STANDALONE for guard expression in efichar.[ch] and add efi_char typedef. clean up boot1.c, and replace for

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

2017-12-14 Thread Justin Hibbits
Author: jhibbits Date: Thu Dec 14 20:01:04 2017 New Revision: 326859 URL: https://svnweb.freebsd.org/changeset/base/326859 Log: Add identifier for POWER9 CPU to CPU list Without the identifier in the list booting FreeBSD results in printing the following (from a PowerKVM boot):

Re: svn commit: r326857 - in head: . share/mk stand/i386/zfsboot

2017-12-14 Thread Rodney W. Grimes
u Dec 14 17:00:24 2017(r326857) > @@ -51,6 +51,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: > > ****** SPECIAL WARNING: > ** > > +20171214: > + r362593 broke ZFS + GELI support for reasons unknown. How

svn commit: r326858 - head/stand/ficl

2017-12-14 Thread Warner Losh
Author: imp Date: Thu Dec 14 18:57:17 2017 New Revision: 326858 URL: https://svnweb.freebsd.org/changeset/base/326858 Log: Revert r326855: Cargo cut a fix for the regressions r326585 caused. This was an experiment that landed in the wrong branch and was pushed accidentally. It's best if

svn commit: r326860 - head/sys/net

2017-12-14 Thread Ryan Stone
Author: rstone Date: Thu Dec 14 20:48:50 2017 New Revision: 326860 URL: https://svnweb.freebsd.org/changeset/base/326860 Log: Plug an ifaddr leak when changing a route's src If a route is modified in a way that changes the route's source address (i.e. the address used to access the

svn commit: r326861 - in head/tests/sys/geom/class: . mirror

2017-12-14 Thread Mark Johnston
Author: markj Date: Thu Dec 14 22:11:35 2017 New Revision: 326861 URL: https://svnweb.freebsd.org/changeset/base/326861 Log: Add some basic tests for gmirror read and write error handling. MFC after:2 weeks Sponsored by: Dell EMC Isilon Added:

svn commit: r326862 - head/tests/sys/geom/class/mirror

2017-12-14 Thread Mark Johnston
Author: markj Date: Thu Dec 14 22:14:07 2017 New Revision: 326862 URL: https://svnweb.freebsd.org/changeset/base/326862 Log: Make indentation consistent with other tests, and use syncwait. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified:

svn commit: r326863 - head/tests/sys/geom/class/mirror

2017-12-14 Thread Mark Johnston
Author: markj Date: Thu Dec 14 22:15:46 2017 New Revision: 326863 URL: https://svnweb.freebsd.org/changeset/base/326863 Log: Belatedly add syncwait. X-MFC with: r326861 Modified: head/tests/sys/geom/class/mirror/conf.sh Modified: head/tests/sys/geom/class/mirror/conf.sh

svn commit: r326866 - in head/sys/contrib/dev/acpica: . common compiler components/debugger components/disassembler components/dispatcher components/executer components/hardware components/namespac...

2017-12-14 Thread Jung-uk Kim
Author: jkim Date: Thu Dec 14 23:21:31 2017 New Revision: 326866 URL: https://svnweb.freebsd.org/changeset/base/326866 Log: MFC: r326864 Merge ACPICA 20171214. Modified: head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/common/adisasm.c head/sys/contrib/dev/acpica

Re: svn commit: r326866 - in head/sys/contrib/dev/acpica: . common compiler components/debugger components/disassembler components/dispatcher components/executer components/hardware components/namespa

2017-12-14 Thread Jung-uk Kim
On 12/14/2017 18:21, Jung-uk Kim wrote: > Author: jkim > Date: Thu Dec 14 23:21:31 2017 > New Revision: 326866 > URL: https://svnweb.freebsd.org/changeset/base/326866 > > Log: > MFC:r326864 > > Merge ACPICA 20171214. I meant "MFV&q

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-14 Thread Warner Losh
On Thu, Dec 14, 2017 at 5:00 PM, Eugene Grosbein wrote: > 14.12.2017 23:27, Warner Losh wrote: > > > - zfsloader(8) failing to find any ZFS pool after zfsboot(8) > successfully > > loaded and started zfsload(8) from zpool (PR pending, need to > collect more info) > >

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-14 Thread Eugene Grosbein
15.12.2017 6:50, Warner Losh wrote: > > > On Thu, Dec 14, 2017 at 5:00 PM, Eugene Grosbein > wrote: > > 14.12.2017 23:27, Warner Losh wrote: > > > - zfsloader(8) failing to find any ZFS pool after zfsboot(8) > successfully > >

svn commit: r326870 - in head/sys/powerpc: include powerpc

2017-12-14 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 15 04:11:20 2017 New Revision: 326870 URL: https://svnweb.freebsd.org/changeset/base/326870 Log: Handle the Facility Unavailable exception as a SIGILL Currently Facility Unavailable is absent and once an application tries to use or access a register from a

svn commit: r326872 - head/usr.sbin/pw

2017-12-14 Thread Eugene Grosbein
Author: eugen Date: Fri Dec 15 06:05:16 2017 New Revision: 326872 URL: https://svnweb.freebsd.org/changeset/base/326872 Log: pw(8): r326738 broke expiration arithmetic in case of `-D' flag not supplied. Fix it and rename misnamed time_t variables `expire_days, password_days' (always

svn commit: r326869 - head/share/misc

2017-12-14 Thread Eitan Adler
Author: eadler Date: Fri Dec 15 03:46:52 2017 New Revision: 326869 URL: https://svnweb.freebsd.org/changeset/base/326869 Log: bsd-family-tree: add dfly 5.0.[12] Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-14 Thread Warner Losh
On Thu, Dec 14, 2017 at 11:02 PM, Eugene Grosbein wrote: > 15.12.2017 6:50, Warner Losh wrote: > > > > > > On Thu, Dec 14, 2017 at 5:00 PM, Eugene Grosbein > wrote: > > > > 14.12.2017 23:27, Warner Losh wrote: > > > > >

svn commit: r326871 - in head/sys/dev: bhnd bhnd/bcma bhnd/bhndb bhnd/cores/pmu bhnd/nvram bhnd/siba bwn

2017-12-14 Thread Landon J. Fuller
Author: landonf Date: Fri Dec 15 04:51:47 2017 New Revision: 326871 URL: https://svnweb.freebsd.org/changeset/base/326871 Log: bhnd(4)/bwn(4): Fix a number of small issues reported by Coverity. - Fix reference of uninitialized error value in bhndb_generic_resume() if the dynamic window

svn commit: r326874 - head/tools/boot

2017-12-14 Thread Warner Losh
Author: imp Date: Fri Dec 15 06:34:27 2017 New Revision: 326874 URL: https://svnweb.freebsd.org/changeset/base/326874 Log: Script to generate minimal boot images for each of the 24 supported boot images for x86. This will be enhanced to generate all the other images (u-boot, powerpc CHRP,

svn commit: r326873 - head/tools/boot

2017-12-14 Thread Warner Losh
Author: imp Date: Fri Dec 15 06:34:11 2017 New Revision: 326873 URL: https://svnweb.freebsd.org/changeset/base/326873 Log: Script that knows how to put boot blocks onto a device. Eventually, this will be installed into /usr/sbin, but for now it's just used for the boot loader regression

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

2017-12-14 Thread Bruce Evans
Author: bde Date: Fri Dec 15 03:05:14 2017 New Revision: 326867 URL: https://svnweb.freebsd.org/changeset/base/326867 Log: Minor cleanups found while fixing a bug involving double mapping of low memory: Load the kernel eflags less magically, as in locore. The magic increased when I

Re: svn commit: r326870 - in head/sys/powerpc: include powerpc

2017-12-14 Thread Justin Hibbits
On Thu, Dec 14, 2017 at 10:11 PM, Justin Hibbits wrote: > Author: jhibbits > Date: Fri Dec 15 04:11:20 2017 > New Revision: 326870 > URL: https://svnweb.freebsd.org/changeset/base/326870 > > Log: > Handle the Facility Unavailable exception as a SIGILL > > Currently

svn commit: r326868 - head/share/misc

2017-12-14 Thread Eitan Adler
Author: eadler Date: Fri Dec 15 03:36:48 2017 New Revision: 326868 URL: https://svnweb.freebsd.org/changeset/base/326868 Log: bsd-family-tree: Add NetBSD 7.0.2 Pulled directly from NetBSD Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

svn commit: r326875 - head/tools/boot

2017-12-14 Thread Warner Losh
Author: imp Date: Fri Dec 15 06:44:11 2017 New Revision: 326875 URL: https://svnweb.freebsd.org/changeset/base/326875 Log: Add missing of=/dev/${dev}s${s} when installing zfsboot. Modified: head/tools/boot/install-boot.sh Modified: head/tools/boot/install-boot.sh

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Konstantin Belousov
On Thu, Dec 14, 2017 at 07:04:57PM +0700, Eugene Grosbein wrote: > On 14.12.2017 18:51, Konstantin Belousov wrote: > > >> I think thats's NFS code who is guilty. You can see example of amd64 > >> (sic!) kstack exhaustion > >> due to 40+ frames deep call chain here: > >> > >>

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-14 Thread Eugene Grosbein
On 14.12.2017 20:38, Alexey Dokuchaev wrote: > On Thu, Dec 14, 2017 at 02:36:48AM +0700, Eugene Grosbein wrote: >> 14.12.2017 1:24, Alexey Dokuchaev wrote: >> ... >>> One does not tweak FreeBSD, it just works. (tm) >> >> Hmm. Do you really think so? > > I do. > >> I can assure you this is not

svn commit: r326844 - head/usr.sbin/mailwrapper

2017-12-14 Thread Baptiste Daroussin
Author: bapt Date: Thu Dec 14 08:57:37 2017 New Revision: 326844 URL: https://svnweb.freebsd.org/changeset/base/326844 Log: Replace usage of fparselen(3) by a getline(3) This allow to remove the dependency on libutil Modified: head/usr.sbin/mailwrapper/Makefile

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Eugene Grosbein
On 13.12.2017 04:55, John Baldwin wrote: > On 12/12/17 3:09 PM, Eugene Grosbein wrote: >> On 13.12.2017 02:32, John Baldwin wrote: >> >>> Certainly for MIPS I have found that compiling with clang >>> instead of gcc for mips64 gives a kernel that panics for stack overflow for >>> any >>> use of

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Eugene Grosbein
On 14.12.2017 18:34, Eugene Grosbein wrote: > On 13.12.2017 04:55, John Baldwin wrote: >> On 12/12/17 3:09 PM, Eugene Grosbein wrote: >>> On 13.12.2017 02:32, John Baldwin wrote: >>> Certainly for MIPS I have found that compiling with clang instead of gcc for mips64 gives a kernel that

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Konstantin Belousov
On Thu, Dec 14, 2017 at 06:34:21PM +0700, Eugene Grosbein wrote: > On 13.12.2017 04:55, John Baldwin wrote: > > On 12/12/17 3:09 PM, Eugene Grosbein wrote: > >> On 13.12.2017 02:32, John Baldwin wrote: > >> > >>> Certainly for MIPS I have found that compiling with clang > >>> instead of gcc for

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-14 Thread Eugene Grosbein
On 14.12.2017 18:51, Konstantin Belousov wrote: >> I think thats's NFS code who is guilty. You can see example of amd64 (sic!) >> kstack exhaustion >> due to 40+ frames deep call chain here: >> >> https://lists.freebsd.org/pipermail/freebsd-stable/2017-July/087429.html > > Yes, NFS crosses