Re: bind : address already inuse

2001-09-28 Thread Matt Dillon
:--Boundary_(ID_mQ1p0DshiB00ke/hmU0cHA) :Content-type: text/plain; charset=us-ascii :Content-transfer-encoding: 7BIT : :When an app binds an address and port to a listen socket, what :variables :can I adjust so the address may be reused immediately after the app :exits. :My understanding was

Re: more on Re: Please review: bugfix for vinvalbuf()

2001-09-28 Thread Matt Dillon
:@@ -721,9 +721,9 @@ : } : } : :- while (vp-v_numoutput 0) { :- vp-v_flag |= VBWAIT; :- tsleep(vp-v_numoutput, PVM, vnvlbv, 0); :+ if (VOP_GETVOBJECT(vp, object) == 0) { :+ while (object-paging_in_progress) :+

Re: calling open() from inside kernel

2001-09-28 Thread Vladimir Dozen
ehlo. Generally speaking, you don't want to invoke system call functionss from within the kernel due to address space expectations, you want to invoke the supporting service calls. Probably what that maps into in your case is using NDINIT()/namei() on a string in UIO_SYSSPACE, and then using

Re: bind : address already inuse

2001-09-28 Thread Bernd Walter
On Fri, Sep 28, 2001 at 09:55:03AM -0700, rick norman wrote: When an app binds an address and port to a listen socket, what variables can I adjust so the address may be reused immediately after the app exits. My understanding was that int on = 1;

timestamp offload [was Re: TCPIP cksum offload on FreeBSD 4.2]

2001-09-28 Thread Louis A. Mamakos
The cool thing I've always wanted to do with these programmable network adapters is to have them capture timestamps of when packets are received for high-accuracy latency measurements. The network adapter could drop a timestamp into some header when it's DMA'ed into the host's memory. The

Re: timestamp offload [was Re: TCPIP cksum offload on FreeBSD 4.2]

2001-09-28 Thread Andrew Gallatin
Louis A. Mamakos writes: Some work I did a year or so ago measured the interrupt response time latency, and it was pretty impressive at how large and variable it could be. louie Yes. Me too, but with a pamette, not a nic. Have you read the pci pamette perf paper (Systems

Re: timestamp offload [was Re: TCPIP cksum offload on FreeBSD 4.2]

2001-09-28 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Andrew Gallatin writes: Louis A. Mamakos writes: Some work I did a year or so ago measured the interrupt response time latency, and it was pretty impressive at how large and variable it could be. louie Yes. Me too, but with a pamette, not a nic.

Re: Problems with many ATA drives

2001-09-28 Thread Karsten W. Rohrbach
Dave Hayes([EMAIL PROTECTED])@2001.09.23 09:43:25 +: We've been attempting to set up a vinum raid box with a bunch of IDE drives. Each drive is partitioned with a vinum partition on A, such that the entire drive is on partition a. Initial partitioning is done with /stand/sysinstall so it

Re: power supplies

2001-09-28 Thread Karsten W. Rohrbach
Dan([EMAIL PROTECTED])@2001.09.27 20:04:40 +: ya but even putting the old nic back in the machine does not still boot up. I don't think this has to do with the nic but you never know. fxp1: Intel Pro 10/100B/100+ Ethernet questions of the pragmatic field-engineer: did it produce any

debugging vmware3 linux binary

2001-09-28 Thread Mark Santcroos
I've been working on porting vmware3-beta to FreeBSD. Just as with vmware2 a sourcecode version for Linux is available for vmware3 and I have modified that to FreeBSD using the same approach as with vmware2. The kernel module compiles cleanly now and should probably work... [TM] However, the

RE: debugging vmware3 linux binary

2001-09-28 Thread Alexander N. Kabaev
Mark, linux_kdump port will properly decode Linux syscalls so that you will be able to see where vmware3 binary fails exactly. -- E-Mail: Alexander N. Kabaev [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Driver kit for BCM570x gigE NICs

2001-09-28 Thread Bill Paul
I have made a driver retrofit kit available for Broadcom BCM570x-based gigabit ethernet cards at the following URL: http://www.freebsd.org/~wpaul/Broadcom/4.x/bcm570x_drv.tar.gz This kit contains source and pre-compiled driver modules for FreeBSD 4.3-RELEASE and later. This should make

Re: TCPIP cksum offload on FreeBSD 4.2

2001-09-28 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Louis A. Mamakos writes: The paper that someone mentioned earlier in this thread had some statistics on various classes of errors. In a nutshell, they put packet sniffers on 4 different networks, and collected traffic. For each back packet (where the checksum and

Re: FreeBSD 4.4-RELEASE ipf 3.4.20 freeze

2001-09-28 Thread Eric Masson
Emss == Eric Masson [EMAIL PROTECTED] writes: Emss I've tried with both ppp integrated nat and ipnat, and the Emss problem lasts. I let the box working without nat since (1 Mb download every 10 minutes for 40 hours), and the freeze doesn't seem to happen anymore. Any idea ? Eric Masson --

Re: calling open() from inside kernel

2001-09-28 Thread Robert Watson
Generally speaking, you don't want to invoke system call functionss from within the kernel due to address space expectations, you want to invoke the supporting service calls. Probably what that maps into in your case is using NDINIT()/namei() on a string in UIO_SYSSPACE, and then using

Re: closing down the squid22/23 ports?

2001-09-28 Thread Maxim Sobolev
Adrian Chadd wrote: Hi all, Pardon the cross-posting. :-) I'd like to look at closing down / making inactive the squid22 and squid23 ports. The squid-2.2 and squid-2.3 codebases have been inactive and largely unsupported by the squid developers (read: myself inclusive here) for some time

Re: TCPIP cksum offload on FreeBSD 4.2

2001-09-28 Thread Jonathan Lemon
On Fri, Sep 28, 2001 at 01:01:20AM -0700, Terry Lambert wrote: Jonathan Lemon wrote: I'm trying to use the TCPIP checksum offload capability of the Netgear GA620 NIC from a SMP FreeBSD 4.2R system running on a typical PIII SBC. I did enable TCPIP cksum offload for receive operations by

setjmp/longjmp

2001-09-28 Thread Anjali Kulkarni
hi, Does anyone know whether it is advisable or not to use setjmp/longjmp within kernel code? I could not see any setjmp/longjmp in kernel source code. Is there a good reason for this or can it be used? Thanks, Anjali

Re: TCPIP cksum offload on FreeBSD 4.2

2001-09-28 Thread Kenneth D. Merry
On Fri, Sep 28, 2001 at 01:01:20 -0700, Terry Lambert wrote: Jonathan Lemon wrote: I'm trying to use the TCPIP checksum offload capability of the Netgear GA620 NIC from a SMP FreeBSD 4.2R system running on a typical PIII SBC. I did enable TCPIP cksum offload for receive operations by

Re: ecc on i386

2001-09-28 Thread Bsdguru
In a message dated 9/25/01 1:05:21 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Well, at least we take the machine down, which is a heck of a lot better than ignoring the problem, which is really all that I was hoping for. I dont think this is good. Back in the XT days we used

Re: TCPIP cksum offload on FreeBSD 4.2

2001-09-28 Thread Andrew Gallatin
Terry Lambert writes: Jonathan Lemon wrote: I'm trying to use the TCPIP checksum offload capability of the Netgear GA620 NIC from a SMP FreeBSD 4.2R system running on a typical PIII SBC. .. He didn't say his packet size, either. To the original poster: if you are sending

Re: setjmp/longjmp

2001-09-28 Thread Bernd Walter
On Fri, Sep 28, 2001 at 07:03:51PM +0530, Anjali Kulkarni wrote: hi, Does anyone know whether it is advisable or not to use setjmp/longjmp within kernel code? I could not see any setjmp/longjmp in kernel source code. Is there a good reason for this or can it be used? You need to look again,

Re: ecc on i386

2001-09-28 Thread Bernd Walter
On Fri, Sep 28, 2001 at 09:46:19AM -0400, [EMAIL PROTECTED] wrote: In a message dated 9/25/01 1:05:21 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Well, at least we take the machine down, which is a heck of a lot better than ignoring the problem, which is really all that I was

Re: setjmp/longjmp

2001-09-28 Thread Gersh
Look at sys/i386/i386/db_interface.c On Fri, 28 Sep 2001, Bernd Walter wrote: On Fri, Sep 28, 2001 at 07:03:51PM +0530, Anjali Kulkarni wrote: hi, Does anyone know whether it is advisable or not to use setjmp/longjmp within kernel code? I could not see any setjmp/longjmp in kernel source

Re: calling open() from inside kernel

2001-09-28 Thread Julian Elischer
The stack-gap is a bug waiting to happen (we discovered while doing KSE stuff) linux-threads programs that open files in 2 threads at the same time will over-write each other's filenames.. On Fri, 28 Sep 2001, Robert Watson wrote: Generally speaking, you don't want to invoke system call

Re: setjmp/longjmp

2001-09-28 Thread Julian Elischer
Yeah but it would probably be a pretty bad idea to use it without very careful thought. Especialy with the kernel becoming pre-emptable in the future.. On Fri, 28 Sep 2001, Gersh wrote: Look at sys/i386/i386/db_interface.c On Fri, 28 Sep 2001, Bernd Walter wrote: On Fri, Sep 28, 2001

bind : address already inuse

2001-09-28 Thread rick norman
When an app binds an address and port to a listen socket, what variables can I adjust so the address may be reused immediately after the app exits. My understanding was that int on = 1; setsockopt(s,SOL_SOCKET,SO_REUSEADDR,on,sizeof(on)); would do it but there still seems to be a significant

Re: power supplies

2001-09-28 Thread Wilko Bulte
On Fri, Sep 28, 2001 at 08:38:20AM +0200, Søren Schmidt wrote: It seems Jim Bryant wrote: Kent Stewart wrote: There are problems with PSes when you use NICs with wake up capability. The NIC may exceed the capability of one of your low amperage voltages. How much current can

Re: dirlist mangling

2001-09-28 Thread Mike Meyer
Samuel Greear [EMAIL PROTECTED] types: Never done any kernel hacking before so I'm just looking for some pointers. What's needed is a mechanism to specify a directory (or set of them) and whenever a request is made for the contents of that directory, if it exists in the list then what is

Mirrored / redundant disks.

2001-09-28 Thread Leo Bicknell
I need to configure a server that can deal with a disk failure. I've been looking at CCD and Vinum, but both seem to have issues that make automatic recovery in the face of one dead disk (in a mirror) less than optimal. So, if you know how to make it so a disk can die and the box keeps running,

Re: Mirrored / redundant disks.

2001-09-28 Thread Doug Swarin
I've got some experience with this. One of the solutions I have used in the past is as follows: 1. Configure the two disks with a root partition, swap partition, and a vinum partition covering the rest of the disk. If you make your root partition 128M, you can just barely fit a