Changing v_op for vnode on the fly

2004-02-13 Thread Andrey Simonenko
Hello all, I want to control in a KLD module when any process make any VOPs, which can change the content of some file. For this I change v_op field in the needed vnode to my vnodeop_p, currently my VOPs print some debug information and call original VOPs for the vnode. I can't simply wrap

BDM under current

2004-02-13 Thread sebastian ssmoller
hi, does anyone know whether i can use gdb + bdm under freebsd ? i found this page http://bdm.thehousleys.net/ which seems to be out of date. thx regards, seb -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD:

FreeBSD 5.2-current problem in Dell Poweredge 1600SC

2004-02-13 Thread Ganbold
Hi, I installed FreeBSD 5.2 on Dell Poweredge 1600SC. However FreeBSD doesn't recognize network card. It has onboard Intel Pro 1000 card. The machine has Pentium 4 XEON processor(logical processor enabled) with 512 MB ram. I did cvsup to CURRENT and compiled source using make buildworld. Kernel

Re: Obtaining 75k (active) concurrent tcp sessions..

2004-02-13 Thread Paul Robinson
On Thu, Feb 12, 2004 at 10:48:13PM -0600, Mike Silbersack wrote: That was with a heavily modified version of FreeBSD, you wouldn't be able to hit 1.6 million out of the box. What's more, the amount of content you'd be able to shift over that number of connections and the overall performance

Re: Subversion/CVS experiment summary

2004-02-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2004-02-12 16:48:25 -0400: On Mon, 9 Feb 2004, Michael Reifenberger wrote: Hi, first, this seems to be a good analysis of SVN and a good starting point for thinking about moving away from CVS. I missed the original thread here, so this point may have already been

Re: 5.2 install hangs

2004-02-13 Thread Grzegorz Czaplinski
On Thu, Jan 22, 2004 at 01:12:02PM +0100, Socketd wrote: Hi all I'm trying to install FreeBSD 5.2-release on my: i386 1 Ghz 384 mb ram 60 gb harddisk 120 mb floppy disk It's running 4.9-release now btw. I've downloaded the iso for disc1 and made a cd. I have used that cd to

Obtaining 75k (active) concurrent tcp sessions..

2004-02-13 Thread Bill
What steps would I need to take in order to obtain 75,000 concurrent TCP sessions on a FreeBSD 5.2 system running on the following hardware: dual xenon 3ghz 1mb cache processors 2 gigs of memory two dual port fibre gigabit nic's 1 onboard copper 10/100 nic I read a post that was sent to

BDM under current

2004-02-13 Thread sebastian ssmoller
hi, does anyone know whether i can use gdb + bdm under freebsd ? i found this page http://bdm.thehousleys.net/ which seems to be out of date. thx regards, seb -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD:

Re: Subversion/CVS experiment summary

2004-02-13 Thread Bernd Walter
On Thu, Feb 12, 2004 at 04:48:25PM -0400, Marc G. Fournier wrote: note that this was pre-0.34, but since its still under development, there is always the chance that this happens again ... a load of the system took 49hrs, I believe was mentioned ... how long to dump/reload the system once its

Re: 5.2 install hangs

2004-02-13 Thread Brian Ledbetter
Hi, I have the same problem on my Fujitsu Siemens LifeBook E2010. I tried to boot FreeBSD from CDROM with ACPI disabled and no luck. I upgraded my kernel to 5.2 and the boot still hangs. 5.1 boots fine though I have the same problem on a Toshiba Tecra M1. I can try to send a dmesg (boot

malloc backed md/mfs filesystem swapped?

2004-02-13 Thread Andrew J Caines
After Ring the various FMs including, but not limited to, mdmfs(8), mdconfig(8) malloc(9), I am unclear whether of not the memory used by md of type MD_MALLOC is kernel memory which will not be swapped, or not. On the same subject, does the the MD_SWAP backed device simply use swapable userland

Re: FreeBSD 5.2-current problem in Dell Poweredge 1600SC

2004-02-13 Thread Bruce M Simpson
On Fri, Feb 13, 2004 at 05:42:01PM +0800, Ganbold wrote: I installed FreeBSD 5.2 on Dell Poweredge 1600SC. However FreeBSD doesn't recognize network card. It has onboard Intel Pro 1000 card. You probably want to try loading the if_em.ko module. I recently installed 4.9 on a newer Optiplex

3 problems on my 5.2 server

2004-02-13 Thread db
Hi group Hope someone can solve one or all of these problems. 1. I have downloaded all the source for 5.2 and buildworld, buildkernel, installkernel, but when trying to installworld I get: Installing everything.. -- cd /usr/src; make

broadcom 4401 MFC

2004-02-13 Thread Julian Elischer
The files are checked into 4.x and probe correctly. the device crashes the system on use though.. My 4.x test box with such an interface has had a hardware failure and will be out of commision for a couple of days so if anyone wants to track down the problem feel free, but I'll be on it again as

Re: Obtaining 75k (active) concurrent tcp sessions..

2004-02-13 Thread Matt Freitag
For FreeBSD to support that many concurrent connections some kernel values must be tweaked. Namely, you'll need to set kern.ipc.nmbclusters=81920 in loader.conf as it's a read-only oid. Another route is to add options NMBCLUSTERS=81920 into your kernel and compile/install (if it's too

Re: Obtaining 75k (active) concurrent tcp sessions..

2004-02-13 Thread Vulpes Velox
On Fri, 13 Feb 2004 14:20:43 -0600 Matt Freitag [EMAIL PROTECTED] wrote: For FreeBSD to support that many concurrent connections some kernel values must be tweaked. Namely, you'll need to set kern.ipc.nmbclusters=81920 in loader.conf as it's a read-only oid. Is this something that has

Re: Obtaining 75k (active) concurrent tcp sessions..

2004-02-13 Thread Matt Freitag
No, kern.ipc.nmbclusters is read-only. Setting this in /etc/sysctl.conf is futile, it'll never actually be set in the kernel this way, the change will just get a read-only error, just like you would once the machine is booted. As long as I can remember it's been like this. snip sysctl: oid

Re: malloc backed md/mfs filesystem swapped?

2004-02-13 Thread Robert Watson
On Fri, 13 Feb 2004, Andrew J Caines wrote: After Ring the various FMs including, but not limited to, mdmfs(8), mdconfig(8) malloc(9), I am unclear whether of not the memory used by md of type MD_MALLOC is kernel memory which will not be swapped, or not. On the same subject, does the the

Re: malloc backed md/mfs filesystem swapped?

2004-02-13 Thread Colin Percival
At 00:56 14/02/2004, Robert Watson wrote: If you have swap available, you pretty much always want to use swap-backing for memory disks -- if there's room in memory they will run as fast as malloc-backed, but you don't have to be as worried about the Oh shoot, I'm out of room case. Actually,

Re: malloc backed md/mfs filesystem swapped?

2004-02-13 Thread Robert Watson
On Sat, 14 Feb 2004, Colin Percival wrote: At 00:56 14/02/2004, Robert Watson wrote: If you have swap available, you pretty much always want to use swap-backing for memory disks -- if there's room in memory they will run as fast as malloc-backed, but you don't have to be as worried about

Re: BDM under current

2004-02-13 Thread James Housley
sebastian ssmoller wrote: hi, does anyone know whether i can use gdb + bdm under freebsd ? i found this page http://bdm.thehousleys.net/ which seems to be out of date. Probably not, I had it working well under 3.x, never really got it working in 4.x Jim -- /\ ASCII Ribbon Campaign . \ / -

Re: Obtaining 75k (active) concurrent tcp sessions..

2004-02-13 Thread Vulpes Velox
On Fri, 13 Feb 2004 16:48:59 -0600 Matt Freitag [EMAIL PROTECTED] wrote: No, kern.ipc.nmbclusters is read-only. Setting this in /etc/sysctl.conf is futile, it'll never actually be set in the kernel this way, the change will just get a read-only error, just like you would once the machine

Re: need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Richard Coleman
Paul Seniura wrote: Chapter 2 of FreeBSD Developers' Handbook: | 2.4 Compiling with cc | | -O |Create an optimized version of the executable. The compiler |performs various clever tricks to try and produce an executable |that runs faster than normal. You can add a number after the

need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Paul Seniura
Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually runs. I had this coded with the single = sign, i.e. without ?= or +=, but the process still acts as if += was coded anyway, thus tacking on my -O *after* the port's

Re: need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Kris Kennaway
On Thu, Feb 12, 2004 at 06:17:03PM -0600, Paul Seniura wrote: Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually runs. I had this coded with the single = sign, i.e. without ?= or +=, but the process still

Re: need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Paul Seniura
Hi Kris, On Thu, Feb 12, 2004 at 06:17:03PM -0600, Paul Seniura wrote: Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually runs. I had this coded with the single = sign, i.e. without ?= or +=, but

Re: need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Kris Kennaway
On Thu, Feb 12, 2004 at 09:56:08PM -0600, Paul Seniura wrote: Hi Kris, On Thu, Feb 12, 2004 at 06:17:03PM -0600, Paul Seniura wrote: Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually runs.

Re: need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Paul Seniura
On Thu, Feb 12, 2004 at 09:56:08PM -0600, Paul Seniura wrote: Hi Kris, On Thu, Feb 12, 2004 at 06:17:03PM -0600, Paul Seniura wrote: Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually