Re: panic: ifc_free_unit: bit is already cleared

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Wed, 5 Oct 2005 11:21:18 -0700
On Wed, Oct 05, 2005 at 01:18:09PM +0400, Gleb Smirnoff wrote:
> On Wed, Oct 05, 2005 at 03:49:03PM +1300, Andrew Thompson wrote:
> A> Hi,
> A> 
> A> I have found a repeatable panic with network device cloning, unfortunatly I am
> A> unable to dump on this box. This is sparc64 with a 2 day old current.
> A> 
> A> 
> A> [root_at_dev]# kldload if_vlan
> A> [root_at_dev]# for i in `jot 100 1`; do
> A> for> ifconfig xl0.$i create
> A> for> done
> A> [root_at_dev]# kldunload if_vlan
> 
> shouldn't it return EBUSY here?

The interfaces should be destroyed and the module unloaded.  I suspect
the problem is that if_clone_detach is either called too early or does
too much.  I don't have time to look at it now.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Wed Oct 05 2005 - 16:21:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC