Skip to main content.
Saturday, March 11th, 2006

Reinstall RT2500 Driver After Kernel Upgrade

I was working with Fedora today when I found out that what I was trying to do would be a lot easier if I was running the 2.6.15 kernel. What version was I running? Well, initially I found out by opening /boot/grub/grub.conf, but as I tooled around later, I realized the proper way was uname -r or cat /proc/version. I was running 2.6.14 – needed to upgrade!

Most of the info I found after a search dealt with upgrading between major releases – FC 3 to FC 4, for example. But I saw enough to figure out how to do it using yum. Upgrading the kernel seemed like heavy stuff, so I logged off and logged back in as root.

First, I made sure that I was using the latest version of yum (which I wasn’t):

[root@localhost /]# yum update yum

Then, a bunch of yum output messages later, I tried the same with the kernel:

[root@localhost /]# yum update kernel

I didn’t get any bells and whistles, just yum telling me it worked. Was I already running the new kernel? Using cat /proc/version I saw I wasn’t. So I checked the /boot directory – yep, there were more files there, including several that had “” in their names. I went further, looking at the /boot/grub/grub.conf. Yum had thoughtfully added the new kernel version to my list of startups, and left the default alone. So everything was set for a reboot. But wait – I was expecting that changing the kernel meant that my HWP54G rt2500 wireless card driver would need to be reinstalled. Did the Internet still work? Yes, cool, I could go to my blog and check my notes. There, I was reminded that I needed to install the new kernel source, so I also ran

[root@localhost /]# yum update kernel-devel

While my connection still worked, I saved a copy of the installation notes in my blog to the hard drive, and I was set for a reboot. During this, as expected, I failed to connect to my network. I also failed to mount my NTFS drives, so apparently I had done something special to make that work! But that’s for later. I had to look for the rt2X00 driver files – I had placed them in /etc/rt2500/module – which, if I had have read my notes fully, I would have seen from the examples. So I tried the following:

[root@localhost /]# cd /etc/rt2500/module
[root@localhost module]# make
make[1]: Entering directory `/usr/src/kernels/2.6.15-1.1833_FC4-i686'
Building modules, stage 2.
make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.1833_FC4-i686'
[root@localhost module]# make install-fedora
if ! [ -f rt2500.ko ]; then \
module; \
install 'rt2500.ko' to /lib/modules/2.6.15-1.1833_FC4/extra
install -m 755 -o 0 -g 0 -d /lib/modules/2.6.15-1.1833_FC4/extra
install -m 644 -o 0 -g 0 rt2500.ko /lib/modules/2.6.15-1.1833_FC4/extra
/sbin/depmod -a
[root@localhost module]#

(Hope you can pick out what I typed in – the bold text – from the responses.) And then I was back on my network! Nothing else to configure – all the settings were retained from before. I was able to open up a browser and go back to my blog – which I searched using the term ntfs. I was lucky – I had mentioned how I got the ntfs drives mounted, so now I’m off to fix that!

Posted by Greg in Hardware & Drivers, Networking, OS

Comments Off on Reinstall RT2500 Driver After Kernel Upgrade

This entry was posted on Saturday, March 11th, 2006 at 15:57 PST and is filed under Hardware & Drivers, Networking, OS. You can follow any responses to this entry through the comments RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.