Re: hppa mutex ipl diff

2014-01-29 Thread David Gwynne
is there anything in particular you're supposed to look for to see if it is or isnt working? either it locks up the machine (deadlock) or doesnt? On 29 Jan 2014, at 8:06 pm, Mark Kettenis wrote: > Here is a diff that makes mutexes raise their ipl to the highest level > that has interrupts that

Fix: Seg. fault in make(1) by wrong fmt string arguments

2014-01-29 Thread Jan Klemkow
Hi, I found two segmentation faults in make(1). Here is a diff that should fix these bugs. bye, Jan Index: var.c === RCS file: /cvs/src/usr.bin/make/var.c,v retrieving revision 1.96 diff -u -p -r1.96 var.c --- var.c 6 Jan 201

rm reference to obsolete functions

2014-01-29 Thread Jan Klemkow
Hi, I've made a little diff to clean up some manpages with references to the obsoleted functions usleep(1), alarm(3). bye, Jan Index: bin/sleep/sleep.1 === RCS file: /cvs/src/bin/sleep/sleep.1,v retrieving revision 1.19 diff -u -p -

Re: hppa mutex ipl diff

2014-01-29 Thread Juan Francisco Cantero Hurtado
I've been running a dpb build for hours and I've not seen problems. On Wed, Jan 29, 2014 at 11:06:40AM +0100, Mark Kettenis wrote: > Here is a diff that makes mutexes raise their ipl to the highest level > that has interrupts that take the kernel lock. This is necessary for > the work dlg@ has be

Re: ntpd(8) losing sync

2014-01-29 Thread Ted Unangst
On Thu, Jan 30, 2014 at 03:03, Nathanael Rensen wrote: > I noticed that ntpd(8) was regularly reporting it was unsynced, which > in turn impacts down stream clients. > > ntpd_adjtime() in usr.sbin/ntpd/ntpd.c uses the olddelta returned by > adjtime(2) to determine whether the previous adjustment w

ntpd(8) losing sync

2014-01-29 Thread Nathanael Rensen
I noticed that ntpd(8) was regularly reporting it was unsynced, which in turn impacts down stream clients. ntpd_adjtime() in usr.sbin/ntpd/ntpd.c uses the olddelta returned by adjtime(2) to determine whether the previous adjustment was completed. The clock is considered to be synced only if olddel

Re: panic: __mp_lock_held(&sched_lock) 2013-DEC-27 snapshot

2014-01-29 Thread patrick keshishian
On Wed, Jan 29, 2014 at 07:50:34AM +0100, J??r??mie Courr??ges-Anglas wrote: > patrick keshishian writes: > > > On Tue, Jan 28, 2014 at 09:02:31PM -0800, Philip Guenther wrote: > >> On Tue, Jan 28, 2014 at 4:55 PM, patrick keshishian > >> wrote: > >> > Side note 1: > >> > Incidentally, I couldn

Re: sisfb(4): restore lemote framebuffer on resume

2014-01-29 Thread Paul Irofti
Forget about this diff.

Re: unbreak ftp progressbar

2014-01-29 Thread David Coppa
> From: Antoine Jacoutot > Date: Wed, Jan 29, 2014 at 3:24 PM > Subject: Re: unbreak ftp progressbar > To: Jasper Lievisse Adriaanse > Cc: tech@openbsd.org > > > On Wed, Jan 29, 2014 at 02:53:12PM +0100, Jasper Lievisse Adriaanse wrote: > > Hi, > > > > At least with ftp -Vm the progressbar was

Re: unbreak ftp progressbar

2014-01-29 Thread Antoine Jacoutot
On Wed, Jan 29, 2014 at 02:53:12PM +0100, Jasper Lievisse Adriaanse wrote: > Hi, > > At least with ftp -Vm the progressbar was messing up the display as it was > printing the output on the same line and would wrap around creating displays > such as http://pbot.rmdir.de/gOeAYNv30HnQk-4I4xmKZg > Se

Re: unbreak ftp progressbar

2014-01-29 Thread David Coppa
On Wed, Jan 29, 2014 at 2:53 PM, Jasper Lievisse Adriaanse wrote: > Hi, > > At least with ftp -Vm the progressbar was messing up the display as it was > printing the output on the same line and would wrap around creating displays > such as http://pbot.rmdir.de/gOeAYNv30HnQk-4I4xmKZg > Seems like

unbreak ftp progressbar

2014-01-29 Thread Jasper Lievisse Adriaanse
Hi, At least with ftp -Vm the progressbar was messing up the display as it was printing the output on the same line and would wrap around creating displays such as http://pbot.rmdir.de/gOeAYNv30HnQk-4I4xmKZg Seems like typo from the introduction of the -D flag. OK? Index: util.c ===

sisfb(4): restore lemote framebuffer on resume

2014-01-29 Thread Paul Irofti
The following diff is probably too big of the hammer for the problem I'm trying to solve. Maybe miod can shed more light into it. The idea is that enabling pci_dopm on my lemote helped save up to 5-6% more battery when the system is suspended. Time spent Remaining battery Remaining bat

Re: acpiasus(4): properly register the activate function

2014-01-29 Thread Paul Irofti
On Wed, Jan 29, 2014 at 02:59:10PM +0200, Paul Irofti wrote: > It seems to me that the activate function was registered as a detach > function. This diff puts the activate function in the proper cfattach > position. Erm, I forgot to state the obvious. People with asus, please test and report back

acpiasus(4): properly register the activate function

2014-01-29 Thread Paul Irofti
It seems to me that the activate function was registered as a detach function. This diff puts the activate function in the proper cfattach position. Index: dev/acpi/acpiasus.c === RCS file: /cvs/src/sys/dev/acpi/acpiasus.c,v retrievi

hppa mutex ipl diff

2014-01-29 Thread Mark Kettenis
Here is a diff that makes mutexes raise their ipl to the highest level that has interrupts that take the kernel lock. This is necessary for the work dlg@ has been doing on making subsystems run without the kernel lock. This needs to be tested on an MP system, and unfortunately that's something I

Re: panic: __mp_lock_held(&sched_lock) 2013-DEC-27 snapshot

2014-01-29 Thread Landry Breuil
On Tue, Jan 28, 2014 at 09:02:31PM -0800, Philip Guenther wrote: > On Tue, Jan 28, 2014 at 4:55 PM, patrick keshishian > wrote: > > > Side note 2: > > I see gdb crash quite often on subsequent run of app being > > debugged. I've noticed this on a bunch of snapshots dating > > some months back. N