Cann't load dummy.o

Cann't load dummy.o

Post by Chunan Ch » Mon, 01 Jan 1996 04:00:00

   I am running Linux kernel 1.2.8.  When I tried to load dummy.o with
the following command, "insmod -o dummy0 dummy.o", I got the
"_kernel_version undefined" messge.  What did I do wrong?  Is there
any suggestion?

Thanks you very much.

Chunan Chen


1. Cannot load module 'dummy.o'. HELP!

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

2. milicious or destructive objects

3. cann't load modules

4. Producer Consumer problem

5. Linux dummy can't configure dummy interface

6. TCP Timeout

7. Lilo won't load os/2, os/2 won't load lilo

8. Unresolved symbols message when booting

9. cann't get NetRAID cards to work under Red Hat 7.3, 8.0 or 9.0

10. I cann't install MySQL 3.22 on RedHat 6.1

11. mc cann't enter into a tar archive

12. My samba cann't make Connection from Linux to Win2000