Re: aml parse error

2022-05-02 Thread Mike Larkin
On Mon, May 02, 2022 at 11:42:57PM +0200, aphekz wrote: > > May 2 21:29:06 dev /bsd: ### AML PARSE ERROR (0x8f3a): Undefined name: OPST > May 2 21:29:06 dev /bsd: error evaluating: \\_SB_.PCI0.LPCB.EC0_._Q14 > May 2 21:29:55 dev /bsd: ### AML PARSE ERROR (0x8f3a): Undefined name: OPST > May 2 2

Re: migrate vmd/vmm/vmctl to use bytes, not MBs

2022-05-02 Thread Mike Larkin
On Mon, May 02, 2022 at 04:09:19PM -0400, Dave Voutila wrote: > > Dave Voutila writes: > > > tech@, > > > > tl;dr: standardize vmd/vmm/vmctl on counting memory in bytes at all > > times instead of a mix of MiB and bytes. > > > > There's some design friction between vmd(8)/vmctl(8) and vmm(4). > >

Improvements to 'talk'

2022-05-02 Thread Jordan Bancino
Hello, I have created a patch for the 'talk' program that does the following: - Add the -t option for logging sessions to a transcript file - Update the argument parsing logic to use getopt() Believe it or not, there are still serious uses for 'talk', despite it being probably th

Re: kstat(1): implement wait with setitimer(2)

2022-05-02 Thread Todd C . Miller
On Mon, 02 May 2022 20:39:07 -0500, Scott Cheloha wrote: > Whenever I block signals, deraadt@ rises up out of the floorboards and > says "I hate masking signals, don't do that." > > ... but if millert@ is still fine with the attached patch, which does > sigprocmask(2), I'll go ahead with it. > > >

Re: kstat(1): implement wait with setitimer(2)

2022-05-02 Thread Scott Cheloha
On Sat, Apr 30, 2022 at 01:27:44AM +0200, Alexander Bluhm wrote: > On Thu, Apr 28, 2022 at 08:54:02PM -0500, Scott Cheloha wrote: > > On Thu, Sep 17, 2020 at 06:29:48PM -0500, Scott Cheloha wrote: > > > [...] > > > > > > Using nanosleep(2) to print the stats periodically causes the period > > > to

Re: [External] : Re: add sanity checks to IGMP/MLD

2022-05-02 Thread Alexandr Nedvedicky
Hello, > > Checking that the TTL equals 1 is a good thing. We should prevent > that someone is forwarding such packets. > > The router alert is a hint to routers on the way to look at these > packets. If they are missing, no harm is done. Maybe some multicast > does not work. But there is no

Re: add sanity checks to IGMP/MLD

2022-05-02 Thread Alexander Bluhm
On Mon, May 02, 2022 at 11:30:58PM +0200, Alexandr Nedvedicky wrote: > hello, > > bluhm@ has committed a fix [1] which makes pf to accept IGMP/MLD messages. > If I remember correct pf(4) was dropping those messages because > of Router Alert IP option being present. The IP option is mandatory > for

add sanity checks to IGMP/MLD

2022-05-02 Thread Alexandr Nedvedicky
hello, bluhm@ has committed a fix [1] which makes pf to accept IGMP/MLD messages. If I remember correct pf(4) was dropping those messages because of Router Alert IP option being present. The IP option is mandatory for IGMP/MLD according to RFCs. For both protocol versions (IPv4, IPv6) standards s

Re: migrate vmd/vmm/vmctl to use bytes, not MBs

2022-05-02 Thread Dave Voutila
Dave Voutila writes: > tech@, > > tl;dr: standardize vmd/vmm/vmctl on counting memory in bytes at all > times instead of a mix of MiB and bytes. > > There's some design friction between vmd(8)/vmctl(8) and vmm(4). > > For instance, the user-facing code deals in MiB, but internally a vm's > memo

Re: Merge swap-backed and object-backed inactive lists

2022-05-02 Thread Mark Kettenis
> Date: Mon, 2 May 2022 18:39:17 +0200 > From: Martin Pieuchot > > Let's simplify the existing logic and use a single list for inactive > pages. uvmpd_scan_inactive() already does a lot of check if it finds > a page which is swap-backed. This will be improved in a next change. So NetBSD did th

migrate vmd/vmm/vmctl to use bytes, not MBs

2022-05-02 Thread Dave Voutila
tech@, tl;dr: standardize vmd/vmm/vmctl on counting memory in bytes at all times instead of a mix of MiB and bytes. There's some design friction between vmd(8)/vmctl(8) and vmm(4). For instance, the user-facing code deals in MiB, but internally a vm's memory ranges are defined in terms of bytes.

Re: Merge swap-backed and object-backed inactive lists

2022-05-02 Thread Todd C . Miller
On Mon, 02 May 2022 18:39:17 +0200, Martin Pieuchot wrote: > Let's simplify the existing logic and use a single list for inactive > pages. uvmpd_scan_inactive() already does a lot of check if it finds > a page which is swap-backed. This will be improved in a next change. That looks fine to me.

Merge swap-backed and object-backed inactive lists

2022-05-02 Thread Martin Pieuchot
Let's simplify the existing logic and use a single list for inactive pages. uvmpd_scan_inactive() already does a lot of check if it finds a page which is swap-backed. This will be improved in a next change. ok? Index: uvm/uvm.h ===

Re: vxlan(4) in endpoint mode

2022-05-02 Thread Denis Fondras
Le Mon, May 02, 2022 at 01:40:37PM +0100, Jason McIntyre a écrit : > On Mon, May 02, 2022 at 11:48:49AM +0200, Denis Fondras wrote: > > Le Mon, Apr 04, 2022 at 01:02:53PM +0200, Denis Fondras a ?crit : > > > Le Mon, Apr 04, 2022 at 08:23:35PM +1000, David Gwynne a ?crit : > > > > > > > > > > > >

Re: vers.c: make kernel date in UTC

2022-05-02 Thread Sebastien Marie
Just a simple ping. I already have one formal ok, and bluhm@ said it would makes his life easier. Any objections ? -- Sebastien Marie On Sat, Apr 23, 2022 at 09:20:06AM +0200, Sebastien Marie wrote: > Hi, > > When I want to check if a particular commit is expected to be present in a > particu

Re: vxlan(4) in endpoint mode

2022-05-02 Thread Jason McIntyre
On Mon, May 02, 2022 at 11:48:49AM +0200, Denis Fondras wrote: > Le Mon, Apr 04, 2022 at 01:02:53PM +0200, Denis Fondras a ?crit : > > Le Mon, Apr 04, 2022 at 08:23:35PM +1000, David Gwynne a ?crit : > > > > > > > > > > On 3 Apr 2022, at 21:46, Denis Fondras wrote: > > > > > > > > Hi, > > > >

Re: vxlan(4) in endpoint mode

2022-05-02 Thread Denis Fondras
Le Mon, Apr 04, 2022 at 01:02:53PM +0200, Denis Fondras a écrit : > Le Mon, Apr 04, 2022 at 08:23:35PM +1000, David Gwynne a écrit : > > > > > > > On 3 Apr 2022, at 21:46, Denis Fondras wrote: > > > > > > Hi, > > > > > > In vxlan(4) manual, we have : > > > > > > endpoint mode > > > When

selecting proper GOP when there are multiple GOPs

2022-05-02 Thread YASUOKA Masahiko
Hello, The below diff originally posted by Alexei K. on bugs@: Garbled screen when booting with UEFI https://marc.info/?l=openbsd-bugs&m=165087969227708&w=2 The same problem had been reported periodically and we have asked to use "machine gop" to workaround it. But the diff from Alexei se