Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181845 - net-wireless/adm8211 - patches to fix compiles under kernel 2.6.20
Summary: net-wireless/adm8211 - patches to fix compiles under kernel 2.6.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://www.t2-project.org/packages/ad...
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.20
  Show dependency tree
 
Reported: 2007-06-13 01:18 UTC by Stuart Longland (RETIRED)
Modified: 2007-07-07 11:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated: adm8211-20050620.ebuild (adm8211-20050620.ebuild,1.30 KB, text/plain)
2007-06-13 01:19 UTC, Stuart Longland (RETIRED)
Details
Get rid of #include <linux/config.h> (2.6.20-no-config_h.patch,522 bytes, patch)
2007-06-13 01:19 UTC, Stuart Longland (RETIRED)
Details | Diff
2.6.20 fixes (2.6.20.patch,1007 bytes, patch)
2007-06-13 01:20 UTC, Stuart Longland (RETIRED)
Details | Diff
2.6.17 fixes (linux-2.6.17.patch,342 bytes, patch)
2007-06-13 01:20 UTC, Stuart Longland (RETIRED)
Details | Diff
2.6.19 fixes (linux-2.6.19.patch,1.18 KB, patch)
2007-06-13 01:20 UTC, Stuart Longland (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Longland (RETIRED) gentoo-dev 2007-06-13 01:18:23 UTC
Hi,

net-wireless/adm8211 has been broken under recent kernels for some months now... Just today however, I stumbled some patches that cleaned up most of the issues.

The site mentioned here is where I got most of the patches, the one exception being the 2.6.20-no-config_h.patch, which is my own creation.  These fix compiler errors with newer kernels.  I'll try the module out shortly (as soon as I locate my SMC wireless card), but it builds successfully under hardened-sources-2.6.20.
Comment 1 Stuart Longland (RETIRED) gentoo-dev 2007-06-13 01:19:11 UTC
Created attachment 121871 [details]
Updated: adm8211-20050620.ebuild

Updated ebuild
Comment 2 Stuart Longland (RETIRED) gentoo-dev 2007-06-13 01:19:47 UTC
Created attachment 121872 [details, diff]
Get rid of #include <linux/config.h>
Comment 3 Stuart Longland (RETIRED) gentoo-dev 2007-06-13 01:20:06 UTC
Created attachment 121873 [details, diff]
2.6.20 fixes
Comment 4 Stuart Longland (RETIRED) gentoo-dev 2007-06-13 01:20:32 UTC
Created attachment 121874 [details, diff]
2.6.17 fixes
Comment 5 Stuart Longland (RETIRED) gentoo-dev 2007-06-13 01:20:50 UTC
Created attachment 121875 [details, diff]
2.6.19 fixes
Comment 6 Stuart Longland (RETIRED) gentoo-dev 2007-06-13 02:19:15 UTC
And it works... :-) (smc0 is the adm8211-based card... renamed thanks to ifrename)

wander ~ # iwconfig smc0
smc0      IEEE 802.11b  ESSID:"BrisbaneMesh-longlandclan-719"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:40:05:C0:6B:A4
          Bit Rate:11 Mb/s   Tx-Power:41 dBm
          Retry limit:3   RTS thr:off   Fragment thr:off
          Encryption key:off

wander ~ # ifconfig smc0
smc0      Link encap:Ethernet  HWaddr 00:04:E2:87:5E:2B
          inet addr:10.160.34.4  Bcast:10.160.34.15  Mask:255.255.255.240
          inet6 addr: fe80::204:e2ff:fe87:5e2b/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:499 errors:4 dropped:0 overruns:0 frame:4
          TX packets:476 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34726 (33.9 Kb)  TX bytes:70962 (69.2 Kb)
          Interrupt:11

wander ~ # ping -c 3 10.160.34.1
PING 10.160.34.1 (10.160.34.1) 56(84) bytes of data.
64 bytes from 10.160.34.1: icmp_seq=1 ttl=64 time=2.13 ms
64 bytes from 10.160.34.1: icmp_seq=2 ttl=64 time=2.01 ms
64 bytes from 10.160.34.1: icmp_seq=3 ttl=64 time=1.95 ms

--- 10.160.34.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 1.956/2.034/2.130/0.080 ms

Commit at will. :-)
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2007-07-07 11:08:38 UTC
thank you, committed.