hi joerg!

i was just wondering if the patch is sent in today:
"[PATCH 01/19] ath5k: disable all tasklets while resetting"
would solve this problem?

could you give it a try?

thanks,
bruno

On Tuesday 04 May 2010 15:38:58 Raghu Ramaraj wrote:
> Hi,
>  Any update regarding this....?
> I just observed the following things...
> 1) When I do interface up, I am getting the GPIO interrupt
> 2) After that am getting the RXORN interrupt only
> 
> r...@172.22.65.122:/home/raghu/HAL/compwifi# ifconfig wlan0 up
> DEBUG:RAG:brk2:reg->4000,flag->3,val->3,is_set->0 data->3 i->4e20
> DEBUG:RAG:brk2:reg->4000,flag->3,val->0,is_set->0 data->0 i->4e20
> DEBUG:RAG:brk2:reg->9860,flag->1,val->0,is_set->0 data->9d1a i->4e14
> DEBUG::RAG:ah->ah_version = 2
> DEBUG:RAG:ISR:status 0x1000000  0x800804b5
> DEBUG:RAG:ENDath5k_intr_calibration_poll
> DEBUG:RAG:brk2:reg->4000,flag->3,val->3,is_set->0 data->3 i->4e20
> DEBUG:RAG:brk2:reg->4000,flag->3,val->0,is_set->0 data->0 i->4e20
> DEBUG:RAG:brk2:reg->9860,flag->1,val->0,is_set->0 data->9d1a i->4e14
> ADDRCONF(NETDEV_UP): wlan0: link is not ready
> 
> ISR Status->
> 
> DEBUG:RAG:ISR:status 0x20  0x800804b5
> DEBUG:RAG: AR5K_INT_RXORN
> DEBUG::RAG:ah->ah_version = 2
> DEBUG:RAG:ISR:status 0x20  0x800804b5
> DEBUG:RAG: AR5K_INT_RXORN
> DEBUG::RAG:ah->ah_version = 2
> 
> 
> 
> Could you please give me the some background of this error?
> Is this any register setting problem?
> 
> So that I can probe in my end
> 
> 
> 
> Thanks & Regards,
> Raghu Ramaraj
> 
> 
> -----Original Message-----
> From: Raghu Ramaraj
> Sent: Monday, April 12, 2010 8:10 PM
> To: 'Joerg Pommnitz'; ath5k-devel@lists.ath5k.org
> Subject: RE: [ath5k-devel] ath5k phy0: failed to warm reset the MAC Chip
> 
> Yes I am getting the following
> 
> r...@172.22.65.72:/home/raghu/HAL# iwlist wlan0 scan
> __ratelimit: 12 callbacks suppressed
> ath5k phy0: failed to warm reset the MAC Chip
> ath5k phy0: can't reset hardware (-5)
> ath5k phy0: failed to warm reset the MAC Chip
> ath5k phy0: can't reset hardware (-5)
> ath5k phy0: failed to warm reset the MAC Chip
> ath5k phy0: can't reset hardware (-5)
> ath5k phy0: failed to warm reset the MAC Chip
> ath5k phy0: can't reset hardware (-5)
> ath5k phy0: failed to warm reset the MAC Chip
> ath5k phy0: can't reset hardware (-5)
> wlan0     No scan results
> 
> Thanks & Regards,
> Raghu Ramaraj
> 
> -----Original Message-----
> From: ath5k-devel-boun...@lists.ath5k.org
> [mailto:ath5k-devel-boun...@lists.ath5k.org] On Behalf Of Joerg Pommnitz
> Sent: Monday, April 12, 2010 2:51 PM
> To: ath5k-devel@lists.ath5k.org
> Subject: Re: [ath5k-devel] ath5k phy0: failed to warm reset the MAC Chip
> 
> Raghu Ramaraj <raghu_rama...@...> writes:
> > Hi
> > 
> >         This is the one right...
> 
> Yes, this is the patch I meant.
> 
> > --- wireless-testing/drivers/net/wireless/ath/ath5k/base.c     
> > 2010-03-19
> 
> 09:55:26.000000000 +0100
> 
> > +++ ../wireless-testing/drivers/net/wireless/ath/ath5k/base.c  
> > 2010-03-19
> 
> 09:30:23.000000000 +0100
> 
> > @@ -2894,7 +2894,12 @@
> > 
> >  {
> >  
> >         int ret;
> > 
> > -       ret = ath5k_reset(sc, sc->curchan);
> > +       if ((ret = ath5k_reset(sc, sc->curchan)) != 0) {
> > +         int ret2 = ath5k_reset(sc, sc->curchan);
> > +         ATH5K_DBG(sc, ATH5K_DEBUG_ANY, "ath5k_reset failed with %d,
> > retry
> 
> was %d\n", ret, ret2);
> 
> > +         ret = ret2;
> > +       }
> > +
> > 
> >         if (!ret)
> >         
> >                 ieee80211_wake_queues(sc->hw);
> > 
> > I have tried this also ... I am getting the error...
> 
> What error? Still the original one ("failed to warm reset the MAC Chip") or
> the new debug statement ("ath5k_reset failed with %d, retry was %d")?
> 
> Regards
>   Joerg
> 
> _______________________________________________
> ath5k-devel mailing list
> ath5k-devel@lists.ath5k.org
> https://lists.ath5k.org/mailman/listinfo/ath5k-devel
> 
> http://www.mindtree.com/email/disclaimer.html
> _______________________________________________
> ath5k-devel mailing list
> ath5k-devel@lists.ath5k.org
> https://lists.ath5k.org/mailman/listinfo/ath5k-devel
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to