DragonFly BSD
DragonFly bugs List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #2458] ath: ran out of descriptors


From: Sepherosa Ziehau via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Nov 2012 01:00:50 -0800

Issue #2458 has been updated by Sepherosa Ziehau.


On Fri, Nov 23, 2012 at 5:27 AM, Johannes Hofmann via Redmine
<bugtracker-admin@leaf.dragonflybsd.org> wrote:
>
> Issue #2458 has been updated by Johannes Hofmann.
>
> File ath_lock.diff added
>
> After looking at if_iwn.c a more appropriate approach is probabely to leave ieee80211_dragonfly.c alone and change the locking in if_ath.c like in attached patch.
> ----------------------------------------
> Bug #2458: ath: ran out of descriptors
> http://bugs.dragonflybsd.org/issues/2458
>
> Author: Johannes Hofmann
> Status: New
> Priority: Normal
> Assignee:
> Category:
> Target version:
>
>
> After running for a while in a WPA secured WLAN with an ath(4) card, I get:
>    ath: ran out of descriptors
> and the network stops working.
> Sometimes destroying wlan0 and kldunload if_ath; kldload if_ath
> restores network, but in some cases I get

Well, I believe the problem is actually more serious: the ifnet's
if_serializer is not properly setup to wlan_global_serializer
(ieee80211_ifattach->if_attach, wlan_global_serializer should be
passed as the second parameter to if_attach instead of NULL).  If you
are interested, that could be a good project.  I will have to note
that you may experience many panics before the things work.  However,
once it works, it will no longer cause further problems.  If anyone
want to pick it up, please feel free to contact me, if you need the
ifnet serializer working mechanism.

As about the patch, if other folks w/ the proper hardware could
confirm it works, we could just commit it as workaround.

Best Regards,
sephe

>
>
>
> Nov 18 12:45:06 plop kernel: Trace beginning at frame 0xd6264ca8
> Nov 18 12:45:06 plop kernel: m_free(ffffffff,d47f1c00,0,d936dc00,d5a94400) at m_free+0xc6 0x
> c01f26ed
> Nov 18 12:45:06 plop kernel: m_free(d47f7800,d6264cfc,c09c8846,d47f7800,c47576f0) at m_free+
> 0xc6 0xc01f26ed
> Nov 18 12:45:06 plop kernel: m_freem(d47f7800,c47576f0,d6264cfc,c09e8e58,d5cf9f80) at m_free
> m+0x15 0xc01f29c6
> Nov 18 12:45:06 plop kernel: ieee80211_flush_ifq(d5a94400,d4c46500,ffffffff,d5e35478,c47576f
> 0) at ieee80211_flush_ifq+0x70 0xc09c8846
> Nov 18 12:45:06 plop kernel: ieee80211_newstate_task(d4c46500,1,c47576f4,1,c475770c) at ieee
> 80211_newstate_task+0x231 0xc09e74e3
> Nov 18 12:45:06 plop kernel: taskqueue_run(c47576f0,c475770c,0,c03d27b3,0) at taskqueue_run+
> 0x93 0xc01dd304
> Nov 18 12:45:06 plop kernel: taskqueue_thread_loop(d5e3544c,0,0,0,0) at taskqueue_thread_loo
> p+0x4b 0xc01dd5ed
> Nov 18 12:45:06 plop kernel: lwkt_exit() at lwkt_exit 0xc01bbab3
>
>
> and the system freezes on kldunload if_ath
>
>
> --
> You have received this notification because you have either subscribed to it, or are involved in it.
> To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



--
Tomorrow Will Never Die
----------------------------------------
Bug #2458: ath: ran out of descriptors
http://bugs.dragonflybsd.org/issues/2458

Author: Johannes Hofmann
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


After running for a while in a WPA secured WLAN with an ath(4) card, I get:
   ath: ran out of descriptors
and the network stops working.
Sometimes destroying wlan0 and kldunload if_ath; kldload if_ath
restores network, but in some cases I get 



Nov 18 12:45:06 plop kernel: Trace beginning at frame 0xd6264ca8
Nov 18 12:45:06 plop kernel: m_free(ffffffff,d47f1c00,0,d936dc00,d5a94400) at m_free+0xc6 0x
c01f26ed 
Nov 18 12:45:06 plop kernel: m_free(d47f7800,d6264cfc,c09c8846,d47f7800,c47576f0) at m_free+
0xc6 0xc01f26ed 
Nov 18 12:45:06 plop kernel: m_freem(d47f7800,c47576f0,d6264cfc,c09e8e58,d5cf9f80) at m_free
m+0x15 0xc01f29c6 
Nov 18 12:45:06 plop kernel: ieee80211_flush_ifq(d5a94400,d4c46500,ffffffff,d5e35478,c47576f
0) at ieee80211_flush_ifq+0x70 0xc09c8846 
Nov 18 12:45:06 plop kernel: ieee80211_newstate_task(d4c46500,1,c47576f4,1,c475770c) at ieee
80211_newstate_task+0x231 0xc09e74e3 
Nov 18 12:45:06 plop kernel: taskqueue_run(c47576f0,c475770c,0,c03d27b3,0) at taskqueue_run+
0x93 0xc01dd304 
Nov 18 12:45:06 plop kernel: taskqueue_thread_loop(d5e3544c,0,0,0,0) at taskqueue_thread_loo
p+0x4b 0xc01dd5ed 
Nov 18 12:45:06 plop kernel: lwkt_exit() at lwkt_exit 0xc01bbab3 


and the system freezes on kldunload if_ath


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]