Re: disable wbng

2011-05-19 Thread Stuart Henderson
Revisiting this following some recent discussions on another mailing list, On 2010/09/23 15:13, Marco Pfatschbacher wrote: On Wed, Sep 22, 2010 at 06:11:58PM +0200, Mike Belopuhov wrote: there's nothing special about this driver. as it does usual iic_exec's, i'm not sure what can be actually

Re: set skip on ifgroup

2011-05-19 Thread Alexander Hall
On 05/18/11 23:31, Stuart Henderson wrote: set skip in PF has a slightly unexpected behaviour; rather than skipping by interface group, it matches on the non-numeric part of an interface name. I think the prefix match test is a common behaviour so I think you should keep that. Example granti

Re: set skip on ifgroup

2011-05-19 Thread Stuart Henderson
On 2011/05/19 10:22, Alexander Hall wrote: Hmmm, looking further, it seems ordinary rules only match on the interface name or group as well (in pfi_kif_match()), so maybe you're just plain right after all. :-) Yes, this is the main problem imo. Current 'set skip' handling pre-dates interface

Re: set skip on ifgroup

2011-05-19 Thread Claudio Jeker
On Thu, May 19, 2011 at 10:22:07AM +0200, Alexander Hall wrote: On 05/18/11 23:31, Stuart Henderson wrote: set skip in PF has a slightly unexpected behaviour; rather than skipping by interface group, it matches on the non-numeric part of an interface name. I think the prefix match test

Re: set skip on ifgroup

2011-05-19 Thread Reyk Floeter
On Thu, May 19, 2011 at 11:26:59AM +0200, Claudio Jeker wrote: To be honest I'm not sure who will do a 'set skip on sis' or 'set skip on em'. I would ;-) Sometimes you have machines with different types of physical interfaces where one type is used for internal stuff like a dedicated pfsync or

Re: set skip on ifgroup

2011-05-19 Thread Stuart Henderson
On 2011/05/19 11:26, Claudio Jeker wrote: There is a bigger problem with 'set skip on lo', it is only evaluated during load. So if you create a lo1 afterwards the set skip will not trigger. This is very annoying especially with qemu and tun interfaces. Right, I noticed this during testing, and

Re: set skip on ifgroup

2011-05-19 Thread Alexander Hall
On 05/19/11 11:43, Reyk Floeter wrote: On Thu, May 19, 2011 at 11:26:59AM +0200, Claudio Jeker wrote: To be honest I'm not sure who will do a 'set skip on sis' or 'set skip on em'. I would ;-) You would, however, not have a big problem adding 'group em' to the corresponding

Re: disable wbng

2011-05-19 Thread Theo de Raadt
On 2010/09/23 15:13, Marco Pfatschbacher wrote: On Wed, Sep 22, 2010 at 06:11:58PM +0200, Mike Belopuhov wrote: there's nothing special about this driver. as it does usual iic_exec's, i'm not sure what can be actually fixed there. so if nobody has any idea what could be done about it, you

Re: vmmap and emacs-22

2011-05-19 Thread Mark Kettenis
Date: Thu, 19 May 2011 03:32:10 +0200 From: Ariane van der Steldt ari...@stack.nl Hi, I would respond in-thread, but I can't find the thread that had the original report that emacs-22 doesn't work under vmmap. Perhaps it was only on icb... Anyways, emacs-22.3p8 doesn't work under

Re: set skip on ifgroup

2011-05-19 Thread Claudio Jeker
On Thu, May 19, 2011 at 11:43:54AM +0200, Reyk Floeter wrote: On Thu, May 19, 2011 at 11:26:59AM +0200, Claudio Jeker wrote: To be honest I'm not sure who will do a 'set skip on sis' or 'set skip on em'. I would ;-) ... but you don't at the moment. Sometimes you have machines with

script(1): read input from file

2011-05-19 Thread Alexander Polakov
Here's a diff to make script(1) read input from a file when -i flag is used (and fallback to stdin when file is out of data). Can be used to emulate user input for interactive programs. (here we do tab completion) [/tmp]% cat test ls mutt--- two tabs here exit [/tmp]% script -i

Re: vmmap and emacs-22

2011-05-19 Thread Ariane van der Steldt
On Thu, May 19, 2011 at 12:13:37PM +0200, Mark Kettenis wrote: Date: Thu, 19 May 2011 03:32:10 +0200 From: Ariane van der Steldt ari...@stack.nl I would respond in-thread, but I can't find the thread that had the original report that emacs-22 doesn't work under vmmap. Perhaps it was

AVL tree

2011-05-19 Thread Michael Pounov
Add AVL tree implementation and merge few RB tree related macros. If you have comments or any claims, please send me feedback and I will fix them. -- M.Punov - AITNET - Sofia/Bulgaria - Software Network Solutions (+359) 888 73 73 58;(+359) 2 402 4000 [demime 1.01d

Re: AVL tree

2011-05-19 Thread Thordur Bjornsson
On Thu, May 19, 2011 at 07:52:44PM +0300, Michael Pounov wrote: Add AVL tree implementation and merge few RB tree related macros. If you have comments or any claims, please send me feedback and I will fix them. cool. but tech@ removes attachments, send your diffs inline. I'm assuming you

Re: disable wbng

2011-05-19 Thread Alexey Suslikov
Theo de Raadt wrote: On 2010/09/23 15:13, Marco Pfatschbacher wrote: On Wed, Sep 22, 2010 at 06:11:58PM +0200, Mike Belopuhov wrote: there's nothing special about this driver. as it does usual iic_exec's, i'm not sure what can be actually fixed there. so if nobody has any idea what

Re: AVL tree

2011-05-19 Thread Owain Ainsworth
On Thu, May 19, 2011 at 07:52:44PM +0300, Michael Pounov wrote: Add AVL tree implementation and merge few RB tree related macros. If you have comments or any claims, please send me feedback and I will fix them. First of all, before we get anto any technical discussion etc. please provide

Re: AVL tree

2011-05-19 Thread Michael Pounov
Add AVL tree implementation and merge few RB tree related macros. If you have comments or any claims, please send me feedback and I will fix them. Include patch file -- M.Punov - AITNET - Sofia/Bulgaria - Software Network Solutions (+359) 888 73 73 58;(+359) 2 402 4000

Re: AVL tree

2011-05-19 Thread Mike Belopuhov
On Thu, May 19, 2011 at 7:12 PM, Thordur Bjornsson t...@openbsd.org wrote: On Thu, May 19, 2011 at 07:52:44PM +0300, Michael Pounov wrote: Add AVL tree implementation and merge few RB tree related macros. If you have comments or any claims, please send me feedback and I will fix them. cool.

Re: AVL tree

2011-05-19 Thread Owain Ainsworth
On Thu, May 19, 2011 at 08:16:22PM +0300, Michael Pounov wrote: Add AVL tree implementation and merge few RB tree related macros. If you have comments or any claims, please send me feedback and I will fix them. Include patch file -- M.Punov - AITNET -

Re: AVL tree

2011-05-19 Thread Michael Pounov
Not see differences in results with performance from RB tree vs AVL, but right solution for problems when we have choice between algorithms. On Thu, 19 May 2011 19:21:21 +0200 Mike Belopuhov m...@crypt.org.ru wrote: On Thu, May 19, 2011 at 7:12 PM, Thordur Bjornsson t...@openbsd.org wrote:

Re: AVL tree

2011-05-19 Thread Thordur Bjornsson
On Thu, May 19, 2011 at 07:21:21PM +0200, Mike Belopuhov wrote: On Thu, May 19, 2011 at 7:12 PM, Thordur Bjornsson t...@openbsd.org wrote: On Thu, May 19, 2011 at 07:52:44PM +0300, Michael Pounov wrote: Add AVL tree implementation and merge few RB tree related macros. If you have comments

Re: AVL tree

2011-05-19 Thread Michael Pounov
Add AVL tree implementation and merge few RB tree related macros. If you have comments or any claims, please send me feedback and I will fix them. Inline patch:: --- /usr/src/sys/sys/tree.h Mon Mar 2 11:42:55 2009 +++ tree.h Thu May 19 20:16:36 2011 @@ -730,9 +730,367 @@

Re: AVL tree

2011-05-19 Thread Michael Pounov
AVL implementation consume less memory from RB tree implementation On Thu, 19 May 2011 19:33:22 +0200 Mike Belopuhov m...@crypt.org.ru wrote: On Thu, May 19, 2011 at 7:25 PM, Michael Pounov mi...@aitbg.com wrote: Not see differences in results with performance from RB tree vs AVL, but

loongson: better console device selection logic

2011-05-19 Thread Miod Vallat
The following diff changes the OpenBSD/loongson console device selection from an `either serial or glass console, depending on the value of environment variables in pmon' to `glass console if there is a graphics card, otherwise serial if there are serial ports, and prefer serial if environment

Novedades! Carteras de moda - Nueva colección

2011-05-19 Thread Cueros Liberty
pEstimado/a tech@openbsd.org/p pPor medio de la presente le enviamos las novedades del mes. Ingrese en el siguiente link:/p phttp://www.cuerosliberty.com.ar/newsletter/mayo1102.htm/p pAnte cualquier consulta no dude en contactarnos./p pUn cordial saludo./p pCueros Libertybr / Reconquista 573,

Re: disable wbng

2011-05-19 Thread Stuart Henderson
On 2011/05/19 20:13, Alexey Suslikov wrote: Theo de Raadt wrote: On 2010/09/23 15:13, Marco Pfatschbacher wrote: On Wed, Sep 22, 2010 at 06:11:58PM +0200, Mike Belopuhov wrote: there's nothing special about this driver. as it does usual iic_exec's, i'm not sure what can be actually

Re: disable wbng

2011-05-19 Thread Alexey Suslikov
On Thu, May 19, 2011 at 21:26, Stuart Henderson s...@spacehopper.org wrote: On 2011/05/19 20:13, Alexey Suslikov wrote: Theo de Raadt wrote: On 2010/09/23 15:13, Marco Pfatschbacher wrote: On Wed, Sep 22, 2010 at 06:11:58PM +0200, Mike Belopuhov wrote: there's nothing special about this

Allow ipsecctl-like grouping in iked(8)

2011-05-19 Thread Vadim Zhukov
Hello all. This patch allows ipsecctl-like flow grouping along with current behavior. It allows to write many-to-many policies in a more compact way, see an example: ikev2 esp \ from { 1.2.3.4, 5.6.7.8 } to { 3.4.5.6, 4.5.6.7} \ from 7.8.9.0 to { 0.1.2.3, 2.3.4.5 } \ ... will

Re: AVL tree

2011-05-19 Thread Owain Ainsworth
On Thu, May 19, 2011 at 05:27:01PM +, Thordur Bjornsson wrote: On Thu, May 19, 2011 at 07:21:21PM +0200, Mike Belopuhov wrote: On Thu, May 19, 2011 at 7:12 PM, Thordur Bjornsson t...@openbsd.org wrote: On Thu, May 19, 2011 at 07:52:44PM +0300, Michael Pounov wrote: Add AVL tree

AMD K10/K11 family frequency scaling.

2011-05-19 Thread Brynet
Adds support for family 10h/11h AMD processors, not sure if it's the best way to do this.. but it works and noticably lowers the temperatures reported by the die sensors. # sysctl hw.setperf=0 # echo apmd_flags=\-C\ /etc/rc.conf.local Just putting it here again for testing, could also be

Re: nfe driver

2011-05-19 Thread Brett Mahar
Date: Wed, 18 May 2011 09:16:39 -0500 (CDT) From: L. V. Lammert l...@omnitec.net To: tech@openbsd.org Subject: nfe driver Message-ID: pine.bso.4.53.1105180913130.1...@mail.omnitec.net Just upgraded a machine to AMD64, .. and the MB has an NVIDIA nForce MCP ethernet onboard. Unfortunately, the

Re: Add SB800+ SMBus support to piixpm.

2011-05-19 Thread Brynet
Here it is a again with the magic relocated to piixreg.h. To clarify, if you have: piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus Then check if the revision is = 0x40, which is the relevant southbridge. If it works, you'll see pretty stuff like this:: spdmem0 at iic addr 0x50: 2GB DDR3 SDRAM

Re: AMD K10/K11 family frequency scaling.

2011-05-19 Thread Brynet
Claudio wrote: Since my new amd64 runs i386 at the moment I ported the code over. Cool, thanks. According to md5 -tt it seems to work. :-) -Bryan.

Re: AVL tree

2011-05-19 Thread Ariane van der Steldt
On Thu, May 19, 2011 at 07:33:22PM +0200, Mike Belopuhov wrote: On Thu, May 19, 2011 at 7:25 PM, Michael Pounov mi...@aitbg.com wrote: Not see differences in results with performance from RB tree vs AVL, Which tree size did you use to test that? Which insert order (yes, this is relevant: with