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
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"
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
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
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
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
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 |
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
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:
... 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
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
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
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
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
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
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
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
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
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
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:
>>>
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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.
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
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:
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:
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
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:
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
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
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
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:
, 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
>
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,
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
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
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
Author: cperciva
Date: Tue Aug 7 00:51:49 2018
New Revision: 337401
URL: https://svnweb.freebsd.org/changeset/base/337401
Log:
Fix copy-and-paste error in previous commit.
Modified:
head/release/Makefile.ec2
Modified: head/release/Makefile.ec2
Author: cperciva
Date: Mon Aug 6 19:21:32 2018
New Revision: 337394
URL: https://svnweb.freebsd.org/changeset/base/337394
Log:
Add EC2PUBLICSNAP option to EC2 builds; this passes a (recently added)
flag to bsdec2-image-upload instructing it to mark the snapshot of its
root disk as public
On 07/22/18 15:53, Matthew Macy wrote:
> That would only fix it if svn weren't installed.
Oops, good point. Thanks for fixing this, your commits look good to me.
Colin Percival
> On Sun, Jul 22, 2018 at 9:31 AM, Colin Percival wrote:
>> On 07/22/18 08:04, Rodney W. Grimes wrote
ne using this code,
but it should at least silence the warnings for people who aren't checking
code out from svn.
Colin Percival
>> make[1]: "/usr/home/mmacy/devel/freebsd/Makefile.inc1" line 343:
>> SYSTEM_COMPILER: libclang will be built for bootstrapping a
>> cros
Author: cperciva
Date: Sat Jul 21 22:54:43 2018
New Revision: 336593
URL: https://svnweb.freebsd.org/changeset/base/336593
Log:
Use svn or svnlite, or ${SVN_CMD} if set, for extracting the SVN branch
and revision number announced in SNS notifications about new EC2 AMIs.
While I'm here,
Author: cperciva
Date: Tue Jul 17 23:16:05 2018
New Revision: 336433
URL: https://svnweb.freebsd.org/changeset/base/336433
Log:
Check that EC2SNSTOPIC and EC2PUBLIC are non-empty, along with being
defined, in order to avoid problems with thermite.sh.
Reported by: gjb
Modified:
Author: cperciva
Date: Tue Jul 17 19:05:30 2018
New Revision: 336420
URL: https://svnweb.freebsd.org/changeset/base/336420
Log:
Teach EC2 AMI release code to send an SNS notification after publishing
new AMIs if EC2SNSTOPIC is defined.
Reviewed by: gjb
Requested by: Amazon
Modified:
Author: cperciva
Date: Fri Jun 22 10:23:32 2018
New Revision: 335553
URL: https://svnweb.freebsd.org/changeset/base/335553
Log:
Improve the accuracy of the POSIX "process CPU-time" clocks by adding the
used portion of the current thread's time slice if the current thread
belongs to the
Author: cperciva
Date: Wed Apr 18 05:58:27 2018
New Revision: 332663
URL: https://svnweb.freebsd.org/changeset/base/332663
Log:
Move debug.{trace,debugger}_on_panic and kern.panic_reboot_wait_time in
EC2 instances from sysctl.conf to loader.conf; these can all be set as
loader tunables, and
MFC after: 1 week
> Sponsored by: Mellanox Technologies
In case the data point is useful: Merging this to stable/11 unbroke S3
suspend/resume on my laptop (system76 Galago Pro, kabylake, using the
drm-next-kmod port).
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to s
*s1 == *s2 && *s1; s1++, s2++);
> -return (unsigned char)*s1 - (unsigned char)*s2;
> +
> + for (; *s1 == *s2 && *s1; s1++, s2++);
> + return (unsigned char)*s1 - (unsigned char)*s2;
> }
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder
On 01/17/18 15:09, Gleb Smirnoff wrote:
> On Sun, Dec 31, 2017 at 09:21:01AM +0000, Colin Percival wrote:
> C> Code for recording timestamps of events, especially function
> entries/exits.
> C> This is a very primitive system, intended for use in measuring
> perf
Author: cperciva
Date: Sun Dec 31 21:00:21 2017
New Revision: 327447
URL: https://svnweb.freebsd.org/changeset/base/327447
Log:
Wrap includes in sys/tslog.h with #ifdef TSLOG.
This is necessary because some non-kernel code #defines _KERNEL and then
includes kernel headers; as a result,
Author: cperciva
Date: Sun Dec 31 09:24:41 2017
New Revision: 327432
URL: https://svnweb.freebsd.org/changeset/base/327432
Log:
Use the TSLOG framework to record entry/exit timestamps for DELAY and
_vprintf; these functions are called in many places and can contribute
meaningfully to the
Author: cperciva
Date: Sun Dec 31 09:24:11 2017
New Revision: 327431
URL: https://svnweb.freebsd.org/changeset/base/327431
Log:
Instrument thread creations for the the benefit of the TSLOG framework.
This assists in tracking time spent while the boot is being "held" waiting
for something to
Author: cperciva
Date: Sun Dec 31 09:23:52 2017
New Revision: 327430
URL: https://svnweb.freebsd.org/changeset/base/327430
Log:
Instrument "boot holds" for the benefit of the TSLOG framework. These
are places where the "main thread" of the booting kernel (either the
thread which later
Author: cperciva
Date: Sun Dec 31 09:23:35 2017
New Revision: 327429
URL: https://svnweb.freebsd.org/changeset/base/327429
Log:
Use the TSLOG framework to record entry/exit timestamps for VFS_MOUNT calls.
Modified:
head/sys/sys/mount.h
Modified: head/sys/sys/mount.h
Author: cperciva
Date: Sun Dec 31 09:23:19 2017
New Revision: 327428
URL: https://svnweb.freebsd.org/changeset/base/327428
Log:
Teach makeobjops.awk to accept PROLOG and EPILOG blocks before
METHOD and STATICMETHOD declarations; that code will be inserted
into the dispatch function before
Author: cperciva
Date: Sun Dec 31 09:23:02 2017
New Revision: 327427
URL: https://svnweb.freebsd.org/changeset/base/327427
Log:
Use the TSLOG framework to record SYSINIT entry/exit timestamps.
Modified:
head/sys/sys/kernel.h
Modified: head/sys/sys/kernel.h
Author: cperciva
Date: Sun Dec 31 09:22:31 2017
New Revision: 327426
URL: https://svnweb.freebsd.org/changeset/base/327426
Log:
Use the TSLOG framework to record entry/exit timestamps for machine
independent functions with important roles in the early boot process:
mi_startup (with the
Author: cperciva
Date: Sun Dec 31 09:22:07 2017
New Revision: 327425
URL: https://svnweb.freebsd.org/changeset/base/327425
Log:
Use the TSLOG framework to record entry/exit timestamps for hammer_time.
The entry must be logged "manually" using TSRAW rather than TSENTER
since PCPU data
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/kern/kern_tslog.c Sun Dec 31 09:21:01 2017(r327423)
@@ -0,0 +1,118 @@
+/*-
+ * Copyright (c) 2017 Colin Percival
+ * All rights reserved.
+ *
+ * Redistribution and use
Author: cperciva
Date: Sun Dec 31 09:21:34 2017
New Revision: 327424
URL: https://svnweb.freebsd.org/changeset/base/327424
Log:
Connect kern_tslog.c to the build and add TSLOG / TSLOGSIZE kernel options.
These are intended for debugging purposes and should not be added to
"generic" kernel
t; + device_printf(child,
> + "non-PNP ISA device will be removed from GENERIC in
> FreeBSD 12.");
Maybe worth making this strncmp(kern_ident, "GENERIC", 7) so that it will
catch GENERIC-NODEBUG as well?
--
Colin Percival
Se
On 12/18/17 00:15, Hans Petter Selasky wrote:
> On 12/18/17 05:29, Colin Percival wrote:
>> Also, it breaks some work I have in progress for instrumenting SYSINITs.
>> Would you mind moving the DEFINE_MUTEX line to occur immediately prior to
>> the set_port_type function, rat
hat
it's legal C.
Also, it breaks some work I have in progress for instrumenting SYSINITs.
Would you mind moving the DEFINE_MUTEX line to occur immediately prior to
the set_port_type function, rather than being placed inside it?
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Author: cperciva
Date: Tue Dec 5 09:22:14 2017
New Revision: 326565
URL: https://svnweb.freebsd.org/changeset/base/326565
Log:
Make EC2 instances use Amazon's NTP service for time synchronization.
Since Amazon provides NTP servers within their network, this should
be far superior to
Author: cperciva
Date: Tue Dec 5 09:08:48 2017
New Revision: 326564
URL: https://svnweb.freebsd.org/changeset/base/326564
Log:
Resurrect r321659: Turn off ChallengeResponseAuthentication for EC2 AMIs.
EC2 instances are normally launched with an SSH public key specified,
which is then
Author: cperciva
Date: Wed Nov 1 00:33:54 2017
New Revision: 325254
URL: https://svnweb.freebsd.org/changeset/base/325254
Log:
Add the amazon-ssm-agent package to EC2 AMI builds. This makes it
immediately available on instances which are running without internet
access (or which can't
> becomes a very large negative value, because long is used, and the delay <= 0
> check, is no longer working like expected.
>
> Casting to "int" or truncating is the right thing to do in this case.
Signed integer overflow is undefined. Using 'int' is liable to c
On 06/03/17 21:39, Rodney W. Grimes wrote:
> Are we going to end up with /etc/rc.conf.d?
We've had this for over 15 years -- ever since NetBSD rc.d system was
imported.
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online back
Author: cperciva
Date: Sun Jun 4 02:45:18 2017
New Revision: 319562
URL: https://svnweb.freebsd.org/changeset/base/319562
Log:
Delete obsolete paragraph; primes(6) is now able to list primes for the
full range up to 2^64 - 1.
MFC after:1 week
Modified:
Author: cperciva
Date: Sun Jun 4 02:36:37 2017
New Revision: 319561
URL: https://svnweb.freebsd.org/changeset/base/319561
Log:
Using results from
J. Sorenson and J. Webster, Strong pseudoprimes to twelve prime
bases, Math. Comp. 86(304):985-1003, 2017.
teach primes(6) to
On 06/02/17 03:29, Roger Pau Monn� wrote:
> On Fri, Jun 02, 2017 at 07:03:31AM +0000, Colin Percival wrote:
>> Skip setting the MTU in the netfront driver (xn# devices) if the new MTU
>> is the same as the old MTU. [...]
>> Maintainers of other network inter
Author: cperciva
Date: Fri Jun 2 07:03:31 2017
New Revision: 319491
URL: https://svnweb.freebsd.org/changeset/base/319491
Log:
Skip setting the MTU in the netfront driver (xn# devices) if the new MTU
is the same as the old MTU. In particular, on Amazon EC2 "T2" instances
without this
Author: cperciva
Date: Thu May 25 19:02:54 2017
New Revision: 318894
URL: https://svnweb.freebsd.org/changeset/base/318894
Log:
Turn on support for the Amazon "Elastic Network Adapter" in EC2 AMIs.
X-MFC-after: 318647 + fixes for some lock ordering warnings
Modified:
e the values 0, 1, 2, 3...
for files. In Amazon EFS for example every fileid is > 2^32 and there's no
guarantee that two files won't map to the same 32-bit inode # (pre-ino64,
we simply reduced the fileid mod 2^32 to generate an inode #).
--
Colin Percival
On 05/09/17 03:09, Roger Pau Monn� wrote:
> On Wed, May 03, 2017 at 05:13:40AM +0000, Colin Percival wrote:
>> On 06/02/16 04:16, Roger Pau Monn� wrote:
>>> Author: royger
>>> Date: Thu Jun 2 11:16:35 2016
>>> New Revision: 301198
>>> URL: htt
to xn_ifinit_locked are only happening on T2 instances
and not on any of the other EC2 instances I've tried.
3. Why xn_ifinit_locked is consuming ring responses.
so I'm not sure what the solution is, but hopefully someone who knows this
code better will be able to help...
--
Colin Percival
Security
n
>> machines, but not on big-endian ones. Switch to a simpler (branchful)
>> solution.
>
> I’m surprised there’s no mention of who reviewed your change, especially when
> you’re changing crypto code.
Reviewed by:cperciva
--
Colin Percival
Security Officer Emeritus, FreeBSD
Author: cperciva
Date: Sun Jan 15 09:06:45 2017
New Revision: 312214
URL: https://svnweb.freebsd.org/changeset/base/312214
Log:
Enable IPv6 networking on Amazon EC2.
MFC after:1 week
Modified:
head/release/tools/ec2.conf
Modified: head/release/tools/ec2.conf
Author: cperciva
Date: Wed Jan 11 22:50:57 2017
New Revision: 311945
URL: https://svnweb.freebsd.org/changeset/base/311945
Log:
Remove obsolete path from fortune(6). This was inadvertantly left over
when fortune and other games moved from /usr/games to /usr/bin; I am
removing rather than
Author: cperciva
Date: Fri Dec 16 22:37:16 2016
New Revision: 310179
URL: https://svnweb.freebsd.org/changeset/base/310179
Log:
Avoid division by zero in the rare case that portsnap needs to fetch
zero patches. (This avoids two "dc: divide by zero" warnings.)
MFC after:3 days
esults.
Thanks! Did you happen to notice what stack variable (if any?) was being
overwritten under clang 3.8.0? Just wondering if there might be some
undiscovered issue lurking in FreeBSD releases which will cause other less
obvious problems.
--
Colin Percival
Security Officer Emeritus, Free
1 - 100 of 276 matches
Mail list logo