[NBLUG/talk] ADMTEK 8211 driver for 2.6 kernel (FC2)

Dave Sisley dsisley at arczip.com
Tue May 25 07:30:32 PDT 2004


On Tue, May 25, 2004 at 01:35:16AM -0700, Andrew wrote:
> 
> Well, the sourmilk.net module *is* beta. Why don't you contact
> the developer and let him know exactly how make is failing. It'll
> help him fix the problem, which will, in turn, get you a working
> kernel module. And you'd be helping tens of thousands of
> Linux-using ADMTek owners, as well.

You're right, damn it.  I'll do it.  For the geeks!

(Maybe you guys can help, too. See below)

> 
> In the meantime, maybe you could try using ndiswrapper
> ( http://ndiswrapper.sourceforge.net/ ) with a Windows driver?
> It's an ugly hack, to be sure, but it's probably better than
> nothing.

Hmm... I'll go with the first option.

I will send an email to the maintainer of the sourmilk driver:

Michael Wu <flamingice at sourmilk.net>

I'm sending him the following output from make, make install and
insmod.  Maybe some of the 'thousands of eyes' of NBLUG (well, dozens
maybe) can see something obvious in the error messages.  

I would not be surprised to learn I'm doing something wrong here.

Let me know, and I will of course forward it to Mr. Wu.

Thanks!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following output is on a simple Dell box running a fresh install
of Fedora Core 2.  The kernel Fedora 2 uses is 2.6.5-1.358

The wireless card I am using is a Belkin F5D6001, version 2.  The card
was working great with the 2.4 kernel under Fedora Core 1.  I was
using the '105' driver from admtek.

Please let me know if you need any further information.

RUNNING MAKE:
------------
[root at jupiter adm8211]# make
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/home/dsisley/downloads/ADM/adm82 11 modules
make[1]: Entering directory `/lib/modules/2.6.5-1.358/build'
  CC [M]  /home/dsisley/downloads/ADM/adm8211/adm8211_hw.o
/home/dsisley/downloads/ADM/adm8211/adm8211_hw.c: In function `adm8211_probe':
/home/dsisley/downloads/ADM/adm8211/adm8211_hw.c:2078: warning: ignoring return value of `pci_set_consistent_dma_mask', declared with attribute warn_unused_result
/home/dsisley/downloads/ADM/adm8211/adm8211_hw.c: In function `adm8211_resume':
/home/dsisley/downloads/ADM/adm8211/adm8211_hw.c:2281: warning: ignoring return value of `pci_enable_device', declared with attribute warn_unused_result
  CC [M]  /home/dsisley/downloads/ADM/adm8211/adm8211_ioctl.o
  CC [M]  /home/dsisley/downloads/ADM/adm8211/ieee80211.o
  LD [M]  /home/dsisley/downloads/ADM/adm8211/adm8211.o
  CC [M]  /home/dsisley/downloads/ADM/adm8211/hostap_crypt.o
  CC [M]  /home/dsisley/downloads/ADM/adm8211/hostap_crypt_wep.o
  Building modules, stage 2.
  MODPOST
*** Warning: "hostap_unregister_crypto_ops" [/home/dsisley/downloads/ADM/adm8211/hostap_crypt_wep.ko] has no CRC!
*** Warning: "hostap_register_crypto_ops" [/home/dsisley/downloads/ADM/adm8211/hostap_crypt_wep.ko] has no CRC!
*** Warning: "hostap_get_crypto_ops" [/home/dsisley/downloads/ADM/adm8211/adm8211.ko] has no CRC!
  CC      /home/dsisley/downloads/ADM/adm8211/adm8211.mod.o
  LD [M]  /home/dsisley/downloads/ADM/adm8211/adm8211.ko
  CC      /home/dsisley/downloads/ADM/adm8211/hostap_crypt.mod.o
  LD [M]  /home/dsisley/downloads/ADM/adm8211/hostap_crypt.ko
  CC      /home/dsisley/downloads/ADM/adm8211/hostap_crypt_wep.mod.o
  LD [M]  /home/dsisley/downloads/ADM/adm8211/hostap_crypt_wep.ko
make[1]: Leaving directory `/lib/modules/2.6.5-1.358/build'


RUNNING MAKE INSTALL:
--------------------
[root at jupiter adm8211]# make install
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/home/dsisley/downloads/ADM/adm8211 modules
make[1]: Entering directory `/lib/modules/2.6.5-1.358/build'
  Building modules, stage 2.
  MODPOST
*** Warning: "hostap_unregister_crypto_ops" [/home/dsisley/downloads/ADM/adm8211/hostap_crypt_wep.ko] has no CRC!
*** Warning: "hostap_register_crypto_ops" [/home/dsisley/downloads/ADM/adm8211/hostap_crypt_wep.ko] has no CRC!
*** Warning: "hostap_get_crypto_ops" [/home/dsisley/downloads/ADM/adm8211/adm8211.ko] has no CRC!
make[1]: Leaving directory `/lib/modules/2.6.5-1.358/build'
cp -f adm8211.ko hostap_crypt.ko hostap_crypt_wep.ko /lib/modules/2.6.5-1.358/kernel/drivers/net/wireless/
depmod -a


RUNNING INSMOD:
-------------
[root at jupiter adm8211]# insmod adm8211.o
insmod: error inserting 'adm8211.o': -1 Invalid module format

-- 
Dave Sisley
dsisley at arczip.com
roth-sisley.net




More information about the talk mailing list