Re: dwiic: add pci attachment

2017-11-11 Thread joshua stein
Here is a new version of the dwiic patch that restores the acpi_attach_deps call, confirmed working by Cesare Gargano. Any other testers? Index: sys/conf/files === RCS file: /cvs/src/sys/conf/files,v retrieving revision 1.654 diff

mbuf statistics, tracking of drops

2017-11-11 Thread Gregor Best
Hi people, while reading around in /sys/kern/uipc_mbuf.c to try to track down a problem with my iwm(4) that seems to correlate with mbuf allocation failures, I noticed that the MBSTAT_DROPS counter and its friends MBSTAT_{WAIT,DRAIN} don't seem to get increased anywhere in /sys. Does the patch

Re: ksh.kshrc: Fix quoting in {add,pre,del}_path() to work with spaces

2017-11-11 Thread Klemens Nanni
On Sat, Nov 11, 2017 at 08:03:36PM +, Robert Peichaer wrote: > On Sat, Nov 11, 2017 at 08:11:25PM +0100, Klemens Nanni wrote: > > pre_path()ing directories with spaces is broken due to bad quoting. > > > > This diff takes care of that by properly passing double quotes through > > eval and

Re: armv7: newfs efi-partition in when choosing manual-fdisk mbr

2017-11-11 Thread Artturi Alm
On Fri, Nov 10, 2017 at 10:35:30PM +, Robert Peichaer wrote: > On Fri, Nov 10, 2017 at 10:27:36AM +0200, Artturi Alm wrote: > > Hi, > > > > currently, just editing the mbr to give more room for u-boot env growth, > > will result in unbootable system, as the installer will fail to mount it, >

Semi-OT: Paper about a new implementation of malloc

2017-11-11 Thread Juan Francisco Cantero Hurtado
I was looking for something else and found this recent paper. They compare their implementation with the OpenBSD malloc. It's probably interesting for some of you. Paper: https://acmccs.github.io/papers/p2389-silvestroA.pdf Code: https://github.com/UTSASRG/FreeGuard -- Juan Francisco Cantero

Re: libfuse: signal handler doesn't cater for "Device busy" and other errors

2017-11-11 Thread Helg Bredow
On Fri, 10 Nov 2017 11:55:53 + Helg Bredow wrote: > On Fri, 10 Nov 2017 10:13:35 +0100 > Anton Lindqvist wrote: > > > On Fri, Nov 10, 2017 at 09:36:25AM +0100, Martin Pieuchot wrote: > > > On 09/11/17(Thu) 09:02, Helg Bredow wrote: > > > > The current

Re: 64bit DMA on amd64

2017-11-11 Thread Philip Guenther
On Sat, Nov 11, 2017 at 4:22 PM, wrote: > Theo 2016-07-11 15:09:48, https://marc.info/?l=openbsd- > tech=146824981122013=2 , > https://marc.info/?l=openbsd-tech=146825098022380=2 : > > And bufs don't need it either. Have you actually cranked your buffer > > cache that

armv7/sxie: less ierror

2017-11-11 Thread Artturi Alm
Hi, i'm likely responsible, for having sent the diff that introduced this. minimal fix taken w/diff -U10, to show the obvious dup++. -Artturi diff --git a/sys/arch/armv7/sunxi/sxie.c b/sys/arch/armv7/sunxi/sxie.c index 1cd713cd52a..cb5849c7dc9 100644 --- a/sys/arch/armv7/sunxi/sxie.c +++

Re: pppd: explicit_bzero sensitive buffers

2017-11-11 Thread Scott Cheloha
> On Nov 11, 2017, at 7:30 PM, Matthew Martin wrote: > > There's a stray whitespace change and explicit sorts below exit. [...] Whoops, here you go. -- Scott Cheloha Index: usr.sbin/pppd/auth.c === RCS file:

Re: armv7: newfs efi-partition in when choosing manual-fdisk mbr

2017-11-11 Thread Jonathan Gray
On Fri, Nov 10, 2017 at 10:27:36AM +0200, Artturi Alm wrote: > Hi, > > currently, just editing the mbr to give more room for u-boot env growth, > will result in unbootable system, as the installer will fail to mount it, > and naturally things won't work beyond u-boot after reboot either. > > i'm

pppd: explicit_bzero sensitive buffers

2017-11-11 Thread Scott Cheloha
Hi, You want explicit_bzero(3) for these buffers. Zeroing a buffer is compiler- and system-dependent, so I added a new macro. I'll send a pull request upstream if this goes in. -- Scott Cheloha Index: usr.sbin/pppd/auth.c === RCS

Re: armv7: newfs efi-partition in when choosing manual-fdisk mbr

2017-11-11 Thread Artturi Alm
On Sun, Nov 12, 2017 at 03:17:54PM +1100, Jonathan Gray wrote: > On Fri, Nov 10, 2017 at 10:27:36AM +0200, Artturi Alm wrote: > > Hi, > > > > currently, just editing the mbr to give more room for u-boot env growth, > > will result in unbootable system, as the installer will fail to mount it, > >

Re: 64bit DMA on amd64

2017-11-11 Thread tinkr
Theo 2016-07-11 15:09:48, https://marc.info/?l=openbsd-tech=146824981122013=2 , https://marc.info/?l=openbsd-tech=146825098022380=2 : > And bufs don't need it either. Have you actually cranked your buffer > cache that high? I have test this, on sparc64 which has unlimited DMA > reach due to the

openssl s_time, speed: use monotime for absolute interval measurement

2017-11-11 Thread Scott Cheloha
Hi, times(3) is okay for user CPU measurement but is inappropriate for absolute interval measurement as its output is subject to changes by both adjtime(2) and settimeofday(2). The attached diff replaces it with getrusage(2) for user CPU measurement and clock_gettime(2)'s CLOCK_MONOTONIC clock

Re: ksh.kshrc: Fix quoting in {add,pre,del}_path() to work with spaces

2017-11-11 Thread Robert Peichaer
On Sat, Nov 11, 2017 at 08:11:25PM +0100, Klemens Nanni wrote: > pre_path()ing directories with spaces is broken due to bad quoting. > > This diff takes care of that by properly passing double quotes through > eval and quoting the arguments for no_path() individually. > > Feedback? What is

ksh.kshrc: Fix quoting in {add,pre,del}_path() to work with spaces

2017-11-11 Thread Klemens Nanni
pre_path()ing directories with spaces is broken due to bad quoting. This diff takes care of that by properly passing double quotes through eval and quoting the arguments for no_path() individually. Feedback? diff --git a/etc/ksh.kshrc b/etc/ksh.kshrc index 5b5bd040f79..66736da5e11 100644 ---

xf86-video-intel patch to test

2017-11-11 Thread Matthieu Herrb
Hi, the patch below should not affect the intel(4) X.Org driver functionality. It's sole purpose is to make it compatible with the future upgrade to the X.Org 1.19 xserver. But since I don't have much hardware still using the intel driver (we switched to modesettings(4) for many devices), I'd

vi: remove awk scripts

2017-11-11 Thread Martijn van Duren
Hello tech@, I've gotten confused by the awk scripts a few times now. They seem to unused and I had to really look where they were originally intended. For the curious: awk -f common/options.awk common/options.c > include/options_def.h awk -f ex/ex.awk ex/ex_cmd.c > include/ex_def.h The