panic: ifc_free_unit: bit is already cleared

Brooks Davis brooks at one-eyed-alien.net
Wed Oct 5 11:21:20 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20051005/32e2e5ba/attachment.bin


More information about the freebsd-current mailing list