Bug 735314

Summary: Not possible to compile compat-wireless due to how the kernel is configured
Product: [Fedora] Fedora Reporter: martin
Component: kernelAssignee: John W. Linville <linville>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: aquini, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, sgruszka
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-02 13:58:49 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:
Attachments:
Description Flags
Error output from make none

Description martin 2011-09-02 09:43:32 UTC
Description of problem:
As I've reported in bug 735310 it's not possible for me to connect to Mobile Broadband from my laptop since I reinstalled it with Fedora 15. In Fedora 13 I had problems with the original kernel drivers that it did connect but usually had a packet loss of 70-80%  and I solved that by compiling drivers from compat-wireless which worked pretty much flawlessly.

So to solve this new problem I decided to do the same, only that it doesn't compile anymore due to changes in the kernel configs compared to Fedora 13 (and, I think, Fedora 14).

Version-Release number of selected component (if applicable):
compat-wireless 2.6.39-1
Linux 2.6.40.3-0.fc15.x86_64 (from repo)

How reproducible:
100%

Steps to Reproduce:
1. tar -xf compat-wireless-2.6.39-1.tar.bz2
2. make
  
Actual results:
See attachment makefailure.txt

Expected results:
Finished compilation, installation and working drivers.

Additional info:

Comment 1 martin 2011-09-02 09:44:33 UTC
Created attachment 521197 [details]
Error output from make

Comment 2 Josh Boyer 2011-09-02 11:33:48 UTC
John, Stanislaw, any thoughts?

Comment 3 Stanislaw Gruszka 2011-09-02 13:58:49 UTC
compat-wireless does not allow to compile old drivers in newer kernels, 2.6.40 is newer than 2.6.39, so this is not valid bug.

For compiling newer compat-wirless packages, this patch is needed to handle fedora 3.0 to 2.6.40 version change:
https://bugzilla.redhat.com/attachment.cgi?id=519273

See also
http://people.redhat.com/sgruszka/compat_wireless.html

Comment 4 martin 2011-09-05 14:20:54 UTC
In case someone googles for the error message and end up here. It helps to do:

yum install kernel-devel

*ahem* *blush* Sorry 'bout that.

Haven't managed to compile it for 2.6.40 yet, but at least I've got it up and running for 2.6.38 at least, which is a hell of a lot better than no 3G at all...

Sorry for being a klutz.