6/27に試したように WHR-G54 のドライバを試してみる。
なお、ドライバをダウンロードする際、
よく「このドライバは XX 用です。他の機種では使用してはいけません」など
と他機種での使用を禁止している使用許諾契約がある。
WHR-G54 (に限らず Buffalo のファーム)に、
そういった使用許諾契約があるのかと Buffalo に確認してみたが、
「ない」とのこと。
6/27 のとおり、 broadcom/11g/wl/wl.o をインストールしてみる
[root@hackkit wl]# lsmod Module Size Used by Not tainted [root@hackkit wl]# insmod -f wl.o Warning: kernel-module version mismatch wl.o was compiled for kernel version 2.4.18_mvl30-sandpoint while this kernel is version 2.4.19_mvl21-sandpoint wl.o: unresolved symbol bcm_atoi wl.o: unresolved symbol bcm_parse_tlvs wl.o: unresolved symbol srom_write wl.o: unresolved symbol dma_rxinit wl.o: unresolved symbol sb_coreflags wl.o: unresolved symbol osl_pci_read_config wl.o: unresolved symbol dma_detach wl.o: unresolved symbol srom_read wl.o: unresolved symbol HWCtl_Led_Up wl.o: unresolved symbol dma_rx wl.o: unresolved symbol sb_boardstyle wl.o: unresolved symbol dma_rxreclaim wl.o: unresolved symbol dma_rxfill wl.o: unresolved symbol dma_txreclaim wl.o: unresolved symbol getintvar wl.o: unresolved symbol osl_pktget wl.o: unresolved symbol pktqinit wl.o: unresolved symbol pktenq wl.o: unresolved symbol dma_attach wl.o: unresolved symbol sb_pcmcia_init wl.o: unresolved symbol dma_txinit wl.o: unresolved symbol pktcopy wl.o: unresolved symbol sb_core_reset wl.o: unresolved symbol sb_core_tofixup wl.o: unresolved symbol dma_txsuspend wl.o: unresolved symbol dma_getnexttxp wl.o: unresolved symbol sb_setcore wl.o: unresolved symbol pktdeq wl.o: unresolved symbol HWCtl_Led_Down wl.o: unresolved symbol sb_attach wl.o: unresolved symbol dma_txreset wl.o: unresolved symbol dma_getvar wl.o: unresolved symbol sb_detach wl.o: unresolved symbol osl_pktfree wl.o: unresolved symbol dma_txresume wl.o: unresolved symbol sb_coreflagshi wl.o: unresolved symbol dma_rxreset wl.o: unresolved symbol sockfd_lookup wl.o: unresolved symbol crc32 wl.o: unresolved symbol sb_corerev wl.o: unresolved symbol sb_bus wl.o: unresolved symbol sb_coreidx wl.o: unresolved symbol sb_gpiocontrol wl.o: unresolved symbol sb_boardtype wl.o: unresolved symbol dma_txfast wl.o: unresolved symbol sb_core_disable wl.o: unresolved symbol sb_coreunit wl.o: unresolved symbol sb_chiprev wl.o: unresolved symbol sb_pci_setup wl.o: unresolved symbol bcm_ether_atoe wl.o: unresolved symbol sb_chip wl.o: unresolved symbol sb_coreid wl.o: unresolved symbol sb_boardvendor wl.o: unresolved symbol pkttotlen wl.o: unresolved symbol getvar wl.o: unresolved symbol bcm_ether_ntoa wl.o: unresolved symbol osl_pci_write_config wl.o: unresolved symbol sb_iscoreup wl.o: Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols. Contact the module supplier for assistance, only they can help you.むむむ。シンボルがぜんぜん足りない。
broadcom/11g の下には、もうひとつモジュールがあったのを思い出した。
[root@hackkit wl]# cd .. [root@hackkit 11g]# ls hnd wl [root@hackkit 11g]# cd hnd/ [root@hackkit hnd]# ls hnd.o [root@hackkit hnd]# insmod -f hnd.o Warning: kernel-module version mismatch hnd.o was compiled for kernel version 2.4.18_mvl30-sandpoint while this kernel is version 2.4.19_mvl21-sandpoint Warning: loading hnd.o will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modules Warning: loading hnd.o will taint the kernel: forced load Module hnd loaded, with warnings [root@hackkit hnd]# lsmod Module Size Used by Tainted: PF hnd 37456 0 (unused) [root@hackkit hnd]# cd .. [root@hackkit 11g]# ls hnd wl [root@hackkit 11g]# cd wl [root@hackkit wl]# ls wl.o [root@hackkit wl]# insmod -f wl.o Warning: kernel-module version mismatch wl.o was compiled for kernel version 2.4.18_mvl30-sandpoint while this kernel is version 2.4.19_mvl21-sandpoint wl.o: unresolved symbol HWCtl_Led_Up wl.o: unresolved symbol HWCtl_Led_Down wl.o: unresolved symbol sockfd_lookup wl.o: Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols. Contact the module supplier for assistance, only they can help you.もうちょっと。
でも、よく見ると
HWCtl_Led_Up, HWCtl_Led_Down は melco_hwctl.c にあるシンボルだし、
sockfd_lookup は socket.c にあるシンボルだし、、、
このあたり、相変わらずよくわかってないので、もうちょっと調査が必要。
餅屋への道は長い
← | ハックの記録 | → タイマーによる起動/停止(6) |