Linksys WRT54G Ralink RT2500 Wireless - No modules.

Issues related to hardware problems
adamt
Posts: 7
Joined: 2015/01/21 18:26:29

Linksys WRT54G Ralink RT2500 Wireless - No modules.

Post by adamt » 2015/01/21 18:58:32

Hello,

I'm very new to CentOS but I've used other Linux flavors in the past. I'm having an issue loading any sort of kernel module for my Linksys WMP54G adapter. I've follow the instructions here but haven't had any success. Here's what I've got so far:

Everything is command line. I do not have a gui.

Code: Select all

uname -a
Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

lspci -v
03:06.0 Network controller: Ralink corp. RT2500 Wireless 802.11bg (rev 01)
        Subsystem: Linksys WMP54G v4.0 PCI Adapter
        Flags: bus master, slow devsel, latency 32, IRQ 10
        Memory at dd302000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2
ifconfig only shows my two ethernet adapters:

Code: Select all

ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.201  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::2e0:81ff:fe2f:5290  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:81:2f:52:90  txqueuelen 1000  (Ethernet)
        RX packets 47545  bytes 28860513 (27.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 22394  bytes 3086665 (2.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16

enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:e0:81:2f:52:91  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
        device interrupt 16

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 0  (Local Loopback)
        RX packets 7  bytes 316 (316.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7  bytes 316 (316.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
When attempting to yum the drivers from elRepo as instructed, I get:

Code: Select all

yum --enablerepo=elrepo install rt61pci-firmware
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.hmc.edu
 * elrepo: repos.lax-noc.com
 * extras: mirrors.easynews.com
 * updates: repos.redrockhost.com
No package rt61pci-firmware available.
Error: Nothing to do
In a make menuconfig of the kernel, I noticed module support for the rt2500 is not enabled. I was told rebuilding a kernel just for this support isn't necessary in CentOS 7 but I feel like it's what I would have done in other situations. modprobe doesn't recognize the module and I don't know what else to do. Is there simply no support left for the WMP54g card?

Thanks.
Last edited by adamt on 2015/01/24 15:50:47, edited 1 time in total.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Linksys WRT54G Ralink RT2500 Wireless - No modules found

Post by AlanBartlett » 2015/01/21 20:26:12

Will you please post the output returned by --

lspci -nn | grep -i Ralink

We really need to see the Vendor:Device ID pairing for that device.
Image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

adamt
Posts: 7
Joined: 2015/01/21 18:26:29

Re: Linksys WRT54G Ralink RT2500 Wireless - No modules found

Post by adamt » 2015/01/21 21:07:12

Sorry about that. I totally planned on it and left it out by mistake. Here you are:

Code: Select all

lspci -nn | grep -i Ralink
03:06.0 Network controller [0280]: Ralink corp. RT2500 Wireless 802.11bg [1814:0201] (rev 01)

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Linksys WRT54G Ralink RT2500 Wireless - No modules found

Post by AlanBartlett » 2015/01/21 22:08:28

Thank you. So performing a "double grep", using the hexadecimal values 1814:0201, on a RHEL 7 system gives the following result --

Code: Select all

[Duo1 ~]$ grep 1814 /lib/modules/*/modules.alias | grep 0201
/lib/modules/3.18.3-1.el7.elrepo.x86_64/modules.alias:alias pci:v00001814d00000201sv*sd*bc*sc*i* rt2500pci
/lib/modules/3.19.0-0.rc5.el7.elrepo.x86_64/modules.alias:alias pci:v00001814d00000201sv*sd*bc*sc*i* rt2500pci
[Duo1 ~]$
From the above we can see that the device is not supported by the distributed kernel (currently 3.10.0-123.13.2.el7.x86_64) but is supported by kernel-ml.

So you could install kernel-ml, as a temporary measure, whilst we look into the feasibility of a kmod-rt2500pci package for the distributed kernel.
Image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

adamt
Posts: 7
Joined: 2015/01/21 18:26:29

Re: Linksys WRT54G Ralink RT2500 Wireless - No modules found

Post by adamt » 2015/01/22 00:24:36

Thank you Mr. Bartlett. I have installed kernel-ml as suggested and loaded the rt2x00 drivers:

Code: Select all

# lsmod | grep rt
rt2x00pci              13287  0
rt2x00lib              69671  1 rt2x00pci
mac80211              518322  2 rt2x00lib,rt2x00pci
cfg80211              482668  2 mac80211,rt2x00lib
but the device still doesn't seem to be showing up anywhere.

Code: Select all

# ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.201  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::2e0:81ff:fe2f:5290  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:81:2f:52:90  txqueuelen 1000  (Ethernet)
        RX packets 6975  bytes 1571080 (1.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3201  bytes 325812 (318.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16

enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:e0:81:2f:52:91  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
        device interrupt 16

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 0  (Local Loopback)
        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

Code: Select all

# iw dev
#

Code: Select all

# nmcli device status
DEVICE  TYPE      STATE        CONNECTION
enp1s0  ethernet  connected    enp1s0
enp2s0  ethernet  unavailable  --
lo      loopback  unmanaged    --
I'm afraid I'm at a loss as to what to do next. I appreciate the help.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Linksys WRT54G Ralink RT2500 Wireless - No modules found

Post by AlanBartlett » 2015/01/22 16:23:02

but the device still doesn't seem to be showing up anywhere.
Hmm . . . Well that is puzzling. :o

However let's not waste too much time with kernel-ml . . . for I have just seen a note from a fellow ELRepo Project administrator (Phil Perry) to tell me that a kmod-rt2500pci package has been built and is now available from the ELRepo testing repository for EL7.

So please install that package and then test it with the distributed CentOS kernel.
Image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

adamt
Posts: 7
Joined: 2015/01/21 18:26:29

Re: Linksys WRT54G Ralink RT2500 Wireless - No modules found

Post by adamt » 2015/01/22 21:01:28

That works! Thank you very much for your help. Also, please let Mr. Perry know I appreciate his time. You guys all do wonderful work and have such dedication to these projects, please know it doesn't go unnoticed. Thanks!

Adam

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Linksys WRT54G Ralink RT2500 Wireless

Post by AlanBartlett » 2015/01/22 22:49:48

Thank you for reporting back with that excellent news. :)

As a consequence of your successful experiment, the kmod-rt2500pci package has now been promoted from the testing to the main repository.
Image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

adamt
Posts: 7
Joined: 2015/01/21 18:26:29

Re: Linksys WRT54G Ralink RT2500 Wireless

Post by adamt » 2015/01/23 02:59:01

Well I unfortunately have some bad news. After setting everything up using nmcli, I went out for dinner and came home to this plastered across the screen (hundreds of messages repeated):

Code: Select all

ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full-queue 0
Please file bug report to http://rt2x00.serialmonkey.com
After some research on that particular message, it looks like that driver doesn't like this kernel version. I didn't see any fixes other than "upgrade drivers".

Thoughts?

adamt
Posts: 7
Joined: 2015/01/21 18:26:29

Re: Linksys WRT54G Ralink RT2500 Wireless

Post by adamt » 2015/01/23 14:28:54

I should also add that, at the time, I was running a constant ping from my laptop to the machine which could account for all of those messages. I tried to ifconfig down the interface but the messages continued to show up.

Post Reply