Date: Sat, 27 Mar 2010 18:32:47 +0800 From: Ganbold <ganbold@gmail.com> To: PseudoCylon <moonlightakkiy@yahoo.ca> Cc: freebsd-current@freebsd.org Subject: Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless Message-ID: <4BADDECF.1080802@gmail.com> In-Reply-To: <989377.89740.qm@web51802.mail.re2.yahoo.com> References: <16641.96608.qm@web51806.mail.re2.yahoo.com> <4B9FA3E0.4050702@micom.mng.net> <633929.41041.qm@web51802.mail.re2.yahoo.com> <4BA22B8D.9030700@micom.mng.net> <375331.74876.qm@web51804.mail.re2.yahoo.com> <4BA38B26.6050208@micom.mng.net> <989377.89740.qm@web51802.mail.re2.yahoo.com>
index | next in thread | previous in thread | raw e-mail
PseudoCylon wrote:
>>> Same.
>>>
> Hi,
>
> Can you try this patch? (Patch is for if_run.c)
>
> Before "ifconfig wlan0 up", please run
> sysctl hw.usb.run.debug=1
> This will give me more clues.
>
> Does it panic right after wlan up, or are there some seconds before panic?
>
Same, it panics right after issuing wlan up. I used this patch and also
if_runvar.h patch also.
...
run0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:22:cf:03:e0:30
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:22:cf:03:e0:30
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid bsd channel 1 (2412 MHz 11b)
country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
wme bintval 0
rspro# ifconfig wlan0 up
run_stop: All Tx cleared
run_newstate: INIT -> SCAN
rspro# Trap cause = 5 (address error (store) - kernel mode)
[ thread pid 0 tid 100047 ]
Stopped at ieee80211_radiotap_vdetach+0x70: sh v1,0(a0)
db>
Ganbold
> Regards,
> AK
>
> -- begin patch --
>
> *** old_if_run.c 2010-03-27 02:44:20.000000000 -0600
> --- new_if_run.c 2010-03-27 02:47:28.000000000 -0600
> ***************
> *** 414,416 ****
> static const struct {
> ! uint32_t reg;
> uint32_t val;
> --- 414,416 ----
> static const struct {
> ! uint16_t reg;
> uint32_t val;
> ***************
> *** 1225,1227 ****
>
> ! *val = tmp & 0xff;
> return 0;
> --- 1225,1227 ----
>
> ! *val = (uint8_t)(tmp & 0xff);
> return 0;
>
>
> __________________________________________________________________
> The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
>
--
The worst cliques are those which consist of one man. -- George Bernard
Shaw
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BADDECF.1080802>
