vinum raid5 officially broken?

2000-04-16 Thread Alex Zakirov
Hail! Is raid5 in vinum officially broken in 4.x branch? I can't get stable system (make buildworld at least) on both ata+(dual celeron) and ahc(7896)+(dual PIII). OS still hangs while 'make buildworld' on raid5 volume proceed. "vinum raid5-panic tentitive patch" by Matt Dillon doesn't h

Re: Multithread safe gethostbyname() ?

2000-04-16 Thread Wes Peters
Ming Zhang wrote: > > Is there a MT-safe implementation of gethostbyname() in FreeBSD (3.4/4.0)? > > On Solaris there is gethostbyname_r(). Calling gethostbyname() with in > two threads cause both threads to block. > > I know the "struct hostent" is static in gethostbyname(), however it seems

Re: vinum raid5 officially broken?

2000-04-16 Thread Greg Lehey
On Sunday, 16 April 2000 at 11:02:45 +0400, Alex Zakirov wrote: > Hail! > > Is raid5 in vinum officially broken in 4.x branch? Not completely. We have a number of problems which only show up in some configurations. > I can't get stable system (make buildworld at least) on both > ata+(dual

memory in the kernel

2000-04-16 Thread Anatoly Vorobey
I have to malloc a lot of memory in the kernel, hence a few questions: 1. The data must be absolutely present at all times, no page faults or locking mechanisms, etc. Does that mean I should use kmem_alloc_wired() or am I misunderstanding its purpose? Does it make sense to alloc less than a pagef

Re: PC Keyboard Scancodes

2000-04-16 Thread Soren Schmidt
It seems Anatoly Vorobey wrote: > > Of course, with all those new keys on all those keyboards, we should > perhaps think about whether to add all of them as new keycodes, > and if so, in which order, etc. I've no idea if FreeBSD's concept > of 'keycode' (i.e. key number independent of keyboard mo

Re: NFS attribute cache & profiling sysctl variables

2000-04-16 Thread Andrzej Bialecki
On Sat, 15 Apr 2000, Zhihui Zhang wrote: > > I have two unrelated questions I can not figure out myself: > (2) I am trying to display kernel profiling sysctl variables with sysctl > -a or sysctl -A without success. They are defined in subr_prof.c. Why > sysctl command can not display them? I c

Re: memory in the kernel

2000-04-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Anatoly Vorobey writes : >I have to malloc a lot of memory in the kernel, hence a few >questions: How much is "a lot" ? >1. The data must be absolutely present at all times, no page >faults or locking mechanisms, etc. Does that mean >I should use kmem_alloc_wired(

Re: NFS attribute cache & profiling sysctl variables

2000-04-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Andrzej B ialecki writes: >On Sat, 15 Apr 2000, Zhihui Zhang wrote: > >> >> I have two unrelated questions I can not figure out myself: > >> (2) I am trying to display kernel profiling sysctl variables with sysctl >> -a or sysctl -A without success. They are defin

Re: memory in the kernel

2000-04-16 Thread Anatoly Vorobey
On Sun, Apr 16, 2000 at 03:36:31PM +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Anatoly Vorobey writes > : > >I have to malloc a lot of memory in the kernel, hence a few > >questions: > > How much is "a lot" ? Apparently somewhere in the vicinity of 8Mb, and also coming in a

OpenSSL and IDEA.

2000-04-16 Thread David Malone
I notice that the IDEA code in OpenSSL is in the Attic and not in the regular source tree. I know that OpenSSL is compiled with something like -DNO_IDEA by default, but that doesn't mean IDEA shouldn't be in the source tree for people who can use it. Would it be possible to get idea reinstated and

Re: PC Keyboard Scancodes

2000-04-16 Thread Warner Losh
In message <[EMAIL PROTECTED]> Soren Schmidt writes: : I modelled them after SCO UNIX 3.2 way back when, I know that upto : some point I kept the keymaps compatible to SCO's, but I think that : got broken since I don't think SCO does these new keys. If I do anything in this area, I'll check

Re: memory in the kernel

2000-04-16 Thread Matthew Dillon
:I have to malloc a lot of memory in the kernel, hence a few :questions: : :1. The data must be absolutely present at all times, no page :faults or locking mechanisms, etc. Does that mean :I should use kmem_alloc_wired() or am I misunderstanding its purpose? :Does it make sense to alloc less than

Re: vinum raid5 officially broken?

2000-04-16 Thread Matthew Dillon
: Hail! : :Is raid5 in vinum officially broken in 4.x branch? :I can't get stable system (make buildworld at least) on both :ata+(dual celeron) and ahc(7896)+(dual PIII). OS still hangs while :'make buildworld' on raid5 volume proceed. : :"vinum raid5-panic tentitive patch" by Matt Dillon do

Re: NFS attribute cache & profiling sysctl variables

2000-04-16 Thread Zhihui Zhang
On Sat, 15 Apr 2000, Zhihui Zhang wrote: > > I have two unrelated questions I can not figure out myself: > > (1) Does FreeBSD NFS implementation support "noac" to disable attribute > cache? I know this is not good for performance. > It seems to me that FreeBSD does not have the mount option

Re: OpenSSL and IDEA.

2000-04-16 Thread Kris Kennaway
On Sun, 16 Apr 2000, David Malone wrote: > I notice that the IDEA code in OpenSSL is in the Attic and not in > the regular source tree. I know that OpenSSL is compiled with > something like -DNO_IDEA by default, but that doesn't mean IDEA > shouldn't be in the source tree for people who can use i

Re: OpenSSL and IDEA.

2000-04-16 Thread David Malone
> > (According to Applied Cryptography, IDEA is free for non-comercial > > use. As the source code is being distributed via cvs anyway, I > > can't see a reason why it isn't being included in any of the > > branches.) > > I was under the impression it was restricted (patented) in the US and in >