PseudoCylon wrote: > ----- Original Message ---- > >> From: PseudoCylon <moonlightakkiy_at_yahoo.ca> >> To: Ganbold Tsagaankhuu <ganbold_at_mobicom.mn> >> Cc: Ganbold <ganbold_at_gmail.com>; freebsd-current_at_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_at_gmail.com> >>>>>>>> To: PseudoCylon <moonlightakkiy_at_yahoo.ca> >>>>>>>> Cc: freebsd-current_at_freebsd.org; Ganbold Tsagaankhuu >>>>>>>> >> <ganbold_at_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-san, Only tested once, the patch works ok so far. thanks, Ganbold > > 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 >> _at__at_ -888,8 +888,7 _at__at_ 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 -- >> >> >> >> >> > > > > -- My interest is in the future because I am going to spend the rest of my life there.Received on Tue Jul 13 2010 - 15:05:14 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC