Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: rt5370 debugging posts in dmesg

  1. #1
    Join Date
    Feb 2013
    Beans
    17

    rt5370 debugging posts in dmesg

    Hi,

    I have an rt5370 usb card in an laptop where I'm running ubuntu 12.04. I have downloaded the rt5370 driver from RTL site and installed it following instructions; the wireless is now working. However, I get continuous messages in the system log as following (each time with a different length number):
    ----
    ===>rt_ioctl_giwscan. 21(21) BSS returned, data->length = 2888
    ----

    Backend of dmesg output is attached.

    Every so often it looses connection and from what I can gather reconnects. I attach dmesg output after such occcurrence as well.

    I have trawled the web but don't seem to be able to find the answer to that. One place mentioned that RTL drivers were by default compiled with a debugging option in place, but this appears to be in the versions for other cards - I cannot find where it can be switched off for this one. Any pointers?

    Also, something must be triggering the debug output - can anyone shed some light on what may be causing this?

    Thanks,
    Simon
    Attached Files Attached Files
    Last edited by simon5555; February 21st, 2013 at 08:20 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: rt5370 debugging posts in dmesg

    Quote Originally Posted by simon5555 View Post
    One place mentioned that RTL drivers were by default compiled with a debugging option in place, but this appears to be in the versions for other cards - I cannot find where it can be switched off for this one. Any pointers?
    A quick lookup suggests it is in os/linux/config.mk file, I'm not sure though. May help if you can provide the exact link to the driver you downloaded.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  3. #3
    Join Date
    Feb 2013
    Beans
    17

    Re: rt5370 debugging posts in dmesg

    I got it from:

    http://www.mediatek.com/_en/07_downl...ows.php?sn=501

    the file labeled:

    RT8070/RT3070/RT3370/RT5370/RT5372 USB 03/28/2012 2.5.0.3

    Thanks

  4. #4
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: rt5370 debugging posts in dmesg

    Quote Originally Posted by simon5555 View Post
    Yes, the file is there (/os/linux/config.mk file in the extracted folder).

    In line 223, remove the flag "-DDBG", then compile and install again.

    Also, in lines 56 and 60, change the value from 'n' to 'y' before compiling.
    (HAS_WPA_SUPPLICANT=y)
    (HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y)

    Let us know how it goes.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  5. #5
    Join Date
    Feb 2013
    Beans
    17

    Re: rt5370 debugging posts in dmesg

    Thanks - I thought that it might be. If I remove this flag, then I get an error compiling the driver:

    [SNIP]
    /home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO/os/linux/../../sta/sta_cfg.c: In function ‘RTMP_STA_IoctlHandle’:
    /home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO/os/linux/../../sta/sta_cfg.c:7286:4: error: implicit declaration of function ‘RTMPIoctlMAC’ [-Werror=implicit-function-declaration]
    /home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO/os/linux/../../sta/sta_cfg.c:7290:4: error: implicit declaration of function ‘RTMPIoctlE2PROM’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[2]: *** [/home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO/os/linux/../../sta/sta_cfg.o] Error 1
    make[1]: *** [_module_/home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-38-generic-pae'
    make: *** [LINUX] Error 2

    Thanks

  6. #6
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: rt5370 debugging posts in dmesg

    Hmm.. experimenting with the driver..
    (how did you compile by the way, I can't compile it at all!)

    Can you post the modinfo of the driver?
    Code:
    modinfo rt2870sta
    (assuming it is indeed rt2870sta that is built from this package)


    EDIT:
    Nevermind, compiled like a breeze on a live session of 12.04, and turned out to be rt5370sta (although description says RT2870).
    Also, couldn't find what I was expecting in modinfo output (parameter for setting debugging mode).

    Experimenting further..
    Last edited by varunendra; February 22nd, 2013 at 12:34 PM. Reason: update
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  7. #7
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: rt5370 debugging posts in dmesg

    Nah, couldn't find anything relevant except that it builds fine (with some warnings) with all the "-DDFS_DEBUG" flags removed from the config.mk file.

    You may try building and installing again with that flag removed. Although it doesn't seem relevant to me, yet wouldn't hurt trying.

    Here's an old bug-report regarding the issue where comment #12 suggests almost the same thing we already tried : https://bugs.launchpad.net/ubuntu/+s...ux/+bug/356807

    Just for the record (if not for any further hint), I'd like to see -
    Code:
    modinfo rt5370sta
    lspci -nnk | grep -iA2 net
    lsmod
    EDIT:
    Forgot this one -
    Code:
    iwpriv
    please post its output as well.

    Thanks!
    Last edited by varunendra; February 23rd, 2013 at 06:48 AM. Reason: added iwpriv
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  8. #8
    Join Date
    Feb 2013
    Beans
    17

    Re: rt5370 debugging posts in dmesg

    Hi,

    Thanks. The outputs are as follows:

    Code:
    simon@simon-ES1105N:~$ modinfo rt5370sta
    filename:       /lib/modules/3.2.0-38-generic pae/kernel/drivers/net/wireless/rt5370sta.ko
    version:        2.5.0.3
    license:        GPL
    description:    RT2870 Wireless Lan Linux Driver
    author:         Paul Lin <paul_lin@ralinktech.com>
    srcversion:     B5F68EDB8F10C7E19E04080
    alias:          usb:v043Ep7A22d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v043Ep7A12d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2001p3C1Dd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2001p3C1Cd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2001p3C19d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2001p3C15d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v13D3p3329d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v13D3p3365d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v148Fp5372d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v148Fp5370d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p0050d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v148Fp3370d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1EDAp2012d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0586p343Ed*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0586p341Ed*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0586p341Ad*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0789p0166d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07FAp7712d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v13D3p3321d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v13D3p3307d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v083ApA703d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v5A57p0282d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p821Ad*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p3821d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p822Ad*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p871Ad*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p3871d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p3822d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p6899d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p870Ad*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p3870d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p899Ad*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v203Dp14A9d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0B05p1784d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v20B8p8888d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v203Dp1480d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v04BBp0948d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v04BBp0947d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v04BBp0945d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v5A57p0283d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v5A57p5257d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1D4Dp0011d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1D4Dp000Ed*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1D4Dp000Cd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07D1p3C17d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07D1p3C16d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07D1p3C0Fd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07D1p3C0Ed*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07D1p3C0Dd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07D1p3C0Ad*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1EDAp2310d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1A32p0304d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v7392p4085d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v7392p7711d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07B8p3072d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07B8p3071d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v07B8p3070d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2019p5201d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2019pAB25d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1044p800Dd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v13D3p3305d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v13D3p3273d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1740p9709d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1740p9708d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1740p9707d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1740p9706d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1740p9705d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v1740p9703d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v083ApA702d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v083ApA701d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v083Ap7511d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v18C5p0012d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v14B2p3C12d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p005Fd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p0047d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p0048d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p0042d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p003Ed*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p822Bd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p871Bd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p822Cd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p871Cd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DB0p3820d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v148Fp3072d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v148Fp3071d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v148Fp3070d*dc*dsc*dp*ic*isc*ip*
    depends:        
    vermagic:       3.2.0-38-generic-pae SMP mod_unload modversions 686 
    parm:           mac:rt28xx: wireless mac addr (charp)
    --------
    Code:
    simon@simon-ES1105N:~$ lspci -nnk | grep -iA2 net
    [NONE] - this is a usb card btw
    -------------
    Code:
    simon@simon-ES1105N:~$ lsmod
    Module                  Size  Used by
    dm_crypt               22528  1 
    snd_hda_codec_hdmi     31775  1 
    joydev                 17393  0 
    snd_hda_codec_realtek   174313  1 
    rt5370sta             730296  1 
    snd_hda_intel          32765  3 
    snd_hda_codec         109562  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13276  1 snd_hda_codec
    psmouse                86520  0 
    snd_pcm                80916  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    serio_raw              13027  0 
    snd_seq_midi           13132  0 
    snd_rawmidi            25424  1 snd_seq_midi
    snd_seq_midi_event     14475  1 snd_seq_midi
    bnep                   17830  2 
    snd_seq                51592  2 snd_seq_midi,snd_seq_midi_event
    rfcomm                 38139  12 
    btusb                  17948  2 
    snd_timer              28931  2 snd_pcm,snd_seq
    snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
    bluetooth             158479  23 bnep,rfcomm,btusb
    parport_pc             32114  0 
    cedarview_gfx         381372  4 
    ppdev                  12849  0 
    snd                    62218  16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    ttm                    64734  1 cedarview_gfx
    drm_kms_helper         32561  1 cedarview_gfx
    drm                   196391  6 cedarview_gfx,ttm,drm_kms_helper
    soundcore              14635  1 snd
    snd_page_alloc         14108  2 snd_hda_intel,snd_pcm
    mac_hid                13077  0 
    i2c_algo_bit           13199  1 cedarview_gfx
    binfmt_misc            17292  1 
    lp                     17455  0 
    parport                40930  3 parport_pc,ppdev,lp
    video                  19115  1 cedarview_gfx
    wmi                    18744  0
    ----------
    Code:
    simon@simon-ES1105N:~$ iwpriv
    lo        no private ioctls.
    
    ra0       Available private ioctls :
              set              (8BE2) : set 1024 char  & get   0      
              connStatus       (0004) : set 1024 char  & get 2047 char 
              driverVer        (0005) : set 1024 char  & get 2047 char 
              bainfo           (0006) : set 1024 char  & get 2047 char 
              descinfo         (0007) : set 1024 char  & get 2047 char 
              radio_off        (000A) : set 1024 char  & get 2047 char 
              radio_on         (000B) : set 1024 char  & get 2047 char 
              show             (0015) : set 1024 char  & get 2047 char 
              adhocEntry       (0016) : set 1024 char  & get 2047 char 
              bbp              (8BE3) : set 2047 char  & get 2047 char 
              mac              (8BE5) : set 1024 char  & get 1024 char 
              rf               (8BF3) : set 2047 char  & get 2047 char 
              e2p              (8BE7) : set 1024 char  & get 1024 char 
              stat             (8BE9) : set   0       & get 2047 char 
              get_site_survey  (8BED) : set   0       & get 1024 char
    Last edited by varunendra; February 25th, 2013 at 12:43 PM. Reason: fixed code tags

  9. #9
    Join Date
    Feb 2013
    Beans
    17

    Re: rt5370 debugging posts in dmesg

    Managed to compile it with the -DDFS_DEBUG flag removed (but -DDBG still in place as it would not compile otherwise).

    dmesg still produces the following output:
    Code:
    ....
    [   13.956698] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   14.220968] RTMP_TimerListAdd: add timer obj f85b2b70!
    [   14.220982] RTMP_TimerListAdd: add timer obj f85b2bb8!
    [   14.220990] RTMP_TimerListAdd: add timer obj f85b2c00!
    [   14.220997] RTMP_TimerListAdd: add timer obj f85b2b28!
    [   14.221007] RTMP_TimerListAdd: add timer obj f85b2a50!
    [   14.221014] RTMP_TimerListAdd: add timer obj f85b2a98!
    [   14.221021] RTMP_TimerListAdd: add timer obj f857d628!
    [   14.221027] RTMP_TimerListAdd: add timer obj f856cef0!
    [   14.221034] RTMP_TimerListAdd: add timer obj f856cf40!
    [   14.221041] RTMP_TimerListAdd: add timer obj f857d714!
    [   14.221050] RTMP_TimerListAdd: add timer obj f857d598!
    [   14.221061] RTMP_TimerListAdd: add timer obj f857d6c8!
    [   14.222631] -->RTUSBVenderReset
    [   14.222849] <--RTUSBVenderReset
    [   14.365105] init: alsa-restore main process (1000) terminated with status 19
    [   14.425382] init: gdm main process (1017) killed by TERM signal
    [   14.701760] HDMI status: Codec=1 Pin=3 Presence_Detect=0 ELD_Valid=0
    [   14.702064] input: HDA Intel HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
    [   14.702634] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
    [   14.703506] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
    [   14.868721] Key1Str is Invalid key length(0) or Type(0)
    [   14.868759] Key2Str is Invalid key length(0) or Type(0)
    [   14.868796] Key3Str is Invalid key length(0) or Type(0)
    [   14.868833] Key4Str is Invalid key length(0) or Type(0)
    [   14.869399] 1. Phy Mode = 5
    [   14.869403] 2. Phy Mode = 5
    [   14.869409] NVM is Efuse and its size =2d[2d0-2fc] 
    [   14.920678] phy mode> Error! The chip does not support 5G band 15!
    [   14.920957] RTMPSetPhyMode: channel is out of range, use first channel=1 
    [   14.930933] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   14.972839] 3. Phy Mode = 9
    [   14.975385] \x1b[mAntCfgInit: primary/secondary ant 0/1
    [   14.975391] \x1b[mAsicSetRxAnt, switch to main antenna
    [   15.020724] MCS Set = ff 00 00 00 01
    [   15.031298] <==== rt28xx_init, Status=0
    [   15.033087] 0x1300 = 00064300
    [   15.054354] ERROR!!! RTMPSetTimer failed, Halt in Progress!
    [   15.317553] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   15.576670] RTMP_TimerListAdd: add timer obj f85b2b70!
    [   15.576679] RTMP_TimerListAdd: add timer obj f85b2bb8!
    [   15.576685] RTMP_TimerListAdd: add timer obj f85b2c00!
    [   15.576690] RTMP_TimerListAdd: add timer obj f85b2b28!
    [   15.576697] RTMP_TimerListAdd: add timer obj f85b2a50!
    [   15.576702] RTMP_TimerListAdd: add timer obj f85b2a98!
    [   15.576707] RTMP_TimerListAdd: add timer obj f857d628!
    [   15.576712] RTMP_TimerListAdd: add timer obj f856cef0!
    [   15.576717] RTMP_TimerListAdd: add timer obj f856cf40!
    [   15.576722] RTMP_TimerListAdd: add timer obj f857d714!
    [   15.576728] RTMP_TimerListAdd: add timer obj f857d598!
    [   15.576735] RTMP_TimerListAdd: add timer obj f857d6c8!
    [   15.578180] -->RTUSBVenderReset
    [   15.578321] <--RTUSBVenderReset
    [   16.062399] Key1Str is Invalid key length(0) or Type(0)
    [   16.062464] Key2Str is Invalid key length(0) or Type(0)
    [   16.062529] Key3Str is Invalid key length(0) or Type(0)
    [   16.062593] Key4Str is Invalid key length(0) or Type(0)
    [   16.063582] 1. Phy Mode = 5
    [   16.063591] 2. Phy Mode = 5
    [   16.063598] NVM is Efuse and its size =2d[2d0-2fc] 
    [   16.108946] phy mode> Error! The chip does not support 5G band 15!
    [   16.109195] RTMPSetPhyMode: channel is out of range, use first channel=1 
    [   16.112940] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   16.134062] 3. Phy Mode = 9
    [   16.136647] \x1b[mAntCfgInit: primary/secondary ant 0/1
    [   16.136650] \x1b[mAsicSetRxAnt, switch to main antenna
    [   16.177028] MCS Set = ff 00 00 00 01
    [   16.187711] <==== rt28xx_init, Status=0
    [   16.189256] 0x1300 = 00064300
    [   16.230475] /home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:3069 assert KeyIdx < 4failed
    [   16.231204] /home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:3069 assert KeyIdx < 4failed
    [   18.369902] ===>rt_ioctl_giwscan. 10(10) BSS returned, data->length = 1459
    [   20.613853] ===>rt_ioctl_giwscan. 16(16) BSS returned, data->length = 2298
    [   20.623112] ==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=8)
    [   20.765574] RTMP_TimerListAdd: add timer obj f85e19e0!
    [   20.848200] Rcv Wcid(1) AddBAReq
    [   20.848220] Start Seq = 00000000
    [   20.848231] RTMP_TimerListAdd: add timer obj f85e45f4!
    [   20.879523] RTMP_TimerListAdd: add timer obj f85e1a38!
    [   26.548696] init: plymouth-stop pre-start process (1664) terminated with status 1
    [   30.867689] ra0: no IPv6 routers present
    [   38.884508] ===>rt_ioctl_giwscan. 17(17) BSS returned, data->length = 2405
    [   46.385036] Indicate_Legacy_Packet():flush reordering_timeout_mpdus! RxWI->Flags=128, pRxWI.TID=0, RxD->AMPDU=0!
    [   46.385055] b, flush one!
    [   51.293585] Rcv Wcid(1) AddBAReq
    [   51.293593] Start Seq = 00000000
    [   51.293613] RTMP_TimerListAdd: add timer obj f85e4664!
    [   79.019629] ===>rt_ioctl_giwscan. 17(17) BSS returned, data->length = 2405
    [  139.239537] ===>rt_ioctl_giwscan. 18(18) BSS returned, data->length = 2596
    Last edited by varunendra; February 25th, 2013 at 12:46 PM. Reason: fixed code tags

  10. #10
    Join Date
    Feb 2013
    Beans
    17

    Re: rt5370 debugging posts in dmesg

    Fiddled with it a bit. Switching to wicd instead of network-manager seems to get rid of "===>rt_ioctl_giwscan. 17(17) BSS returned, data->length =.." messages in dmesg.

    Still, the driver seems to start up with quite a few messages indicating that it struggles at first. This is the dmesg output (thanks for code tags btw, didn't realise could use them):

    Code:
    [   14.620860] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   14.950192] RTMP_TimerListAdd: add timer obj f9408b70!
    [   14.950204] RTMP_TimerListAdd: add timer obj f9408bb8!
    [   14.950212] RTMP_TimerListAdd: add timer obj f9408c00!
    [   14.950219] RTMP_TimerListAdd: add timer obj f9408b28!
    [   14.950228] RTMP_TimerListAdd: add timer obj f9408a50!
    [   14.950234] RTMP_TimerListAdd: add timer obj f9408a98!
    [   14.950241] RTMP_TimerListAdd: add timer obj f93d3628!
    [   14.950248] RTMP_TimerListAdd: add timer obj f93c2ef0!
    [   14.950254] RTMP_TimerListAdd: add timer obj f93c2f40!
    [   14.950261] RTMP_TimerListAdd: add timer obj f93d3714!
    [   14.950269] RTMP_TimerListAdd: add timer obj f93d3598!
    [   14.950278] RTMP_TimerListAdd: add timer obj f93d36c8!
    [   14.952965] -->RTUSBVenderReset
    [   14.953087] <--RTUSBVenderReset
    [   15.476579] Key1Str is Invalid key length(0) or Type(0)
    [   15.476618] Key2Str is Invalid key length(0) or Type(0)
    [   15.476654] Key3Str is Invalid key length(0) or Type(0)
    [   15.476691] Key4Str is Invalid key length(0) or Type(0)
    [   15.477264] 1. Phy Mode = 5
    [   15.477268] 2. Phy Mode = 5
    [   15.477274] NVM is Efuse and its size =2d[2d0-2fc] 
    [   15.523670] phy mode> Error! The chip does not support 5G band 15!
    [   15.523902] RTMPSetPhyMode: channel is out of range, use first channel=1 
    [   15.527913] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   15.550165] 3. Phy Mode = 9
    [   15.552646] \x1b[mAntCfgInit: primary/secondary ant 0/1
    [   15.552650] \x1b[mAsicSetRxAnt, switch to main antenna
    [   15.598364] MCS Set = ff 00 00 00 01
    [   15.611585] <==== rt28xx_init, Status=0
    [   15.613152] 0x1300 = 00064300
    [   15.874616] ===>rt_ioctl_giwscan. 13(13) BSS returned, data->length = 1748
    [   20.478087] ===>rt_ioctl_giwscan. 22(22) BSS returned, data->length = 3033
    [   20.852721] ERROR!!! RTMPSetTimer failed, Halt in Progress!
    [   21.130771] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   21.391681] RTMP_TimerListAdd: add timer obj f9408b70!
    [   21.391690] RTMP_TimerListAdd: add timer obj f9408bb8!
    [   21.391696] RTMP_TimerListAdd: add timer obj f9408c00!
    [   21.391701] RTMP_TimerListAdd: add timer obj f9408b28!
    [   21.391708] RTMP_TimerListAdd: add timer obj f9408a50!
    [   21.391713] RTMP_TimerListAdd: add timer obj f9408a98!
    [   21.391718] RTMP_TimerListAdd: add timer obj f93d3628!
    [   21.391723] RTMP_TimerListAdd: add timer obj f93c2ef0!
    [   21.391728] RTMP_TimerListAdd: add timer obj f93c2f40!
    [   21.391733] RTMP_TimerListAdd: add timer obj f93d3714!
    [   21.391739] RTMP_TimerListAdd: add timer obj f93d3598!
    [   21.391746] RTMP_TimerListAdd: add timer obj f93d36c8!
    [   21.393327] -->RTUSBVenderReset
    [   21.393443] <--RTUSBVenderReset
    [   21.891132] Key1Str is Invalid key length(0) or Type(0)
    [   21.891171] Key2Str is Invalid key length(0) or Type(0)
    [   21.891207] Key3Str is Invalid key length(0) or Type(0)
    [   21.891244] Key4Str is Invalid key length(0) or Type(0)
    [   21.891803] 1. Phy Mode = 5
    [   21.891807] 2. Phy Mode = 5
    [   21.891812] NVM is Efuse and its size =2d[2d0-2fc] 
    [   21.938323] phy mode> Error! The chip does not support 5G band 15!
    [   21.938569] RTMPSetPhyMode: channel is out of range, use first channel=1 
    [   21.942289] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   21.964046] 3. Phy Mode = 9
    [   21.966665] \x1b[mAntCfgInit: primary/secondary ant 0/1
    [   21.966673] \x1b[mAsicSetRxAnt, switch to main antenna
    [   22.007767] MCS Set = ff 00 00 00 01
    [   22.018442] <==== rt28xx_init, Status=0
    [   22.019975] 0x1300 = 00064300
    [   22.569208] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   22.828941] RTMP_TimerListAdd: add timer obj f9408b70!
    [   22.828951] RTMP_TimerListAdd: add timer obj f9408bb8!
    [   22.828956] RTMP_TimerListAdd: add timer obj f9408c00!
    [   22.828962] RTMP_TimerListAdd: add timer obj f9408b28!
    [   22.828969] RTMP_TimerListAdd: add timer obj f9408a50!
    [   22.828974] RTMP_TimerListAdd: add timer obj f9408a98!
    [   22.828979] RTMP_TimerListAdd: add timer obj f93d3628!
    [   22.828984] RTMP_TimerListAdd: add timer obj f93c2ef0!
    [   22.828989] RTMP_TimerListAdd: add timer obj f93c2f40!
    [   22.828994] RTMP_TimerListAdd: add timer obj f93d3714!
    [   22.829000] RTMP_TimerListAdd: add timer obj f93d3598!
    [   22.829007] RTMP_TimerListAdd: add timer obj f93d36c8!
    [   22.830486] -->RTUSBVenderReset
    [   22.830630] <--RTUSBVenderReset
    [   23.319205] Key1Str is Invalid key length(0) or Type(0)
    [   23.319244] Key2Str is Invalid key length(0) or Type(0)
    [   23.319280] Key3Str is Invalid key length(0) or Type(0)
    [   23.319317] Key4Str is Invalid key length(0) or Type(0)
    [   23.319877] 1. Phy Mode = 5
    [   23.319881] 2. Phy Mode = 5
    [   23.319887] NVM is Efuse and its size =2d[2d0-2fc] 
    [   23.371998] phy mode> Error! The chip does not support 5G band 15!
    [   23.372291] RTMPSetPhyMode: channel is out of range, use first channel=1 
    [   23.376096] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
    [   23.397475] 3. Phy Mode = 9
    [   23.399976] \x1b[mAntCfgInit: primary/secondary ant 0/1
    [   23.399985] \x1b[mAsicSetRxAnt, switch to main antenna
    [   23.441202] MCS Set = ff 00 00 00 01
    [   23.451892] <==== rt28xx_init, Status=0
    [   23.453408] 0x1300 = 00064300
    [   25.167584] init: plymouth-stop pre-start process (1726) terminated with status 1
    [   25.582652] /home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:3069 assert KeyIdx < 4failed
    [   25.583274] /home/simon/Downloads/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:3069 assert KeyIdx < 4failed
    [   25.603820] ==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=8)
    [   27.839942] ===>rt_ioctl_giwscan. 25(25) BSS returned, data->length = 3422
    [   27.840502] ==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=8)
    [   30.473996] ===>rt_ioctl_giwscan. 27(27) BSS returned, data->length = 3626
    [   30.600937] RTMP_TimerListAdd: add timer obj f94379e0!
    [   30.840555] Rcv Wcid(1) AddBAReq
    [   30.840565] Start Seq = 00000000
    [   30.840576] RTMP_TimerListAdd: add timer obj f943a5f4!
    [   30.967344] RTMP_TimerListAdd: add timer obj f9437a38!
    [   33.569280] ra0: no IPv6 routers present
    [   54.578766] Rcv Wcid(1) AddBAReq
    [   54.578775] Start Seq = 00000000
    [   54.578783] RTMP_TimerListAdd: add timer obj f943a664!
    Any suggestions?

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •