LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-07-2011, 09:27 PM   #1
blink182
LQ Newbie
 
Registered: Oct 2010
Posts: 29

Rep: Reputation: 0
Smile insmod unifi_sdio.ko ERROR : Unknown Symbol


Hi there . When I tried to insert module in my linux system run on AT91SAM9261EK , I've got something like :

PHP Code:
# insmod unifi_sdio.ko
unifi_sdioUnknown symbol CsrSdioF0Write8
unifi_sdio
Unknown symbol CsrSdioWrite16
unifi_sdio
Unknown symbol CsrSdioF0Read8
unifi_sdio
Unknown symbol CsrSdioInterruptAcknowledge
unifi_sdio
Unknown symbol CsrSdioRead8
unifi_sdio
Unknown symbol CsrSdioInterruptEnable
unifi_sdio
Unknown symbol CsrSdioRead16
unifi_sdio
Unknown symbol CsrSdioFunctionDriverUnregister
unifi_sdio
Unknown symbol CsrSdioRead
unifi_sdio
Unknown symbol csr_sdio_set_max_clock_speed
unifi_sdio
Unknown symbol CsrSdioFunctionDriverRegister
unifi_sdio
Unknown symbol CsrSdioFunctionEnable
unifi_sdio
Unknown symbol CsrSdioInterruptDisable
unifi_sdio
Unknown symbol CsrSdioWrite8
unifi_sdio
Unknown symbol CsrSdioFunctionDisable
unifi_sdio
Unknown symbol CsrSdioWrite
insmod
cannot insert 'unifi_sdio.ko'unknown symbol in module 

and during the compilation , I have got some warnings which are consistent with the error message mentioned :

PHP Code:
Script started on TuesdayMarch 082011 AM10:55:07 HKT
]0;root@steven-desktop: /home/steven/AT91/SDIOroot@steven-desktop:/home/steven/AT91/SDIO# cd okska

]0;root@steven-desktop: /home/steven/AT91/SDIO/oskaroot@steven-desktop:/home/steven/AT91/SDIO/oska# cd linux

]0;root@steven-desktop: /home/steven/AT91/SDIO/oska/linuxroot@steven-desktop:/home/steven/AT91/SDIO/oska/linux# ./build arm-linux

makeEntering directory `/home/steven/AT91/SDIO/oska/linux'

make -C /home/steven/AT91/kernel/linux-2.6.33 M=/home/steven/AT91/SDIO/oska/linux/../linux \

        O= V=

make[1]: Entering directory 
`/home/steven/AT91/kernel/linux-2.6.33'

  LD      /home/steven/AT91/SDIO/oska/linux/../linux/built-in.o

  CC [M]  /home/steven/AT91/SDIO/oska/linux/../linux/compat.o

  CC [M]  /home/steven/AT91/SDIO/oska/linux/../linux/event.o

  CC [M]  /home/steven/AT91/SDIO/oska/linux/../linux/print.o

  CC [M]  /home/steven/AT91/SDIO/oska/linux/../linux/thread.o

  LD [M]  /home/steven/AT91/SDIO/oska/linux/../linux/oska.o

.......

  CC [M]  /home/steven/AT91/SDIO/sdioemb/linux/bt_a/quirks.o

  LD [M]  /home/steven/AT91/SDIO/sdioemb/linux/bt_a/sdio_bt_a.o

  Building modules, stage 2.

  MODPOST 6 modules

WARNING: "os_thread_create" [/home/steven/AT91/SDIO/sdioemb/sdio.ko] undefined!

WARNING: "os_vprint" [/home/steven/AT91/SDIO/sdioemb/sdio.ko] undefined!

WARNING: "os_thread_should_stop" [/home/steven/AT91/SDIO/sdioemb/sdio.ko] undefined!

WARNING: "os_thread_stop" [/home/steven/AT91/SDIO/sdioemb/sdio.ko] undefined!

WARNING: "os_event_raise" [/home/steven/AT91/SDIO/sdioemb/sdio.ko] undefined!

WARNING: "os_event_init" [/home/steven/AT91/SDIO/sdioemb/sdio.ko] undefined!

WARNING: "os_event_wait" [/home/steven/AT91/SDIO/sdioemb/sdio.ko] undefined!

WARNING: "os_vprint" [/home/steven/AT91/SDIO/sdioemb/cards/sdio_lib_bt_a.ko] undefined!

....


  CC [M]  /home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/sme_mgt.o

  CC [M]  /home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/sme_blocking.o

  CC [M]  /home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/wext_events.o

  CC [M]  /home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/sme_wext.o

  LD [M]  /home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.o

  Building modules, stage 2.

  MODPOST 1 modules

WARNING: "CsrSdioWrite" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioFunctionDisable" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioWrite8" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioInterruptDisable" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioFunctionEnable" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioFunctionDriverRegister" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "csr_sdio_set_max_clock_speed" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioRead" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioFunctionDriverUnregister" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioRead16" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioInterruptEnable" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioRead8" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioInterruptAcknowledge" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioF0Read8" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioWrite16" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

WARNING: "CsrSdioF0Write8" [/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko] undefined!

  CC      /home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.mod.o

  LD [M]  /home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/driver/unifi_sdio.ko

make[1]: Leaving directory `/home/steven/AT91/kernel/linux-2.6.33'

make -/home/steven/AT91/SDIO/unifi-linux/os_linux/driver/../../os_linux/tools

............... 
I suspect I have missed some kernel settings when I compiled my kernel so that the kernel cannot recognize those functions ... I would appreciate for your help ...
 
Old 03-08-2011, 11:29 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,127

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
You're not getting libs or headers during the build stage. Hence the errors. Check that the symlink /lib/modules/<Your_Kernel_Version>/build points at a kernel source with the kernel built in it. If you ran 'make clean', best to run make again. Also check kernel headers are installed. That failing, go after 'os_thread_create' & friends in google to see what you haven't got, and get it.
 
Old 03-10-2011, 02:24 AM   #3
blink182
LQ Newbie
 
Registered: Oct 2010
Posts: 29

Original Poster
Rep: Reputation: 0
Problem is solved by building with support for Linux MMC/SD/SDIO driver . Thanks .
 
  


Reply

Tags
driver, insmod, kernel config, kernel module


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
insmod error: unresolved symbol rhf417 Linux - Software 3 01-13-2011 03:58 AM
initrd error - "error inserting'/lib/uhci-hcd.ko' : -1 Unknown symbol in module" os.techie Fedora 2 02-04-2009 11:36 AM
error: Unknown symbol leds_list beparas Linux - Software 0 12-31-2008 06:11 AM
Unknown symbol error with azalia soundcard debianbox Debian 3 02-28-2005 07:13 AM
unresolved symbol when I insmod nfs jimieee Linux - Networking 3 10-14-2003 07:34 AM


All times are GMT -5. The time now is 08:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration