Re: softraid crypto: preallocate crypops and dma buffers.

2011-06-20 Thread Todd T. Fries
Penned by roberth on 20110620 21:05.14, we have: | On Mon, 20 Jun 2011 20:12:28 -0500 | Marco Peereboom wrote: | | > I am liking this diff quite a bit but it needs more testers. So if | > you are using softraid crypto please try this diff. | | Still working for me. And me. Volume

Re: softraid crypto: preallocate crypops and dma buffers.

2011-06-20 Thread roberth
On Mon, 20 Jun 2011 20:12:28 -0500 Marco Peereboom wrote: > I am liking this diff quite a bit but it needs more testers. So if > you are using softraid crypto please try this diff. Still working for me.

Re: softraid crypto: preallocate crypops and dma buffers.

2011-06-20 Thread Marco Peereboom
I am liking this diff quite a bit but it needs more testers. So if you are using softraid crypto please try this diff. On Fri, Jun 17, 2011 at 07:53:05PM +0100, Owain Ainsworth wrote: > So here's the problem: ENOMEM on io in a hba driver is bad juju. > > In more detail: > > When preparing for

Re: 4096 byte sector devices (a.k.a. disks > 3TB)

2011-06-20 Thread Marco Peereboom
On Mon, Jun 20, 2011 at 08:30:40PM -0400, Kenneth R Westerback wrote: > I committed a fix to fdisk(8) today to un-break the -i and -e options > on 4096-byte devices. To make a long story short, it had been working > accidentally until I committed a 4.9 change to fdisk(8) to make > it pay attention

4096 byte sector devices (a.k.a. disks > 3TB)

2011-06-20 Thread Kenneth R Westerback
I committed a fix to fdisk(8) today to un-break the -i and -e options on 4096-byte devices. To make a long story short, it had been working accidentally until I committed a 4.9 change to fdisk(8) to make it pay attention to the errors returned from MBR_read(). However this has raised once more con

dev/ic bzero casts

2011-06-20 Thread Ted Unangst
there's no need to cast to char *. Index: dc.c === RCS file: /home/tedu/cvs/src/sys/dev/ic/dc.c,v retrieving revision 1.122 diff -u -r1.122 dc.c --- dc.c5 Mar 2011 13:39:26 - 1.122 +++ dc.c20 Jun 2011 23:22:2

raidframe bzero casts

2011-06-20 Thread Ted Unangst
yeah, i know. no need to cast to char *. also, no need to cast void return of bzero to void. Index: rf_alloclist.c === RCS file: /home/tedu/cvs/src/sys/dev/raidframe/rf_alloclist.c,v retrieving revision 1.4 diff -u -r1.4 rf_allocli

Re: fix a few uvm includes

2011-06-20 Thread Ted Unangst
On Mon, Jun 20, 2011 at 3:43 PM, Miod Vallat wrote: >> uvm_extern.h is the header people should be consuming. change a few uvm.h >> to uvm_extern.h. > > This is not what, say, kern_fork.c does. If you include , you > don't need any other , and definitely not > . kern_fork.c was relying on vnode.

grep -o

2011-06-20 Thread Ted Unangst
this was proposed a while ago, but got sidetracked by some nonstandard option discussion. bringing it back in slightly different form. -o only prints the matching parts of a line, not the entire line. While this is possible using awk, the same could be said of everything grep does. It is inte

Re: fix a few uvm includes

2011-06-20 Thread Miod Vallat
> uvm_extern.h is the header people should be consuming. change a few uvm.h > to uvm_extern.h. This is not what, say, kern_fork.c does. If you include , you don't need any other , and definitely not . > also, simplify and move the bufcache adjustment code from sysctl to the > vfs_bio.c where i

fix a few uvm includes

2011-06-20 Thread Ted Unangst
uvm_extern.h is the header people should be consuming. change a few uvm.h to uvm_extern.h. a couple other sys .h headers included uvm when they don't need to. fix that. fix a few .c files that depended on getting headers from headers. also, simplify and move the bufcache adjustment code from

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Mike Larkin
On Mon, Jun 20, 2011 at 06:38:40PM +0200, Mike Belopuhov wrote: > On Mon, Jun 20, 2011 at 13:22 +0200, Mark Kettenis wrote: > > > Date: Mon, 20 Jun 2011 11:04:24 +0200 > > > From: Mike Belopuhov > > > > > > hi, > > > > > > the hibernate_machdep.c file depends on the acpi so it would be > > > nic

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Mike Larkin
On Mon, Jun 20, 2011 at 01:02:01PM +0100, Owain Ainsworth wrote: > On Mon, Jun 20, 2011 at 01:54:38PM +0200, Mark Kettenis wrote: > > > Date: Mon, 20 Jun 2011 13:22:52 +0200 (CEST) > > > From: Mark Kettenis > > > > > > > Date: Mon, 20 Jun 2011 11:04:24 +0200 > > > > From: Mike Belopuhov > > > >

Re: pf flag PFDESC_IP_REAS

2011-06-20 Thread Claudio Jeker
On Mon, Jun 20, 2011 at 02:09:39AM +0200, Alexander Bluhm wrote: > Hi, > > We accept more TCP reset packets in pf, if fragment reassembly is > turned off. That does not make sense to me. It came into the tree > here: > > revision 1.443 > date: 2004/04/27 18:28:07; author: frantzen; state: Exp

Re: Convert SO_RTABLE protocol level to SOL_SOCKET

2011-06-20 Thread Claudio Jeker
On Mon, Jun 20, 2011 at 06:30:11PM +0200, Mike Belopuhov wrote: > Now that we support SO_RTABLE on the socket level, it makes > sense to cleanup the tree. OK? > The if (getsockopt() && errno != ENOPROTOOPT) constructs are in my opinion evil but the sa_family == AF_INET check is not much better b

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Mike Belopuhov
On Mon, Jun 20, 2011 at 13:22 +0200, Mark Kettenis wrote: > > Date: Mon, 20 Jun 2011 11:04:24 +0200 > > From: Mike Belopuhov > > > > hi, > > > > the hibernate_machdep.c file depends on the acpi so it would be > > nice if we excluded this file if kernel config doesn't reference > > acpi. a simple

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Theo de Raadt
> The code should be !small_kernel though; it seems it is currently > wasting ramdisk space. Yes, it should be !small_kernel

Convert SO_RTABLE protocol level to SOL_SOCKET

2011-06-20 Thread Mike Belopuhov
Now that we support SO_RTABLE on the socket level, it makes sense to cleanup the tree. OK? Index: sbin/ping/ping.c === RCS file: /home/cvs/src/sbin/ping/ping.c,v retrieving revision 1.88 diff -u -p -r1.88 ping.c --- sbin/ping/ping.c

Re: X configuration changes for synaptics - please test

2011-06-20 Thread Bryan Vyhmeister
Sorry about that. Attached instead of inline. My dmesg and Xorg.0.log are now inline. Bryan OpenBSD 4.9-current (GENERIC.MP) #0: Sun Jun 19 17:02:51 PDT 2011 r...@nine.dsvc.net:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.6

Re: X configuration changes for synaptics - please test

2011-06-20 Thread Bryan Vyhmeister
Attached is my dmesg output and Xorg.0.log from my Dell Vostro A90. My primary motivation for testing this was to see if I could disable tapping and by default, that is how it works. I am now also able to scroll with the touchpad. All of this works seamlessly without an xorg.conf. Everything has be

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Mark Kettenis
> Date: Mon, 20 Jun 2011 12:31:57 +0100 > From: Stuart Henderson > > On 2011/06/20 13:22, Mark Kettenis wrote: > > > Date: Mon, 20 Jun 2011 11:04:24 +0200 > > > From: Mike Belopuhov > > > > > > hi, > > > > > > the hibernate_machdep.c file depends on the acpi so it would be > > > nice if we exc

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Owain Ainsworth
On Mon, Jun 20, 2011 at 01:54:38PM +0200, Mark Kettenis wrote: > > Date: Mon, 20 Jun 2011 13:22:52 +0200 (CEST) > > From: Mark Kettenis > > > > > Date: Mon, 20 Jun 2011 11:04:24 +0200 > > > From: Mike Belopuhov > > > > > > hi, > > > > > > the hibernate_machdep.c file depends on the acpi so it

Re: ksh completion

2011-06-20 Thread LEVAI Daniel
On Sun, Jun 19, 2011 at 15:26:26 -0400, STeve Andre' wrote: > I hope not. I've seen this as well. I want to test this, seeing as > how I just > bumped into this. Can you post the last patch for this? Alexander has a whole bunch of excelent stuff for ksh in his repo. Seven patches IIRC, and they

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Mark Kettenis
> Date: Mon, 20 Jun 2011 13:22:52 +0200 (CEST) > From: Mark Kettenis > > > Date: Mon, 20 Jun 2011 11:04:24 +0200 > > From: Mike Belopuhov > > > > hi, > > > > the hibernate_machdep.c file depends on the acpi so it would be > > nice if we excluded this file if kernel config doesn't reference > >

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Mark Kettenis
> Date: Mon, 20 Jun 2011 11:04:24 +0200 > From: Mike Belopuhov > > hi, > > the hibernate_machdep.c file depends on the acpi so it would be > nice if we excluded this file if kernel config doesn't reference > acpi. a simple fix that establishes the dependency is below. ok? The hibernate code doe

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Stuart Henderson
On 2011/06/20 13:22, Mark Kettenis wrote: > > Date: Mon, 20 Jun 2011 11:04:24 +0200 > > From: Mike Belopuhov > > > > hi, > > > > the hibernate_machdep.c file depends on the acpi so it would be > > nice if we excluded this file if kernel config doesn't reference > > acpi. a simple fix that establ

hibernate_machdep.c depends on acpi

2011-06-20 Thread Mike Belopuhov
hi, the hibernate_machdep.c file depends on the acpi so it would be nice if we excluded this file if kernel config doesn't reference acpi. a simple fix that establishes the dependency is below. ok? Index: arch/i386/conf/files.i386 ==