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

From: PseudoCylon <moonlightakkiy_at_yahoo.ca>
Date: Sat, 27 Mar 2010 02:12:21 -0700 (PDT)
>> Same.

>>    
>> rspro# ifconfig wlan0 up    
>>
>> 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> bt
>> Tracing pid 0 
> tid 100047 td 0xc0f1f260
>> db_trace_thread+30 (?,?,?,?) ra 80071160 sp 
> c7ec9948 sz 24
>> 80071044+11c (0,?,ffffffff,?) ra 80070b54 sp c7ec9960 
> sz 32
>> 800707c0+394 (?,?,?,?) ra 80070ce4 sp c7ec9980 sz 
> 168
>> db_command_loop+78 (?,?,?,?) ra 800733b8 sp c7ec9a28 sz 
> 24
>> 800732b0+108 (?,?,?,?) ra 801d8b1c sp c7ec9a40 sz 424
>> 
> kdb_trap+10c (?,?,?,?) ra 803c2690 sp c7ec9be8 sz 32
>> trap+134c 
> (?,?,?,?) ra 803b97c8 sp c7ec9c08 sz 176
>> MipsKernGenException+10c 
> (c0f6a637,c0f721c8,c7ea7c04,e51) ra 802c95b8 sp
>> c7ec9cb8 sz 
> 200
>> 802c95a8+10 (?,?,?,?) ra 0 sp c7ec9d80 sz 0
>> pid 
> 0
>> db>
>>    
>> Ganbold
>>

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?

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/
Received on Sat Mar 27 2010 - 08:12:23 UTC

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