kern/66382: Panic: mutex "tunmtx" 0xc0792dc0 already initialized

anthony.ginepro at laposte.net anthony.ginepro at laposte.net
Sat May 8 04:20:27 PDT 2004


>Number:         66382
>Category:       kern
>Synopsis:       Panic: mutex "tunmtx" 0xc0792dc0 already initialized
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 08 04:20:25 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Ginepro <anthony.ginepro at laposte.net>
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD renaissance.homeip.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat May 8 12:42:44 CEST 2004 rapiere at renaissance.homeip.net:/usr/obj/usr/src/sys/RENAISSANCE i386


>Description:
	Kernel panics when loading if_tun module but was already compiled statically.
	
	(kgdb) bt
	#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:236
	#1  0xc0524b1c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370
	#2  0xc0524ecc in poweroff_wait (junk=0xc06fccb0, howto=819)
	    at /usr/src/sys/kern/kern_shutdown.c:548
	#3  0xc051bbe6 in mtx_init (m=0xc0792dc0, name=---Can't read userspace from dump, or kernel process---

	)
	    at /usr/src/sys/kern/kern_mutex.c:818
	#4  0xc0599dce in tunmodevent (mod=0xc21e0800, type=0, data=0x0)
	    at /usr/src/sys/net/if_tun.c:187
	#5  0xc051a9b2 in module_register_init (arg=0xc651310c)
	    at /usr/src/sys/kern/kern_module.c:108
	#6  0xc05155a5 in linker_file_sysinit (lf=0x0)
	    at /usr/src/sys/kern/kern_linker.c:192
	#7  0xc05158af in linker_load_file (filename=0xc627b160 "/boot/kernel/if_tun.ko", 
	    result=0xe0b6eca8) at /usr/src/sys/kern/kern_linker.c:357
	#8  0xc0517d2f in linker_load_module (kldname=0xc073aec0 "F¢oÀ`®sÀ´", 
	    modname=0xc627b160 "/boot/kernel/if_tun.ko", parent=0x0, verinfo=0x0, 
	    lfpp=0xe0b6ecd4) at /usr/src/sys/kern/kern_linker.c:1672
	#9  0xc05162b1 in kldload (td=0xc6155dc0, uap=0x0)
	    at /usr/src/sys/kern/kern_linker.c:775
	#10 0xc06b7b21 in syscall (frame=
	      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077940672, tf_ebp = -1077940716, tf_isp = -524882572, tf_ebx = 0, tf_edx = -1, tf_ecx = -1077940504, tf_eax = 304, tf_trapno = 12, tf_err = 2, tf_eip = 671890847, tf_cs = 31, tf_eflags = 531, tf_esp = -1077940772, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1004
	#11 0x280c3d9f in ?? ()


>How-To-Repeat:
	having "device tun" in kernel configuration (GENERIC).
	and using command : 'kldload if_tun'
>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list