Re: PF misbehaving counters + code reuse

2010-09-01 Thread Martin Pelikan
Hello, this is a new version based on corrections by henning@ with few more things added. I'm not sure whether the type changes in pfvar.h won't break anything, but it would be nice to have the types uniform. Any comments or suggestions? -- Martin Pelikan Index: net/pf.c

Re: Backout mclgeti for vr(4).

2010-09-01 Thread Mark Kettenis
> Date: Tue, 31 Aug 2010 18:49:06 -0600 > From: Theo de Raadt > > > > Date: Tue, 31 Aug 2010 22:30:42 +0100 > > > From: Stuart Henderson > > > > > > running with this seems to help. > > > > Can you try this diff instead? > > > > Index: if_vr.c > > =

Re: Looking for testers for a simple X test

2010-09-01 Thread Alf Schlichting
On Tue, Aug 31, 2010 at 10:23:09PM +0100, Owain Ainsworth wrote: > On Tue, Aug 31, 2010 at 02:54:44PM +0200, Alf Schlichting wrote: > > On Tue, Aug 31, 2010 at 10:58:08AM +0300, Oleksii Zhmyrov wrote: > > > Hi, > > > > > > I use OpenBSD -current on my desktop with Xfce4. > > > With Option "UseSIGI

fix PCMCIA checksum verification

2010-09-01 Thread Miod Vallat
If you have PCMCIA cards which cause ``CIS checksum failed'' messages to appear when inserted, please try the following diff and let me know if the message disappears. And if you have PCMCIA cards which do not cause the checksum failed message to appear, please try this diff anyway and let me know

Re: pcmcia: support for indirect CIS

2010-09-01 Thread Ian Darwin
On Wed, Sep 01, 2010 at 01:53:44PM +, Miod Vallat wrote: > The following diff adds support for PCMCIA cards with indirect CIS data > (the regular CIS data only contains a device tuple and an ``indirect'' > tuple). Errm, I just put one of those in a computer museum. I've asked, if they're not

Re: Looking for testers for a simple X test

2010-09-01 Thread Oleksii Zhmyrov
2010/9/1 Owain Ainsworth > On Tue, Aug 31, 2010 at 02:54:44PM +0200, Alf Schlichting wrote: > > On Tue, Aug 31, 2010 at 10:58:08AM +0300, Oleksii Zhmyrov wrote: > > > Hi, > > > > > > I use OpenBSD -current on my desktop with Xfce4. > > > With Option "UseSIGIO" "false" xserver refuses to start at

Re: Looking for testers for a simple X test

2010-09-01 Thread Kenneth R Westerback
On Wed, Sep 01, 2010 at 12:39:52PM +0200, LEVAI Daniel wrote: > On Wed, Sep 01, 2010 at 06:30:05 -0400, Kenneth R Westerback wrote: > > On Wed, Sep 01, 2010 at 09:35:17AM +0200, LEVAI Daniel wrote: > [...] > > > However, using this option, after starting firefox everything gets > > > extremely lagg

pcmcia: support for indirect CIS

2010-09-01 Thread Miod Vallat
The following diff adds support for PCMCIA cards with indirect CIS data (the regular CIS data only contains a device tuple and an ``indirect'' tuple). These cards currently aren't recognized correctly and ``attach'' as this: com3 at pcmcia0 function 0: can't allocate i/o space If you have such pc

PF misbehaving counters + code reuse

2010-09-01 Thread Martin Pelikán
Hello tech@ I've noticed different behavior of pf rule counters between IPv4 and IPv6. The easiest ruleset would look like: block match on em0 inet6 tag potazmo match on em0 inet tag ausfahrt pass on em0 from any to any tagged potazmo pass on em0 from any to any tagged ausfahrt where ping4s are c

stat.c const char *

2010-09-01 Thread Mark Lumsden
Add const keyword to pointers that point to strings which shouldn't be changed and remove blankline from usage(). ok? -mark Index: stat.c === RCS file: /cvs/src/usr.bin/stat/stat.c,v retrieving revision 1.16 diff -u -p -r1.16 stat.

Re: Looking for testers for a simple X test

2010-09-01 Thread LEVAI Daniel
On Wed, Sep 01, 2010 at 06:30:05 -0400, Kenneth R Westerback wrote: > On Wed, Sep 01, 2010 at 09:35:17AM +0200, LEVAI Daniel wrote: [...] > > However, using this option, after starting firefox everything gets > > extremely laggy, and I can interact with my machine with the keyboard or > > mouse wit

Re: Looking for testers for a simple X test

2010-09-01 Thread Kenneth R Westerback
On Wed, Sep 01, 2010 at 09:35:17AM +0200, LEVAI Daniel wrote: > On Mon, Aug 30, 2010 at 23:31:25 +0200, Mark Kettenis wrote: > > The Xorg xserver runs a scary amount of code in a signal handler. > > It's supposed to make your mouse cursor move more smoothly, but I > > can't spot the difference when

Re: bufq massage

2010-09-01 Thread David Gwynne
On 01/09/2010, at 8:13 PM, Mark Kettenis wrote: >> From: David Gwynne >> Date: Wed, 1 Sep 2010 19:35:15 +1000 >> >> On 01/09/2010, at 7:30 PM, Mark Kettenis wrote: >>> I realise you committed this already, but can you elaborate on those >>> XXX's in there? >> >> these two? > > yes > >> +if (b

Re: bufq massage

2010-09-01 Thread Mark Kettenis
> From: David Gwynne > Date: Wed, 1 Sep 2010 19:35:15 +1000 > > On 01/09/2010, at 7:30 PM, Mark Kettenis wrote: > > I realise you committed this already, but can you elaborate on those > > XXX's in there? > > these two? yes > + if (bq->bufq_outstanding == 0 /* XXX and quiesced */) > +

Re: bufq massage

2010-09-01 Thread David Gwynne
On 01/09/2010, at 7:30 PM, Mark Kettenis wrote: > I realise you committed this already, but can you elaborate on those > XXX's in there? these two? + if (bq->bufq_outstanding == 0 /* XXX and quiesced */) + SLIST_FOREACH(bq, &bufqs, bufq_entries) { /* XXX */ the first one refers to t

Re: bufq massage

2010-09-01 Thread Mark Kettenis
> Date: Sun, 29 Aug 2010 22:26:14 +1000 > From: David Gwynne > > this diff is largely a mechanical change. > > firstly, it makes struct bufq a member of the softc for devices > that use it, rather than it being a pointer to something that needs > to be allocated at attach. since all these device

Re: Looking for testers for a simple X test

2010-09-01 Thread LEVAI Daniel
On Mon, Aug 30, 2010 at 23:31:25 +0200, Mark Kettenis wrote: > The Xorg xserver runs a scary amount of code in a signal handler. > It's supposed to make your mouse cursor move more smoothly, but I > can't spot the difference when I disable that "feature". Instead, > this "feature" breaks certain m

Re: Backout mclgeti for vr(4).

2010-09-01 Thread Stuart Henderson
On 2010/08/31 23:59, Mark Kettenis wrote: > > Date: Tue, 31 Aug 2010 22:30:42 +0100 > > From: Stuart Henderson > > > > running with this seems to help. > > Can you try this diff instead? It is surviving ok with this diff. > Index: if_vr.c >