From owner-freebsd-current@FreeBSD.ORG Wed Mar 16 18:36:06 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8A6916A4CE for ; Wed, 16 Mar 2005 18:36:06 +0000 (GMT) Received: from portpc-design.spb.ru (ns2.portpc-design.spb.ru [195.161.118.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AA8C43D48 for ; Wed, 16 Mar 2005 18:36:05 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [83.237.228.21] (ppp83-237-228-21.pppoe.mtu-net.ru [83.237.228.21]) (authenticated bits=0) by portpc-design.spb.ru (8.13.3/8.13.3) with ESMTP id j2GIa2AF050172 for ; Wed, 16 Mar 2005 21:36:03 +0300 (MSK) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <42387C8D.2050901@mcsi.pp.ru> Date: Wed, 16 Mar 2005 21:35:57 +0300 From: Maxim Maximov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041224 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20050315235758.Y3899@ync.qbhto.arg> In-Reply-To: <20050315235758.Y3899@ync.qbhto.arg> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on 81.176.64.226 X-Virus-Status: Clean Subject: Re: NDIS panic: _mtx_lock_sleep: recursed on non-recursive mutex X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 18:36:06 -0000 Doug Barton wrote: > I'm getting the following panic with the latest -current as soon as the > ndis module loads in response to an 'ifconfig ndis0 up' command: > > panic: _mtx_lock_sleep: recursed on non-recursive mutex ndis softc lock > @ /usr/local/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:1463 > > Doug > Same here: (kgdb) bt #0 doadump () at pcpu.h:164 #1 0xc049337e in db_fncall (dummy1=0, dummy2=0, dummy3=-1065288661, dummy4=0xd57c7960 "\214y|у\204ъ\200юxy|у|y|у\220\a") at /usr/src/sys/ddb/db_command.c:531 #2 0xc049318c in db_command (last_cmdp=0xc099eb04, cmd_table=0x0, aux_cmd_tablep=0xc08c5054, aux_cmd_tablep_end=0xc08c5070) at /usr/src/sys/ddb/db_command.c:349 #3 0xc0493254 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455 #4 0xc0494dd9 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221 #5 0xc06769a4 in kdb_trap (type=3, code=0, tf=0xd57c7aa4) at /usr/src/sys/kern/subr_kdb.c:421 #6 0xc082a5f4 in trap (frame= {tf_fs = -713293800, tf_es = -1066991600, tf_ds = -1064763376, tf_edi = -1064730214, tf_esi = 1, tf_ebp = -713262364, tf_isp = -713262384, tf_ebx = -713262320, tf_edx = 0, tf_ecx = -1056755712, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1066965237, tf_cs = 8, tf_eflags = 662, tf_esp = -713262332, tf_ss = -1067062701}) at /usr/src/sys/i386/i386/trap.c:573 #7 0xc08186ba in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #8 0xd57c0018 in ?? () #9 0xc0670010 in config_intrhook_disestablish (hook=0x0) at /usr/src/sys/kern/subr_autoconf.c:108 #10 0xc065ea53 in panic (fmt=0xc089819a "_mtx_lock_sleep: recursed on non-recursive mutex %s @ %s:%d\n") at /usr/src/sys/kern/kern_shutdown.c:538 #11 0xc0656f72 in _mtx_lock_sleep (m=0xc1d13da8, td=0xc1bbe730, opts=0, file=0xc08b51c2 "/usr/src/sys/compat/ndis/kern_ndis.c", line=1463) at /usr/src/sys/kern/kern_mutex.c:447 #12 0xc0656c91 in _mtx_lock_flags (m=0xc1d13da8, opts=0, file=0xc08b51c2 "/usr/src/sys/compat/ndis/kern_ndis.c", line=1463) at /usr/src/sys/kern/kern_mutex.c:273 #13 0xc07e1926 in ndis_init_nic (arg=0x0) at /usr/src/sys/compat/ndis/kern_ndis.c:1463 #14 0xc07f9ce4 in ndis_init (xsc=0xc1d13000) at /usr/src/sys/dev/if_ndis/if_ndis.c:1472 #15 0xc07fab3f in ndis_ioctl (ifp=0xc1d13000, command=2149607696, data=0xc1f55a40 "ndis0") at /usr/src/sys/dev/if_ndis/if_ndis.c:2100 #16 0xc06c3760 in ifhwioctl (cmd=2149607696, ifp=0xc1d13000, data=0xc1f55a40 "ndis0", td=0x0) at /usr/src/sys/net/if.c:1199 #17 0xc06c3fb7 in ifioctl (so=0xc200014c, cmd=2149607696, data=0xc1f55a40 "ndis0", td=0xc1bbe730) at /usr/src/sys/net/if.c:1433 #18 0xc0687cf7 in soo_ioctl (fp=0x0, cmd=2149607696, data=0xc1f55a40, active_cred=0xc1f6f800, td=0xc1bbe730) at /usr/src/sys/kern/sys_socket.c:214 #19 0xc0682470 in ioctl (td=0xc1bbe730, uap=0xd57c7d14) at file.h:258 #20 0xc082adab in syscall (frame= {tf_fs = 47, tf_es = -2139619281, tf_ds = -1078001617, tf_edi = -1077944560, tf_esi = -2145359600, tf_ebp = -1077944600, tf_isp = -713261708, tf_ebx = -1077944560, tf_edx = 0, tf_ecx = 10, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 673557499, tf_cs = 31, tf_eflags = 514, tf_esp = -1077944644, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:951 #21 0xc081870f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 -- Maxim Maximov