Collecting waiting statistics (simulation question)

2000-08-14 Thread Jeff Rhyason
Can anybody help me with a project I am working on? I am trying to simulate different memory allocation policies for a discrete event simulation course. Being the guy I am, I decided to collect some real statistics from a real system. The difficulty I've encountered is that I can't find how to

Re: Collecting waiting statistics (simulation question)

2000-08-14 Thread Alfred Perlstein
* Jeff Rhyason <[EMAIL PROTECTED]> [000814 00:14] wrote: > Can anybody help me with a project I am working on? I am trying > to simulate different memory allocation policies for a discrete > event simulation course. Being the guy I am, I decided to > collect some real statistics from a real syst

Re: Collecting waiting statistics (simulation question)

2000-08-14 Thread Jeff Rhyason
> Using sysctls is probably the easiest way of doing it. OK. Is there any example code that uses sysctls in this way? Thanks ;) -Jeff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: limit processes that a user can 'see'

2000-08-14 Thread Steve Kudlak
Maxime Henrion wrote: > Hello, > > I have an idea that I would love to see applied in FreeBSD source code, > but as I'm not skilled enough to code it, I post it to see if you think > it makes sense, and if someone would be interested in coding this. It is > a security measure regarding

Re: Does sio have a maintainer?

2000-08-14 Thread Brian Somers
> > Hi folks, > > Does the sio driver have a maintainer? There are two PR's open that > contain patches to provide support for new devices, but I can't find > anyone to pin them on. :-) I thought bde looked after sio.c... Dunno if he reads this list. -- Brian <[EMAIL PROTECTED]>

Re: Collecting waiting statistics (simulation question)

2000-08-14 Thread Alfred Perlstein
* Jeff Rhyason <[EMAIL PROTECTED]> [000814 00:45] wrote: > > Using sysctls is probably the easiest way of doing it. > > OK. Is there any example code that uses sysctls in this way? A lot of sysctls implement some sort of statistics mechanism such as counters. Do a 'sysctl -a' and you'll see va

Re: Collecting waiting statistics (simulation question)

2000-08-14 Thread Jeff Rhyason
> A lot of sysctls implement some sort of statistics mechanism > such as counters. Do a 'sysctl -a' and you'll see various > sysctls being used for counters/stats. Aah. This isn't quite what I lust for: Is it possible to get a *log* of allocation requests rather than aggregate sums or averages

Re: IPC, shared memory, syncronization AND threads...

2000-08-14 Thread Jonas Bulow
John Polstra wrote: > Jonas Bulow wrote > > Maybe I havn't been thinking enough but wouldn't this lock mechanism > > be a good choice to use for mmaped:memory accessed by multiple > > processes? > > It depends on the amount of contention you expect. The code in > lockdflt.c was designed for a ve

freebsd and non-preemtive threads

2000-08-14 Thread Jonas Bulow
I'm trying to build a preforked and threaded server. When it comes to the threading part it seems that non-preemtive threads have a lot of benefits if the server is a statefull-server. What I'm trying to say is that the server is not going to do a lot of computation for each request. The server

Re: ELF rtld and environment variables...

2000-08-14 Thread Julian Stacey
Ollivier Robert wrote: > According to Julian Stacey: > > 4.1-release produces no /sbin/mount_cfs, & man mount give no hint, > > If you have patches to test, I volunteer to test on 4.1 or 3.4 :-) > It is a port. I'd love to import it into CURRENT though. Some friends running vile Micro$oft asked m

Re: COMPAT_43 and kernel compiles.

2000-08-14 Thread Mike Pritchard
On Sun, Aug 13, 2000 at 06:19:37PM +1000, Darren Reed wrote: > > Darren Reed wrote: > > > > > > Is it meant to be possible to compile a kernel *without* COMPAT_43 ? > > > > > > Has anyone else tried this recently ? > > > > > > For me, it seems to break the compile in (at least) kern_sig.c I do

Re: limit processes that a user can 'see'

2000-08-14 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Maxime Henrion writes: >Hello, > >I have an idea that I would love to see applied in FreeBSD source code, >but as I'm not skilled enough to code it, I post it to see if you think >it makes sense, and if someone would be interested in coding this. It is >a se

Re: Bootstrapping ? (was Re: Installation Problems on Dell PowerEdge 6100/200 )

2000-08-14 Thread Daniel Lang
Hiho, Mike Smith wrote on Sat, Aug 12, 2000 at 12:24:55AM +: [..] > Ok, once you have this setting in place, re-install and verify that the > disk geometry is xxx/255/63. Any other value will cause the system to > fail to boot. I suspect that the point at which you tried this you > alrea

how to support adaptec 29160 ?

2000-08-14 Thread Kazennov Vladimir
Hello ALL! Please, give me some info about support adaptec 29160 with FreeBSD Kernel during installation doesn't recognise this adapter Best regards, Kazennov mailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hack

Re: Does sio have a maintainer?

2000-08-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> Brian Somers writes: : > Does the sio driver have a maintainer? There are two PR's open that : > contain patches to provide support for new devices, but I can't find : > anyone to pin them on. :-) : : I thought bde looked after sio.c... Dunno if he reads this list

library name conflict problem

2000-08-14 Thread Charles N. Owens
Howdy! I've run into a situation where I need to have two differing implementations of a library (both are from the ports collection) installed on the same machine... by default both implementations get installed with the same name (but in different locations) which causes a library-name-resoluti

Re: Does sio have a maintainer?

2000-08-14 Thread John J. Rieser
Warner Losh writes: > In message <[EMAIL PROTECTED]> Brian Somers writes: > : > Does the sio driver have a maintainer? There are two PR's open that > : > contain patches to provide support for new devices, but I can't find > : > anyone to pin them on. :-) > : > : I thought bde looked after

Re: how to support adaptec 29160 ?

2000-08-14 Thread David Malone
On Mon, Aug 14, 2000 at 07:25:42PM +0400, Kazennov Vladimir wrote: > Please, give me some info about support adaptec 29160 with FreeBSD > Kernel during installation doesn't recognise this adapter What version of FreeBSD? It should be supported in 4.1. David. To Unsubscribe: send mai

Re: ELF rtld and environment variables...

2000-08-14 Thread Wes Peters
Julian Stacey wrote: > > Ollivier Robert wrote: > > According to Julian Stacey: > > > 4.1-release produces no /sbin/mount_cfs, & man mount give no hint, > > > If you have patches to test, I volunteer to test on 4.1 or 3.4 :-) > > It is a port. I'd love to import it into CURRENT though. > > Some

dma to userland address

2000-08-14 Thread Bill Clinton
lets say, hypothetically, that i have an ioctl interface to my device driver that takes a buffer that looks something like: struct { int length; char *buf; } mystruct; and lets say, hypothetically, that i wanted to dma directly to/from 'buf'. how would i do that? i've tried doing vtophys o

Re: dma to userland address

2000-08-14 Thread Matthew Jacob
Look at what physio does. On Mon, 14 Aug 2000, Bill Clinton wrote: > lets say, hypothetically, that i have an ioctl interface to my device > driver that takes a buffer that looks something like: > > struct { > int length; > char *buf; > } mystruct; > > and lets say, hypothetically, that

code question...

2000-08-14 Thread Chris Ptacek
I am getting a warning from a program I wrote: lined in free(): warning: chunk is already free. Is there anyway I can figure out where exactly this is happening, maybe cause a core or something. - Chris To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in th

Re: code question...

2000-08-14 Thread Dan Nelson
In the last episode (Aug 14), Chris Ptacek said: > I am getting a warning from a program I wrote: > > lined in free(): warning: chunk is already free. > > Is there anyway I can figure out where exactly this is happening, maybe > cause a core or something. Man malloc, see the "DEBUGGING MALLOC P

Re: code question...

2000-08-14 Thread Bill Fumerola
On Mon, Aug 14, 2000 at 02:10:16PM -0700, Chris Ptacek wrote: > I am getting a warning from a program I wrote: > > lined in free(): warning: chunk is already free. > > Is there anyway I can figure out where exactly this is happening, maybe > cause a core or something. >From 'man free', which yo

freebsd-hackers@freebsd.org

2000-08-14 Thread Bruce Petro
Is this similar to the following kernel configuration? options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN Thanks! Bruce. __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup To Unsubscribe: send mail to [EMA

Re: code question...

2000-08-14 Thread Philip M. Gollucci
This is happening in a call to free() ;; the memory being freed is either not actually allocated or is somewhere that your programs memory does not contain (ie address out of range). Use mxgdb, ddd, or gdb to show all things things and step through the executiong. ***

Re: Collecting waiting statistics (simulation question)

2000-08-14 Thread Chuck Robey
On Mon, 14 Aug 2000, Jeff Rhyason wrote: > > A lot of sysctls implement some sort of statistics mechanism > > such as counters. Do a 'sysctl -a' and you'll see various > > sysctls being used for counters/stats. > > Aah. This isn't quite what I lust for: Is it possible to get a *log* of > allo

freebsd-hackers@freebsd.org

2000-08-14 Thread Bill Fumerola
On Mon, Aug 14, 2000 at 06:44:28PM -0400, Bruce Petro wrote: > Is this similar to the following kernel configuration? > options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN Not at all. The original poster is looking to drop all packets with a certain tcp syn#, where the TCP_DROP_SYNFI

Updating /etc/passwd and /etc/master.passwd

2000-08-14 Thread Ron 'The InSaNe One' Rosson
I am about to migrate from a 2.2.8-STABLE box to a 4.1-STABLE box and beofre I try was wondering is there anything special I have to do do migrate my passwd file over their with my accounts. TIA -- -- Ron Rosson

freebsd-hackers@freebsd.org

2000-08-14 Thread FengYue
No, TTL is in IP header while SYN & FIN are TCP flags. On Mon, 14 Aug 2000, Bruce Petro wrote: > Is this similar to the following kernel configuration? > options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN > > Thanks! > Bruce. To Unsubscribe: send mail to [EMAIL PROTECTED] with

linux expo san jose tomorrow

2000-08-14 Thread FengYue
hey, is there gonna be a freebsd or bsd booth there tomorrow in san jose for that linux expo thing? I may go if there is a bsd booth... To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: linux expo san jose tomorrow

2000-08-14 Thread Jordan K. Hubbard
> hey, is there gonna be a freebsd or bsd booth there tomorrow > in san jose for that linux expo thing? I may go if there is > a bsd booth... There will be a BSDi booth at the show. Look for the usual black monolith with the daemon on it. - Jordan To Unsubscribe: send mail to [EMAIL PROTECT

Re: CVS question

2000-08-14 Thread John Polstra
In article <[EMAIL PROTECTED]>, Archie Cobbs <[EMAIL PROTECTED]> wrote: > > Hmm.. sounds like we should do one or both of these things.. > > 1/ Fix the bug in CVS that caused the import to set two different dates I finally got around to checking, and the bug doesn't exist in the current vers

Re: how to support adaptec 29160 ?

2000-08-14 Thread Chuck Robey
On Mon, 14 Aug 2000, Kazennov Vladimir wrote: > Hello ALL! > Please, give me some info about support adaptec 29160 with FreeBSD > Kernel during installation doesn't recognise this adapter Works fine for me, just using the ahc driver (endless thanks to Justin Gibbs!) I have a dualbussed 7895 c

Re: linux expo san jose tomorrow

2000-08-14 Thread Nicole Harrington.
On 15-Aug-00 Jordan K. Hubbard wrote: >> hey, is there gonna be a freebsd or bsd booth there tomorrow >> in san jose for that linux expo thing? I may go if there is >> a bsd booth... > > There will be a BSDi booth at the show. Look for the usual black > monolith with the daemon on it. > > -

Re: Collecting waiting statistics (simulation question)

2000-08-14 Thread Jeff Rhyason
> So write it. It wouldn't be terribly difficult. I don't think it'd be > terribly popular (so you won't be able to talk someone here into doing > it for you) but you could grab an idea for the communications & logging > from syslog (using a daemon & a socket) and just instrument the right > par

Re: Collecting waiting statistics (simulation question)

2000-08-14 Thread Chuck Robey
On Mon, 14 Aug 2000, Jeff Rhyason wrote: > > So write it. It wouldn't be terribly difficult. I don't think it'd be > > terribly popular (so you won't be able to talk someone here into doing > > it for you) but you could grab an idea for the communications & logging > > from syslog (using a daem

fam and fmon?

2000-08-14 Thread Brandon Fosdick
Does anyone have fam working with fmon yet? The sgi page has a few mentions of it but they're a few months old. -Brandon To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message