Find the answer to your Linux question:
Page 1 of 5 1 2 3 4 5 LastLast
Results 1 to 10 of 41
There is a problem when compiling the Ralink RT3070USB(RT307x) driver version 2.3.0.1, released 02/08/2010. When you manually load the module, you get this error: Code: FATAL: Error inserting rt3070sta (/lib/modules/2.6.31.12-174.2.19.fc12.i686/kernel/drivers/net/wireless/rt3070sta.ko): ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593

    rt3070sta: module license 'unspecified' taints kernel... SOLVED


    There is a problem when compiling the Ralink RT3070USB(RT307x) driver version 2.3.0.1, released 02/08/2010. When you manually load the module, you get this error:
    Code:
    FATAL: Error inserting rt3070sta (/lib/modules/2.6.31.12-174.2.19.fc12.i686/kernel/drivers/net/wireless/rt3070sta.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    In the output of dmesg, you see these errors:
    Code:
    rt3070sta: module license 'unspecified' taints kernel.
    rt3070sta: Unknown symbol usb_alloc_urb
    rt3070sta: Unknown symbol usb_free_urb
    rt3070sta: Unknown symbol usb_register_driver
    rt3070sta: Unknown symbol usb_put_dev
    rt3070sta: Unknown symbol usb_get_dev
    rt3070sta: Unknown symbol usb_submit_urb
    rt3070sta: Unknown symbol usb_control_msg
    rt3070sta: Unknown symbol usb_deregister
    rt3070sta: Unknown symbol usb_kill_urb
    rt3070sta: Unknown symbol usb_buffer_free
    rt3070sta: Unknown symbol usb_buffer_alloc
    I found that this error is because of a missing reference to the driver 'license'. In this version of the driver, the device ID's have been moved from the usb_main_dev.c file to the rtusb_dev_id.c file. They also moved this line:
    Code:
    MODULE_LICENSE("GPL");
    I found that simply adding this line back into the usb_main_dev. file, fixed this error.

    Here is what you need to do:


    Open this file in a text editor

    /RT3070_LinuxSTA_V2.3.0.1_20100208/os/linux/usb_main_dev.c

    Change this:
    Code:
    #include "rt_config.h"
    
    
    // Following information will be show when you run 'modinfo'
    // *** If you have a solution for the bug in current version of driver, please mail to me.
    // Otherwise post to forum in ralinktech's web site(www.ralinktech.com) and let all users help you. ***
    MODULE_AUTHOR("Paul Lin <paul_lin@ralinktech.com>");
    MODULE_DESCRIPTION("RT2870 Wireless Lan Linux Driver");
    #ifdef CONFIG_STA_SUPPORT
    #ifdef MODULE_VERSION
    MODULE_VERSION(STA_DRIVER_VERSION);
    #endif
    #endif // CONFIG_STA_SUPPORT //
    To this:
    Code:
    #include "rt_config.h"
    
    
    // Following information will be show when you run 'modinfo'
    // *** If you have a solution for the bug in current version of driver, please mail to me.
    // Otherwise post to forum in ralinktech's web site(www.ralinktech.com) and let all users help you. ***
    MODULE_AUTHOR("Paul Lin <paul_lin@ralinktech.com>");
    MODULE_DESCRIPTION("RT2870 Wireless Lan Linux Driver");
    MODULE_LICENSE("GPL");
    #ifdef CONFIG_STA_SUPPORT
    #ifdef MODULE_VERSION
    MODULE_VERSION(STA_DRIVER_VERSION);
    #endif
    #endif // CONFIG_STA_SUPPORT //
    You are adding the 'MODULE_LICENSE("GPL");' line, that is highlighted in red.

    There is one other problem. The compile looks for a RT3070STA.dat file, but there is a RT2870STA.dat file instead. Fix that with this command:
    Code:
    cp RT2870STA.dat RT3070STA.dat
    Recompile the driver and load it. Let me know if it now works for you.

    This is a relatively untested fix. Feedback on how it is/isn't working is appreciated. Some will still need to add the USD ID's of their wireless devices before it will work. To do that, open this file for editing:
    Code:
    sudo gedit ~/RT3070_LinuxSTA_V2.3.0.1_20100208/common/rtusb_dev_id.c
    Add your device ID to the list, just above this:
    Code:
    #endif // RT3070 //
    	{ }/* Terminating entry */
    };
    Use a tab for the space before your entry. Save, exit and build the driver.
    Last edited by waterhead; 04-10-2010 at 02:12 PM. Reason: Clarified instrutions
    Please do not send Private Messages to me with requests for help. I will not reply.

  2. #2
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1
    I confirm this works for me on debian sid, kernel 2.6.32-3-amd64.
    Thanks.It got my wireless working. ( ID 07d1:3c0a D-Link System DWA-140 RangeBooster N USB Adapter(rev.B2) )

    Thanks.

  3. #3
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Hello dontstopmoving, and welcome to Linux Forums!

    Thank you for your feedback on this. I was begining to wonder if anyone was trying my fix.
    Please do not send Private Messages to me with requests for help. I will not reply.

  4. #4
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1
    Thanks


    Caostral

  5. #5
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Ralink released a new version of this driver on 04/12/2010:

    DPO_RT3070_LinuxSTA_V2.3.0.2_20100412

    It still has all of the problems of version 2.3.0.1, so I don't know what is new about it. You need to still do all of the things that I outlined in my first post.

    Ralink corp.
    Please do not send Private Messages to me with requests for help. I will not reply.

  6. #6
    Just Joined!
    Join Date
    May 2010
    Posts
    1
    I can also confirm this works in Ubuntu 10.04 Lucid using the latest 2.3.0.2_20100412 driver from April 12, 2010.

    I am using the Rosewill RNX-EasyN1 USB Adapter on an AMD 64-bit system.

    Thanks for the tips.

  7. #7
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Thanks for the feedback.

    Oh, and Welcome to Linux Forums.org!!
    Please do not send Private Messages to me with requests for help. I will not reply.

  8. #8
    Just Joined!
    Join Date
    May 2010
    Posts
    9
    I'm also using Ubuntu 10.04 Lucid (64-bit) and I'm getting errors when compiling the 2.3.0.2_20100412 driver from April 12, 2010 at the "sudo make" step. I've followed all of the above changes and I have the package "build-essential" installed. Did you need any other packages installed? How how did you get it to work without errors during the make step?

  9. #9
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    bedhead75: Please post the error messages, so we can help to determine the cause.
    Please do not send Private Messages to me with requests for help. I will not reply.

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

    Here's the output...

    Ok, running I made all of the above changes, and my device ID was already in the list so I didn't need to add it. This is the output of "sudo make":

    Code:
    bedhead75@home-desktop:~/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$ sudo make
    [sudo] password for bedhead75: 
    make -C tools
    make[1]: Entering directory `/home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools'
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools/bin2h
    cp -f os/linux/Makefile.6 /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/Makefile
    make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic'
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_md5.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_sha2.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_hmac.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c:2265: warning: the frame size of 1664 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_UNWRAP’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c:2348: warning: the frame size of 1168 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c:1592: warning: the frame size of 1408 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c:1522: warning: the frame size of 1408 bytes is larger than 1024 bytes
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_arc4.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.c:828: warning: cast from pointer to integer of different size
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.c:828: warning: cast from pointer to integer of different size
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.c:4683: warning: the frame size of 1728 bytes is larger than 1024 bytes
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_wep.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/action.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_data.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.c:2488: warning: unused variable ‘RFValue’
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_tkip.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_aes.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_sync.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/eeprom.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_sanity.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_info.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_cfg.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_wpa.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/dfs.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/spectrum.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/spectrum.c:1977: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_timer.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rt_channel.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_profile.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_asic.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_cmd.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c: In function ‘MlmeAssocReqAction’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c:377: warning: unused variable ‘pInfo’
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c:374: warning: unused variable ‘infoPos’
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/auth.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/auth_rsp.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:1736: warning: the frame size of 1472 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:1079: warning: the frame size of 1392 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:773: warning: the frame size of 1376 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘MlmeStartReqAction’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:589: warning: the frame size of 1088 bytes is larger than 1024 bytes
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sanity.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/rtmp_data.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/connect.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/connect.c:351: warning: the frame size of 1776 bytes is larger than 1024 bytes
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/wpa.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sta_cfg.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init_inf.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_profile.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwencode’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:1481: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlRF’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:6219: warning: the frame size of 2336 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:606: warning: the frame size of 1296 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlE2PROM’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:6035: warning: the frame size of 1376 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlMAC’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:5837: warning: the frame size of 1376 bytes is larger than 1024 bytes
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:1979: warning: the frame size of 1632 bytes is larger than 1024 bytes
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:407: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast
    /usr/src/linux-headers-2.6.32-21-generic/arch/x86/include/asm/string_64.h:58: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:409: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast
    /usr/src/linux-headers-2.6.32-21-generic/arch/x86/include/asm/string_64.h:58: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:559: warning: assignment makes integer from pointer without a cast
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘update_os_packet_info’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:581: warning: assignment makes integer from pointer without a cast
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:602: warning: assignment makes integer from pointer without a cast
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:875: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSTaskAttach’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1283: warning: passing argument 1 of ‘kthread_create’ from incompatible pointer type
    include/linux/kthread.h:7: note: expected ‘int (*)(void *)’ but argument is of type ‘RTMP_OS_TASK_CALLBACK’
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1614: warning: initialization discards qualifiers from pointer target type
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1653: warning: initialization discards qualifiers from pointer target type
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1653: warning: ISO C90 forbids mixed declarations and code
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_main_dev.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_main_dev.c: In function ‘RtmpOSIRQRequest’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_main_dev.c:951: warning: unused variable ‘net_dev’
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ba_action.o
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
    /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ba_action.c:1562: warning: assignment makes integer from pointer without a cast
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_mac_usb.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_io.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_bulk.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_data.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_data_usb.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ee_prom.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ee_efuse.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_mcu.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../chips/rt30xx.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rt_rf.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../chips/rt3070.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_dev_id.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_usb.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_usb_util.o
      CC [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/usb_main_dev.o
      LD [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.mod.o
      LD [M]  /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
    cp -f /home/bedhead75/Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.ko /tftpboot
    It finishes, but there are a bunch of worrisome warnings as you can see.

    I have no problems running "sudo make install" after.

    After rebooting and plugging in my USB adapter, the device is listed in network manager as "disconnected".

    The dmesg output is as follows:

    Code:
      2574.645364] usbcore: registered new interface driver rt2800usb
    [ 2574.700636] rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.
    [ 2574.705247] rtusb init --->
    [ 2574.705298] usbcore: registered new interface driver rt2870
    [ 2574.728511] rtusb init --->
    [ 2574.728516] Error: Driver 'rt2870' is already registered, aborting...
    [ 2574.728520] usbcore: error -16 registering interface 	driver rt2870
    [ 2574.768590] rt2800usb 2-3:1.0: firmware: requesting rt2870.bin
    [ 2575.081038] ADDRCONF(NETDEV_UP): wlan2: link is not ready
    [ 2701.647761] usb 2-3: USB disconnect, address 4
    [ 2711.200026] usb 2-3: new high speed USB device using ehci_hcd and address 5
    [ 2711.367466] usb 2-3: configuration #1 chosen from 1 choice
    [ 2711.397812] cfg80211: Disabling channel 2467 MHz on phy3 due to Country IE
    [ 2711.397816] cfg80211: Disabling channel 2472 MHz on phy3 due to Country IE
    [ 2711.397818] cfg80211: Disabling channel 2484 MHz on phy3 due to Country IE
    [ 2711.397969] phy3: Selected rate control algorithm 'minstrel'
    [ 2711.398847] Registered led device: rt2800usb-phy3::radio
    [ 2711.398866] Registered led device: rt2800usb-phy3::assoc
    [ 2711.398884] Registered led device: rt2800usb-phy3::quality
    [ 2711.406782] rt2800usb 2-3:1.0: firmware: requesting rt2870.bin
    [ 2711.731041] ADDRCONF(NETDEV_UP): wlan2: link is not ready
    The device is assigned the interface of wlan2, and "sudo ifconfig wlan2 up" doesn't work and it's still listed as "disconnected" in the network manager.

    Any help is appreciated!

Page 1 of 5 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
  •