Bug 115707

Summary: iwconfig version mismatch
Product: [Fedora] Fedora Reporter: Michael Hunter <mph>
Component: wireless-toolsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: htmlspinnr, jeff, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 26-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-15 17:30:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 117020    
Bug Blocks: 114963    

Description Michael Hunter 2004-02-15 06:12:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5)
Gecko/20031019 Firebird/0.7

Description of problem:
iwconfig complains that the driver for device (orinco pcmcia card) has
been compiled for version 16 of the wireless extension but that the
tools are only using verison 15.

Version-Release number of selected component (if applicable):
stock fedora core2 test 1

How reproducible:
Always

Steps to Reproduce:
1./sbin/iwconfig
2.
3.
    

Additional info:

Comment 1 Rick Johnson 2004-02-16 17:47:56 UTC
Kernels affected include 2.6.2-1.81. This is preventing the wireless
network from coming up. Error messages include:

ifup: Error for wireless request "Set Encode" (8B2A):
ifup:      SET failed on device eth0 ; Invalid argument.

Comment 2 Bill Nottingham 2004-02-16 19:00:44 UTC
That error is actually unrelated, most likely.

Comment 3 Rick Johnson 2004-03-14 06:49:14 UTC
It seems as if /usr/include/linux/wireless.h (provided by glibc-
kernheaders-2.4-8.43) is older than that included with the kernel 
source. Removing /usr/include/linux and replacing with that provided 
in /lib/modules/<kernel-ver>/build/include/linux, then rebuilding the 
wireless-tools seems to solve this problem. 

It would make sense that glibc-kernheaders needs to be updated to 
include headers from the 2.6 tree.

Comment 4 Rick Johnson 2004-03-14 17:37:29 UTC
Another choice is to build forcing version 16 using a locally provided
header - see package README for details. 

This involves passing FORCE_WEXT_VERSION=16 to the make and make
install commands. This allows the makefile to use a locally provided
wireless.h of the correct version. This would, however, lock the
package into the present kernel 2.6 (or 2.4 kernels which used version
16 of wireless.h if such exist) and remove the dependancy on
glibc-kernheaders, but not really solve the problem in the end.


Comment 5 Bill Nottingham 2004-03-15 17:30:27 UTC
Fixed in -4.