ok to kill stdio.h in strsep.c?

2014-01-24 Thread Jean-Philippe Ouellet
It appeared in revision 1.3 ("Update from lite2.") It's the only one in the string family that has it, and nothing from it is used. Index: strsep.c === RCS file: /cvs/src/lib/libc/string/strsep.c,v retrieving revision 1.6 diff -u -p

Re: help needed from someone with an sk(4)

2014-01-24 Thread David Higgs
On Fri, Jan 24, 2014 at 4:24 AM, Henning Brauer wrote: > * Henning Brauer [2014-01-24 05:50]: >> i need this tested on an sk(4). >> I don't have that hardware at all. > > this gets rif od a slight little bit more. > Resurrected an old box, kernel compile w/ patch is underway. Should be able to

Re: pkg_add tests

2014-01-24 Thread Theo de Raadt
> Do we have to do any of this if we have been following snapshots or > -current? Are there any other gotchas related to these for those of us > who are running snapshots or -current? I haven't had any obvious Bad > Things jump up and bite me yet, want to keep it that way. > (Software-related, at l

Re: pkg_add tests

2014-01-24 Thread Shawn K. Quinn
On Fri, Jan 24, 2014, at 06:50 AM, Marc Espie wrote: > You should realize that the pkg tools have gone thru *major internal > changes* > over the last month or so. > > If you see weird things happening, now is a really good time to report > them, > before it's too late... > > > Also, the 5.4 ->

Apple SMC chip - driver to read sensors and temperatures

2014-01-24 Thread peb.nowa...@bluewin.ch
Hi all running OpenBSD on Apple hardware: I was working on the asmc kernel driver for the Macbooks. I have a MBPro8.2 (mid 2011), and came to get the driver installed, reading all sensors and temperatures into the "hw.sensors" framework. See attached diffs. Beginning line 30 I describe th

Re: restoring keyboard layout after suspend or hibernate

2014-01-24 Thread Lars Nooden
On Thu, 23 Jan 2014, Miod Vallat wrote: > [cc: tech@, reply-to set to tech@] [snip] > Fear not, for I have a diff for you (which I have been sitting on for > about two years, and only completed and debugged thanks to this > discussion)! [snip] Very cool. I've given it a try now on some limited ha

Re: help needed from someone with an sk(4)

2014-01-24 Thread Henning Brauer
* Ted Unangst [2014-01-24 17:48]: > On Fri, Jan 24, 2014 at 16:27, Christian Weisgerber wrote: > > Henning Brauer wrote: > > > >> i need this tested on an sk(4). > >> I don't have that hardware at all. > > [Summary: Henning wants to confine in_cksum_phdr() to ip_output.c and > > remove its only

Re: help needed from someone with an sk(4)

2014-01-24 Thread Ted Unangst
On Fri, Jan 24, 2014 at 16:27, Christian Weisgerber wrote: > Henning Brauer wrote: > >> i need this tested on an sk(4). >> I don't have that hardware at all. > [Summary: Henning wants to confine in_cksum_phdr() to ip_output.c and > remove its only other user sk_rxcsum().] > > This is an instance

Re: help needed from someone with an sk(4)

2014-01-24 Thread Christian Weisgerber
Henning Brauer wrote: > i need this tested on an sk(4). > I don't have that hardware at all. [Summary: Henning wants to confine in_cksum_phdr() to ip_output.c and remove its only other user sk_rxcsum().] This is an instance of a very rudimentary RX checksumming engine that only runs over the pay

pkg_add tests

2014-01-24 Thread Marc Espie
You should realize that the pkg tools have gone thru *major internal changes* over the last month or so. If you see weird things happening, now is a really good time to report them, before it's too late... Also, the 5.4 -> 5.5 update is going to be "fun": there was a kernel flag day. The proper

Re[2]: dump vs. dumps

2014-01-24 Thread Mo Libden
On Fri, Jan 24 2014, 12:13 +01:00 David Coppa said: >On Fri, Jan 24, 2014 at 12:07 PM, Stuart Henderson < st...@openbsd.org > wrote: >> On 2014/01/24 03:41, David Coppa wrote: >>> >>> Is there a particular reason for dmesg saying "dump" while the >>> kernel config option is "dumps"? >> >> hmm, no

Re: dump vs. dumps

2014-01-24 Thread David Coppa
On Fri, Jan 24, 2014 at 12:07 PM, Stuart Henderson wrote: > On 2014/01/24 03:41, David Coppa wrote: >> >> Is there a particular reason for dmesg saying "dump" while the >> kernel config option is "dumps"? > > hmm, not sure I like mixing root/swap (noun) with dumps (verb) within > the single dmesg

Re: dump vs. dumps

2014-01-24 Thread Stuart Henderson
On 2014/01/24 03:41, David Coppa wrote: > > Is there a particular reason for dmesg saying "dump" while the > kernel config option is "dumps"? hmm, not sure I like mixing root/swap (noun) with dumps (verb) within the single dmesg line... root on sd1a (5b1b292fa70c813b.a) swap on sd1b dump on sd1b

dump vs. dumps

2014-01-24 Thread David Coppa
Is there a particular reason for dmesg saying "dump" while the kernel config option is "dumps"? I find it confusing... Index: sys/kern/subr_disk.c === RCS file: /cvs/src/sys/kern/subr_disk.c,v retrieving revision 1.163 diff -u -p -u

drm cleanup diff

2014-01-24 Thread Mark Kettenis
The diff below cleans up the "fake" uvm locking and the hold/unlock logic in drm. I'm pretty sure the hold/unlock logic isn't necessary anymore, but I'd like to see some people test this before I commit. Thanks, Mark Index: drmP.h ===

Re: help needed from someone with an sk(4)

2014-01-24 Thread Henning Brauer
* Henning Brauer [2014-01-24 05:50]: > i need this tested on an sk(4). > I don't have that hardware at all. this gets rif od a slight little bit more. Index: netinet/in.h === RCS file: /cvs/src/sys/netinet/in.h,v retrieving revision