Re: Add -R alias to -r for scp(1)

2020-01-04 Thread Theo de Raadt
>Kurt Mosiejczuk wrote: >> cp(1) uses -R for recursive copy. scp(1) uses -r. This diff adds -R as an >> alias for -r to scp(1) for those assuming consistency with cp(1). > >But it doesn't implement cp -R semantics. It does the copy the way cp -r does. >(For symlinks, etc.) very good point. the su

Re: sparc64: autoconf: Ignore reboot-memory device

2020-01-04 Thread Klemens Nanni
On Thu, Dec 26, 2019 at 10:02:42PM +0100, Klemens Nanni wrote: > Solaris supports booting fallback images from "retained memory" which > is a relatively new feature introduced, it requires recent versions of > Solaris as well as recent hardware support; T2+ machines do not show > this pseudo-devic

ldom.conf.5: Add BUGS section for hypervisor memory

2020-01-04 Thread Klemens Nanni
The hypervisor requires memory and allocates it transparently, e.g. on my T4-2 with 128G in factory-default configuration without guests, the primary domain boots into OBP with 127.5G while the PRI presents 127.62M of physical memory available. Documentation about those machine dependent allocatio

Re: ospf(6)d.conf: define interface parameters per area or globally

2020-01-04 Thread Denis Fondras
On Sat, Jan 04, 2020 at 11:11:36PM +0100, Remi Locherer wrote: > Hi, > > interface-specific parameters can be defined globally or per area. > But they are applied to the interfaces only if the interfaces are > declared afterwards. > I have a diff to allow parameters after interface or area defin

ospf(6)d.conf: define interface parameters per area or globally

2020-01-04 Thread Remi Locherer
Hi, interface-specific parameters can be defined globally or per area. But they are applied to the interfaces only if the interfaces are declared afterwards. Or is the GLOBAL CONFIURATION section the better place for this? I opted for the AREA section because I consider it unlikely a user adds gl

dangling vnode panic

2020-01-04 Thread Alexander Bluhm
Hi, On my amd64 test machine regress/sys/kern/mount run-regress-unmount-busy triggers the dangling vnode panic regulary. Something has changed in the previous months that makes it more likely. Problem is that while flushing the mnt_vnodelist list, the unmount process sleeps. Then active process

ldom.conf.5: Use stride in EXAMPLES, elaborate on hardware threads

2020-01-04 Thread Klemens Nanni
CPU strides provide means to effectively bind guests to certain specific phsyical cores by overallocating virtual CPUs (hardware threads) such that the sum of virtual CPUs and strides yields an integer multiple of the CPU dependent threads-per-core factor, e.g. on T2 based machines each CPU has 8 c

Re: ldomctl: download: select new configuration

2020-01-04 Thread Klemens Nanni
On Sat, Jan 04, 2020 at 08:16:50PM +0100, Mark Kettenis wrote: > Probably should say that depending on the firmware the new > configuration will have to be explicitly selected? I wanted to explicitly document behaviour specific to certain firmware, the `select' command already explains how to pick

Re: dwiic(4) improvements

2020-01-04 Thread Mark Kettenis
> Date: Sun, 22 Dec 2019 16:55:59 +0100 (CET) > From: Mark Kettenis > > The diff below contains a couple of improvements to dwiic(4). They're > mostly for making ipmi(4) on the Ampere/Lenovo arm64 boxes work > better. But they need testing on x86 machines with > keyboards.touchpads/touchscreens

Re: ipmi@acpi improvement

2020-01-04 Thread Mark Kettenis
> Date: Sat, 21 Dec 2019 12:30:50 +0100 (CET) > From: Mark Kettenis > > On arm64 systems, IPMI can actually attach using mmio. The diff below > implements this. It also sets the IPMI revision based on the _SRV > method if present. > > I can't actually test this properly. The firmware I'm usin

Re: ldomctl: download: select new configuration

2020-01-04 Thread Mark Kettenis
> Date: Sat, 4 Jan 2020 20:01:59 +0100 > From: Klemens Nanni > > On Fri, Jan 03, 2020 at 08:40:56PM +0100, Klemens Nanni wrote: > > Manual update below for convenience but I want to hear feedback from > > users of above mentioned machines before changing this either way. > kettenis confirmed that

Re: ldomctl: download: select new configuration

2020-01-04 Thread Klemens Nanni
On Fri, Jan 03, 2020 at 08:40:56PM +0100, Klemens Nanni wrote: > Manual update below for convenience but I want to hear feedback from > users of above mentioned machines before changing this either way. kettenis confirmed that at least a T5120 automatically selects the new config, I'm pretty confid

Re: sparc64: simplify boot()

2020-01-04 Thread Mark Kettenis
> Date: Fri, 3 Jan 2020 19:26:22 + > From: Miod Vallat > > Although Open Firmware supports it, there is no way from OpenBSD to > reboot with a specified boot command line, so drop vestigial support for > it from boot(). Hmm, reboot(2) does allow us to pass flags. But you're right that there

Re: ldomctl: init-system: Add -n (noaction) switch for validation only

2020-01-04 Thread Klemens Nanni
On Sat, Jan 04, 2020 at 12:35:46PM -0600, Matthew Martin wrote: > For what it's worth most daemons currently print "configuration OK": > bgpd dvmrpd eigrpd httpd ifstated iked ldpd npppd ntpd ospf6d ospfd rad > radiusd relayd ripd sasyncd smtpd switchd unwind vmd. Yup, hence my addition. > ldapd a

Re: ldomctl: init-system: Add -n (noaction) switch for validation only

2020-01-04 Thread Matthew Martin
On Sat, Jan 04, 2020 at 04:08:47PM +0100, Mark Kettenis wrote: > I don't think this should print "configuartion OK" when there are no > errors. The UNIX way is to just return 0 and be done. For what it's worth most daemons currently print "configuration OK": bgpd dvmrpd eigrpd httpd ifstated iked

Re: uthum(4) diff to test

2020-01-04 Thread Martin Pieuchot
On 04/01/20(Sat) 16:30, Mark Kettenis wrote: > > Date: Sat, 4 Jan 2020 16:15:22 +0100 > > From: Martin Pieuchot > > > > `delay' is expressed in ms, however since tsleep_nsec(9) doesn't add a > > tick the conversions below might result in shorter sleeps. I'd > > appreciate if uthum(4) owners coul

Re: uthum(4) diff to test

2020-01-04 Thread Mark Kettenis
> Date: Sat, 4 Jan 2020 16:15:22 +0100 > From: Martin Pieuchot > > `delay' is expressed in ms, however since tsleep_nsec(9) doesn't add a > tick the conversions below might result in shorter sleeps. I'd > appreciate if uthum(4) owners could test this diff and report back. I'm not sure I underst

uthum(4) diff to test

2020-01-04 Thread Martin Pieuchot
`delay' is expressed in ms, however since tsleep_nsec(9) doesn't add a tick the conversions below might result in shorter sleeps. I'd appreciate if uthum(4) owners could test this diff and report back. Index: uthum.c === RCS file: /c

Re: ldomctl: init-system: Add -n (noaction) switch for validation only

2020-01-04 Thread Mark Kettenis
> Date: Fri, 3 Jan 2020 21:46:29 +0100 > From: Klemens Nanni > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > With the hv_config() now in, `ldomctl init-system -n ldom.conf' to only > parse configuration is trivial. > > It is usable as unprivileged user, no devices

MAKE: remove redundant test

2020-01-04 Thread Marc Espie
The only way errorJobs ever gets filled is by engine.c around line 680 with a snippet that reads if (!keepgoing) { if (!silent) printf("\n"); job->next = errorJobs;