I'm buying what I think is a PrismII-based PCMCIA card tomorrow for $30 at Fry's and am trying to build the drivers for it tonight... but I'm not having a ton of luck. :-\
I am running kernel 2.6.0-test11 with PCMCIA enabled as a module. My last WiFi card (which I fried, BTW) worked fine (until it was fried).
I understand linux-wlan-ng is the only way to get these PrismII cards working, so I tried to emerge it. No go, it bails out looking for modversions.h in /usr/src/linux. Why things keep doing that, I wish I understood! Actually, it was the pcmcia_cs crap doing that.
So I tried the ~x86. Same thing. So I cut the pcmcia stuff out. This time it starts building, but errors out looking for /usr/src/linux/arch/x86/Makefile - duhhh... no directory there. So I symlink it from /usr/src/linux/arch/i386. Try again. Now we're making some progress, it errors out with a sandbox violation:
Code: Select all
make[3]: Entering directory `/usr/src/linux'
MKELF scripts/elfconfig.h
ACCESS DENIED open_wr: /usr/src/linux/scripts/elfconfig.h
/bin/sh: line 1: scripts/elfconfig.h: Permission denied
make[4]: *** [scripts/elfconfig.h] Error 1
make[3]: *** [scripts] Error 2
make[3]: Leaving directory `/usr/src/linux'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre11/work/linux-wlan-ng-0.2.1-pre11/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre11/work/linux-wlan-ng-0.2.1-pre11/src'
make: *** [all] Error 2
!!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre11 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! failed compilingMake runs along merrily compiling this that and the other thing.... until WAM! It hits me like a ton of bricks:
Code: Select all
CC [M] /home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2_cs.o
In file included from /home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2_cs.c:5:
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c: In function `prism2sta_attach':
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c:2827: structure has no member named `release'
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c:2828: structure has no member named `release'
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c:2829: structure has no member named `release'
In file included from /home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2_cs.c:5:
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c: In function `prism2sta_detach':
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c:2919: structure has no member named `release'
In file included from /home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2_cs.c:5:
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c: In function `prism2sta_event':
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c:3387: structure has no member named `release'
/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2sta.c:3388: structure has no member named `release'
make[5]: *** [/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver/prism2_cs.o] Error 1
make[4]: *** [/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver] Error 2
make[4]: Leaving directory `/usr/src/linux'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2/driver'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rob/linux-wlan-ng-0.2.1-pre11/src/prism2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rob/linux-wlan-ng-0.2.1-pre11/src'
make: *** [all] Error 2Code: Select all
make[2]: Entering directory `/home/rob/linux-wlan-ng-0.2.0/src/p80211'
gcc -E -M -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium4 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -DMODULE -I../include -DCONFIG_PACKET=1 p80211conv.c p80211req.c p80211frm.c p80211wext.c p80211wep.c p80211netdev.c p80211mod.c > .depend
In file included from p80211conv.c:73:
../include/wlan/wlan_compat.h:314:31: linux/modversions.h: No such file or directory
p80211req.c:70:22: net/sock.h: No such file or directory
In file included from p80211req.c:73:
../include/wlan/wlan_compat.h:314:31: linux/modversions.h: No such file or directory
In file included from p80211frm.c:68:
../include/wlan/wlan_compat.h:314:31: linux/modversions.h: No such file or directory
p80211wext.c:51:28: net/iw_handler.h: No such file or directory
In file included from p80211wext.c:58:
../include/wlan/wlan_compat.h:314:31: linux/modversions.h: No such file or directory
In file included from p80211wep.c:59:
../include/wlan/wlan_compat.h:314:31: linux/modversions.h: No such file or directory
p80211netdev.c:74:28: net/iw_handler.h: No such file or directory
In file included from p80211netdev.c:81:
../include/wlan/wlan_compat.h:314:31: linux/modversions.h: No such file or directory
In file included from p80211mod.c:69:
../include/wlan/wlan_compat.h:314:31: linux/modversions.h: No such file or directory
make[2]: *** [.depend] Error 1
make[2]: Leaving directory `/home/rob/linux-wlan-ng-0.2.0/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rob/linux-wlan-ng-0.2.0/src'
make: *** [all] Error 2I'm stumped, I don't know where to go from here... so has anybody gotten there prismII-based card working with their shiney new 2.6.0-testWhatever kernel? If they have, how'd they do it? I'd love some pointers, maybe a patch or something, or even a nice swift kick into the proper google search terms, although I did google this one quite extensively, I think. My googling ability is always lacking, however... The Force is not with me, I fear.
Rob[/code]




