[Comm] карта WiFi доступа Zyxel G202EE

Рахашан =?iso-8859-1?q?rahashan_=CE=C1_mail=2Eru?=
Пн Ноя 19 11:04:10 MSK 2007


>         У Вас ошибка не в доступе на запись в папку, а в отсутствии таковой
> (/lib/modules/2.6.18-std-smp-alt7/build: No such file or directory). 
> Судя по всему нужно установить kernel-headers-std-smp. А лучше всего -
> взять за основу src.rpm какого-то kernel-modules, и по-честному 
> слизав/переделав оттуда spec-файл собрать модуль для своего оборудования.

Я так и понял сам при здравом рассуждении :-). Вчера уже ночью
загрузил пакет kernel-headers-std-smp, и вот что выдала команда make:
[root на localhost zd1211-driver-r83]# make
/lib/modules/2.6.18-std-smp-alt7/build
/home/rahashan/tmp/zd1211/zd1211-driver-r83
-I/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -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 -DZD1211B
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.18-std-smp-alt7/build SUBDIRS=/home/rahashan/tmp/zd1211/zd1211-driver-r83 modules
make[1]: Entering directory `/usr/src/linux-2.6.18-std-smp-alt7'
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:42:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1279: warning: ‘zd_readl’ declared inline after being called
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1279: warning: previous declaration of ‘zd_readl’ was here
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c: In function ‘zd1205_validate_frame’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:2809: warning: unused variable ‘len1’
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c: In function ‘zd1205_translate_scan’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7183: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘U32’
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7183: warning: unknown conversion type character ‘,’ in format
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7183: warning: spurious trailing ‘%’ in format
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c: In function ‘zd1205_list_bss’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7388: warning: format ‘%2d’ expects type ‘int’, but argument 2 has type ‘U32’
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7388: warning: spurious trailing ‘%’ in format
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c: At top level:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7527: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7608: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7697: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:7713: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c: In function ‘CalculateQuality’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:10074: warning: unused variable ‘rxOffset’
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c: In function ‘zd1205_tx_isr’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.c:2030: warning: ‘sw_tcb’ may be used uninitialized in this function
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdasocsvc.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdasocsvc.c:5:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdauthreq.o
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdauthrsp.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdauthrsp.c:5:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdmmrx.o
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdshared.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.h:8,
                 from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdshared.c:5:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhci.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhci.c:6:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdglobal.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.h:8,
                 from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdglobal.c:5:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdencrypt.o
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdpmfilter.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdpmfilter.c:5:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdpsmon.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.h:8,
                 from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdpsmon.c:5:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdsynch.o
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdbuf.o
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205_proc.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205_proc.c:36:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhw.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.h:8,
                 from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhw.c:8:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhw.c: In function ‘HW_Set_AL7230B_RF_Chips’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhw.c:1522: warning: unused variable ‘i’
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhw.c: In function ‘HW_Set_AL2232_RF_Chips’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdhw.c:1868: warning: unused variable ‘macp’
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.h:8,
                 from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.c:4:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.c: In function ‘zd1205_cont_tx’:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.c:921: warning: ‘return’ with a value, in function returning void
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdtkipseed.o
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdmic.o
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdusb.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zdusb.c:43:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
  CC [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1211.o
In file included from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zddebug.h:8,
                 from /home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1211.c:39:
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
/home/rahashan/tmp/zd1211/zd1211-driver-r83/src/zd1211.c:1555:5: warning: "fVERIFY_FLASH" is not defined
  LD [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/zd1211b.o
  Building modules, stage 2.
  MODPOST
  CC      /home/rahashan/tmp/zd1211/zd1211-driver-r83/zd1211b.mod.o
  LD [M]  /home/rahashan/tmp/zd1211/zd1211-driver-r83/zd1211b.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18-std-smp-alt7'

Судя по всему, драйвер все-таки установился, правда не совсем
корректно, команда make install прошла нормально, но интерфейс wlan0
так и не появился.
В /var/log/messages пишет ошибку по поводу wlan0.


-- 
С уважением,
 Рахашан                          mailto:rahashan на mail.ru




Подробная информация о списке рассылки community