From owner-freebsd-current@FreeBSD.ORG Mon Mar 23 16:05:01 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 152C91065674; Mon, 23 Mar 2009 16:05:01 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id BA72F8FC14; Mon, 23 Mar 2009 16:05:00 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.21.165] (helo=beastie.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LlmdA-000F87-M6; Tue, 24 Mar 2009 00:04:04 +0800 Message-ID: <49C7B32A.202@micom.mng.net> Date: Tue, 24 Mar 2009 00:04:58 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.19 (X11/20090127) MIME-Version: 1.0 To: Weongyo Jeong References: <49C273C2.9000808@micom.mng.net> <20090320055944.GB22527@weongyo.cdnetworks.kr> In-Reply-To: <20090320055944.GB22527@weongyo.cdnetworks.kr> X-Enigmail-Version: 0.95.7 OpenPGP: id=78F6425E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-current@freebsd.org" Subject: Re: ndis related panic in CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 23 Mar 2009 16:05:01 -0000 Weongyo Jeong wrote: > On Fri, Mar 20, 2009 at 12:33:06AM +0800, Ganbold wrote: > >> Hi, >> >> When I tried to make wlan0 down (ndis driver for Intel 5100AGN) got >> panic: >> ... >> Slab at 0x8cdd7cb8, freei 86 = 0. >> panic: Duplicate free of item 0x8cdd7560 from zone 0x8148c380(16) >> >> cpuid = 0 >> KDB: stack backtrace: >> db_trace_self_wrapper(80a5d82b,84e06ba0,80729ff9,80a8d790,0,...) at >> db_trace_self_wrapper+0x26 >> kdb_backtrace(80a8d790,0,80a810e5,84e06bac,0,...) at kdb_backtrace+0x29 >> panic(80a810e5,8cdd7560,8148c380,80a2c3b6,8,...) at panic+0x119 >> uma_dbg_free(8148c380,8cdd7cb8,8cdd7560,9dc,8574286c,...) at >> uma_dbg_free+0x17b >> uma_zfree_arg(8148c380,8cdd7560,8cdd7cb8,24,85742800,...) at >> uma_zfree_arg+0x6e >> free(8cdd7560,80b2c4e0,88c3a1ec,cb3,854e8800,...) at free+0xca >> ndis_stop(84e06c80,80cc13d8,85176964,80cc13d8,80b2e344,...) at >> ndis_stop+0xe6 >> ndis_ioctl_80211(854e8800,80206910,0,84e06cd4,807623cb,...) at >> ndis_ioctl_80211+0x388 >> parent_updown(854e8800,1,80a5ef36,54,85247b9c,...) at parent_updown+0x22 >> taskqueue_run(85247b80,85247b9c,0,80a511b5,0,...) at taskqueue_run+0x10b >> taskqueue_thread_loop(80b94068,84e06d38,80a56585,32d,80b7f400,...) at >> taskqueue_thread_loop+0x68 >> fork_exit(807624c0,80b94068,84e06d38) at fork_exit+0xb8 >> fork_trampoline() at fork_trampoline+0x8 >> --- trap 0, eip = 0, esp = 0x84e06d70, ebp = 0 --- >> Uptime: 2h9m2s >> Physical memory: 1979 MB >> Dumping 400 MB: 385 369 353 337 321 305 289 273 257 241 225 209 193 177 >> 161 145 129 113 97 81 65 49 33 17 1 >> ... >> >> I'm running: >> beastie# uname -an >> FreeBSD beastie.micom.mng.net 8.0-CURRENT FreeBSD 8.0-CURRENT #5 >> r190040M: Thu Mar 19 21:45:37 ULAT 2009 >> tsgan@beastie.micom.mng.net:/usr/obj/usr/src/sys/DEVIL_WITNESS i386 >> >> Please let me know if you need more info. >> >> thanks, >> > > Just for preventing a panic could you please try to test attached patch > though I'm not sure the patch is helpful? > Just tested the patch, no more panic. thanks, Ganbold > regards, > Weongyo Jeong > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- I always choose my friends for their good looks and my enemies for their good intellects. Man cannot be too careful in his choice of enemies. -- Oscar Wilde, "The Picture of Dorian Gray"