On Mon, Sep 03, 2001 at 12:04:32PM +0530, Sourav Sen wrote: > > karthik wrote: > > > > > 1. I compiled the 8139too.c with the version and include path. > > > But when i tried to insmod it gives > > > > > > unresolved symbol pci_map_single > > > unresolved symbol ioremap > > > unresolved symbol pci_unmap_single > > AFAIK, Before you load 8139too.o you have to load the > module pci_scan.o then perhaps the problem will go away. No, there is no such module pci_scan.o. The functions pci_map_single() and pci_unmap_single() are inline functions in include/asm-i386/pci.h, and ioremap() is an inline function in include/asm-i386/io.h. What I think what happened is that the original poster forgot to compile the module with -O2, so the functions didn't get inlined at all. *Always* compile kernel code with -O2. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/