Skip to contentSkip to conversation

kernel modules and symbols

DISCUSSION Brian S. Park 1 participant 1 message Jun 20, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,
I got Linux running on our custom board and am in the process of learning how to build the final image to be burned on the flash.

To support our application I wrote simple device driver which maps the physical address space to user space.
During development (NFS file system), it worked good enough. I could install/un-install it without any problem using insmod/rmmod. However, when I tried to install the module when using SELF ramdisk image, I get bunch of unresolved symbols error.

What gives? I'm using exactly the same kernel so the symbols should be there whether I use NFS root or SELF ram disk as root.

Any help will be appreciated.

# insmod FPGA_module
Using /lib/modules/2.4.20/FPGA_module.o
insmod: unresolved symbol remap_page_range
insmod: unresolved symbol create_proc_entry
insmod: unresolved symbol ioremap
insmod: unresolved symbol iounmap
insmod: unresolved symbol proc_mkdir
insmod: unresolved symbol remove_proc_entry
insmod: unresolved symbol sprintf
insmod: unresolved symbol printk

===============================================================
Brian S. Park [email protected] (562) 926-6727 x143
---------------------------------------------------------------
Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost
===============================================================

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/