Morgen,
nachdem mir gestern entgültig der Geduldsfaden gerissen ist, hab ich meine D-Linkkarte ausgebaut und mit dem USB-Stick (ZyAir G220) meiner Freundin ausgetauscht. Die freut sich jetzt natürlich, weil die D-Linkkarte unter Windows stabiler läuft wie der Stick. Warum auch immer hat der nach zwei Stunden die Verbindung gecapt und sich nur durch einen Neustart des Rechners wieder aktivieren lassen.
Jetzt aber zu meinem Problem.
Es gibt für diesen USB Stick eine sehr schöne Anleitung mit Makeinstall und Treiber vom Hersteller. Allerdings wirft die Installationsroutine bei mir ein paar Fehler aus denen ich nicht schlau werde. Ich werd deswegen die Anleitung des Herstellers inkl. meinem Vorgehen und den daraus entstanden Fehlern der Reihe nach aufpinseln und hoffe das von euch jemand daraus schlau wird.
Reqirements:
---------------------
- Kernel 2.4.x. I am developing the driver on 2.4.24, but it
reportedly also works on 2.4.x. If your kernels version is less than
2.4.22 (for example Red Hat 9.0 is 2.4.20-8), suggest to upgrade kernel
for better support on USB 2.0.
- Kernel 2.6.x. This driver has been verify on 2.6.6 and 2.6.7.
- To build zd1211 you will need: Configured kernel source code for the
kernel you are running. Ideally, Configured means that you have at
least run 'make config', 'make menuconfig', or 'make xconfig'. If your
platform is not SMP system, please don't config SMP supported, because
when module loaded, this will make unresolved symbol..
- Make sure your kernel usb 2.0 support is running
- Use lsmod to check "ehci-hcd" module is loaded.
- If host is not support usb 2.0, zd1211 will run under pure-b mode.
"Die Kernel Source ist definitiv installiert, beim check mit lsmod wird ehci-hcd aufgelistet, allerdings weis ich nicht wie ich den Kernel Source Code für meinen aktuellen Kernel konigurieren soll."
Building zd1211:
------------------------
1) untar the package using the command:
tar zxvf zd1211-XXXX.tar.gz
2) edit the Makefile to make sure the path of KERNEL_SOURCE is your
are running, and the kernel version is correctly configure.
3) Under zd1211_XXXX/zdsta directory, use "make clean", "make", "make install"
to make and install driver.
"Das Packet hab ich ausgepackt, allerdings weiß ich nicht ob der Ordner in dem das entpackt wurde egal ist oder nicht. Ich nehm mal an ja, es liegt jetzt im Ordner root.
Zum Punkt zwei bin ich etwas verunsichert. Ich hab in der Makefile das Verzeichnis meiners Kernels abgeändert. Allerdings tauchen in meinem /usr/src/ Verzeichnis 5 Linux-Ordner auf. Einmal einmal "linux" und dann noch "linux2.6.13-16", "linux2.6.13-16.8" und dann noch "linux2.6.13-16.8-obj" und nur "linux-obj". Welchen davon soll ich in die Makefile eintragen? Ich habe momentan diesen "linux2.6.13-16.8" drin stehen.
Ich habe jetzt der Reihe nach make clean, make und make install eingegeben. Beim ausführen von make und make install kommen folgende meldungen:
Code:
make both
make[1]: Entering directory `/root/ZD1211LnxDrv_2_0_0_0'
make ZD1211REV_B=0
make[2]: Entering directory `/root/ZD1211LnxDrv_2_0_0_0'
/lib/modules/2.6.13-15.8-default/build
/root/ZD1211LnxDrv_2_0_0_0
-I/root/ZD1211LnxDrv_2_0_0_0/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.13-15.8-default/build SUBDIRS=/root/ZD1211LnxDrv_2_0_0_0 modules
make[3]: Entering directory `/usr/src/linux-2.6.13-15.8-obj/i386/default'
make -C ../../../linux-2.6.13-15.8 O=../linux-2.6.13-15.8-obj/i386/default modules
CC [M] /root/ZD1211LnxDrv_2_0_0_0/src/zd1205.o
In file included from /root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:42:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.h:663: warning: ‘__packed__’ attribute ignored
In file included from /root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:43:
/root/ZD1211LnxDrv_2_0_0_0/src/zdinlinef.h: In function ‘Cfg_CtrlSetting’:
/root/ZD1211LnxDrv_2_0_0_0/src/zdinlinef.h:352: warning: ‘LenInUs’ may be used uninitialized in this function
/root/ZD1211LnxDrv_2_0_0_0/src/zdinlinef.h:353: warning: ‘NextLenInUs’ may be used uninitialized in this function
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: At top level:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:238: warning: function declaration isn’t a prototype
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:239: warning: function declaration isn’t a prototype
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:304: warning: useless storage class specifier in empty declaration
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_house_keeping’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:1229: warning: unused variable ‘tmpvalue’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_config’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:2099: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘U32’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_close’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:580: sorry, unimplemented: inlining failed in call to ‘zd_readl’: function not considered for inlining
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:487: sorry, unimplemented: called from here
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:540: sorry, unimplemented: inlining failed in call to ‘zd_writel’: function not considered for inlining
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:489: sorry, unimplemented: called from here
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_xmit_frame’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:4427: warning: suggest parentheses around && within ||
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_watchdog’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:5061: warning: unused variable ‘ssidLenToDump’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:5060: warning: unused variable ‘cbTemp’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_ioctl_setiwencode’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:5381: warning: unused variable ‘bReconnect’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205wext_siwscan’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:6128: warning: unused variable ‘ul_mac_ps_state’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:6127: warning: unused variable ‘i’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_translate_scan’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:6277: warning: unknown conversion type character ‘,’ in format
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:6277: warning: spurious trailing ‘%’ in format
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_list_bss’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:6415: warning: spurious trailing ‘%’ in format
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_ioctl’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:6682: warning: ‘verify_area’ is deprecated (declared at include2/asm/uaccess.h:105)
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_load_card_setting’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:7422: warning: suggest parentheses around assignment used as truth value
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zdcb_AssocRequest’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:8602: error: implicit declaration of function ‘HashSearch’
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:8602: warning: assignment makes pointer from integer without a cast
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘zd1205_set_zd_cbs’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:8658: warning: assignment from incompatible pointer type
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c: In function ‘CalculateQuality’:
/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.c:8858: warning: ISO C90 forbids mixed declarations and code
make[6]: *** [/root/ZD1211LnxDrv_2_0_0_0/src/zd1205.o] Error 1
make[5]: *** [_module_/root/ZD1211LnxDrv_2_0_0_0] Error 2
make[4]: *** [modules] Error 2
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.13-15.8-obj/i386/default'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ZD1211LnxDrv_2_0_0_0'
make[1]: *** [both] Error 2
make[1]: Leaving directory `/root/ZD1211LnxDrv_2_0_0_0'
make: *** [all] Error 2
So, und nun weis ich nicht weiter. Ich hoffe das da jemand damit klar kommt.
Danke für eure Hilfe
Gruß Curry
PS.: Besondere Grüße auch an Rain Maker ;-) Hoffe du hast dir ds gestern nicht zu sehr zu Herzen genommen, war nur wahnsinnig genervt von der Sche.... gestern
Lesezeichen