Re: svn commit: r325728 - head/lib/libkvm

2019-02-06 Thread Will Andrews
On Tue, Feb 5, 2019 at 10:25 AM Bruce Evans wrote: > Signed kp_offset seems wrong. Apart from it not reaching the top of 64- > bit address spaces, adding unsigned kp_len to it gives an unsigned type. > It's appropriate, because in this context, we return page information including addresses tha

svn commit: r342560 - head/tools/build

2018-12-27 Thread Will Andrews
Author: will Date: Thu Dec 27 23:27:48 2018 New Revision: 342560 URL: https://svnweb.freebsd.org/changeset/base/342560 Log: beinstall: try to save progress from pkg updates. This is primarily aimed at failed updates due to package conflicts, and affects treatment of failed updates. Where

svn commit: r338103 - head/usr.sbin/iostat

2018-08-20 Thread Will Andrews
Author: will Date: Mon Aug 20 13:42:22 2018 New Revision: 338103 URL: https://svnweb.freebsd.org/changeset/base/338103 Log: iostat: update man page for r277566 The original commit added granularity to the transaction latency display in the extended device stats mode, but didn't update the

svn commit: r337840 - in head: cddl/usr.bin/ztest cddl/usr.bin/ztest/tests etc/mtree

2018-08-15 Thread Will Andrews
Author: will Date: Wed Aug 15 13:05:04 2018 New Revision: 337840 URL: https://svnweb.freebsd.org/changeset/base/337840 Log: zfs: add ztest to the kyua test suite. This program is currently failing, and has been for >6 months on HEAD. Ideally, this should be run 24x7 in CI, to discover har

Re: svn commit: r336526 - head

2018-07-28 Thread Will Andrews
! --Will. On Wed, Jul 25, 2018 at 11:28 PM, Ravi Pokala wrote: > -Original Message- > From: Ravi Pokala > Date: 2018-07-20, Friday at 10:53 > To: Ian Lepore , , < > svn-src-...@freebsd.org>, , Will Andrews > > Subject: Re: svn commit: r336526 - head > >

svn commit: r336856 - head/tools/build

2018-07-28 Thread Will Andrews
Author: will Date: Sun Jul 29 01:44:26 2018 New Revision: 336856 URL: https://svnweb.freebsd.org/changeset/base/336856 Log: beinstall: perform pre-installworld steps. Since all post-installkernel steps are assumed to operate in the updated installation, it's necessary to chroot all of the

Re: svn commit: r336526 - head

2018-07-26 Thread Will Andrews
--- > From: Ravi Pokala > Date: 2018-07-20, Friday at 10:53 > To: Ian Lepore , , < > svn-src-...@freebsd.org>, , Will Andrews > > Subject: Re: svn commit: r336526 - head > > > -Original Message- > > From: on behalf of Ian Lepore < > i..

svn commit: r335928 - in head: share/man/man4 sys/net sys/netpfil/pf

2018-07-03 Thread Will Andrews
Author: will Date: Wed Jul 4 03:36:46 2018 New Revision: 335928 URL: https://svnweb.freebsd.org/changeset/base/335928 Log: Revert r335833. Several third-parties use at least some of these ioctls. While it would be better for regression testing if they were used in base (or at least in t

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

2018-06-30 Thread Will Andrews
Author: will Date: Sun Jul 1 01:56:40 2018 New Revision: 335835 URL: https://svnweb.freebsd.org/changeset/base/335835 Log: pf(4): remove reference to non-existent pflow(4). Modified: head/share/man/man4/pf.4 Modified: head/share/man/man4/pf.4

svn commit: r335833 - in head: share/man/man4 sys/net sys/netpfil/pf

2018-06-30 Thread Will Andrews
Author: will Date: Sun Jul 1 01:16:03 2018 New Revision: 335833 URL: https://svnweb.freebsd.org/changeset/base/335833 Log: pf: remove unused ioctls. Several ioctls are unused in pf, in the sense that no base utility references them. Additionally, a cursory review of pf-based ports ind

svn commit: r335832 - head/share/misc

2018-06-30 Thread Will Andrews
rg\n2 weongyo [label="Weongyo Jeong\nweon...@freebsd.org\n2007/12/21"] wes [label="Wes Peters\n...@freebsd.org\n1998/11/25"] whu [label="Wei Hu\n...@freebsd.org\n2015/02/11"] +will [label="Will Andrews\nw...@freebsd.org\n2000/03/20"] wkoszek [label="Wojciech

svn commit: r335831 - head/tools/build

2018-06-30 Thread Will Andrews
Author: will Date: Sun Jul 1 01:09:52 2018 New Revision: 335831 URL: https://svnweb.freebsd.org/changeset/base/335831 Log: beinstall: enable use with git worktrees. Modified: head/tools/build/beinstall.sh Modified: head/tools/build/beinstall.sh ==

svn commit: r325735 - head/lib/libkvm

2017-11-11 Thread Will Andrews
Author: will Date: Sun Nov 12 03:28:47 2017 New Revision: 325735 URL: https://svnweb.freebsd.org/changeset/base/325735 Log: libkvm: fix lib32 build. Modified: head/lib/libkvm/kvm_i386.c Modified: head/lib/libkvm/kvm_i386.c =

svn commit: r325732 - head/lib/libkvm

2017-11-11 Thread Will Andrews
Author: will Date: Sun Nov 12 01:36:48 2017 New Revision: 325732 URL: https://svnweb.freebsd.org/changeset/base/325732 Log: libkvm: fix build failures Modified: head/lib/libkvm/kvm.h head/lib/libkvm/kvm_aarch64.h head/lib/libkvm/kvm_amd64.c head/lib/libkvm/kvm_amd64.h head/lib/libkvm/

svn commit: r325729 - head/lib/libkvm

2017-11-11 Thread Will Andrews
Author: will Date: Sun Nov 12 00:00:38 2017 New Revision: 325729 URL: https://svnweb.freebsd.org/changeset/base/325729 Log: libkvm: fix 'index' shadowing. Modified: head/lib/libkvm/kvm_private.c Modified: head/lib/libkvm/kvm_private.c =

svn commit: r325728 - head/lib/libkvm

2017-11-11 Thread Will Andrews
Author: will Date: Sat Nov 11 23:30:58 2017 New Revision: 325728 URL: https://svnweb.freebsd.org/changeset/base/325728 Log: libkvm: add kvm_walk_pages API. This API allows callers to enumerate all known pages, including any direct map & kernel map virtual addresses, physical addresses, si

svn commit: r319613 - head/lib/libc/tests/stdlib

2017-06-05 Thread Will Andrews
Author: will Date: Tue Jun 6 03:40:45 2017 New Revision: 319613 URL: https://svnweb.freebsd.org/changeset/base/319613 Log: tsearch_test: Test twalk & add some determinism. Modified: head/lib/libc/tests/stdlib/tsearch_test.c Modified: head/lib/libc/tests/stdlib/tsearch_test.c ===

svn commit: r305484 - head/sys/boot/efi/loader

2016-09-06 Thread Will Andrews
Author: will Date: Tue Sep 6 17:58:58 2016 New Revision: 305484 URL: https://svnweb.freebsd.org/changeset/base/305484 Log: loader.efi: Bump the staging size to 64M. This is required on my system, which loads nvidia, vmm, and zfs, and 48M is no longer enough for that. nvidia-driver's rec

svn commit: r302977 - head/tools/build

2016-07-17 Thread Will Andrews
/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/build/beinstall.sh Mon Jul 18 02:13:57 2016 (r302977) @@ -0,0 +1,153 @@ +#!/bin/sh +# +# Copyright (c) 2016 Will Andrews +# All rights reserved. +# +# Redistribution and use in source and binary forms, wi

svn commit: r302976 - head/lib/libkvm

2016-07-17 Thread Will Andrews
Author: will Date: Mon Jul 18 01:55:25 2016 New Revision: 302976 URL: https://svnweb.freebsd.org/changeset/base/302976 Log: libkvm: Improve physical address lookup scaling. Instead of using a hash table to convert physical page addresses to offsets in the sparse page array, cache the numb

svn commit: r302975 - head/lib/libkvm

2016-07-17 Thread Will Andrews
Author: will Date: Mon Jul 18 01:03:39 2016 New Revision: 302975 URL: https://svnweb.freebsd.org/changeset/base/302975 Log: libkvm: Bounds check (more) PTE indices. Modified: head/lib/libkvm/kvm_minidump_arm.c head/lib/libkvm/kvm_minidump_i386.c head/lib/libkvm/kvm_minidump_mips.c Modifi

svn commit: r302974 - head/lib/libkvm

2016-07-17 Thread Will Andrews
Author: will Date: Mon Jul 18 01:02:52 2016 New Revision: 302974 URL: https://svnweb.freebsd.org/changeset/base/302974 Log: libkvm: Put private kvm routines in kvm_private.c. Added: head/lib/libkvm/kvm_private.c (contents, props changed) Modified: head/lib/libkvm/Makefile head/lib/libkv

svn commit: r281442 - head/sys/kern

2015-04-11 Thread Will Andrews
Author: will Date: Sat Apr 11 18:51:41 2015 New Revision: 281442 URL: https://svnweb.freebsd.org/changeset/base/281442 Log: uiomove_object_page(): Avoid instantiating pages in sparse regions on reads. Check whether the page being requested is either resident or on swap. If not, read from

Re: svn commit: r278321 - head/sys/dev/ipmi

2015-02-13 Thread Will Andrews
On Fri, Feb 06, 2015 at 12:00:02PM -0500, John Baldwin wrote: > I think we should further change this to only allow the watchdog to be used > with KCS and SMIC so that watchdog requests never sleep. I think that we > could then revert r272366 as to my knowledge this was the only watchdog > driv

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

2015-02-01 Thread Will Andrews
On Sunday, February 1, 2015, Davide Italiano wrote: > On Mon, Feb 2, 2015 at 1:17 AM, Steven Hartland > wrote: > > Author: smh > > Date: Mon Feb 2 00:17:36 2015 > > New Revision: 278040 > > URL: https://svnweb.freebsd.org/changeset/base/278040 > > > > Log: > > Prevent inlining txg_quiesce > >

Re: svn commit: r277651 - head/sys/vm

2015-01-24 Thread Will Andrews
On Sat, Jan 24, 2015 at 11:34:10AM -0800, Garrett Cooper wrote: > Could you please add a kernel option to set the default from > 0 to 1, or provide a tunable so the value could be set in loader.conf? Hi Garrett, The sysctl is configured as a CTLFLAG_RWTUN, so it can be configured in loader.co

svn commit: r277651 - head/sys/vm

2015-01-24 Thread Will Andrews
Author: will Date: Sat Jan 24 17:32:45 2015 New Revision: 277651 URL: https://svnweb.freebsd.org/changeset/base/277651 Log: Add vm.panic_on_oom sysctl, which enables those who would rather panic than kill a process, when the system runs out of memory. Defaults to off. Usually, this is mo

svn commit: r277650 - head/etc/mtree

2015-01-24 Thread Will Andrews
Author: will Date: Sat Jan 24 17:11:11 2015 New Revision: 277650 URL: https://svnweb.freebsd.org/changeset/base/277650 Log: Add tests/etc/rc.d to mtree. Submitted by: stefanf MFC after:1 week MFC with: 277627 Modified: head/etc/mtree/BSD.tests.dist Modified: head/etc/mtree/B

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

2015-01-23 Thread Will Andrews
Author: will Date: Sat Jan 24 00:43:02 2015 New Revision: 277629 URL: https://svnweb.freebsd.org/changeset/base/277629 Log: When creating or updating a node, use vfs_timestamp() for "now" instead of gethrestime(), to allow the administrator to decide the appropriate timestamp precision inste

svn commit: r277627 - in head/etc/tests: . rc.d

2015-01-23 Thread Will Andrews
Author: will Date: Sat Jan 24 00:37:41 2015 New Revision: 277627 URL: https://svnweb.freebsd.org/changeset/base/277627 Log: Add routing_test:static_ipv6_loopback_route_for_each_fib. It tests that all FIBs get a static IPv6 loopback route. Submitted by: asomers MFC after:1 week Spo

svn commit: r277624 - head/usr.sbin/config

2015-01-23 Thread Will Andrews
Author: will Date: Sat Jan 24 00:04:34 2015 New Revision: 277624 URL: https://svnweb.freebsd.org/changeset/base/277624 Log: Bump config(8) minor version for r277567. Config files built using this version that take advantage of the bugfix won't be buildable using older config(8). Subm

svn commit: r277622 - head/sys/boot/i386/libfirewire

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 23:53:56 2015 New Revision: 277622 URL: https://svnweb.freebsd.org/changeset/base/277622 Log: Fix panic in firewire and creation of invalid config ROM. (This change was supposed to be included in r277508.) sys/boot/i386/libfirewire/firewire.c: Fix con

Re: svn commit: r277570 - head/usr.bin/vmstat

2015-01-23 Thread Will Andrews
On Fri, Jan 23, 2015 at 11:23:57AM -0800, Davide Italiano wrote: > What's the rationale behind this change? The rationale was to match the clock used to the name (and implied intent) of the variables used to store/manipulate the data. It's possible that 'uptime' is entirely the wrong term in vmst

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

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 16:21:31 2015 New Revision: 277571 URL: https://svnweb.freebsd.org/changeset/base/277571 Log: Use clock_gettime to measure the time that we spent asleep during "vmstat -i" instead of assuming it's what we asked for. Submitted by: asomers MFC after:1 wee

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

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 16:18:39 2015 New Revision: 277570 URL: https://svnweb.freebsd.org/changeset/base/277570 Log: Use CLOCK_UPTIME to get the uptime instead of CLOCK_MONOTONIC. Submitted by: asomers MFC after:1 week Sponsored by: Spectra Logic MFSpectraBSD: 1066740 on 20

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

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 16:15:55 2015 New Revision: 277569 URL: https://svnweb.freebsd.org/changeset/base/277569 Log: Make "vmstat -i" respect the -c and -i options together. Submitted by: asomers MFC after:1 week Sponsored by: Spectra Logic MFSpectraBSD: 1066735 on 2014/0

svn commit: r277567 - head/usr.sbin/config

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 16:03:02 2015 New Revision: 277567 URL: https://svnweb.freebsd.org/changeset/base/277567 Log: Allow lists for "nooption" and "nooptions" keywords. usr.sbin/config/config.y According to config(5), the "device", "devices", "nodevice", "nodevices",

svn commit: r277566 - head/usr.sbin/iostat

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 15:55:03 2015 New Revision: 277566 URL: https://svnweb.freebsd.org/changeset/base/277566 Log: Print transfer times for read, write, & overall independently. Round up calculated values for iops and average time per io to avoid a shifting display if there are 1

svn commit: r277564 - head/sys/netinet

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 14:30:24 2015 New Revision: 277564 URL: https://svnweb.freebsd.org/changeset/base/277564 Log: Log hardware interface up/down as "hardware" rather than just "hw". Suggested by: glebius MFC after:1 week MFC with: 277530 Modified: head/sys/netinet/i

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

2015-01-23 Thread Will Andrews
On Fri, Jan 23, 2015 at 02:03:53AM +0300, Gleb Smirnoff wrote: > Very nice, thanks! > > The only thing I'd suggest to change is "SIOCSVH". You and me, we understand > this enchantment word, but average user Joe doesn't. :) May be a text like > "user requested" or something else. I don't insist on

svn commit: r277563 - head/sys/netinet

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 14:28:12 2015 New Revision: 277563 URL: https://svnweb.freebsd.org/changeset/base/277563 Log: When a CARP state change is caused by an ifconfig request, log it accordingly. Suggested by: glebius MFC after:1 week MFC with: 277530 Modified: head/sy

svn commit: r277544 - head/sys/net

2015-01-22 Thread Will Andrews
Author: will Date: Fri Jan 23 00:06:35 2015 New Revision: 277544 URL: https://svnweb.freebsd.org/changeset/base/277544 Log: Improve the distribution of LAGG port traffic. I edited the original change to retain the use of arc4random() as a seed for the hashing as a very basic defense again

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

2015-01-22 Thread Will Andrews
On Thu, Jan 22, 2015 at 05:42:31PM +, Ian Lepore wrote: > Log: > Add the Maxmem global and set it to the highest physical page number plus 1. Thanks! -- wca pgpuN_Ku7yjWE.pgp Description: PGP signature

svn commit: r277530 - head/sys/netinet

2015-01-22 Thread Will Andrews
Author: will Date: Thu Jan 22 17:09:54 2015 New Revision: 277530 URL: https://svnweb.freebsd.org/changeset/base/277530 Log: Improve CARP logging so that all state transitions are logged. sys/netinet/ip_carp.c: Add a "reason" string parameter to carp_set_state() and carp_mast

Re: svn commit: r275832 - head/tools/tools/nanobsd

2015-01-21 Thread Will Andrews
On Thu, Jan 22, 2015 at 09:54:04AM +1100, Lawrence Stewart wrote: > Yes, looks good to me and fixes the issue I reported. Please commit. Done in r277518. Thanks for the quick test. -- wca pgp76MlrXeDmC.pgp Description: PGP signature

svn commit: r277518 - head/tools/tools/nanobsd

2015-01-21 Thread Will Andrews
Author: will Date: Thu Jan 22 00:52:34 2015 New Revision: 277518 URL: https://svnweb.freebsd.org/changeset/base/277518 Log: Enable nanobsd.sh to be executed when pwd != NANO_SRC. While here, fix a bug in which NANO_PMAKE would not be appended at the appropriate time. Simply move both

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:32:36 2015 New Revision: 277515 URL: https://svnweb.freebsd.org/changeset/base/277515 Log: Fix SCSI status byte reporting on 4Gb and 8Gb Qlogic boards. The newer boards don't have the response field that indicates whether the SCSI status byte is present.

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:27:11 2015 New Revision: 277514 URL: https://svnweb.freebsd.org/changeset/base/277514 Log: Force commit to record the correct log for r277513. If the user sends an XPT_RESET_DEV CCB, make sure to reset the Fibre Channel Command Reference Number if we're ru

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:22:53 2015 New Revision: 277513 URL: https://svnweb.freebsd.org/changeset/base/277513 Log: Change 1112791 by kenm@ken.spectrabsd8 on 2015/01/15 16:45:13 Fix SCSI status byte reporting on 4Gb and 8Gb Qlogic boards. The newer boards don't have the respons

svn commit: r277511 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:08:24 2015 New Revision: 277511 URL: https://svnweb.freebsd.org/changeset/base/277511 Log: Fix remote DMA based firewire debugging when targeting systems with more than 4GB of physical memory. To remotely debug the system 'stealthy' which has a kernel wi

svn commit: r277510 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:06:25 2015 New Revision: 277510 URL: https://svnweb.freebsd.org/changeset/base/277510 Log: Fix firewire panic when issuing a reply to an unhandled asynchronous remote dma request (DMA request that the hardware cannot automatically handle). sys/dev/firewi

svn commit: r277509 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:05:10 2015 New Revision: 277509 URL: https://svnweb.freebsd.org/changeset/base/277509 Log: Properly lock accesss to the firewire_comm->devices list. sys/dev/firewire/firewire.c: Add missing FW_GLOCK/UNLOCK() usage to fw_noderesolve_nodeid(). sys

svn commit: r277508 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:03:46 2015 New Revision: 277508 URL: https://svnweb.freebsd.org/changeset/base/277508 Log: Fix panic in firewire and creation of invalid config ROM. sys/boot/i386/libfirewire/firewire.c: sys/dev/firewire/firewire.c: Fix configuration ROM generation

svn commit: r277507 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:02:16 2015 New Revision: 277507 URL: https://svnweb.freebsd.org/changeset/base/277507 Log: Fix a FWXF_INQ race in the firewire driver. sys/dev/firewire/firewire.c: In fw_xfer_unload() expand lock coverage so that the test for FWXF_INQ doesn't

svn commit: r277506 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:59:09 2015 New Revision: 277506 URL: https://svnweb.freebsd.org/changeset/base/277506 Log: Fix one cause of firewire panics. sys/dev/firewire/firewire.c: In fw_xfer_unload(), clear the FWXF_INQ flag on the xfer under protection of the FW_GMTX

svn commit: r277505 - head/sys/dev/dcons

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:53:52 2015 New Revision: 277505 URL: https://svnweb.freebsd.org/changeset/base/277505 Log: Garbage collect dragonfly and legacy FreeBSD system support from dcons(4). Submitted by: gibbs MFC after:1 week Sponsored by: Spectra Logic MFSpectraBSD: 111

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:30:01 2015 New Revision: 277504 URL: https://svnweb.freebsd.org/changeset/base/277504 Log: Remove commented log messages. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c =

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:25:57 2015 New Revision: 277503 URL: https://svnweb.freebsd.org/changeset/base/277503 Log: Ignore sync requests from the system syncher, i.e. VFS_SYNC(waitfor=MNT_LAZY). ZFS already commits outstanding data every zfs_txg_timeout seconds, so these syncs are

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:20:36 2015 New Revision: 277501 URL: https://svnweb.freebsd.org/changeset/base/277501 Log: Eliminate an #ifdef illumos for zfs_ioc_rename(). Since allow_mounted is a FreeBSD-specific change, default to B_TRUE, then locally check for the magic bit. Uncondi

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 17:03:11 2015 New Revision: 277492 URL: https://svnweb.freebsd.org/changeset/base/277492 Log: Add vfs.zfs.reference_tracking_enable sysctl/tunable. This is primarily for developer/debugging use; it enables built-in tagged tracking of refcounts inside ZFS. It

Re: svn commit: r275832 - head/tools/tools/nanobsd

2015-01-21 Thread Will Andrews
On Wed, Jan 21, 2015 at 06:51:23PM +1100, Lawrence Stewart wrote: > I think this change introduced a bug - I'm seeing nanobsd error out with > the "NANO_TOOLS directory does not exist" message. > > The problem is that NANO_TOOLS is initialised to "tools/tools/nanobsd", > and you changed the test i

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

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:39:10 2015 New Revision: 277452 URL: https://svnweb.freebsd.org/changeset/base/277452 Log: Fix arc__shrink DTrace probe's to_free argument. Remove the unnecessary #ifdef _KERNEL, which did not differ in the true or false cases. Actually set the value of t

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

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:31:26 2015 New Revision: 277450 URL: https://svnweb.freebsd.org/changeset/base/277450 Log: Use the "zfs_gfs" tag for GFS vnodes to make them easier to identify. MFC after:1 week Sponsored by: Spectra Logic Modified: head/sys/cddl/contrib/opensolaris

svn commit: r277449 - head/sys/cddl/compat/opensolaris/sys

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:29:27 2015 New Revision: 277449 URL: https://svnweb.freebsd.org/changeset/base/277449 Log: NSEC_TO_TICK(usec) -> NSEC_TO_TICK(nsec) Modified: head/sys/cddl/compat/opensolaris/sys/time.h Modified: head/sys/cddl/compat/opensolaris/sys/time.h ===

svn commit: r277448 - head/sys/cddl/compat/opensolaris/sys

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:27:45 2015 New Revision: 277448 URL: https://svnweb.freebsd.org/changeset/base/277448 Log: Remove unused strdup() #define. Modified: head/sys/cddl/compat/opensolaris/sys/sunddi.h Modified: head/sys/cddl/compat/opensolaris/sys/sunddi.h

svn commit: r277440 - head/sys/cam

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 21:15:33 2015 New Revision: 277440 URL: https://svnweb.freebsd.org/changeset/base/277440 Log: Restore the CAM XPT peripheral generation counter, and export it via sysctl. Define it as an atomic uint32_t. These increments happen infrequently enough for the at

svn commit: r277273 - in head: bin/csh etc/mail gnu/usr.bin/grep kerberos5/lib/libasn1 kerberos5/lib/libgssapi_spnego kerberos5/lib/libhdb kerberos5/lib/libhx509 lib/libc lib/libexpat lib/libunboun...

2015-01-16 Thread Will Andrews
Author: will Date: Fri Jan 16 21:39:08 2015 New Revision: 277273 URL: https://svnweb.freebsd.org/changeset/base/277273 Log: Add a ${CP} alias for copying files in the build. Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they

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

2014-12-25 Thread Will Andrews
Why was the original condition there? It may not be documented in a commenf, but presumably there is a reason. Did you ask the original author of the code in question? --Will. On Tuesday, December 23, 2014, Steven Hartland wrote: > Author: smh > Date: Tue Dec 23 09:31:24 2014 > New Revision: 2

svn commit: r275845 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-16 Thread Will Andrews
Author: will Date: Wed Dec 17 00:22:41 2014 New Revision: 275845 URL: https://svnweb.freebsd.org/changeset/base/275845 Log: Initialize an argument to NULL instead of expecting dlinfo() to do it. dlinfo() is a weak reference that may not be initialized at the time of execution. The default

Re: svn commit: r275832 - head/tools/tools/nanobsd

2014-12-16 Thread Will Andrews
This change was committed with 'arc commit'. I had intended to note in the commit message that this change does not make any sort of API guarantee. It is just intended to enable reuse. --Will. On Tue, Dec 16, 2014 at 10:59 AM, Will Andrews wrote: > Author: will > Date: Tue

svn commit: r275832 - head/tools/tools/nanobsd

2014-12-16 Thread Will Andrews
Author: will Date: Tue Dec 16 17:59:05 2014 New Revision: 275832 URL: https://svnweb.freebsd.org/changeset/base/275832 Log: Make NanoBSD source-able from other scripts. Summary: This change converts NanoBSD into a two-script bundle. - defaults.sh contains all non-CLI code. Most NanoBSD

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
On Wed, Oct 1, 2014 at 3:21 PM, NGie Cooper wrote: > Sounds like a documentation issue though (it's not listed in the > handbook :(..: https://www.freebsd.org/doc/handbook/ports-using.html ) Well, I would argue this sort of thing should not need to be documented in the first place. --Will. _

svn commit: r272383 - head/share/mk

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 20:52:08 2014 New Revision: 272383 URL: https://svnweb.freebsd.org/changeset/base/272383 Log: Revise r272363 by collapsing the tests into a for loop. This has the side effect of ensuring that realpath is also run for the nominal case of PORTSDIR=/usr/ports (a

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
On Wed, Oct 1, 2014 at 2:13 PM, Jung-uk Kim wrote: > Actually, portmaster.diff is just enough to fix portmaster problem. > ports.diff is for consistency. So I guess portmaster is doing a string comparison to decide whether to install a port? That sounds like a bug in portmaster. I suggest chang

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
On Wed, Oct 1, 2014 at 2:03 PM, NGie Cooper wrote: > This change seems like it introduces a lot of unnecessary complexity > in lieu of someone setting PORTSDIR to the root of their ports tree in > the environment. Sure, but people that are trying to use it somewhere other than /usr/ports shouldn'

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
What kind of problem did this cause compared to the original version? Could you provide the details of what you saw? Thanks, --Will. On Wed, Oct 1, 2014 at 1:03 PM, Jung-uk Kim wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2014-10-01 11:06:04 -0400, Will Andrews

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

2014-10-01 Thread Will Andrews
allback that mallocs, while holding sync_mtx. --Will. On Wed, Oct 1, 2014 at 9:40 AM, Davide Italiano wrote: > On Wed, Oct 1, 2014 at 8:32 AM, Will Andrews wrote: >> Author: will >> Date: Wed Oct 1 15:32:28 2014 >> New Revision: 272366 >> URL: https://svnweb.freebsd.org

svn commit: r272371 - head/sys/sys

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 16:16:01 2014 New Revision: 272371 URL: https://svnweb.freebsd.org/changeset/base/272371 Log: Embellish a comment regarding the reliability of DEBUG_VFS_LOCKS. Submitted by: kib Modified: head/sys/sys/vnode.h Modified: head/sys/sys/vnode.h =

svn commit: r272367 - head/sys/modules/zfs

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 15:34:48 2014 New Revision: 272367 URL: https://svnweb.freebsd.org/changeset/base/272367 Log: Instead of requiring an edit to turn on ZFS debugging, define ZFS_DEBUG. MFC after:1 month Modified: head/sys/modules/zfs/Makefile Modified: head/sys/modules/z

svn commit: r272366 - head/sys/kern

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 15:32:28 2014 New Revision: 272366 URL: https://svnweb.freebsd.org/changeset/base/272366 Log: In the syncer, drop the sync mutex while patting the watchdog. Some watchdog drivers (like ipmi) need to sleep while patting the watchdog. See sys/dev/ipmi/ipmi.c:ip

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
If r272363 doesn't resolve the issue for you, let me know. Thanks! --Will. On Wed, Oct 1, 2014 at 8:51 AM, Guido Falsi wrote: > On 09/29/14 17:05, Will Andrews wrote: >> Author: will >> Date: Mon Sep 29 15:05:23 2014 >> New Revision: 272282 >> URL: http://s

svn commit: r272363 - head/share/mk

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 15:02:37 2014 New Revision: 272363 URL: https://svnweb.freebsd.org/changeset/base/272363 Log: Always resolve PORTSDIR to absolute paths using realpath(1). Reported by: madpilot Reviewed by: bapt X-MFC-With: 272282 Modified: head/share/mk/bsd.port.mk

svn commit: r272360 - head/sys/dev/acpica/Osd

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 14:35:52 2014 New Revision: 272360 URL: https://svnweb.freebsd.org/changeset/base/272360 Log: Add sysctl to track the resource consumption of ACPI interrupts. Submitted by: gibbs MFC after:1 month Sponsored by: Spectra Logic MFSpectraBSD: 636827 on 20

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

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 14:12:02 2014 New Revision: 272359 URL: https://svnweb.freebsd.org/changeset/base/272359 Log: zfsvfs_create(): Refuse to mount datasets whose names are too long. This is checked for in the zfs_snapshot_004_neg STF/ATF test (currently still in projects/zfsd ra

svn commit: r272282 - head/share/mk

2014-09-29 Thread Will Andrews
Author: will Date: Mon Sep 29 15:05:23 2014 New Revision: 272282 URL: http://svnweb.freebsd.org/changeset/base/272282 Log: Search for the nearest PORTSDIR where Mk/bsd.ports.mk exists, from .CURDIR. This will only take effect if PORTSDIR is not set, as previously supported. Use .if exists

Re: svn commit: r271771 - in head: bin/csh etc/mail lib/libc usr.bin/grep usr.sbin/mtree

2014-09-22 Thread Will Andrews
On Sat, Sep 20, 2014 at 1:38 AM, Bruce Evans wrote: > The log message is confused. Source files are not being overwritten. > They are being copied to object directories using cp. Then if they > are read-only in the source directory, they are read-only in the object > directory, even if they are

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

2014-09-19 Thread Will Andrews
I found that neither TUNABLE_INT nor CTLFLAG_RWTUN work with this particular implementation of the tunable, so there is a regression that needs to be fixed (i.e. vfs.zfs.debug_flags always comes up 0 no matter what's in loader.conf). I believe it's limited to this particular tunable, however, beca

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 18:46:38 2014 New Revision: 271798 URL: http://svnweb.freebsd.org/changeset/base/271798 Log: Remove debug.zfs_flags in favor of the new vfs.zfs.debug_flags. Replace TUNABLE_INT with CTLFLAG_RWTUN. Submitted by: avg (debug.zfs_flags removal), smh (TUNABLE_INT

svn commit: r271796 - head/tools/regression/pjdfstest

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:37:19 2014 New Revision: 271796 URL: http://svnweb.freebsd.org/changeset/base/271796 Log: Use 'cc' for the C compiler instead of 'gcc'. MFC after:1 week Sponsored by: Spectra Logic MFSpectraBSD: 1079507 on 2014/07/24 Modified: head/tools/regressio

svn commit: r271795 - head/sys/dev/firewire

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:28:21 2014 New Revision: 271795 URL: http://svnweb.freebsd.org/changeset/base/271795 Log: Start the process of cleaning up FreeBSD's firewire driver. sys/dev/firewire/firewire.c: sys/dev/firewire/firewire.h: sys/dev/firewire/firewirereg.h: sys/dev/fire

svn commit: r271793 - head/sys/dev/firewire

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:22:42 2014 New Revision: 271793 URL: http://svnweb.freebsd.org/changeset/base/271793 Log: Silence noisy firewire logging. MFC after:1 month Sponsored by: Spectra Logic MFSpectraBSD: 974594 on 2013/08/02 Modified: head/sys/dev/firewire/firewire.c

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

2014-09-18 Thread Will Andrews
Which one is more idiomatic? Sorry, I never noticed that one. Thanks, --Will. On Thu, Sep 18, 2014 at 11:03 AM, Andriy Gapon wrote: > On 18/09/2014 19:55, Will Andrews wrote: >> Author: will >> Date: Thu Sep 18 16:55:41 2014 >> New Revision: 271788 >> URL: http://s

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 16:55:41 2014 New Revision: 271788 URL: http://svnweb.freebsd.org/changeset/base/271788 Log: Enable ZFS debug flags to be modified via vfs.zfs.debug_flags. This is primarily only of interest to ZFS developers, but it makes it easier to get additional debuggin

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 16:38:03 2014 New Revision: 271785 URL: http://svnweb.freebsd.org/changeset/base/271785 Log: Reorder sysctls for spa.c global tunables; add sysctl for ccw_retry_interval. MFC after:1 month Sponsored by: Spectra Logic Modified: head/sys/cddl/contrib/ope

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 15:37:53 2014 New Revision: 271781 URL: http://svnweb.freebsd.org/changeset/base/271781 Log: bpobj_iterate_impl(): Close a refcount leak iterating on a sublist. If bpobj_space() returned non-zero here, the sublist would have been left open, along with the bon

svn commit: r271778 - head/lib/libunbound

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:54:20 2014 New Revision: 271778 URL: http://svnweb.freebsd.org/changeset/base/271778 Log: Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after:1 month Modified: head/lib/libunbo

svn commit: r271775 - head/kerberos5/lib/libasn1

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:50:21 2014 New Revision: 271775 URL: http://svnweb.freebsd.org/changeset/base/271775 Log: Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after:1 month Modified: head/kerberos5/l

svn commit: r271771 - in head: bin/csh etc/mail lib/libc usr.bin/grep usr.sbin/mtree

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:41:57 2014 New Revision: 271771 URL: http://svnweb.freebsd.org/changeset/base/271771 Log: Fix incremental builds involving non-root users with read-only source files. Makefiles should not assume that source files can be overwritten. This is the common cas

svn commit: r271764 - head/cddl/contrib/opensolaris/lib/libzfs/common

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:09:42 2014 New Revision: 271764 URL: http://svnweb.freebsd.org/changeset/base/271764 Log: zfs_setprop_error(): Handle errno value E2BIG. This errno value is emitted by dsl_props_set_check() in sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c, and

svn commit: r271763 - head/cddl/contrib/opensolaris/cmd/zpool

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:02:25 2014 New Revision: 271763 URL: http://svnweb.freebsd.org/changeset/base/271763 Log: Fix an assert to tolerate spare parents with more than 2 children. This can occur if a spare is being spared, which would yield three children: the original pool driv

  1   2   >