Cannot load module 'dummy.o'. HELP!

Cannot load module 'dummy.o'. HELP!

Post by Jerry Hob » Fri, 01 Mar 1996 04:00:00



I am attempting to load the module "dummy0" so that I can support
multi-homing with my WEB server under Linux.  I recompiled the kernel
with support for MODULES and for the DUMMY net driver.  I also
reviewed and followed the instructions in the
'/usr/src/linux/README.modules' file.  

After some hacking, it appears that when everything compiles, dummy.c
is compiled without the -DMODULE arguement.  When I try to load the
module, I get this response.  

        linux# insmod -o dummy0 /usr/src/linux/drivers/net/dummy.o  
                (looksym) _kernel_version undefined  

I thought I would try putting the -DMODULE parameter myself and
recompile. This produced a much larger object file, but the load also
failed with this response:  

        linux# insmod -o dummy0 /usr/src/linux/drivers/net/dummy.o

                (main) _ether_setup undefined  
                (main) _dev_kfree_skb undefined  
                (main) _dev_get undefined  
                (main) _sprintf undefined  
                (main) _register_netdev undefined  
                (main) _printk undefined  
                (main) _unregister_netdev undefined  
                Failed to load module !  

I have a directory called '/lib/modules/1.2.8/net' with these files.
Note the absence of dummy.o.  I don't know if that indicates anything.

-rw-r--r--   1 root     root         5135 Feb 29 01:06 3c501.o
-rw-r--r--   1 root     root         7320 Feb 29 01:06 3c509.o
-rw-r--r--   1 root     root        14184 Feb 29 01:07 apricot.o
-rw-r--r--   1 root     root        15786 Feb 29 01:07 arcnet.o
-rw-r--r--   1 root     root        23541 Feb 29 01:07 de4x5.o
-rw-r--r--   1 root     root         8030 Feb 29 01:06 de600.o
-rw-r--r--   1 root     root        15979 Feb 29 01:06 de620.o
-rw-r--r--   1 root     root        11676 Feb 29 01:06 depca.o
-rw-r--r--   1 root     root         8404 Feb 29 01:06 eexpress.o
-rw-r--r--   1 root     root        14409 Feb 29 01:07 ewrk3.o
-rw-r--r--   1 root     root           93 Feb 29 01:06 wavelan.o

O'kay, that is about all I can say about this subject.  If you have
any idea why this doesn't work for me, please help me out if you have
the time.  I am getting a little frustrated because the READMEs and
docs haven't solved this problem.  

If you could resond via email, I would appreciate it.  Thanks, Jerry