Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless

From: Ganbold <ganbold_at_gmail.com>
Date: Sun, 25 Apr 2010 15:44:20 +0800
AK-san,

PseudoCylon wrote:
> Hello,
>
> Thank you for all the info.
> This one shall work.
> http://projects.nasreddine.com/projects/run/repository/revisions/mips_fix/show/dev/usb/wlan
> Please update if_run.c and if_runvar.h (2 files).
>
> Just in case, after kldload, please issue
> # sysctl hw.usb.run.debug=1
> Now it prints out very little messages, and no need to issue wlandebug.
>
>   

Thank you very much.
However it still panics when I tried to use bridge.
...
run0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
    ether 00:22:cf:03:e0:30
    media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
    status: running
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1500
    ether 00:22:cf:03:e0:30
    media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
    status: running
    ssid bsd channel 6 (2437 MHz 11g) bssid 00:22:cf:03:e0:30
    country US authmode OPEN privacy OFF txpower 0 scanvalid 60
    protmode CTS wme dtimperiod 1 -dfs
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
    ether 06:ba:f8:33:07:6d
    id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
    maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
    root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
    member: arge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 1 priority 128 path cost 200000
    member: wlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 9 priority 128 path cost 370370

...
wlan0: Ethernet address: 00:22:cf:03:e0:30
run_vap_create: rvp_id=0 bmap=1 rvp_cnt=1
run_media_change: called
run_init_locked: called
run_stop: All Tx cleared
run_newstate: INIT -> INIT
run_newstate: INIT -> SCAN
run_newstate: SCAN -> RUN
run_enable_tsf_sync: rvp_id=0 ic_opmode=4
bridge0: Ethernet address: 06:ba:f8:33:07:6d
panic: Trying sleep, but thread marked as sleeping prohibited
KDB: enter: panic
[ thread pid 11 tid 100031 ]
Stopped at      kdb_enter+0x50: lui     at,0x8054
db> bt
Tracing pid 11 tid 100031 td 0xc0c96720
db_trace_thread+30 (?,?,?,?) ra 800ac688 sp c7967558 sz 24
800ac56c+11c (0,?,ffffffff,?) ra 800abd30 sp c7967570 sz 32
800ab99c+394 (?,?,?,?) ra 800abec0 sp c7967590 sz 168
db_command_loop+78 (?,?,?,?) ra 800ae4d8 sp c7967638 sz 24
800ae3d0+108 (?,?,?,?) ra 80208060 sp c7967650 sz 424
kdb_trap+108 (?,?,?,?) ra 80407380 sp c79677f8 sz 32
trap+d50 (?,?,?,?) ra 803ff090 sp c7967818 sz 168
MipsKernGenException+134 (0,a,806c8fe4,109) ra 802082e8 sp c79678c0 sz 200
kdb_enter+50 (?,?,?,?) ra 801d1a04 sp c7967988 sz 24
panic+f8 (?,4,80480eb8,120) ra 80212f10 sp c79679a0 sz 40
sleepq_add+120 (?,?,?,?) ra 8018f174 sp c79679c8 sz 56
_cv_wait+1f0 (?,?,?,?) ra 80147ba8 sp c7967a00 sz 64
usbd_do_request_flags+540 (?,?,?,?) ra c7e56358 sp c7967a40 sz 104
PC 0xc7e56358: not in kernel
0+c7e56358 (?,?,?,?) ra 0 sp c7967aa8 sz 0
pid 11
db>

thanks,

Ganbold

> Thanks
> AK
>
>   
>> Got another panic. Maybe it is 
>> something else.
>>
>> run_rx_frame: rx done
>> run_rx_frame: rx done
>> run_rx_frame: rx done
>> run_rx_frame: rx done
>> run_rx_frame: rx  done
>> Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode)
>> [  thread pid 0 tid 100062 ]
>> Stopped at       run_drain_fifo+0xd8:    lw      v0,6444(a1)
>> db>  bt
>> Tracing pid 0 tid 100062 td 0xc0f88be0
>> db_trace_thread+30 (?,?,?,?) ra 800ac688 sp c7e83970 sz 24
>> 800ac56c+11c (0,?,ffffffff,?) ra 800abd30 sp c7e83988 sz 32
>> 800ab99c+394 (?,?,?,?) ra 800abec0 sp c7e839a8 sz 168
>> db_command_loop+78 (?,?,?,?) ra 800ae4d8 sp c7e83a50 sz 24
>> 800ae3d0+108 (?,?,?,?) ra 80208060 sp c7e83a68 sz 424
>> kdb_trap+108 (?,?,?,?) ra 80407624 sp c7e83c10 sz 32
>> trap+ff4 (?,?,?,?) ra 803ff090 sp c7e83c30 sz 168
>> MipsKernGenException+134 (1a3,0,0,21c) ra c7e5bd24 sp c7e83cd8 sz 200
>> PC 0xc7e5bd24: not in kernel
>> 0+c7e5bd24 (?,?,?,?) ra 0 sp c7e83da0 sz 0
>> pid 0
>> db>
>>
>> Ganbold
>>     
>
>
>
>   


-- 
As an adolescent I aspired to lasting fame, I craved factual certainty,
and I thirsted for a meaningful vision of human life -- so I became a
scientist. This is like becoming an archbishop so you can meet girls. --
Matt Cartmill
Received on Sun Apr 25 2010 - 05:44:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC