Re: "Streaming" data from kernel to userland

2007-01-23 Thread Kevin Sanders
On 1/18/07, John-Mark Gurney <[EMAIL PROTECTED]> wrote: Kevin Sanders wrote this message on Thu, Jan 18, 2007 at 17:40 -0800: > Ivan, I'm basically doing something similar, and I have found that adding > kqueue support to your kernel module and making ioctl/read/write's is very > efficient. I'm

Re: Where to start?

2007-01-23 Thread Peter Jeremy
On Mon, 2007-Jan-22 10:29:18 -0800, [EMAIL PROTECTED] wrote: >I would guess that if a way could be found to preallocate the >journal space (as with mkfile(8) in sufficiently-old systems), mkfile(8)ing a journal is easy. This would not guarantee that the journal was a contiguous block though and t

Page fault in vfs_hash_get on 6.2

2007-01-23 Thread Micah
Back in October 2006, I was having the same problem in 6.1 (original thread at: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-October/018393.html) The update to 6.2 decreased the frequency of the panics, but I still get the panic periodically - since October I've had 6-8 panics judgi

Re: how to deny reading of several sysctls (for a set of uids, f.e.)

2007-01-23 Thread Max Laier
On Tuesday 23 January 2007 12:44, Andrew N. Below wrote: > System - RELENG_6. > > Easiest way I found is to patch libc. > But in this case we still can get an original library and use > LD_PRELOAD. > > Is there any way to obtain uid of calling process (thread?) > within the kernel? > > We have foll

how to deny reading of several sysctls (for a set of uids, f.e.)

2007-01-23 Thread Andrew N. Below
Hello. System - RELENG_6. Easiest way I found is to patch libc. But in this case we still can get an original library and use LD_PRELOAD. Is there any way to obtain uid of calling process (thread?) within the kernel? We have following extern in src/lib/libc/gen/sysctl.c: [..] extern int __sysct

Re: ipw3945 assistance?

2007-01-23 Thread Max Laier
On Saturday 20 January 2007 05:10, xoundmind wrote: > Please excuse my noob status...I would like some assistance with > installing the wpi-freebsd driver on a 6_2 Release setup. Please feel N.B. wpi(4) != ipw(4) !!! The latter is for the - now ancient - 1st generation centrino cards (2100). Th

Re: Where to start?

2007-01-23 Thread Oliver Fromme
Vasil Dimov wrote: > Mike Silbersack wrote: > > Soeren Straarup wrote: > > [...] > > > I'm looking for a project. > > [...] > > I'd like to see the ability to run gjournal without reformatting. > > If you could create a dummy file inside the filesystem, then use > > that area for the journa

Re: Where to start?

2007-01-23 Thread Mike Silbersack
On Mon, 22 Jan 2007, [EMAIL PROTECTED] wrote: I would guess that if a way could be found to preallocate the journal space (as with mkfile(8) in sufficiently-old systems), and then record its location in a reasonably-secure location (the superblock?), it could be accessed during recovery without