Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ralink RT3090 Wireless stopped working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
elmar283
Guru
Guru


Joined: 06 Dec 2004
Posts: 316
Location: Haarlem, Netherlands

PostPosted: Sun Aug 15, 2021 6:56 pm    Post subject: Ralink RT3090 Wireless stopped working Reply with quote

I'm having trouble getting my wireless network up. It always worked, but after (I think) a kernel update it stopped working
This is my card:
Code:
Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe
   Subsystem: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe
   Kernel driver in use: rt2800pci


When I try to start it I get this error message:
Code:

sudo /etc/init.d/net.wlp3s0 start
 * Bringing up interface wlp3s0
 *   Starting wpa_supplicant on wlp3s0 ...
Successfully initialized wpa_supplicant
Could not set interface wlp3s0 flags (UP): Input/output error
WEXT: Could not set interface 'wlp3s0' UP
wlp3s0: Failed to initialize driver interface
 *   start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'                                                                                                                                                                   [ !! ]
 * ERROR: net.wlp3s0 failed to start


Or:
Code:

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


Dmesg of my card:
Code:
dmesg |grep -i rt2800
[    6.037174] rt2800pci 0000:03:00.0 wlp3s0: renamed from wlan0
[   12.721486] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[   13.922462] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[   13.922481] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   66.332466] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[   67.533465] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[   67.533483] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[   68.985441] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[   70.193530] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[   70.193548] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)


Code:

dmesg |grep -i firmware
[    0.399990] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    2.247605] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   11.505013] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[   11.511167] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40


My '/etc/conf.d/net':
Code:
 cat /etc/conf.d/net
dns_domain_lo="fritz.box"

#config_wlp3s0="dhcp"
config_enp2s0="dhcp"

#iwconfig_wlp3s0="mode managed"
modules_wlp3s0="wpa_supplicant dhcpcd"
#modules_enp2s0="wpa_supplicant"
wpa_supplicant_wlp3s0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
wpa_timeout_wlp3s0=60
associate_timeout_wlp3s0=60


Code:

 sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
# The below line not be changed otherwise we refuse to work
update_config=1
ctrl_interface_group=0
ctrl_interface=/var/run/wpa_supplicant GROUP=wheel
eapol_version=1
ap_scan=1
country=nl_NL
   
network={
  ssid="Freedom"
  proto=WPA2
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk="<secret>"
  priority=1
}


My kernel config:
http://www.elmarotter.eu/bestanden/boxmodel/Gentoo/kernelconfig.txt

emerge info:
Code:

emerge --info
Portage 3.0.20 (python 3.9.6-final-0, default/linux/x86/17.0, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo i686)
=================================================================
System uname: Linux-5.10.52-gentoo-i686-Intel-R-_Atom-TM-_CPU_Z530_@_1.60GHz-with-glibc2.33
KiB Mem:     2055476 total,   1868460 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Sat, 14 Aug 2021 08:30:01 +0000
Head commit of repository gentoo: e136c3976aee76ad4ed432758a51ac2246f805dd
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          3.9.6_p1::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=bonnell -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=bonnell -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=bonnell -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=bonnell -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo"
LANG="nl_NL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl bzip2 cli crypt dri exif expat fam fbcon fortran fpm freetype gdbm geoip gpm iconv ipv6 libglvnd libtirpc linguas lock md5sum mmx ncurses nls nptl ntp openmp openssl pam pcre pear perl pmu python readline samba sdl seccomp sftp spell split-usr sqlite sqlite3 sse sse2 ssl tcpd truetype udev unicode urandom vda x86 xattr xml zeroconf zip zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_core authn_alias authn_anon authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


I emerged these relevant packages:
Code:

net-wireless/wireless-tools
     Available versions:  30_pre9-r1 {multicall}
     Installed versions:  30_pre9-r1(16:24:05 13-08-21)(-multicall)

net-wireless/wpa_supplicant
     Available versions:  2.9-r4 2.9-r5 **9999*l {ap bindist broadcom-sta dbus eap-sim eapol-test fasteap +fils +hs2-0 macsec +mbo +mesh p2p privsep ps3 qt5 readline selinux smartcard tdls uncommon-eap-types wimax wps KERNEL="FreeBSD linux"}
     Installed versions:  2.9-r5(17:00:44 13-08-21)(dbus fils hs2-0 mbo mesh readline -ap -bindist -broadcom-sta -eap-sim -eapol-test -fasteap -macsec -p2p -privsep -ps3 -qt5 -selinux -smartcard -tdls -uncommon-eap-types -wimax -wps KERNEL="linux -FreeBSD")

sys-kernel/linux-firmware
     Available versions:  20201218^bstd 20210208^bstd 20210315^bstd 20210518^bstd 20210629^bstd 20210716^bstd **99999999*l^bstd {initramfs +redistributable savedconfig unknown-license}
     Installed versions:  20210716^bst(19:34:39 15-08-21)(redistributable -initramfs -savedconfig -unknown-license)

net-wireless/iw
     Available versions:  5.9
     Installed versions:  5.9(16:09:18 13-08-21)

net-misc/dhcpcd
     Available versions:  9.4.0-r1 **9999*l {debug +embedded ipv6 privsep +udev ELIBC="glibc" KERNEL="linux"}
     Installed versions:  9.4.0-r1(18:41:17 13-08-21)(embedded ipv6 udev -debug -privsep ELIBC="glibc" KERNEL="linux")

sys-kernel/gentoo-sources
Installed versions:  5.10.52(5.10.52)^bs(21:03:57 11-08-21)(-build -experimental -symlink)

sys-apps/iproute2
     Available versions:  5.10.0-r2 ~5.12.0-r1 5.13.0-r1 **9999*l {atm berkdb bpf caps elf +iptables ipv6 libbsd minimal selinux}
     Installed versions:  5.13.0-r1(12:30:03 14-08-21)(iptables ipv6 -atm -berkdb -bpf -caps -elf -libbsd -minimal -selinux)
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Aug 19, 2021 11:52 am    Post subject: Reply with quote

Have you tried a different driver instead of wext? My 2¢.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum