Wireless DWL-520 (D-link): Compiling module

Joel Hammer joel
Mon May 17 11:58:10 PDT 2004


Trying to install this true PCI wireless card. Here is the blurb from
the kernel (2.4.20):

CONFIG_PCI_HERMES:
     Enable support for PCI and mini-PCI 802.11b wireless NICs based
     on the Prism 2.5 chipset.  These are true PCI cards, not the
     802.11b PCMCIA cards bundled with PCI<->PCMCIA adaptors which
     are also common.  Some of the built-in wireless adaptors in
     laptops are of this variety.

Here is the output of lspci:
00:09.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 01)

After I selected the appropriate  module, compiled it,
and installed it, (make modules;make modules install)
here is what I have in /lib/modules/2.4.20/modules.dep
(along with all the other modules in the world):

     /lib/modules/2.4.20/kernel/drivers/net/wireless/hermes.o:

I take this to mean that hermes.o doesn't have any dependencies.

In this directory:
     /lib/modules/2.4.20/kernel/drivers/net/wireless

I have:
hermes.o

When I try to install this module, I get this:

insmod ./hermes.o
   ./hermes.o: unresolved symbol printk_Rsmp_1b7d4074
   ./hermes.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6

modprobe hermes also fails, with the same error messages.

Doing a google search reveals that this is a well known
problem, with symbol printk etc being a frequent unresolved
symbol.

Running depmod -a gives unresolved symbols errors with
numerous modules although far from all.

I have set version information on all module symbols in
make xconfig before compiling.

uname -a shows:
Linux hammer11 2.4.20 #1 Thu Jun 19 14:13:55 PDT 2003 i686 unknown unknown GNU/Linux

Any insight appreciated,

Joel


More information about the Linux-users mailing list