Re: ndis related panic in CURRENT

From: Ganbold <ganbold_at_micom.mng.net>
Date: Tue, 24 Mar 2009 00:04:58 +0800
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_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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"
Received on Mon Mar 23 2009 - 15:05:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC