Re: apmd poll every minute

2020-01-24 Thread Jason McIntyre
On Fri, Jan 24, 2020 at 11:53:27PM -0500, Ted Unangst wrote: > Sometimes (particuarly if you are using apmd -z) the default polling interval > of 10 minutes is a bit lazy and we fail to respond to low battery situations > before they become no battery situations. > > Perhaps something smarter coul

Re: apmd poll every minute

2020-01-24 Thread Mark Kettenis
Ted Unangst schreef op 2020-01-25 05:53: Sometimes (particuarly if you are using apmd -z) the default polling interval of 10 minutes is a bit lazy and we fail to respond to low battery situations before they become no battery situations. Perhaps something smarter could be done, but the simples

apmd poll every minute

2020-01-24 Thread Ted Unangst
Sometimes (particuarly if you are using apmd -z) the default polling interval of 10 minutes is a bit lazy and we fail to respond to low battery situations before they become no battery situations. Perhaps something smarter could be done, but the simplest change is to reduce the default polling int

Re: fix possible nexthop list corruption in bgpd

2020-01-24 Thread richard . n . procter
On Sat, 25 Jan 2020, Claudio Jeker wrote: > Adam Thompson reported a bgpd crash he sees in 6.6. Using > kern.nosuidcoredump=3 he was able to get me a back trace of the crash. > The RDE chokes on the TAILQ_REMOVE in nexthop_runner() which indicates > that the nexthop_runners list gets corrupted.

Re: [Patch]: Integrate VA-API into xenocara

2020-01-24 Thread Jonathan Gray
On Fri, Jan 24, 2020 at 04:45:07PM +1100, Jonathan Gray wrote: > On Thu, Jan 23, 2020 at 12:39:29PM +1100, Jonathan Gray wrote: > > On Wed, Dec 18, 2019 at 03:28:48PM -0600, Brad DeMorrow wrote: > > > This is a rather large patch that moves my previously submitted > > > VA-API ports into xenocara.

Re: acpivout(4): directly call ws_[gs]et_param

2020-01-24 Thread Patrick Wildt
On Fri, Jan 24, 2020 at 01:04:41AM +0100, Patrick Wildt wrote: > On Thu, Jan 23, 2020 at 11:25:51PM +0100, Mark Kettenis wrote: > > Since acpi_set_brightness() can be called from anywhere, it should really > > use the acpi task queue to do its thing instead of calling AML directly. > > I didn't kn

fix possible nexthop list corruption in bgpd

2020-01-24 Thread Claudio Jeker
Adam Thompson reported a bgpd crash he sees in 6.6. Using kern.nosuidcoredump=3 he was able to get me a back trace of the crash. The RDE chokes on the TAILQ_REMOVE in nexthop_runner() which indicates that the nexthop_runners list gets corrupted. After staring at the code for a while I realized that

Re: MSI-X & Interrupting CPU > 0

2020-01-24 Thread Mark Kettenis
David Gwynne schreef op 2020-01-25 01:28: On 23 Jan 2020, at 10:38 pm, Mark Kettenis wrote: Martin Pieuchot schreef op 2020-01-23 11:28: I'd like to make progress towards interrupting multiple CPUs in order to one day make use of multiple queues in some network drivers. The road towards tha

Re: MSI-X & Interrupting CPU > 0

2020-01-24 Thread David Gwynne
> On 23 Jan 2020, at 10:38 pm, Mark Kettenis wrote: > > Martin Pieuchot schreef op 2020-01-23 11:28: >> I'd like to make progress towards interrupting multiple CPUs in order to >> one day make use of multiple queues in some network drivers. The road >> towards that goal is consequent and I'd

pf: remove 'one shot rules'

2020-01-24 Thread richard . n . procter
Hi, PF supports 'one shot rules'. Quoting pf.conf(5) "once - Creates a one shot rule that will remove itself from an active ruleset after the first match." I'd like to simplify pf by removing them, unless there's a compelling reason not to. Particularly as there is no 'first match' under conc

Re: sshd proctitle [Re: CVS: cvs.openbsd.org: src]

2020-01-24 Thread Damien Miller
On Fri, 24 Jan 2020, Stuart Henderson wrote: > That works - etc/rc.d/sshd diff to match as follows: > > Index: sshd > === > RCS file: /cvs/src/etc/rc.d/sshd,v > retrieving revision 1.5 > diff -u -p -r1.5 sshd > --- sshd 22 Jan 2

Re: sshd proctitle [Re: CVS: cvs.openbsd.org: src]

2020-01-24 Thread Damien Miller
On Fri, 24 Jan 2020, Antoine Jacoutot wrote: > Great :-) > Ok aja committed, the proctitle looks like this now in case the rc scripts need further tweaking: $ pgrep -lf sshd 12844 sshd: /usr/sbin/sshd -f /etc/ssh/sshd_config [listener] 0 of 10-100 startups

npppd(4) normalise checksum update method

2020-01-24 Thread richard . n . procter
Hi, npppd(8) and pipex(4) can clamp TCP MSS independently of pf(4) and so tweak the TCP checksum, too. Substitute pf's algorithm to reduce the diversity of checksum-tweaking algorithms in the tree. Compiled but untested. oks or test reports welcome (enable mss clamping by adding 'tcp-mss-adj

Re: EFI frame buffer > 4GB

2020-01-24 Thread Bobby Johnson
Also fixed booting on my Lenovo C930. Thank you! On Thu, Jan 23, 2020 at 7:10 PM YASUOKA Masahiko wrote: > > Yes, the diff fixed the problem of my vaio. > > Thanks, > > On Fri, 24 Jan 2020 01:52:56 +0100 > Mark Kettenis wrote: > > Mike Larkin and I came up with the folowing diff that keeps mapp

Re: sshd proctitle [Re: CVS: cvs.openbsd.org: src]

2020-01-24 Thread Antoine Jacoutot
Great :-) Ok aja — Antoine > On 24 Jan 2020, at 13:02, Stuart Henderson wrote: > > On 2020/01/23 21:20, Damien Miller wrote: >>> On Thu, 23 Jan 2020, Damien Miller wrote: >>> On Thu, 23 Jan 2020, Damien Miller wrote: >>> What information would you like there? We could put the firs

Re: sshd proctitle [Re: CVS: cvs.openbsd.org: src]

2020-01-24 Thread Stuart Henderson
On 2020/01/23 21:20, Damien Miller wrote: > On Thu, 23 Jan 2020, Damien Miller wrote: > > > On Thu, 23 Jan 2020, Damien Miller wrote: > > > > > What information would you like there? We could put the first N listen > > > addrs in the proctitle if that would help. > > > > Maybe like this: > > >

Re: em(4) diff to test

2020-01-24 Thread Christian Weisgerber
Martin Pieuchot: > New diff that works with 82576, previous breakage reported by Hrvoje > Popovski. So far the following models have been tested, I'm looking for > more tests :o) Works fine: em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi -- Christian "naddy" Weisgerber