Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2010 19:02:28 -0700 (PDT)
From:      PseudoCylon <moonlightakkiy@yahoo.ca>
To:        Ganbold Tsagaankhuu <ganbold@mobicom.mn>
Cc:        freebsd-current@freebsd.org, Ganbold <ganbold@gmail.com>
Subject:   Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless
Message-ID:  <597509.54869.qm@web51805.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
----- Original Message ----
> From: PseudoCylon <moonlightakkiy@yahoo.ca>
> To: Ganbold Tsagaankhuu <ganbold@mobicom.mn>
> Cc: Ganbold <ganbold@gmail.com>; freebsd-current@freebsd.org
> Sent: Tue, July 6, 2010 12:26:58 AM
> Subject: Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless
> 
> >>>>>> From: Ganbold <ganbold@gmail.com>
> >>>>>>  To: PseudoCylon <moonlightakkiy@yahoo.ca>
> >>>>>>  Cc: freebsd-current@freebsd.org;  Ganbold Tsagaankhuu 
><ganbold@mobicom.mn>
> >>>>>>  Sent: Wed, June 16, 2010 6:33:47 AM
> >>>>>> Subject: Re:  CALL for TEST [HOSTAP] run(4) ralink usb  wireless
> >>>>>>
> >>>>>>  AK-san,
> >>>>>>      
> >>>>>>          
> >>>>> PseudoCylon wrote:
> >>>>>    
> >>>>> Strange,  looks like this time works as expected,  but sometimes it
> >>>>> doesn't   work.
> >>>>>
> >>>>> In some cases it doesn't  work and you can find complete tcpdump  output
> >>>>> from  very beginning to the modem  hang:
> >>>>>
> >>>>>    
> >>>>>        
> >>>>  Hello,
> >>>>
> >>>> Are following  true?
> >>>> When manually load/reload hostapd,  works
> >>>> When loaded by rc.conf, doesn't  work
> >>>>
> >>>> If so, please try attached patch.  (patch to if_run.c only) Or, here is a 
>patched file.
> >>>> http://gitorious.org/run/run/blobs/raw/cmdq_fix/dev/usb/wlan/if_run.c
> >>>>
> >>>>  When auto-loading, the driver is brought up and down a few times. It 
>might be  the cause.
> >>>>      
> >>> I will test  it few more days and let you know.
> >>>
> >>>  thanks,
> >>>
> >>> Ganbold
> >>>    
> >> Hello,
> >>
> >> How is the patch doing on your  rspro? Is it working well?
> >>  
> >
> >Sorry for late  response. Due to business trip I tested couple of times
> >only and it seems  working relatively ok. 1-2 times ADSL modem hang, but
> >seemed like after  3-4 hours.
> >Tried couple of times again, but I couldn't reproduce it. I  will try to
> >reproduce it and let you know the  results.
> >
> >thanks a  lot,
> >
> >Ganbold
> 
Hello, Ganbold

Is the latest patch working?


AK

> Hello,
> 
> I say every one has a  job.
> 
> At least it's start up OK, right?
> 
> Can you try attached patch?  (patch to if_run.c you currently using) Or, here 
>is a patched file
> http://gitorious.org/run/run/blobs/raw/cmdq_fix/dev/usb/wlan/if_run.c
> 
> I  encountered similar problem about 5 days ago. It kind of hard to reproduce. 
>A  couple of things have to happen at the right (or wrong) time.
> 
> If the  modem still hangs at the start up, please let me know. That means the 
>last patch  isn't working.
> 
> AK
> 
> -- begin patch --
> 
> diff --git  a/dev/usb/wlan/if_run.c b/dev/usb/wlan/if_run.c
> index f302246..e5a2a4d  100644
> --- a/dev/usb/wlan/if_run.c
> +++ b/dev/usb/wlan/if_run.c
> @@  -888,8 +888,7 @@ run_cmdq_cb(void *arg, int pending)
> 
>  /* call  cmdq[].func locked */
>  RUN_LOCK(sc);
> -for(i = sc->cmdq_exec;  sc->cmdq[i].func && pending;
> -    i = sc->cmdq_exec,  pending--){
> +for(i = sc->cmdq_exec; sc->cmdq[i].func; i =  sc->cmdq_exec){
>  DPRINTFN(6, "cmdq_exec=%d pending=%d\n", i, pending);
>   if(sc->cmdq_run == RUN_CMDQ_GO ||
>      (sc->cmdq_key_set ==  RUN_CMDQ_GO &&
> 
> -- end patch --
> 
> 
> 
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?597509.54869.qm>