Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 06:28:09 -0400
From:      "James F.  Hranicky" <jfh@cise.ufl.edu>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/56031: ipfw hangs on every invocation
Message-ID:  <20030903062809.2ae57891.jfh@cise.ufl.edu>
In-Reply-To: <Pine.NEB.3.96L.1030902120928.81810L-100000@fledge.watson.org>
References:  <20030902120242.19519cf9.jfh@cise.ufl.edu> <Pine.NEB.3.96L.1030902120928.81810L-100000@fledge.watson.org>

index | next in thread | previous in thread | raw e-mail

On Tue, 2 Sep 2003 12:10:28 -0400 (EDT)
Robert Watson <rwatson@FreeBSD.org> wrote:

> 
> On Tue, 2 Sep 2003, James F.  Hranicky wrote:
> 
> > Let me know if I can provide any more info. 
> 
> This seems to suggest it's really just the userland application spinning,
> not a hang in the kernel.  Could you try using truss to see if, once it
> starts spinning, it's making system calls, or just stuck entirely in
> userspace?

As far as I can tell it's hanging in the last ioctl() .

> Assuming it's purely a userspace problem (perhaps triggered by
> syntactically poor output from the kernel), the next thing to do is
> probably to instrument your ipfw binary with either printfs or debugging
> symbols and see where in its execution it is spinning.  

I can compile it with debugging symbols and trace through the execution, 
but it seems like the ioctl() is where it's hanging, again some kind of
odd terminal thing.

> Could you include a list of your IPFW rules also, please?  

I don't have any set at this time, just the default pass any any. 

I'll trace through it with gdb if you think it will help.

Jim


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030903062809.2ae57891.jfh>