Bug 179982 - 2.6.15-1.1830_FC4 changes wlan0 to eth1? hostap broken?
Summary: 2.6.15-1.1830_FC4 changes wlan0 to eth1? hostap broken?
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John W. Linville
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-04 07:44 UTC by Jeff Gustafson
Modified: 2007-11-30 22:11 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-21 17:16:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeff Gustafson 2006-02-04 07:44:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051201 Fedora/1.5-1.1.fc4.nr Firefox/1.5

Description of problem:
I noticed that wlan0 no longer works and it seems to be replaced with eth1.  The driver identifies the card as a Prism I card instead of a Prism 2.5 card.  It seems to be using the orinoco driver instead of the hostap one, even though they *both* load up.

Version-Release number of selected component (if applicable):
kernel-2.6.15-1.1830_FC4

How reproducible:
Always

Steps to Reproduce:
1.  Just insert the card.
2.
3.
  

Additional info:

Comment 1 Lonni J Friedman 2006-02-04 20:19:38 UTC
This bug is biting me too, but I think its a udev bug, not a kernel bug, because
even if I go back to booting the previous FC4 kernel, I continue to have the
same problem.

I've got a Linksys WPC11v3 PCMCIA wifi card that uses the orinoco driver.  Since
the udev update to 0.71 as soon as I try to bring up the interface for the wifi
card, I start getting an un-ending stream of errors like this:
cannot change name of wlan0 to devWXYZ: File exists

where WXYZ seems to be a random number that changes each time the error appears
(and it appears many times per second, but gradually slows down over time).

This is really really bad.

Please can the submittor of this bug change the 'component' to udev and the
priority/severity to high?

Comment 2 Jeff Gustafson 2006-02-14 19:19:47 UTC
It appears the 1831 update fixed the problem (unless some other component was
also updated).  I have my wlan0 back!  Thanks!

Comment 3 Lonni J Friedman 2006-02-14 19:25:03 UTC
Its not fixed for me.  Only downgrading udev avoids this.

Comment 4 Jeff Gustafson 2006-02-14 20:57:57 UTC
'rpm -q udev' shows me running 'udev-071-0.FC4.2'

I wonder what else has changed.  Under 1830 I tried installing hostap-drivers
and it didn't fix the problem, leading me to belive that it wasn't some sort of
kernel issue.  I didn't know udev could assign the interface names.

Comment 5 Pekka Savola 2006-02-23 12:04:16 UTC
FWIW -- I had a converse problem.  Orinoco_cs which was eth1 got renamed to
wifi0/wlan0, and ifcfg-eth1 ceased to work as is.

I had to:
 1) change the interface names eth1 -> wlan0
 2) add "MODE=Managed", because otherwise the driver (hostap?) defaulted to
"Master" (running in AP mode)

So, the fix 1) is easy but should be automatic; 2) is a high-priority problem.

Or maybe the problem is misasscociating orinoco_cs cards to use hostap?


Comment 6 Dave Jones 2006-02-27 05:10:42 UTC
The problem is the hostap and orinoco drivers both claim support for the same
hardware.  I'm not sure what the best way forward is here.  John, any ideas?


Comment 7 John W. Linville 2006-02-27 18:52:03 UTC
I don't have a really good answer for this...do both drivers work equally  
well?  It looks like there may be hw covered by orinoco that isn't covered by  
hostap?  But, none of that is PCI...  
  
Maybe notting has suggestions?  I suppose we could remove configuration for 
one of the drivers...hmmm... 

Comment 8 Bill Nottingham 2006-02-27 19:13:45 UTC
The problem is that given a particular modalias, udev will load both drivers, so
it's "whichever matches first wins". We could selectively blacklist one of the
drivers, but I don't know enough to say which we should.

Comment 9 John W. Linville 2006-03-03 22:08:29 UTC
There was a recent patch upstream which touches close to this issue.  Test 
kernels w/ that patch available here: 
 
   http://people.redhat.com/linville/kernels/fc4/ 
 
Please give those kernels a try and post the results here...thanks! 

Comment 10 Pekka Savola 2006-03-07 08:11:06 UTC
I'm not sure who was the target of comment #9..

I didn't need to test the Linville kernel, because the recent 2.6.15-1.1833_FC4
kernel seemed to fix my orinoco_cs -> hostap misassociation problem by default.

Comment 11 John W. Linville 2006-04-21 17:16:49 UTC
Closed due to lack of response.  Please reopen when the requested information 
becomes available...thanks! 

Comment 12 Lonni J Friedman 2006-04-21 17:20:31 UTC
Urmm, this is very badly broken in FC5 as well.  Can someone please reopen this?


Note You need to log in before you can comment on or make changes to this bug.