panic: ifc_free_unit: bit is already cleared

Gleb Smirnoff glebius at FreeBSD.org
Wed Oct 5 02:18:12 PDT 2005


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?

A> panic: ifc_free_unit: bit is already cleared
A> cpuid = 0
A> KDB: enter: panic
A> [thread pid 4527 tid 100089 ]
A> Stopped at      kdb_enter+0x3c: ta              %xcc, 1
A> db> trace
A> Tracing pid 4527 tid 100089 td 0xfffff8000ab8e4c0
A> panic() at panic+0x164
A> ifc_free_unit() at ifc_free_unit+0x50
A> vlan_clone_destroy() at vlan_clone_destroy+0x8c
A> vlan_modevent() at vlan_modevent+0x44
A> module_unload() at module_unload+0x60
A> linker_file_unload() at linker_file_unload+0x7c
A> kern_kldunload() at kern_kldunload+0x84
A> kldunloadf() at kldunloadf+0x1c
A> syscall() at syscall+0x2dc
A> -- syscall (444, FreeBSD ELF64, kldunloadf) %o7=0x100b58 --
A> userland() at 0x40391348
A> user trace: trap %o7=0x100b58
A> pc 0x40391348, sp 0x7fdffffdde1
A> pc 0x100894, sp 0x7fdffffe2c1
A> pc 0x40209474, sp 0x7fdffffe381
A> done
A> db> 
A> 
A> _______________________________________________
A> freebsd-current at freebsd.org mailing list
A> http://lists.freebsd.org/mailman/listinfo/freebsd-current
A> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-current mailing list