Fedora Linux Support Community & Resources Center
  #1  
Old 3rd October 2008, 05:12 PM
dhimes Offline
Registered User
 
Join Date: Jan 2008
Location: Marblehead MA USA
Posts: 296
New kernels wipe out old kernels' working wifi

This is rather remarkable. I was loving f9 with 2.6.25.11-97.fc9.x86_64 and 2.6.25.14-108.*
For the first time I had wifi, video driver, sound, etc. etc. ... what I always knew Linux could be. Then the 2.6.26.3 kernel came out, and I could run everything but wifi on it (I have the atheros situation going on here...). Eventually, I tried akmod because the kmod hadn't appeared in the Livna repo. It wouldn't build. (I also used the akmod for nvidia, and it works fine). So I kept using the 25.14 kernel. No sweat.

Next, the 26.5-45 came out. After installing, none of the wifi worked on ANY kernel. (short story: ) I uninstalled the akmod and went back to the regular drivers. No joy. Uninstalled all madwifi, uninstalled the 26.5 kernel, reinstalled kernel then madwifi, and nothing. Uninstalled both the 26.3 and the 26.5 kernels to try to recover my previous state. I can't reinstall the madwifi now without reinstalling the 26.5 kernels! The latest kernel really wiped out my wifi! It's hard to believe.

I was hoping I would be able to post a fix here, but I don't have it yet. I now have to get back to work, unfortunately.
Reply With Quote
  #2  
Old 4th October 2008, 01:48 AM
rambo3543's Avatar
rambo3543 Offline
Registered User
 
Join Date: Aug 2008
Posts: 60
I just completely remove and then recompile madwifi when the kernel updates, works every time
__________________
AMD Turion X2 Mobile
nVidia GeForce 7000M
AR5007G (AR242X)
120GB WDC Sata
CD/DVDRW
2.6.26.5-45.fc9.i686:)
Reply With Quote
  #3  
Old 4th October 2008, 02:55 AM
dhimes Offline
Registered User
 
Join Date: Jan 2008
Location: Marblehead MA USA
Posts: 296
Rambo3543,

I was going to try to learn how to do that tomorrow. Wish me luck!
Reply With Quote
  #4  
Old 4th October 2008, 03:19 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Quote:
Originally Posted by dhimes

The latest kernel really wiped out my wifi! It's hard to believe.
Hello dhimes,

Yes, it's hard to believe at first. But it is very well known and common (try kmod-madwifi site:fedoraforum.org in Google and see what I mean). Anyway, your situation reminded me of a similar thread regarding kmod-ndiswrapper recently. In that thread, Psycho updated the kernel of a new installation and found that the livna kmod-ndiswrapper packages for it were delayed. Attempts to yum install kmod-ndiswrapper for the older (initially installed) kernel failed because yum was insisting on installing the next most recent kmod packages for a kernel that Psycho did not have. Failed dependencies resulted (you have to see it to understand).

I don't have an atheros-based card nor use madwifi. But from studying old threads it all seems very similar to the kmod-ndiswrapper situation. I imagine that the kmod-madwifi package for the kernel brings along another kmod-madwifi package and a madwifi package (similar to what kmod-ndiswrapper does). Examples for that lastest kernel that are now in the livna download server...
Code:
kmod-madwifi-2.6.26.5-45.fc9.x86_64-0.9.4-50.r3771.lvn9.x86_64.rpm
kmod-madwifi-0.9.4-50.r3771.lvn9.x86_64.rpm
madwifi-0.9.4-10.r3771.lvn9.x86_64.rpm
Did you notice something such as that when trying to install? I could be wrong about all of this, but...

First, I would try updating the kmod-madwifi packages for the newest kernel again since they are all available now. The date on the files is very recent, and maybe they appeared since you started this thread.

Or second, if you still want to go back to the previous kernel that worked, then read Pyscho's thread about how he/she did it with kmod-ndiswrapper. Psycho was able to install the kmod-ndiswrapper packages for the old kernel without those missing dependency errors by using the allowdowngrade plugin for yum. Maybe you will see something regarding the yum install command with the --allow-downgrade command option for yum that relates directly to your kmod-madwifi situation. Or maybe not. Just trying to help.

Lastly, if you ever do get this fixed, you should give strong consideration to excluding the kernel from routine periodic updates. I do. For this very reason. Every now and then (when I feel lucky), I will allow the kernel to update while remaining prepared to get rid of it if it breaks things. I used to not worry about this because for years new kernels never hurt me, but recently all that's changed. To exclude the kernel from yum updates, add this line to /etc/yum.conf: exclude=kernel*. To allow the kernel to update, "comment out" the line (with the # character).

Last edited by stoat; 4th October 2008 at 06:29 PM.
Reply With Quote
  #5  
Old 4th October 2008, 04:43 PM
dhimes Offline
Registered User
 
Join Date: Jan 2008
Location: Marblehead MA USA
Posts: 296
Thanks Stoat,
That's how I search the forums (fori?), as the internal search is clunky and yahoo (which I usually use the most) finds otherly-formatted pages (print format, etc.). I must have missed the stuff where one kernel install disabled a different kernel's wifi.

You are right about there being a meta-package which automagically tells yum what packages to fetch for the particular kernel. I took your advice and re-installed the new kernel and madwifi, but no joy (the new madwifi, it says, was built on 1 Oct. as it turns out).

I tried compiling the module directly, but received an error (madwifi ticket # 2022 http://madwifi.org/ticket/2022)
The ticket is "closed", which I think means a solution has been found (apparently a "patch"). I need to do more research on how to apply it.

I will next try psycho's thread to try to get madwifi to work with the previous kernel.

Thanks again for your help. If nothing else, the process is educational!
Reply With Quote
  #6  
Old 4th October 2008, 05:21 PM
rambo3543's Avatar
rambo3543 Offline
Registered User
 
Join Date: Aug 2008
Posts: 60
Here, read my instructions in the middle:

http://forums.fedoraforum.org/showth...29#post1091529
__________________
AMD Turion X2 Mobile
nVidia GeForce 7000M
AR5007G (AR242X)
120GB WDC Sata
CD/DVDRW
2.6.26.5-45.fc9.i686:)
Reply With Quote
  #7  
Old 4th October 2008, 07:25 PM
dhimes Offline
Registered User
 
Join Date: Jan 2008
Location: Marblehead MA USA
Posts: 296
Rambo3543,

Those instruction for recompiling left me with the same error as before: a bunch of call to some ieee80211 functions have too few arguments. Dang. I tried stoat's instructions on an earlier post (with psycho) and was able to load the old driver, but still no connection. The network manager isn't seeing the card.

For anyone else following,
Code:
yum install yum-allowdowngrade
Then
Code:
yum --allow-downgrade install kmod-madwifi-2.6.25.14-108.fc9.x86_64-0.9.4-39.lvn9.x86_64 kmod-madwifi-0.9.4-39.lvn9.x86_64 madwifi-0.9.4-1.lvn9.x86_64
Note that there are three things to be installed on that line. Installing only the first will install stuff you don't want (like the new kernel!!) for dependencies.

Of course, it didn't connect the wifi for me....
Reply With Quote
  #8  
Old 4th October 2008, 07:56 PM
rambo3543's Avatar
rambo3543 Offline
Registered User
 
Join Date: Aug 2008
Posts: 60
Have you blacklisted ath5k? That MUST be blacklisted before the other driver will work, to do that add the following line

Code:
 blacklist ath5k
to the following file:

Code:
 /etc/modprobe.d/blacklist
__________________
AMD Turion X2 Mobile
nVidia GeForce 7000M
AR5007G (AR242X)
120GB WDC Sata
CD/DVDRW
2.6.26.5-45.fc9.i686:)
Reply With Quote
  #9  
Old 4th October 2008, 08:06 PM
dhimes Offline
Registered User
 
Join Date: Jan 2008
Location: Marblehead MA USA
Posts: 296
ok-- got it. I followed the recommendation here (I believe it's scottro's page) and got the latest snapshot from here. This snapshot apparently included the patch for ticket 2022--although why the madwifi page hasn't updated the download since that time is a mystery to me.

Thank you both (and scottro and jn4oldschool) for your help! Hopefully, this page can help someone else.

Now, if I can just get my monitor back to where it was in 25.14-108...

-- reply to Ramo3543 post-- I think we posted at the same time....
yes, the blacklisting never went away since the first time madwifi was configured. I kept looking to see that it was still ok, and it was.

Last edited by dhimes; 4th October 2008 at 08:08 PM. Reason: saw post
Reply With Quote
Reply

Tags
atheros, kernel update, madwifi, wifi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wifi: rt2500 + wpa with recent kernels on FC6? zemb Servers & Networking 8 8th February 2007 06:52 PM


Current GMT-time: 07:38 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat