svn commit: r367195 - head

2020-10-30 Thread Colin Percival
Author: cperciva Date: Sat Oct 31 03:36:31 2020 New Revision: 367195 URL: https://svnweb.freebsd.org/changeset/base/367195 Log: Attempt to defuse a land mine before anyone else steps on it: The freebsd-boot partition is not always the first one. Following the instructions in UPDATING

svn commit: r366232 - releng/12.2/release/tools

2020-09-28 Thread Colin Percival
Author: cperciva Date: Mon Sep 28 17:32:18 2020 New Revision: 366232 URL: https://svnweb.freebsd.org/changeset/base/366232 Log: MFS r366028: Spawn the DHCPv6 client in EC2 instances via rtsold. Approved by: re (gjb) Sponsored by: https://www.patreon.com/cperciva Modified:

svn commit: r366214 - releng/12.2/usr.sbin/freebsd-update

2020-09-27 Thread Colin Percival
Author: cperciva Date: Mon Sep 28 00:54:50 2020 New Revision: 366214 URL: https://svnweb.freebsd.org/changeset/base/366214 Log: MFS r366178: Move finalize_components_config from get_params to cmd_*. This eliminates spurious emails from `freebsd-update cron` when the src component is

svn commit: r366213 - in releng/12.2/sys: cam cam/nvme dev/nvme

2020-09-27 Thread Colin Percival
Author: cperciva Date: Mon Sep 28 00:53:45 2020 New Revision: 366213 URL: https://svnweb.freebsd.org/changeset/base/366213 Log: MFS r366179: Make nvmecontrol work with nda like it does with nvd, and associated bits. Approved by: re (delphij) Sponsored by:

svn commit: r366212 - releng/12.2/release/tools

2020-09-27 Thread Colin Percival
Author: cperciva Date: Mon Sep 28 00:52:16 2020 New Revision: 366212 URL: https://svnweb.freebsd.org/changeset/base/366212 Log: MFS r366009: Include ebsnvme-id in arm64 AMIs. Approved by: re (delphij) Sponsored by: https://www.patreon.com/cperciva Modified:

svn commit: r366179 - in stable/12/sys: cam cam/nvme dev/nvme

2020-09-25 Thread Colin Percival
Author: cperciva Date: Sat Sep 26 00:58:27 2020 New Revision: 366179 URL: https://svnweb.freebsd.org/changeset/base/366179 Log: MFC r360483,360484: Make nvmecontrol work with nda like it does with nvd, and associated bits. This commit changes the size of 'struct

svn commit: r366178 - stable/12/usr.sbin/freebsd-update

2020-09-25 Thread Colin Percival
Author: cperciva Date: Sat Sep 26 00:40:56 2020 New Revision: 366178 URL: https://svnweb.freebsd.org/changeset/base/366178 Log: MFC r365898: Move finalize_components_config from get_params to cmd_*. This eliminates spurious emails from `freebsd-update cron` when the src component is

svn commit: r366028 - stable/12/release/tools

2020-09-22 Thread Colin Percival
Author: cperciva Date: Tue Sep 22 23:13:29 2020 New Revision: 366028 URL: https://svnweb.freebsd.org/changeset/base/366028 Log: MFC r365696: Spawn the DHCPv6 client in EC2 instances via rtsold. Modified: stable/12/release/tools/ec2.conf Directory Properties: stable/12/ (props changed)

svn commit: r366009 - stable/12/release/tools

2020-09-22 Thread Colin Percival
Author: cperciva Date: Tue Sep 22 18:18:57 2020 New Revision: 366009 URL: https://svnweb.freebsd.org/changeset/base/366009 Log: Revert r361645. The current quarterly ports branch contains ebsnvme-id, so packages are now available for all architectures. (Direct commit to stable/12 since

svn commit: r365898 - head/usr.sbin/freebsd-update

2020-09-18 Thread Colin Percival
Author: cperciva Date: Sat Sep 19 02:15:56 2020 New Revision: 365898 URL: https://svnweb.freebsd.org/changeset/base/365898 Log: Move finalize_components_config from get_params to cmd_*. This allows us to redirect its output in cmd_cron, so that the "src component not installed, skipped"

svn commit: r365696 - head/release/tools

2020-09-13 Thread Colin Percival
Author: cperciva Date: Sun Sep 13 19:56:53 2020 New Revision: 365696 URL: https://svnweb.freebsd.org/changeset/base/365696 Log: Spawn the DHCPv6 client in EC2 instances via rtsold. Prior to this commit, EC2 AMIs used a "dual-dhclient" tool which was launched in place of dhclient and

svn commit: r365695 - head/release/tools

2020-09-13 Thread Colin Percival
Author: cperciva Date: Sun Sep 13 19:11:45 2020 New Revision: 365695 URL: https://svnweb.freebsd.org/changeset/base/365695 Log: Bump the size of EC2 AMIs up to 5 GB. The FreeBSD base system continues to expand. 4GB is now insufficient; we passed 3 GB in May 2019; we passed 2 GB in

svn commit: r364832 - head/usr.bin/lockf

2020-08-26 Thread Colin Percival
Author: cperciva Date: Wed Aug 26 19:28:30 2020 New Revision: 364832 URL: https://svnweb.freebsd.org/changeset/base/364832 Log: Remove whitespace which accidentaly snuck into r364831. Modified: head/usr.bin/lockf/lockf.1 Modified: head/usr.bin/lockf/lockf.1

svn commit: r364831 - head/usr.bin/lockf

2020-08-26 Thread Colin Percival
Author: cperciva Date: Wed Aug 26 19:26:48 2020 New Revision: 364831 URL: https://svnweb.freebsd.org/changeset/base/364831 Log: Add -w option to lockf(1). By default, lockf(1) opens its lock file O_RDONLY|O_EXLOCK. On NFS, if the file already exists, this is split into opening the file

svn commit: r363786 - stable/12/release/tools

2020-08-02 Thread Colin Percival
Author: cperciva Date: Mon Aug 3 01:00:20 2020 New Revision: 363786 URL: https://svnweb.freebsd.org/changeset/base/363786 Log: MFC r362791: Make EC2 AMIs use portsnap and freebsd-update mirrors hosted in AWS Modified: stable/12/release/tools/ec2.conf Directory Properties: stable/12/

Please include benchmarks in commit messages (was Re: svn commit: r363450 - in head: share/man/man3 sys/sys)

2020-07-23 Thread Colin Percival
ed". Again, this is a general request -- this is just the latest in a long series of commits I've seen by many people which have sounded like they could have performance impacts but have not included any quantitative results. -- Colin Percival Security Officer Emeritus, FreeBSD |

svn commit: r362791 - head/release/tools

2020-06-30 Thread Colin Percival
Author: cperciva Date: Tue Jun 30 06:14:34 2020 New Revision: 362791 URL: https://svnweb.freebsd.org/changeset/base/362791 Log: Make EC2 AMIs use portsnap and freebsd-update mirrors hosted in AWS This adjusts freebsd-update.conf and portsnap.conf files in EC2 AMIs to point at the new

svn commit: r362557 - head/sbin/dump

2020-06-23 Thread Colin Percival
Author: cperciva Date: Tue Jun 23 21:11:40 2020 New Revision: 362557 URL: https://svnweb.freebsd.org/changeset/base/362557 Log: Clean up some function and variable names. The change from "slave" processes to "minion" processes to "worker" processes left some less-than-coherent names:

Re: svn commit: r362444 - head/sbin/dump

2020-06-20 Thread Colin Percival
... never mind, it looks like Conrad got here first with r362447. On 2020-06-20 13:12, Colin Percival wrote: > Thanks for backing this out, Warner. > > I'd like to change "slave" to "worker" here (which I think is a reasonably > neutral and entirely inoffensive t

Re: svn commit: r362444 - head/sbin/dump

2020-06-20 Thread Colin Percival
oid causing any further issues: If anyone objects to the word "worker" please let me know in the next ~48 hours. I think there's enough people reading svn-src-all that I can anticipate feedback now if anyone will care deeply about that word. Colin Percival On 2020-06-20 13:06, Warner Losh

svn commit: r361653 - releng/11.4/release/tools

2020-05-30 Thread Colin Percival
Author: cperciva Date: Sat May 30 18:01:53 2020 New Revision: 361653 URL: https://svnweb.freebsd.org/changeset/base/361653 Log: Insta-merge r361652 from stable/11: Expand EC2 AMI UFS partition to 2.9 GB. Approved by: re (gjb) Sponsored by: https://www.patreon.com/cperciva Modified:

svn commit: r361652 - stable/11/release/tools

2020-05-30 Thread Colin Percival
Author: cperciva Date: Sat May 30 17:43:10 2020 New Revision: 361652 URL: https://svnweb.freebsd.org/changeset/base/361652 Log: Bump the UFS partition in the EC2 AMI up to 2.9 GB; this doesn't affect the final image size (which still rounds up to 3 GB) but gives us enough space to ensure

svn commit: r361645 - stable/12/release/tools

2020-05-29 Thread Colin Percival
Author: cperciva Date: Sat May 30 02:56:13 2020 New Revision: 361645 URL: https://svnweb.freebsd.org/changeset/base/361645 Log: Direct commit to stable/12: Only install ebsnvme-id on amd64 for now. This port is in the "latest" ports tree but not in "quarterly", so we have a package for

svn commit: r361644 - stable/12/release/tools

2020-05-29 Thread Colin Percival
Author: cperciva Date: Sat May 30 02:52:24 2020 New Revision: 361644 URL: https://svnweb.freebsd.org/changeset/base/361644 Log: MFC r361350: Add ebsnvme-id to EC2 AMIs and enable /dev/aws/disk Sponsored by: https://www.patreon.com/cperciva Modified: stable/12/release/tools/ec2.conf

svn commit: r361643 - stable/12/release/tools

2020-05-29 Thread Colin Percival
Author: cperciva Date: Sat May 30 02:50:26 2020 New Revision: 361643 URL: https://svnweb.freebsd.org/changeset/base/361643 Log: MFC r361143: Add /etc/autofs/special_efs to EC2 AMIs Sponsored by: https://www.patreon.com/cperciva Modified: stable/12/release/tools/ec2.conf Directory

svn commit: r361235 - stable/12/libexec/rc/rc.d

2020-05-18 Thread Colin Percival
Author: cperciva Date: Tue May 19 01:40:45 2020 New Revision: 361235 URL: https://svnweb.freebsd.org/changeset/base/361235 Log: MFC r361114: Move the devmatch rc.d script before netif in the boot process. Prior to this change, using lagg to aggregate wired and wireless networks

svn commit: r361234 - stable/12/sys/dev/acpica

2020-05-18 Thread Colin Percival
Author: cperciva Date: Tue May 19 01:39:37 2020 New Revision: 361234 URL: https://svnweb.freebsd.org/changeset/base/361234 Log: MFC r361097: Send Lid status notification via devd from acpi_lid_status_update. Some laptops don't send ACPI "lid status changed" notifications upon

svn commit: r361150 - head/release/tools

2020-05-17 Thread Colin Percival
Author: cperciva Date: Mon May 18 02:14:25 2020 New Revision: 361150 URL: https://svnweb.freebsd.org/changeset/base/361150 Log: Add ebsnvme-id to EC2 AMIs and enable /dev/aws/disk The ebsnvme-id utility exposes information about EC2 disks -- for Elastic Block Store volumes, their volume

Re: svn commit: r361143 - head/release/tools

2020-05-17 Thread Colin Percival
On 2020-05-17 16:48, Oliver Pinter wrote: > On Sunday, May 17, 2020, Colin Percival <mailto:cperc...@freebsd.org>> wrote: > +REGION=`fetch -qo- > http://169.254.169.254/latest/meta-data/placement/availability-zone > <http://169.254.169.254/latest/meta-data/pla

svn commit: r361143 - head/release/tools

2020-05-17 Thread Colin Percival
Author: cperciva Date: Sun May 17 21:54:59 2020 New Revision: 361143 URL: https://svnweb.freebsd.org/changeset/base/361143 Log: Add /etc/autofs/special_efs to EC2 AMIs Since Amazon Elastic File System is only available within AWS, it seems more appropriate to have this added only in EC2

Re: svn commit: r361114 - head/libexec/rc/rc.d

2020-05-16 Thread Colin Percival
On 2020-05-16 11:37, Colin Percival wrote: > Author: cperciva > Date: Sat May 16 18:37:48 2020 > New Revision: 361114 > URL: https://svnweb.freebsd.org/changeset/base/361114 > > Log: > Move the devmatch rc.d script before netif in the boot process. > > Prior

svn commit: r361114 - head/libexec/rc/rc.d

2020-05-16 Thread Colin Percival
Author: cperciva Date: Sat May 16 18:37:48 2020 New Revision: 361114 URL: https://svnweb.freebsd.org/changeset/base/361114 Log: Move the devmatch rc.d script before netif in the boot process. Prior to this change, using lagg to aggregate wired and wireless networks was broken in the

svn commit: r361097 - head/sys/dev/acpica

2020-05-15 Thread Colin Percival
Author: cperciva Date: Sat May 16 01:50:28 2020 New Revision: 361097 URL: https://svnweb.freebsd.org/changeset/base/361097 Log: Send Lid status notification via devd from acpi_lid_status_update. Some laptops don't send ACPI "lid status changed" notifications upon opening the lid if the

Re: svn commit: r360508 - head/sys/cam/nvme

2020-05-02 Thread Colin Percival
d82434e0 __mtx_assert() at __mtx_assert+0xb0/frame 0xfe00d82434f0 xpt_release_ccb() at xpt_release_ccb+0x30/frame 0xfe00d8243520 ndaioctl() at ndaioctl+0x241/frame 0xfe00d8243730 -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap

svn commit: r360396 - head/release/tools

2020-04-27 Thread Colin Percival
Author: cperciva Date: Mon Apr 27 21:44:02 2020 New Revision: 360396 URL: https://svnweb.freebsd.org/changeset/base/360396 Log: Set use_nvd=0 in EC2 AMIs. FreeBSD is in the process of switching from nvd(4) to nda(4) as the disk device front-end to NVMe. Changing the default in the kernel

svn commit: r360089 - stable/12/sys/dev/acpica

2020-04-18 Thread Colin Percival
Author: cperciva Date: Sun Apr 19 02:49:05 2020 New Revision: 360089 URL: https://svnweb.freebsd.org/changeset/base/360089 Log: MFC r360025: Alert devd when acpi_video brightness changes Modified: stable/12/sys/dev/acpica/acpi_video.c Directory Properties: stable/12/ (props changed)

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-17 Thread Colin Percival
On 2020-04-16 23:26, Alexey Dokuchaev wrote: > On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: >> On 2020-04-16 15:05, Oliver Pinter wrote: >>> On Thursday, April 16, 2020, Colin Percival >> <mailto:cperc...@freebsd.org>> wrote: >>>

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-16 Thread Colin Percival
On 2020-04-16 15:05, Oliver Pinter wrote: > On Thursday, April 16, 2020, Colin Percival <mailto:cperc...@freebsd.org>> wrote: > Log: >   Alert devd when acpi_video brightness changes > > Please add this to release notes! I considered that, but so far I don't have

svn commit: r360025 - head/sys/dev/acpica

2020-04-16 Thread Colin Percival
Author: cperciva Date: Thu Apr 16 21:56:52 2020 New Revision: 360025 URL: https://svnweb.freebsd.org/changeset/base/360025 Log: Alert devd when acpi_video brightness changes On my Dell Latitude 7390 laptop, the brightness hotkeys (Fn+) send ACPI notifications which acpi_video handles

Re: svn commit: r355570 - head/sys/dev/sound/pci/hda

2020-03-18 Thread Colin Percival
Latitude 7390 too -- nid20 is the internal speakers while nid33 is the headphone jack. Can you make the change or walk me through what needs to be done? (I'm not sure how the _SUBVENDOR bit works.) -- Colin Percival Security Officer Emeritus, FreeBSD | The pow

svn commit: r358990 - stable/12/usr.sbin/powerd

2020-03-14 Thread Colin Percival
Author: cperciva Date: Sat Mar 14 06:57:50 2020 New Revision: 358990 URL: https://svnweb.freebsd.org/changeset/base/358990 Log: MFC r358478: Add -N option to powerd(8) to ignore "nice" time. Modified: stable/12/usr.sbin/powerd/powerd.8 stable/12/usr.sbin/powerd/powerd.c Directory

svn commit: r358478 - head/usr.sbin/powerd

2020-02-29 Thread Colin Percival
Author: cperciva Date: Sat Feb 29 22:31:23 2020 New Revision: 358478 URL: https://svnweb.freebsd.org/changeset/base/358478 Log: Add -N option to powerd(8) to ignore "nice" time. With powerd_flags="-N", this makes powerd(8) exclude "nice" time when computing the CPU utilization. This

svn commit: r358303 - stable/12/release/tools

2020-02-24 Thread Colin Percival
Author: cperciva Date: Tue Feb 25 00:37:13 2020 New Revision: 358303 URL: https://svnweb.freebsd.org/changeset/base/358303 Log: MFC r357750: Mount /dev while deinstalling pkg inside EC2 AMIs. Modified: stable/12/release/tools/ec2.conf Directory Properties: stable/12/ (props changed)

svn commit: r358302 - stable/12/release/tools

2020-02-24 Thread Colin Percival
Author: cperciva Date: Tue Feb 25 00:36:16 2020 New Revision: 358302 URL: https://svnweb.freebsd.org/changeset/base/358302 Log: MFC r357749: Remove /qemu from EC2 ARM AMIs. Modified: stable/12/release/tools/ec2.conf Directory Properties: stable/12/ (props changed) Modified:

svn commit: r357901 - stable/12/release/tools

2020-02-13 Thread Colin Percival
Author: cperciva Date: Fri Feb 14 02:31:20 2020 New Revision: 357901 URL: https://svnweb.freebsd.org/changeset/base/357901 Log: MFC r353022: Switch EC2 AMIs from using the dual-dhclient script to using the new dual-dhclient-daemon daemon. This makes it possible to stop/restart the

svn commit: r357750 - head/release/tools

2020-02-10 Thread Colin Percival
Author: cperciva Date: Tue Feb 11 04:05:45 2020 New Revision: 357750 URL: https://svnweb.freebsd.org/changeset/base/357750 Log: Mount /dev while deinstalling pkg inside EC2 AMIs. This gets rid of (harmless) warnings: "pkg: Cannot open /dev/null:No such file or directory". MFC after:

svn commit: r357749 - head/release/tools

2020-02-10 Thread Colin Percival
Author: cperciva Date: Tue Feb 11 04:03:22 2020 New Revision: 357749 URL: https://svnweb.freebsd.org/changeset/base/357749 Log: Remove /qemu from EC2 ARM AMIs I forgot to do this as part of r345858 -- I added it to the vm_extra_pre_umount in vmimage.subr but forgot that function was

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-16 Thread Colin Percival
e. Nobody will trip over new features by mistake, but there's probably someone out there who is used to holding down the Enter key in the installer and expects to get UFS. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.ta

Re: svn commit: r356207 - in head/sys/arm64: arm64 include

2019-12-30 Thread Colin Percival
ess flag and dirty state, and enable this feature when it's > available. Am I right in thinking that this should result in improved performance under load? (I'm wondering if it's time to redo my amd64 vs arm64 EC2 benchmarks.) -- Colin Percival Security Officer Emeritus, FreeBSD | The powe

Re: svn commit: r354482 - head/sys/x86/x86

2019-11-07 Thread Colin Percival
On 2019-11-07 13:34, Andriy Gapon wrote: > On 07/11/2019 23:19, Colin Percival wrote: >> On 2019-11-07 13:14, Andriy Gapon wrote: >>> x86 stack_save_td_running() can work safely only if IPI_TRACE is a >>> non-maskable interrupt. But at the moment FreeBSD/Xen doe

Re: svn commit: r354482 - head/sys/x86/x86

2019-11-07 Thread Colin Percival
rly to other platforms without NMI. > [...] > +#ifdef XENHVM I'm not sure this does what you intended. XENHVM simply adds *support* for running under Xen/HVM, and it's part of the GENERIC kernel. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.ta

svn commit: r353022 - head/release/tools

2019-10-02 Thread Colin Percival
Author: cperciva Date: Wed Oct 2 21:35:39 2019 New Revision: 353022 URL: https://svnweb.freebsd.org/changeset/base/353022 Log: Switch EC2 AMIs from using the dual-dhclient script to using the new dual-dhclient-daemon daemon. This makes it possible to stop/restart the dhclients. MFC

svn commit: r346628 - head/usr.sbin/pkg

2019-09-03 Thread Colin Percival
Author: cperciva Date: Wed Apr 24 06:25:21 2019 New Revision: 346628 URL: https://svnweb.freebsd.org/changeset/base/346628 Log: Keep two versions of the FreeBSD.conf pkg configuration file; one which points at the "latest" branch and one which points at the "quarterly" branch. Install the

Re: svn commit: r340905 - in stable/12: release/pkg_repos usr.sbin/pkg

2019-09-03 Thread Colin Percival
On 4/19/19 6:05 AM, Glen Barber wrote: > On Thu, Apr 18, 2019 at 10:02:53PM +0000, Colin Percival wrote: >> On 11/24/18 9:47 AM, Glen Barber wrote: >>> Log: >>> Revert r340161 in stable/12, setting the default pkg(8) repository back >>> to 'latest' from '

Re: svn commit: r340905 - in stable/12: release/pkg_repos usr.sbin/pkg

2019-09-03 Thread Colin Percival
here is to have different package configurations installed depending on the architecture; I knew how to do this with the old style of src/etc but I'm not sure how to do it now that pkgbase has spread configuration files all over the tree. -- Colin Percival Security Officer Emeritus, FreeBSD | T

svn commit: r346309 - in stable/11/release: . tools

2019-09-03 Thread Colin Percival
Author: cperciva Date: Wed Apr 17 12:34:37 2019 New Revision: 346309 URL: https://svnweb.freebsd.org/changeset/base/346309 Log: MFC r345316, r345317, r345858: r345316: Register ARM64 EC2 AMIs as being for the ARM64 architecture. r345317: Don't install amazon-ssm-agent package into

svn commit: r346308 - in stable/12/release: . tools

2019-09-03 Thread Colin Percival
Author: cperciva Date: Wed Apr 17 07:47:03 2019 New Revision: 346308 URL: https://svnweb.freebsd.org/changeset/base/346308 Log: MFC r345316, r345317, r345858: r345316: Register ARM64 EC2 AMIs as being for the ARM64 architecture. r345317: Don't install amazon-ssm-agent package into

svn commit: r346340 - stable/11/release/tools

2019-09-03 Thread Colin Percival
Author: cperciva Date: Thu Apr 18 00:38:54 2019 New Revision: 346340 URL: https://svnweb.freebsd.org/changeset/base/346340 Log: Fix cross-building VMs with a non-/usr/src source directory. The path /usr/src was hard-coded here, resulting in mkimg not being able to find the bootfiles.

svn commit: r345858 - in head/release: . tools

2019-09-03 Thread Colin Percival
Author: cperciva Date: Wed Apr 3 21:54:47 2019 New Revision: 345858 URL: https://svnweb.freebsd.org/changeset/base/345858 Log: Add support for cross-building cloudware images. If MACHINE_ARCH doesn't match TARGET_ARCH, and we're not in the special case of building i386 images on an

svn commit: r349079 - stable/12/sys/dev/pci

2019-06-15 Thread Colin Percival
Author: cperciva Date: Sat Jun 15 20:25:36 2019 New Revision: 349079 URL: https://svnweb.freebsd.org/changeset/base/349079 Log: MFC r348681: Only respond to the PCIe Attention Button if a device is already plugged in. This unbreaks attaching disks to EC2 "bare metal" instances.

svn commit: r349078 - stable/12/release/tools

2019-06-15 Thread Colin Percival
Author: cperciva Date: Sat Jun 15 20:24:19 2019 New Revision: 349078 URL: https://svnweb.freebsd.org/changeset/base/349078 Log: MFC r347370: Bump EC2 AMI filesystem size up to 4000 MB. The latest stable/12 snapshot broke because it ran out of disk space. Modified:

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

2019-06-04 Thread Colin Percival
Author: cperciva Date: Wed Jun 5 04:58:42 2019 New Revision: 348681 URL: https://svnweb.freebsd.org/changeset/base/348681 Log: Only respond to the PCIe Attention Button if a device is already plugged in. Prior to this commit, if PCIEM_SLOT_STA_ABP and PCIEM_SLOT_STA_PDC are asserted

svn commit: r348342 - in stable/12/sys: conf dev/uart

2019-05-28 Thread Colin Percival
Author: cperciva Date: Tue May 28 22:22:40 2019 New Revision: 348342 URL: https://svnweb.freebsd.org/changeset/base/348342 Log: MFC r345405,345406,346228,346657,348195,348198: UART SPCR fixes. r345405: Obey SPCR AccessWidth parameter. r345406: Initialize uart_bus_space_mem on arm64.

svn commit: r348195 - in head/sys: conf dev/uart

2019-05-23 Thread Colin Percival
file is newly added) +++ head/sys/dev/uart/uart_cpu_acpi.c Thu May 23 19:55:53 2019 (r348195) @@ -0,0 +1,167 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2016 The FreeBSD Foundation + * Copyright (c) 2019 Colin Percival + * All rights reserved. + * + * Re

svn commit: r347370 - head/release/tools

2019-05-08 Thread Colin Percival
Author: cperciva Date: Wed May 8 21:03:03 2019 New Revision: 347370 URL: https://svnweb.freebsd.org/changeset/base/347370 Log: Bump EC2 AMI filesystem size up to 4000 MB. AMIs have been breaking for the past month due to insufficient disk space. Due to the small amount of overhead in

svn commit: r346793 - in stable/12/sys: arm64/conf modules

2019-04-27 Thread Colin Percival
Author: cperciva Date: Sat Apr 27 19:48:15 2019 New Revision: 346793 URL: https://svnweb.freebsd.org/changeset/base/346793 Log: MFC r345407,r345408: Add nvme to arm64 GENERIC, and build if_ena on arm64. These allow stable/12 to boot on Amazon EC2 "A1" family (arm64) instances.

svn commit: r346792 - stable/12/usr.sbin/pkg

2019-04-27 Thread Colin Percival
Author: cperciva Date: Sat Apr 27 19:45:33 2019 New Revision: 346792 URL: https://svnweb.freebsd.org/changeset/base/346792 Log: On non-x86 systems, use "quarterly" packages. x86 architectures have "latest" package builds on stable/*, so keep using those (they'll get switched over to

svn commit: r346780 - stable/12/usr.sbin/pkg

2019-04-26 Thread Colin Percival
Author: cperciva Date: Sat Apr 27 04:00:50 2019 New Revision: 346780 URL: https://svnweb.freebsd.org/changeset/base/346780 Log: MFC r346628: Split the pkg configuration file FreeBSD.conf into versions for {latest, quarterly} and use Makefile logic to decide which one to install (right now,

svn commit: r346628 - head/usr.sbin/pkg

2019-04-24 Thread Colin Percival
Author: cperciva Date: Wed Apr 24 06:25:21 2019 New Revision: 346628 URL: https://svnweb.freebsd.org/changeset/base/346628 Log: Keep two versions of the FreeBSD.conf pkg configuration file; one which points at the "latest" branch and one which points at the "quarterly" branch. Install the

Re: svn commit: r340905 - in stable/12: release/pkg_repos usr.sbin/pkg

2019-04-20 Thread Colin Percival
On 4/19/19 6:05 AM, Glen Barber wrote: > On Thu, Apr 18, 2019 at 10:02:53PM +0000, Colin Percival wrote: >> On 11/24/18 9:47 AM, Glen Barber wrote: >>> Log: >>> Revert r340161 in stable/12, setting the default pkg(8) repository back >>> to 'latest' from '

Re: svn commit: r340905 - in stable/12: release/pkg_repos usr.sbin/pkg

2019-04-18 Thread Colin Percival
here is to have different package configurations installed depending on the architecture; I knew how to do this with the old style of src/etc but I'm not sure how to do it now that pkgbase has spread configuration files all over the tree. -- Colin Percival Security Officer Emeritus, FreeBSD | T

svn commit: r346340 - stable/11/release/tools

2019-04-17 Thread Colin Percival
Author: cperciva Date: Thu Apr 18 00:38:54 2019 New Revision: 346340 URL: https://svnweb.freebsd.org/changeset/base/346340 Log: Fix cross-building VMs with a non-/usr/src source directory. The path /usr/src was hard-coded here, resulting in mkimg not being able to find the bootfiles.

svn commit: r346309 - in stable/11/release: . tools

2019-04-17 Thread Colin Percival
Author: cperciva Date: Wed Apr 17 12:34:37 2019 New Revision: 346309 URL: https://svnweb.freebsd.org/changeset/base/346309 Log: MFC r345316, r345317, r345858: r345316: Register ARM64 EC2 AMIs as being for the ARM64 architecture. r345317: Don't install amazon-ssm-agent package into

svn commit: r346308 - in stable/12/release: . tools

2019-04-17 Thread Colin Percival
Author: cperciva Date: Wed Apr 17 07:47:03 2019 New Revision: 346308 URL: https://svnweb.freebsd.org/changeset/base/346308 Log: MFC r345316, r345317, r345858: r345316: Register ARM64 EC2 AMIs as being for the ARM64 architecture. r345317: Don't install amazon-ssm-agent package into

svn commit: r345858 - in head/release: . tools

2019-04-03 Thread Colin Percival
Author: cperciva Date: Wed Apr 3 21:54:47 2019 New Revision: 345858 URL: https://svnweb.freebsd.org/changeset/base/345858 Log: Add support for cross-building cloudware images. If MACHINE_ARCH doesn't match TARGET_ARCH, and we're not in the special case of building i386 images on an

svn commit: r345408 - head/sys/arm64/conf

2019-03-22 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:36:40 2019 New Revision: 345408 URL: https://svnweb.freebsd.org/changeset/base/345408 Log: Add nvme support to the arm64 GENERIC kernel. Submitted by: Greg V Differential Revision:https://reviews.freebsd.org/D19657 Modified:

svn commit: r345407 - head/sys/modules

2019-03-22 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:33:26 2019 New Revision: 345407 URL: https://svnweb.freebsd.org/changeset/base/345407 Log: Build if_ena.ko on arm64. This module provides support for the Amazon Elastic Network Adapter; it was previously only built on x86 architectures, but Amazon EC2

svn commit: r345406 - head/sys/dev/uart

2019-03-22 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:28:37 2019 New Revision: 345406 URL: https://svnweb.freebsd.org/changeset/base/345406 Log: Initialize uart_bus_space_mem. This value was being used uninitialized, resulting in predictable issues on systems with memory-mapped UART registers. A

svn commit: r345405 - head/sys/dev/uart

2019-03-22 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:21:03 2019 New Revision: 345405 URL: https://svnweb.freebsd.org/changeset/base/345405 Log: Obey SPCR AccessWidth parameter. The "access width" value was hard-coded as 2, indicating 32-bit accesses; instead, use the value specified in the SPCR table.

svn commit: r345369 - head/sys/dev/uart

2019-03-21 Thread Colin Percival
Author: cperciva Date: Thu Mar 21 08:54:34 2019 New Revision: 345369 URL: https://svnweb.freebsd.org/changeset/base/345369 Log: Recognize the Amazon PCI serial device found in a1.* EC2 instances as an NS8250 UART. This is the same as the UART found in EC2 "bare metal" instances, except

svn commit: r345317 - head/release/tools

2019-03-20 Thread Colin Percival
Author: cperciva Date: Wed Mar 20 07:24:21 2019 New Revision: 345317 URL: https://svnweb.freebsd.org/changeset/base/345317 Log: Only install amazon-ssm-agent into amd64 AMIs. This package does not exist on aarch64 at present. Modified: head/release/tools/ec2.conf Modified:

svn commit: r345316 - head/release

2019-03-20 Thread Colin Percival
Author: cperciva Date: Wed Mar 20 07:19:09 2019 New Revision: 345316 URL: https://svnweb.freebsd.org/changeset/base/345316 Log: Pass --arm64 to bsdec2-image-upload when building ARM64 AMIs. Future commits will allow the resulting EC2 AMIs to actually boot and be usable. Modified:

Re: svn commit: r332100 - in head: . lib/libc/gen sys/sys

2019-03-14 Thread Colin Percival
R flag; this is visible if you run # echo foo | logger -s which used to print "root: foo" but now prints "root 40038 - - foo". Was this intentional? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for

Re: svn commit: r344557 - stable/12/release/tools

2019-02-25 Thread Colin Percival
NTP server into ntp.conf once rather >> than twice. > > Does this issue also exist in stable/11, as iirc 11.3 would be > the next release that is coming on the schedule. Fixed. I forgot that we were expecting an 11.3. -- Colin Percival Security Officer Emeritus, FreeBSD | The pow

svn commit: r344563 - stable/11/release/tools

2019-02-25 Thread Colin Percival
Author: cperciva Date: Tue Feb 26 05:37:49 2019 New Revision: 344563 URL: https://svnweb.freebsd.org/changeset/base/344563 Log: MFC r344315: Fix sed script to insert Amazon NTP server into ntp.conf once rather than twice. Reminded by: rgrimes Modified:

svn commit: r344557 - stable/12/release/tools

2019-02-25 Thread Colin Percival
Author: cperciva Date: Tue Feb 26 01:29:40 2019 New Revision: 344557 URL: https://svnweb.freebsd.org/changeset/base/344557 Log: MFC r344315: Fix sed script to insert Amazon NTP server into ntp.conf once rather than twice. Modified: stable/12/release/tools/ec2.conf Directory

svn commit: r344315 - head/release/tools

2019-02-19 Thread Colin Percival
Author: cperciva Date: Tue Feb 19 23:24:39 2019 New Revision: 344315 URL: https://svnweb.freebsd.org/changeset/base/344315 Log: Fix sed script to insert Amazon NTP server into ntp.conf once rather than twice. Reported by: Rafal Lukawiecki MFC after:1 week Modified:

svn commit: r344210 - stable/12/libexec/rc/rc.d

2019-02-16 Thread Colin Percival
Author: cperciva Date: Sat Feb 16 09:50:17 2019 New Revision: 344210 URL: https://svnweb.freebsd.org/changeset/base/344210 Log: MFC r343918: Teach /etc/rc.d/growfs how to handle systems running ZFS. Modified: stable/12/libexec/rc/rc.d/growfs Directory Properties: stable/12/ (props

svn commit: r343918 - head/libexec/rc/rc.d

2019-02-08 Thread Colin Percival
Author: cperciva Date: Fri Feb 8 19:19:31 2019 New Revision: 343918 URL: https://svnweb.freebsd.org/changeset/base/343918 Log: Teach /etc/rc.d/growfs how to handle systems running ZFS. There are many cases which this code does not handle (e.g. ZFS mirrors) but the code can handle the

Re: svn commit: r343480 - head/lib/libfigpar

2019-01-26 Thread Colin Percival
t;> if (rlen > flen) { >> -temp = malloc(slen + 1); >> -if (errno != 0) /* could not allocate memory */ >> +temp = strdup(source); >> +if (temp == NULL) /* could not allocate memory */ >> return (-1); &g

svn commit: r343070 - stable/12/release/tools

2019-01-15 Thread Colin Percival
Author: cperciva Date: Wed Jan 16 01:32:42 2019 New Revision: 343070 URL: https://svnweb.freebsd.org/changeset/base/343070 Log: MFC r342875: Turn off ec2_ephemeralswap for now PR: 234686 Modified: stable/12/release/tools/ec2.conf Directory Properties: stable/12/ (props

svn commit: r342875 - head/release/tools

2019-01-08 Thread Colin Percival
Author: cperciva Date: Wed Jan 9 03:55:25 2019 New Revision: 342875 URL: https://svnweb.freebsd.org/changeset/base/342875 Log: Turn off ec2_ephemeralswap for now This script broke around FreeBSD 11.0 as a result of SWAPMETA no longer being reported by vmstat -z; but it also needs to be

svn commit: r338921 - head/sys/dev/uart

2018-09-24 Thread Colin Percival
Author: cperciva Date: Mon Sep 24 22:15:04 2018 New Revision: 338921 URL: https://svnweb.freebsd.org/changeset/base/338921 Log: Recognize the Amazon PCI serial device found in i3.metal EC2 instances as an NS8250 UART. Reviewed by: sbruno, imp Approved by: re (delphij) Sponsored by:

Re: svn commit: r335668 - head/sys/x86/xen

2018-08-26 Thread Colin Percival
, this definitely needs to be fixed. Colin Percival On 6/26/18 8:00 AM, Roger Pau Monné wrote: > Author: royger > Date: Tue Jun 26 15:00:54 2018 > New Revision: 335668 > URL: https://svnweb.freebsd.org/changeset/base/335668 > > Log: > xen: obtain vCPU ID from CPUID >

svn commit: r338323 - stable/10/release

2018-08-25 Thread Colin Percival
Author: cperciva Date: Sun Aug 26 05:28:17 2018 New Revision: 338323 URL: https://svnweb.freebsd.org/changeset/base/338323 Log: MFC r336420,336433,336593,336621,336622,336624,337394,337401,338141 Teach the EC2 AMI upload code to: * Mark EBS snapshots as public, * Announce new AMIs to

svn commit: r338322 - stable/11/release

2018-08-25 Thread Colin Percival
Author: cperciva Date: Sun Aug 26 04:32:52 2018 New Revision: 338322 URL: https://svnweb.freebsd.org/changeset/base/338322 Log: MFC r336420,336433,336593,336621,336622,336624,337394,337401,338141 Teach the EC2 AMI upload code to: * Mark EBS snapshots as public, * Announce new AMIs to

svn commit: r338321 - head/release/tools

2018-08-25 Thread Colin Percival
Author: cperciva Date: Sun Aug 26 03:56:54 2018 New Revision: 338321 URL: https://svnweb.freebsd.org/changeset/base/338321 Log: Disable atkbd0 and atkdbc0 in EC2 AMIs. This has the effect of skipping the probing and attaching of the PS/2 mouse (not present on EC2) and keyboard (emulated,

svn commit: r338316 - in head/sys/dev/vt: . hw/efifb hw/fb hw/vga

2018-08-25 Thread Colin Percival
Author: cperciva Date: Sat Aug 25 16:14:56 2018 New Revision: 338316 URL: https://svnweb.freebsd.org/changeset/base/338316 Log: Speed up vt(4) by keeping a record of the most recently drawn character and the foreground and background colours. In bitblt_text functions, compare values to

svn commit: r338141 - head/release

2018-08-21 Thread Colin Percival
Author: cperciva Date: Tue Aug 21 15:30:47 2018 New Revision: 338141 URL: https://svnweb.freebsd.org/changeset/base/338141 Log: Quieten the svn (or svnlite) commands used to extract information from an SVN checkout for placement into an EC2 AMI. We only run these if there is a .svn

svn commit: r337411 - head/sys/dev/vt/hw/vga

2018-08-07 Thread Colin Percival
Author: cperciva Date: Tue Aug 7 08:33:40 2018 New Revision: 337411 URL: https://svnweb.freebsd.org/changeset/base/337411 Log: Replace a pair of 8-bit writes to VGA memory with a single 16-bit write. The VGA "text mode" buffer has a pair of bytes for each character: One byte for the

  1   2   3   4   5   6   >