Ralink wireless driver problem

New to Debian (Or Linux in general)? Ask your questions here!

Ralink wireless driver problem

Postby nabeel » 2017-06-23 02:14

Code: Select all

########## wireless info START ##########

Report from: 23 Jun 2017 08:22 IST +0530

Booted last: 23 Jun 2017 00:00 IST +0530

Script from: 25 Mar 2017 07:04 UTC +0000

##### release ###########################

Distributor ID:   Debian
Description:   Debian GNU/Linux 9.0 (stretch)
Release:   9.0
Codename:   stretch

##### kernel ############################

Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 unknown unknown GNU/Linux

Parameters: ro, quiet

##### desktop ###########################

sed: can't read /root/.dmrc: No such file or directory

Could not be determined.

##### lspci #############################

07:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
   Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter [103c:18ec]
   Kernel driver in use: rt2800pci

08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
   Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:1970]
   Kernel driver in use: r8169

##### lsusb #############################

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:571c Realtek Semiconductor Corp.
Bus 003 Device 002: ID 2717:ff80 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no

##### lsmod #############################

rt2800pci              16384  0
rt2800mmio             20480  1 rt2800pci
rt2800lib              94208  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800mmio,rt2800pci
rt2x00lib              53248  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
eeprom_93cx6           16384  1 rt2800pci
mac80211              671744  3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211              589824  2 rt2x00lib,mac80211
hp_wmi                 16384  0
crc_ccitt              16384  1 rt2800lib
sparse_keymap          16384  1 hp_wmi
rfkill                 24576  3 hp_wmi,cfg80211
wmi                    16384  1 hp_wmi
usbcore               249856  10 rndis_host,usbnet,rt2x00lib,uvcvideo,usbhid,ehci_hcd,cdc_ether,xhci_pci,xhci_hcd,ehci_pci

##### interfaces ########################

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto wlo1
iface wlo1 inet dhcp

##### ifconfig ##########################

eno1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s20u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.42.107  netmask 255.255.255.0  broadcast 192.168.42.255
        inet6 fe80::c321:5a58:693d:a2fd  prefixlen 64  scopeid 0x20<link>
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 16286  bytes 14018542 (13.3 MiB)
        RX errors 2  dropped 0  overruns 0  frame 2
        TX packets 14285  bytes 2269327 (2.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 170  bytes 13434 (13.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 170  bytes 13434 (13.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlo1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

##### iwconfig ##########################

enp0s20u2  no wireless extensions.

lo        no wireless extensions.

eno1      no wireless extensions.

wlo1      IEEE 802.11  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.42.129  0.0.0.0         UG    100    0        0 enp0s20u2
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp0s20u2
192.168.42.0    0.0.0.0         255.255.255.0   U     100    0        0 enp0s20u2

##### resolv.conf #######################

nameserver 192.168.42.129

##### network managers ##################

Installed:

   NetworkManager
   Wicd

Running:

root       521     1  0 08:04 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         enp0s20u2
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Android
GENERAL.PRODUCT:                        Android
GENERAL.DRIVER:                         rndis_host
GENERAL.DRIVER-VERSION:                 22-Aug-2005
GENERAL.FIRMWARE-VERSION:               RNDIS device
GENERAL.HWADDR:                         <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/net/enp0s20u2
GENERAL.IP-IFACE:                       enp0s20u2
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Wired connection 2
GENERAL.CON-UUID:                       0950effb-c8de-3beb-98c6-ae311ce1d9ce
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        yes (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{3}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   0950effb-c8de-3beb-98c6-ae311ce1d9ce | Wired connection 2
IP4.ADDRESS[1]:                         192.168.42.107/24
IP4.GATEWAY:                            192.168.42.129
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.42.129
DHCP4.OPTION[1]:                        requested_subnet_mask = 1
DHCP4.OPTION[2]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[3]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[4]:                        domain_name_servers = 192.168.42.129
DHCP4.OPTION[5]:                        ip_address = 192.168.42.107
DHCP4.OPTION[6]:                        requested_static_routes = 1
DHCP4.OPTION[7]:                        dhcp_server_identifier = 192.168.42.129
DHCP4.OPTION[8]:                        requested_time_offset = 1
DHCP4.OPTION[9]:                        broadcast_address = 192.168.42.255
DHCP4.OPTION[10]:                       requested_interface_mtu = 1
DHCP4.OPTION[11]:                       dhcp_rebinding_time = 3150
DHCP4.OPTION[12]:                       requested_domain_name_servers = 1
DHCP4.OPTION[13]:                       dhcp_message_type = 5
DHCP4.OPTION[14]:                       requested_broadcast_address = 1
DHCP4.OPTION[15]:                       routers = 192.168.42.129
DHCP4.OPTION[16]:                       dhcp_renewal_time = 1800
DHCP4.OPTION[17]:                       requested_domain_name = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       expiry = 1498188900
DHCP4.OPTION[20]:                       requested_wpad = 1
DHCP4.OPTION[21]:                       host_name = debian
DHCP4.OPTION[22]:                       requested_netbios_scope = 1
DHCP4.OPTION[23]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[25]:                       network_number = 192.168.42.0
DHCP4.OPTION[26]:                       requested_domain_search = 1
DHCP4.OPTION[27]:                       vendor_encapsulated_options = ANDROID_METERED
DHCP4.OPTION[28]:                       next_server = 192.168.42.129
DHCP4.OPTION[29]:                       requested_host_name = 1
DHCP4.OPTION[30]:                       dhcp_lease_time = 3600
DHCP4.OPTION[31]:                       requested_ntp_servers = 1
IP6.ADDRESS[1]:                         fe80::c321:5a58:693d:a2fd/64
IP6.GATEWAY:                            --

GENERAL.DEVICE:                         eno1
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
GENERAL.DRIVER:                         r8169
GENERAL.DRIVER-VERSION:                 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:               --
GENERAL.HWADDR:                         <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                         2 (Device is now managed)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.1/0000:08:00.0/net/eno1
GENERAL.IP-IFACE:                       --
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:

GENERAL.DEVICE:                         wlo1
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Ralink corp.
GENERAL.PRODUCT:                        RT3290 Wireless 802.11n 1T/1R PCIe (Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter)
GENERAL.DRIVER:                         rt2800pci
GENERAL.DRIVER-VERSION:                 4.9.0-3-amd64
GENERAL.FIRMWARE-VERSION:               N/A
GENERAL.HWADDR:                         <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          10 (unmanaged)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /virtual/device/placeholder/2
GENERAL.IP-IFACE:                       wlo1
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     no
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   no
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
IP4.GATEWAY:                            --
IP6.GATEWAY:                            --

SSID  BSSID  MODE  CHAN  FREQ  RATE  SIGNAL  BARS  SECURITY  ACTIVE  *

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/JioFi]] (600 root)
[connection] id=JioFi | type=wifi | permissions=
[wifi] bssid=<MAC address> | mac-address=BC:85:56:53:8A:43 | mac-address-blacklist= | ssid=JioFi
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: Asia/Kolkata (based on set time zone)

global
country 00: DFS-UNSET
   (2402 - 2472 @ 40), (N/A, 20), (N/A)
   (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, NO-IR
   (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
   (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, NO-IR
   (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, NO-IR
   (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
   (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
   (57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

enp0s20u2  no frequency information.

lo        no frequency information.

eno1      no frequency information.

wlo1      14 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 14 : 2.484 GHz

##### iwlist scan #######################

enp0s20u2  Interface doesn't support scanning.

wlo1      Interface doesn't support scanning : Network is down

lo        Interface doesn't support scanning.

eno1      Interface doesn't support scanning.

##### module infos ######################

[rt2800pci]
filename:       /lib/modules/4.9.0-3-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2800pci.ko
license:        GPL
firmware:       rt2860.bin
description:    Ralink RT2800 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     4D2CAAE95D28B3DF4F72A52
depends:        rt2x00lib,rt2800lib,rt2800mmio,rt2x00mmio,rt2x00pci,eeprom_93cx6
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions
parm:           nohwcrypt:Disable hardware encryption. (bool)

[rt2800mmio]
filename:       /lib/modules/4.9.0-3-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko
license:        GPL
description:    rt2800 MMIO library
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     DBE617B0243C0FEB62786D4
depends:        rt2800lib,rt2x00lib,rt2x00mmio
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions

[rt2800lib]
filename:       /lib/modules/4.9.0-3-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
license:        GPL
description:    Ralink RT2800 library
version:        2.3.0
author:         http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz
srcversion:     7092408A4EF1A70FC0C7538
depends:        rt2x00lib,mac80211,crc-ccitt
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions

[rt2x00pci]
filename:       /lib/modules/4.9.0-3-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko
license:        GPL
description:    rt2x00 pci library
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     D84965563CC7530CFFD2269
depends:        rt2x00lib,mac80211
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions

[rt2x00mmio]
filename:       /lib/modules/4.9.0-3-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.ko
license:        GPL
description:    rt2x00 mmio library
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     02CA9DA77FC2C7FCCC58176
depends:        rt2x00lib
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions

[rt2x00lib]
filename:       /lib/modules/4.9.0-3-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
license:        GPL
description:    rt2x00 library
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     6466444C3AD5B023573B0FF
depends:        mac80211,cfg80211,usbcore
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions

[mac80211]
filename:       /lib/modules/4.9.0-3-amd64/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
depends:        cfg80211
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/4.9.0-3-amd64/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
depends:        rfkill
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions
parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[rt2800pci]
nohwcrypt: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

find: '/etc/pm/*.d': No such file or directory

##### udev rules ########################

##### dmesg #############################

[   10.371880] [drm:radeon_pci_probe [radeon]] *ERROR* radeon kernel modesetting for R600 or later requires firmware-amd-graphics.
[   10.540228] rt2800pci 0000:07:00.0 wlo1: renamed from wlan0
[   17.776586] r8169 0000:08:00.0: firmware: failed to load rtl_nic/rtl8106e-1.fw (-2)
[   17.776657] r8169 0000:08:00.0: Direct firmware load for rtl_nic/rtl8106e-1.fw failed with error -2
[   17.776661] r8169 0000:08:00.0 eno1: unable to load firmware patch rtl_nic/rtl8106e-1.fw (-2)
[   18.349440] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
[   18.524760] rt2800pci 0000:07:00.0: firmware: direct-loading firmware rt3290.bin
[   18.524772] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37
[   20.551118] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[   22.551042] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   25.442725] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[   27.442647] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   35.085944] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[   37.093869] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   40.026262] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[   41.982274] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   44.938187] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[   46.915354] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   49.870549] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[   51.858704] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   86.271525] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[   88.268719] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  249.714104] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  251.713488] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  367.803104] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  369.803393] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  454.757223] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  456.757031] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  468.059949] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  470.059762] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  598.864278] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  600.864125] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  659.743190] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  661.743031] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  864.715372] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  866.715205] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  927.641536] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[  929.641404] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[ 1069.700902] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068] (repeated 2 times)
[ 1071.700761] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)

########## wireless info END ############


➜ sudo ip link set wlo1 up
RTNETLINK answers: Input/output error

➜  sudo ifconfig wlo1 up
SIOCSIFFLAGS: Input/output error



At times it gets connect, but most of the time :(

I tried https://askubuntu.com/questions/253632/how-do-i-get-a-ralink-rt3290-wireless-card-working solution but it didn't help.
Code: Select all
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.build:298: recipe for target '/home/nabeel/Downloads/RT3290/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o' failed
make[4]: *** [/home/nabeel/Downloads/RT3290/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o] Error 1
/usr/src/linux-headers-4.9.0-3-common/Makefile:1507: recipe for target '_module_/home/nabeel/Downloads/RT3290/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux' failed
make[3]: *** [_module_/home/nabeel/Downloads/RT3290/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-3-amd64'
Makefile:380: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

nabeel
 
Posts: 1
Joined: 2017-06-23 01:56

Re: Ralink wireless driver problem

Postby msnjuegos » 2017-09-09 22:23

Hi @naebee, did you solve your problem? I have a similar problem with the same driver (rt2800pci) in debian stretch. A few weeks ago I hadn't have issues with wifi :/.
msnjuegos
 
Posts: 13
Joined: 2017-09-07 23:05

Re: Ralink wireless driver problem

Postby idealvin » 2017-10-19 09:11

I met the same problem on debian 9 with ralink rt3290 wireless cards.
Finally solved it from here.
This is how I solve it:
Code: Select all
cd DPO_RT3290_LinuxSTA_V2600_20120508

vi os/linux/config.mk
line 26 ==>  HAS_WPA_SUPPLICANT=y
line 31 ==>  HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
line 176 =>  add -Wno-error=date-time to WFLAGS

vi os/linux/rt_linux.c
line 1136, 1137 ==>
pOSFSInfo->fsuid = current_fsuid().val;
pOSFSInfo->fsgid = current_fsgid().val;

vi os/linux/pci_main_dev.c
and adding the following after the "#include " near the top

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
#define __devexit
#define __devinit
#define __devinitdata
#endif

then change the portion of the file which says

#if LINUX_VERSION_CODE >= 0x20412
remove:     __devexit_p(rt2860_remove_one),
#else
remove:     __devexit(rt2860_remove_one),
#endif

to

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
remove:     rt2860_remove_one,
#else
#if LINUX_VERSION_CODE >= 0x20412
remove:     __devexit_p(rt2860_remove_one),
#else
remove:     __devexit(rt2860_remove_one),
#endif
#endif


Good luck :)
idealvin
 
Posts: 1
Joined: 2017-10-19 08:49

Re: Ralink wireless driver problem

Postby Rugged Smith » 2019-11-07 02:33

I hope this issue is current enough for consideration. Forgive the mistakes but I'm a Debian newb. I've used Ubuntu for a couple of distros but became increasingly tired of the constant problems and flakiness.
Code: Select all
uname -a
Linux HP-Pavilion-17-PC 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux

The wireless card (Ralink RT3290) wasn't recognized during install and I've been putting this off for a couple of weeks knowing that it would require a bit of research and, most likely, a trip to the forum. I followed the link you provided https://askubuntu.com/questions/253632/how-do-i-get-a-ralink-rt3290-wireless-card-working, after having downloaded the tar file. I also updated the files as you suggested. However, the make command produced a very long, and to me, output that made no sense to me. I'll post it here for you to see.
Code: Select all
make
make -C tools
make[1]: Entering directory '/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/tools/bin2h
cp -f os/linux/Makefile.6 /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/Makefile
make -C /lib/modules/4.19.0-6-amd64/build SUBDIRS=/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-6-amd64'
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_md5.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.o
In file included from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/crypt_aes.h:38,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:35:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1466:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1466:6: note: in expansion of macro ‘DBGPRINT’
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
      ^~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1561:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1561:6: note: in expansion of macro ‘DBGPRINT’
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
      ^~~~~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.o
In file included from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:30:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:529:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecEnd -
       ^
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
 ine NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                        ^~~~~~

/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:530:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecStart);
       ^
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
 ine NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                        ^~~~~~

  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wep.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/action.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.o
In file included from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:28:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c: In function ‘rt28xx_init’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:162:26: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=]
   DBGPRINT(RT_DEBUG_OFF,("PllCtrl:0x%x\n",PllCtrl.word));
                          ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:162:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_OFF,("PllCtrl:0x%x\n",PllCtrl.word));
   ^~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:178:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
          AUTO_WAKEUP_STRUC AutoWakeupCfg;
          ^~~~~~~~~~~~~~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_aes.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sync.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/eeprom.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.o
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:2714:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(enc == Ndis802_11Encryption3Enabled)
     ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:2716:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(enc == Ndis802_11Encryption4Enabled)
  ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:2726:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeShared)
     ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:2728:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(auth == Ndis802_11AuthModeAutoSwitch)
  ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:2738:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeWPA2PSK)
     ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:2740:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(auth == Ndis802_11AuthModeWPA1WPA2)
  ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:5123:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (idx = 0; idx < 32; idx++)
     ^~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.c:5126:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  return 0;
  ^~~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.o
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c:1032:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  BOOLEAN    Cancelled;
             ^~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c:1251:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
     ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c:1256:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
  ^~~~~~~~~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_radar.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.o
In file included from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c:28:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
   ^~~~~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_channel.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_profile.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_asic.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ps.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/uapsd.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.o
In file included from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:26:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:409:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:409:9: note: in expansion of macro ‘DBGPRINT’
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
         ^~~~~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rtmp_chip.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/assoc.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sync.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sanity.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.o
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
  FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
                 ^~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
  UCHAR OldPwrMgmt = PWR_ACTIVE;
        ^~~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxMgmtFrame’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:766:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     UCHAR uRSSI2;
     ^~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/connect.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/wpa.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:685:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:688:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if (pAd->StaCfg.BssType == BSS_ADHOC)
  ^~
In file included from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:31:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:3956:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
    DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:3956:4: note: in expansion of macro ‘DBGPRINT’
    DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
    ^~~~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:4899:85: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
 intf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
                                                                     ^~~~~~~~

/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:4899:95: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
 , size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
                                                                     ^~~~~~~~

/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:5132:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:5135:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return NDIS_STATUS_SUCCESS;
  ^~~~~~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:6960:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (rate_index >= rate_count)
     ^~
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:6963:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  *(ULONG *)pData = ralinkrate[rate_index] * 500000;
  ^
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:7220:67: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘EEPROM_NIC_CONFIG3_STRUC’ {aka ‘union _EEPROM_NIC_CINFIG3_STRUC’} [-Wformat=]
 sprintf(extra+strlen(extra), "pAd->NicConfig3.field.CoexAnt == 0x%x\n\n",pAd->NicConfig3);
                                                                  ~^      ~~~~~~~~~~~~~~~
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_os_util.o
  CC [M]  /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.o
In file included from /usr/src/linux-headers-4.19.0-6-common/include/linux/bitmap.h:9,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/cpumask.h:12,
                 from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/cpumask.h:5,
                 from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/msr.h:11,
                 from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/preempt.h:81,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/spinlock.h:51,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/seqlock.h:36,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/time.h:6,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/stat.h:19,
                 from /usr/src/linux-headers-4.19.0-6-common/include/linux/module.h:10,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.c:33:
In function ‘memcpy’,
    inlined from ‘rt_ioctl_iwaplist’ at /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.c:700:2:
/usr/src/linux-headers-4.19.0-6-common/include/linux/string.h:344:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
    __read_overflow2();
    ^~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-4.19.0-6-common/scripts/Makefile.build:309: /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-6-common/Makefile:1534: _module_/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-6-amd64'
make: *** [Makefile:381: LINUX] Error 2


The sudo make install produced this:
Code: Select all
sudo make install
[sudo] password for glenn:
make -C /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux -f Makefile.6 install
make[1]: Entering directory '/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux'
mkdir: cannot create directory ‘/etc/Wireless’: File exists
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/4.19.0-6-amd64/kernel/drivers/net/wireless/
install -m 644 -c rt3290sta.ko /lib/modules/4.19.0-6-amd64/kernel/drivers/net/wireless/
install: cannot stat 'rt3290sta.ko': No such file or directory
make[1]: *** [Makefile.6:260: install] Error 1
make[1]: Leaving directory '/home/glenn/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux'
make: *** [Makefile:473: install] Error 2

At this point, I'm at a loss.
Rugged Smith
 
Posts: 3
Joined: 2019-11-07 01:25

Re: Ralink wireless driver problem

Postby arochester » 2019-11-07 09:41

Have you noticed that the posts on this thread are two years old?

Install firmware-misc-nonfree

https://packages.debian.org/buster/firm ... sc-nonfree
arochester
 
Posts: 1565
Joined: 2010-12-07 19:55

Re: Ralink wireless driver problem

Postby Rugged Smith » 2019-11-07 22:23

Yes, I did which is why I wondered if the thread was too old for a response. However, I have no idea where to look for info that is current enough to work with not only Debian 10 but the latest kernal.

After several more hours of research, I have decided to simply pull the Ralink wireless card and replace it with an Intel M.2 wireless adapter. It's less than $30 and is supported. It kinda feels like I'm giving up on the issue but I can't see a workable alternative.

Thanks for the response.
Rugged Smith
 
Posts: 3
Joined: 2019-11-07 01:25

Re: Ralink wireless driver problem

Postby Rugged Smith » 2019-11-07 22:36

Sorry, I got my responses mixed up.

I did attempt to install the nonfree package but got this output:

Code: Select all
Package firmware-misc-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'firmware-misc-nonfree' has no installation candidate


I thought I had tried to install this at the beginning of this saga and saw that I had after looking through my terminal history. It appears to me that this card support has faded away and what remains is now incompatible with current software. Time to upgrade the hardware!
Rugged Smith
 
Posts: 3
Joined: 2019-11-07 01:25

Re: Ralink wireless driver problem

Postby 4D696B65 » 2019-11-07 22:43

Do you have nonfree enabled?
Please post the output of
Code: Select all
cat /etc/apt/sources.list
User avatar
4D696B65
 
Posts: 2438
Joined: 2009-06-28 06:09


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable