Find the answer to your Linux question:
Page 2 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 11 to 20 of 41
Some errors during the build process are OK, as long as it doesn't exit with an error. I see a reference to the rt2800usb driver, in dmesg. This would be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593

    Some errors during the build process are OK, as long as it doesn't exit with an error.

    I see a reference to the rt2800usb driver, in dmesg. This would be the open source driver. It wasn't working too well for these cards, that is why everyone was using the Ralink drivers.

    Please post the output of this command:
    Code:
    lsmod
    If my suspicion was correct, then you are loading two drivers for the wireless, and that would keep it from functioning. Did you try the wireless before installing the rt3070sta driver? It may have only needed firmware.
    Please do not send Private Messages to me with requests for help. I will not reply.

  2. #12
    Just Joined!
    Join Date
    May 2010
    Posts
    9

    Lsmod results

    "lsmod" returns the following:
    Code:
    Module                  Size  Used by
    cryptd                  8116  0 
    aes_x86_64              7912  3 
    aes_generic            27607  1 aes_x86_64
    binfmt_misc             7960  1 
    rt2870sta             525366  0 
    snd_hda_codec_realtek   278890  1 
    arc4                    1473  4 
    rt2800usb              33496  0 
    joydev                 11072  0 
    snd_hda_intel          25645  2 
    snd_hda_codec          85727  2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep               6924  1 snd_hda_codec
    snd_pcm_oss            41394  0 
    snd_mixer_oss          16299  1 snd_pcm_oss
    snd_pcm                87850  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_dummy           1782  0 
    snd_seq_oss            31219  0 
    snd_seq_midi            5829  0 
    snd_rawmidi            23388  1 snd_seq_midi
    snd_seq_midi_event      7267  2 snd_seq_oss,snd_seq_midi
    snd_seq                57417  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              23553  2 snd_pcm,snd_seq
    snd_seq_device          6824  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    rt73usb                24256  0 
    crc_itu_t               1715  1 rt73usb
    snd                    70978  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    hid_logitech            8820  0 
    ppdev                   6375  0 
    rt2x00usb              11260  2 rt2800usb,rt73usb
    rt2x00lib              32133  3 rt2800usb,rt73usb,rt2x00usb
    ff_memless              5109  1 hid_logitech
    soundcore               8052  1 snd
    led_class               3732  1 rt2x00lib
    mac80211              238128  2 rt2x00usb,rt2x00lib
    crc_ccitt               1675  1 rt2800usb
    parport_pc             29958  1 
    fbcon                  39270  71 
    tileblit                2487  1 fbcon
    font                    8053  1 fbcon
    ohci1394               30260  0 
    bitblit                 5811  1 fbcon
    softcursor              1565  1 bitblit
    cfg80211              148386  2 rt2x00lib,mac80211
    psmouse                64608  0 
    serio_raw               4918  0 
    usbhid                 40988  1 hid_logitech
    hid                    83376  2 hid_logitech,usbhid
    snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
    intel_agp              29225  0 
    nvidia              10799466  40 
    vga16fb                12757  1 
    vgastate                9857  1 vga16fb
    lp                      9336  0 
    parport                37160  3 ppdev,parport_pc,lp
    usb_storage            49833  0 
    ieee1394               94675  1 ohci1394
    r8169                  39554  0 
    mii                     5237  1 r8169
    pata_jmicron            2747  0 
    ahci                   37646  0
    ...and "sudo modprobe rt3070sta" gives:

    Code:
    FATAL: Error inserting rt3070sta (/lib/modules/2.6.32-21-generic/kernel/drivers/net/wireless/rt3070sta.ko): Device or resource busy
    The wireless adapter shows up in network manager as "disconnected", "ifconfig" shows that it is listed as wlan2, and "sudo ifconfig wlan2 up" doesn't bring it up from the disconnected state.

    Everything above is what happens with the rt3070sta drivers installed with nothing blacklisted, from a fresh install of Ubuntu 10.04. If I don't install the rt3070 drivers from Ralink, then the wireless adapter doesn't even show up, and "ifconfig" doesn't reveal it as an interface. The rt3070sta drivers are missing from the kernel in Ubuntu 10.04.

    In Ubuntu 9.10, the rt3070sta "staging" driver was already included in the kernel and I had to blacklist rt2800usb, rt2x00lib, rt2x00usb, and rt2870sta, and add rt3070sta to "modules" to get the adapter perfectly working upon boot up.

    Now that I've manually installed the missing rt3070sta drivers, I'll blacklist the same rt2800 drivers that I did in Ubuntu 9.10 and I'll list the results in a following post.

  3. #13
    Just Joined!
    Join Date
    May 2010
    Posts
    9

    "lsmod" with rt2800usb, rt2x00lib, rt2x00usb, and rt2870sta blacklisted

    "lsmod" gives:
    Code:
    Module                  Size  Used by
    cryptd                  8116  0 
    aes_x86_64              7912  3 
    aes_generic            27607  1 aes_x86_64
    binfmt_misc             7960  1 
    arc4                    1473  2 
    snd_hda_codec_realtek   278890  1 
    snd_hda_intel          25645  2 
    snd_hda_codec          85727  2 snd_hda_codec_realtek,snd_hda_intel
    joydev                 11072  0 
    snd_hwdep               6924  1 snd_hda_codec
    snd_pcm_oss            41394  0 
    snd_mixer_oss          16299  1 snd_pcm_oss
    snd_pcm                87850  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_dummy           1782  0 
    snd_seq_oss            31219  0 
    snd_seq_midi            5829  0 
    snd_rawmidi            23388  1 snd_seq_midi
    snd_seq_midi_event      7267  2 snd_seq_oss,snd_seq_midi
    snd_seq                57417  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              23553  2 snd_pcm,snd_seq
    rt73usb                24256  0 
    crc_itu_t               1715  1 rt73usb
    rt2x00usb              11260  1 rt73usb
    rt2x00lib              32133  2 rt73usb,rt2x00usb
    led_class               3732  1 rt2x00lib
    snd_seq_device          6824  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    fbcon                  39270  71 
    ppdev                   6375  0 
    hid_logitech            8820  0 
    mac80211              238128  2 rt2x00usb,rt2x00lib
    tileblit                2487  1 fbcon
    psmouse                64608  0 
    usb_storage            49833  0 
    parport_pc             29958  1 
    rt3070sta             642662  0 
    ff_memless              5109  1 hid_logitech
    snd                    70978  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    cfg80211              148386  2 rt2x00lib,mac80211
    serio_raw               4918  0 
    font                    8053  1 fbcon
    usbhid                 40988  1 hid_logitech
    bitblit                 5811  1 fbcon
    hid                    83376  2 hid_logitech,usbhid
    softcursor              1565  1 bitblit
    nvidia              10799466  40 
    soundcore               8052  1 snd
    vga16fb                12757  1 
    snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
    vgastate                9857  1 vga16fb
    intel_agp              29225  0 
    lp                      9336  0 
    parport                37160  3 ppdev,parport_pc,lp
    ohci1394               30260  0 
    pata_jmicron            2747  0 
    ieee1394               94675  1 ohci1394
    r8169                  39554  0 
    mii                     5237  1 r8169
    ahci                   37646  0

    Only now rt3070sta shows up, but "ifconfig" doesn't list the wireless adapter with an interface. The network manager lists the adapter as "disconnected".

    The dmesg output after unplugging and re-plugging in the adapter follows:

    Code:
    [  359.850030] usb 2-3: new high speed USB device using ehci_hcd and address 5
    [  360.017346] usb 2-3: configuration #1 chosen from 1 choice
    [  360.018758] 
    [  360.018759] 
    [  360.018760] === pAd = ffffc900054cb000, size = 540344 ===
    [  360.018760] 
    [  360.018811] <-- RTMPAllocAdapterBlock, Status=0
    [  360.288642] <-- RTMPAllocTxRxRingMemory, Status=0
    [  360.290248] -->RTUSBVenderReset
    [  360.290370] <--RTUSBVenderReset
    [  360.568274] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
    [  360.568277] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
    [  360.568279] 1. Phy Mode = 0
    [  360.568280] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
    [  360.624845] ---> RTMPFreeTxRxRingMemory
    [  360.624879] <--- RTMPFreeTxRxRingMemory
    [  360.624882] !!! rt28xx Initialized fail !!!
    [  360.885388] <-- RTMPAllocTxRxRingMemory, Status=0
    [  360.886918] -->RTUSBVenderReset
    [  360.887044] <--RTUSBVenderReset
    [  361.162817] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
    [  361.162820] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
    [  361.162822] 1. Phy Mode = 0
    [  361.162824] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
    [  361.219379] ---> RTMPFreeTxRxRingMemory
    [  361.219410] <--- RTMPFreeTxRxRingMemory
    [  361.219413] !!! rt28xx Initialized fail !!!

    I know I gave a lot of information, but I wanted to be thorough so that maybe you can figure out exactly what's going on wrong here. Thanks!

  4. #14
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    I see three wireless drivers loading, none of which are the rt3070sta. How many wireless devices are on this PC?
    Code:
    Module                  Size  Used by
    rt2870sta             525366  0 
    
    rt2800usb              33496  0 
    
    rt73usb                24256  0
    What is the ID of the device you are trying to get to work? It seems that maybe the rt2870sta driver is claiming it. Post the output of this command:
    Code:
    lsmod -knn
    You may need to do the same steps as your previous install.
    Please do not send Private Messages to me with requests for help. I will not reply.

  5. #15
    Just Joined!
    Join Date
    May 2010
    Posts
    9

    lsmod -knn

    "lsmod -knn" gives only
    Code:
    Usage: lsmod
    The device ID of the adapter I'm trying to get to work with rt3070 is :

    Code:
    Bus 002 Device 006: ID 148f:3070 Ralink Technology, Corp.
    It's an Alfa AWUS036NH.


    Since that isn't working, in order to get internet access I also plugged in a Belkin wireless USB adapter that uses the rt73usb driver.

    Code:
    Bus 002 Device 002: ID 050d:905c Belkin Components Wireless G Plus MIMO Network Adapter
    I don't understand why the rt2870sta and rt2800usb should be loaded since they've been blacklisted.

    I'm doing everything I did that I did to get the same adapter to work in Ubuntu 9.10, except I've manually installed the rt3070drivers from Ralink with the necessary changes recommended in this thread, since it's missing in the 10.04 Ubuntu kernel.

  6. #16
    Just Joined!
    Join Date
    May 2010
    Posts
    9

    ...also...

    The rt3070sta driver was loaded:

    Code:
    rt3070sta             642662  0

  7. #17
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Sorry, I meant this:
    Code:
    lsusb
    Code:
    lspci -knn
    I guess that I missed the loaded rt3070sta driver. That makes four drivers loaded.
    Last edited by waterhead; 05-03-2010 at 04:29 AM.
    Please do not send Private Messages to me with requests for help. I will not reply.

  8. #18
    Just Joined!
    Join Date
    May 2010
    Posts
    9

    lsusb output

    Code:
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 004: ID 05e3:070e Genesys Logic, Inc. X-PRO CR20xA USB 2.0 Internal Card Reader
    Bus 002 Device 003: ID 148f:3070 Ralink Technology, Corp. 
    Bus 002 Device 002: ID 050d:905c Belkin Components Wireless G Plus MIMO Network Adapter
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    And again, the lsmod output follows:

    Code:
    Module                  Size  Used by
    cryptd                  8116  0 
    aes_x86_64              7912  3 
    aes_generic            27607  1 aes_x86_64
    binfmt_misc             7960  1 
    arc4                    1473  2 
    snd_hda_codec_realtek   278890  1 
    snd_hda_intel          25645  2 
    snd_hda_codec          85727  2 snd_hda_codec_realtek,snd_hda_intel
    joydev                 11072  0 
    snd_hwdep               6924  1 snd_hda_codec
    snd_pcm_oss            41394  0 
    snd_mixer_oss          16299  1 snd_pcm_oss
    snd_pcm                87850  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_dummy           1782  0 
    snd_seq_oss            31219  0 
    snd_seq_midi            5829  0 
    snd_rawmidi            23388  1 snd_seq_midi
    snd_seq_midi_event      7267  2 snd_seq_oss,snd_seq_midi
    snd_seq                57417  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              23553  2 snd_pcm,snd_seq
    snd_seq_device          6824  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    rt73usb                24256  0 
    crc_itu_t               1715  1 rt73usb
    rt2x00usb              11260  1 rt73usb
    rt2x00lib              32133  2 rt73usb,rt2x00usb
    led_class               3732  1 rt2x00lib
    snd                    70978  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    ppdev                   6375  0 
    hid_logitech            8820  0 
    soundcore               8052  1 snd
    ff_memless              5109  1 hid_logitech
    rt3070sta             642662  0 
    mac80211              238128  2 rt2x00usb,rt2x00lib
    fbcon                  39270  71 
    tileblit                2487  1 fbcon
    font                    8053  1 fbcon
    parport_pc             29958  1 
    bitblit                 5811  1 fbcon
    softcursor              1565  1 bitblit
    cfg80211              148386  2 rt2x00lib,mac80211
    psmouse                64608  0 
    serio_raw               4918  0 
    usbhid                 40988  1 hid_logitech
    hid                    83376  2 hid_logitech,usbhid
    snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
    nvidia              10799466  40 
    vga16fb                12757  1 
    intel_agp              29225  0 
    vgastate                9857  1 vga16fb
    lp                      9336  0 
    parport                37160  3 ppdev,parport_pc,lp
    usb_storage            49833  0 
    ohci1394               30260  0 
    ieee1394               94675  1 ohci1394
    r8169                  39554  0 
    pata_jmicron            2747  0 
    mii                     5237  1 r8169
    ahci                   37646  0

    I have the two wireless adapters connected, and rt2800usb, rt2x00lib, rt2x00usb, and rt2870sta have been blacklisted (just like in Ubuntu 9.10 where it was necessary to remove conflict with the rt3070sta driver).

  9. #19
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    I don't know why the rt2870sta driver was loading. The version that I have doesn't support your card, but I am running an older kernel.

    I do see the rt73usb loading, along with the help modules rt2v00lib and rt3x00usb, for the Belkin device. You may want to remove this device while trying to get the Ralink device working. It may be causing some confusion in your system.

    As you said, the rt3070sta driver natively supports your card. So it should "just work". After removing all of the other wireless devices and their related modules, check the output of dmesg for more info.
    Please do not send Private Messages to me with requests for help. I will not reply.

  10. #20
    Just Joined!
    Join Date
    May 2010
    Posts
    9

    Dmesg

    The rt2870sta module in my kernel (2.6.32-21-generic) doesn't support my usb adapter either. An interface is listed for it, but it isn't possible to bring it up with ifconfig.

    After removing all usb adpaters except the Ralink that I'm trying to get to work, here is the dmesg:
    Code:
    [  244.270019] usb 2-3: new high speed USB device using ehci_hcd and address 4
    [  244.437426] usb 2-3: configuration #1 chosen from 1 choice
    [  244.439388] 
    [  244.439389] 
    [  244.439389] === pAd = ffffc9000547f000, size = 540344 ===
    [  244.439390] 
    [  244.439449] <-- RTMPAllocAdapterBlock, Status=0
    [  244.706833] <-- RTMPAllocTxRxRingMemory, Status=0
    [  244.708327] -->RTUSBVenderReset
    [  244.708451] <--RTUSBVenderReset
    [  244.984087] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
    [  244.984090] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
    [  244.984092] 1. Phy Mode = 0
    [  244.984094] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
    [  245.040816] ---> RTMPFreeTxRxRingMemory
    [  245.040859] <--- RTMPFreeTxRxRingMemory
    [  245.040863] !!! rt28xx Initialized fail !!!
    [  245.301173] <-- RTMPAllocTxRxRingMemory, Status=0
    [  245.302701] -->RTUSBVenderReset
    [  245.302826] <--RTUSBVenderReset
    [  245.578463] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
    [  245.578465] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
    [  245.578467] 1. Phy Mode = 0
    [  245.578469] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
    [  245.634989] ---> RTMPFreeTxRxRingMemory
    [  245.635008] <--- RTMPFreeTxRxRingMemory
    [  245.635010] !!! rt28xx Initialized fail !!!
    As you can see from the lsmod output here:

    Code:
    Module                  Size  Used by
    cryptd                  8116  0 
    aes_x86_64              7912  1 
    aes_generic            27607  1 aes_x86_64
    binfmt_misc             7960  1 
    snd_hda_codec_realtek   278890  1 
    snd_hda_intel          25645  2 
    snd_hda_codec          85727  2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep               6924  1 snd_hda_codec
    snd_pcm_oss            41394  0 
    snd_mixer_oss          16299  1 snd_pcm_oss
    snd_pcm                87850  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_dummy           1782  0 
    snd_seq_oss            31219  0 
    snd_seq_midi            5829  0 
    snd_rawmidi            23388  1 snd_seq_midi
    snd_seq_midi_event      7267  2 snd_seq_oss,snd_seq_midi
    snd_seq                57417  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              23553  2 snd_pcm,snd_seq
    snd_seq_device          6824  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    joydev                 11072  0 
    rt3070sta             642662  0 
    ppdev                   6375  0 
    parport_pc             29958  1 
    ohci1394               30260  0 
    fbcon                  39270  71 
    tileblit                2487  1 fbcon
    font                    8053  1 fbcon
    bitblit                 5811  1 fbcon
    softcursor              1565  1 bitblit
    hid_logitech            8820  0 
    ff_memless              5109  1 hid_logitech
    snd                    70978  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    psmouse                64608  0 
    serio_raw               4918  0 
    soundcore               8052  1 snd
    snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
    nvidia              10799466  40 
    vga16fb                12757  1 
    vgastate                9857  1 vga16fb
    intel_agp              29225  0 
    lp                      9336  0 
    parport                37160  3 ppdev,parport_pc,lp
    ...only the rt3070sta module is loaded, but somehow it's not recognizing my usb wireless adapter like it should, and somehow my system is still trying to load rt2870sta instead which I've blacklisted.

Page 2 of 5 FirstFirst 1 2 3 4 5 LastLast

Posting Permissions

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