Re: Thinkpad active cooling

2015-07-15 Thread Michael McConville
On Wed, Jul 15, 2015 at 11:28:49PM -0500, Adam Thompson wrote: > Although I agree the fan speed handling under OpenBSD still has room > for improvement... I haven't run OpenBSD on it for any significant > amount of time since the ~recent changes to improve Thinkpad power > usage. The C-state chang

Re: Thinkpad active cooling

2015-07-15 Thread Adam Thompson
On 2015-07-14 09:13 PM, Michael McConville wrote: On Wed, Jul 15, 2015 at 03:04:07AM +0200, Tobias Ulmer wrote: Theo is asking for affected models, so lets compile a list. All my Thinkpads can be provoked into shutdown due to overtemp because the fan doesn't spin up: T60 T61 X201 I've had it h

Re: Loosing characters on Dell R420 Drac console

2015-07-15 Thread Hrvoje Popovski
On 9.1.2015. 18:24, Matthieu Herrb wrote: > Hi, > > I've an issue on a Dell R420 server running OpenBSD. I tried both > 5.6-stable and -current on it with the same behavior. > > I'm using a DRAC 7 Enterprise remote access card to access the virtual > console through their Java web start software

Re: better run(4) fix (was: run(4): fix crash in run_task())

2015-07-15 Thread Stefan Sperling
On Tue, Jul 14, 2015 at 09:56:53PM -0600, Stefan Sperling wrote: > This implements your suggestion to properly abort async tasks when > bringing the interface down. > > Fixes the problem for me just as well. And yet another diff after more discussion. This diff makes the driver schedule a single

Re: Kill arp_ifinit()?

2015-07-15 Thread Chris Cappuccio
Martin Pieuchot [m...@openbsd.org] wrote: > On 07/07/15(Tue) 18:02, Martin Pieuchot wrote: > > Maybe not yet but at least I'd like to do the ARP request a bit later. > > > > We create a RTF_LOCAL route entry for every configured address. So > > use this information to emit a "who-has" for the con

Re: tail: -r mem leak with non-regular files

2015-07-15 Thread Ingo Schwarze
Hi Tobias, Tobias Stoeckmann wrote on Sun, Jul 12, 2015 at 02:35:18PM +0200: > Sent this back in March, so maybe someone wants to review this time? :) > > tail -r has two memory leaks when handling non-regular files. You can > easily see memory usage increasing with commands like > > $ mknod pi

Re: httpd: patch to close TLS sockets that fail before TLS handshake

2015-07-15 Thread Joel Sing
On Wednesday 15 July 2015 23:38:33 Jack Burton wrote: > In 5.7-stable & -current, httpd, when listening for TLS, does not close > the client socket when tls_accept_socket() returns any non-recoverable > error. The problem manifests most often when a client connects but does > not attempt TLS handsh

unbound update

2015-07-15 Thread Stuart Henderson
Here's an update to unbound 1.5.4. There was some file reorganisation so I am providing two diffs: the one inline in this email shows the *code* changes only for those who are interested to review it; this will not build on its own. For applying and testing, use http://junkpile.org/unbound-1.5.4.d

Re: passwd(1): describe behavior when user not specified

2015-07-15 Thread Jérémie Courrèges-Anglas
"Todd C. Miller" writes: > This comes up periodically with users being confused when running > passwd after su changes the passwd of the user they came from. Indeed. ok jca@ > Index: usr.bin/passwd/passwd.1 > === > RCS file: /cvs/

passwd(1): describe behavior when user not specified

2015-07-15 Thread Todd C. Miller
This comes up periodically with users being confused when running passwd after su changes the passwd of the user they came from. - todd Index: usr.bin/passwd/passwd.1 === RCS file: /cvs/src/usr.bin/passwd/passwd.1,v retrieving revis

Re: Missing descriptor in uvideo.h

2015-07-15 Thread ludovic coues
2015-07-15 17:04 GMT+02:00 Martin Pieuchot : > On 15/07/15(Wed) 16:45, Ludovic Coues wrote: >> Following is a diff adding missing USB descriptor to uvideo.h according >> to USB Video spec 1.5 . It also update a couple of table reference from >> spec 1.1 to 1.5 > > Do not hesitate to explain *why* d

Re: Missing descriptor in uvideo.h

2015-07-15 Thread Martin Pieuchot
On 15/07/15(Wed) 16:45, Ludovic Coues wrote: > Following is a diff adding missing USB descriptor to uvideo.h according > to USB Video spec 1.5 . It also update a couple of table reference from > spec 1.1 to 1.5 Do not hesitate to explain *why* do you need that, it might not be clear to everybody o

fd_getfile() and fp refcounting

2015-07-15 Thread Martin Pieuchot
Here's diff a that moves FRELE() inside fd_getfile(). This is some plumbing to help unlocking code paths manipulating fp. The idea is to guarantee to the callers of fd_getfile() that the returned fp has the necessary reference counts and will not disappear while it is being manipulated. Some cod

Re: change from vt220 to pccon0 for AMD/Intel consoles

2015-07-15 Thread Theo de Raadt
> There are pccon* terminal descriptions for AMD/Intel PC consoles > in /etc/termcap.I have been using them on various computers > since 2011 without problems. > > I suggest to use pccon0 instead of vt220 by default > for amd64 and i386because vt220 has not good support > of navigation and functio

Missing descriptor in uvideo.h

2015-07-15 Thread Ludovic Coues
Following is a diff adding missing USB descriptor to uvideo.h according to USB Video spec 1.5 . It also update a couple of table reference from spec 1.1 to 1.5 Index: sys/dev/usb/uvideo.h === RCS file: /cvs/src/sys/dev/usb/uvideo.h,v r

Re: httpd: patch to close TLS sockets that fail before TLS handshake

2015-07-15 Thread Jack Burton
On Wed, 2015-07-15 at 23:38 +0930, Jack Burton wrote: > Sorry, I don't have any hosts running -current at the moment, but I've > written a trivial patch against 5.7-stable to treat that particular > failure mode in the same way as was already being done for EV_TIMEOUTs. > That fixes the issue for

change from vt220 to pccon0 for AMD/Intel consoles

2015-07-15 Thread Alexei Malinin
Hello. There are pccon* terminal descriptions for AMD/Intel PC consoles in /etc/termcap.I have been using them on various computers since 2011 without problems. I suggest to use pccon0 instead of vt220 by default for amd64 and i386because vt220 has not good support of navigation and function keys

Adding USB descriptor to uvideo.h

2015-07-15 Thread Ludovic Coues
Following diff add missing descriptor from Video USB specification 1.5 to uvideo.h and update a couple of table reference to match that version. Index: sys/dev/usb/uvideo.h === RCS file: /cvs/src/sys/dev/usb/uvideo.h,v retrieving rev

httpd: patch to close TLS sockets that fail before TLS handshake

2015-07-15 Thread Jack Burton
In 5.7-stable & -current, httpd, when listening for TLS, does not close the client socket when tls_accept_socket() returns any non-recoverable error. The problem manifests most often when a client connects but does not attempt TLS handshake. Steps to reproduce: * Configure httpd to listen for TLS

Re: Stalled IPI processing on octeon

2015-07-15 Thread Visa Hankala
On Wed, Jul 15, 2015 at 05:07:39AM +, Miod Vallat wrote: > > The patch below solves stalled IPI processing on octeon. When IPIs are > > finally enabled during boot, some kernel threads have already been > > started. There seems to be no mechanism that would update interrupt > > masks for a runn