LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-10-2005, 10:32 AM   #1
Luc484
Member
 
Registered: Dec 2004
Distribution: Kubuntu
Posts: 62

Rep: Reputation: 15
Unknown symbol with linux kernel


Hi. It's been some days I'm having this problem. I tried to configure a usb device (a camera), but I found out it wasn't working. So, I checked the kernel modules, and found out everything was ok. So, I read the dmesg output, and there was nothing about usb-storage. So, I tried to compile usb_storage as module in the kernel (2.6.13-r3), and then modprobe it. When I do this, I get:

Code:
cluca linux # modprobe usb_storage
FATAL: Error inserting usb_storage (/lib/modules/2.6.13-gentoo-r3/kernel/drivers/usb/storage/usb-storage.ko): Unknown symbol in module, or unknown parameter (see dmesg)
and this is then the output of dmesg:

Code:
usb_storage: Unknown symbol usb_alloc_urb
usb_storage: Unknown symbol usb_free_urb
usb_storage: Unknown symbol usb_sg_init
usb_storage: Unknown symbol usb_unlock_device
usb_storage: Unknown symbol usb_register
usb_storage: Unknown symbol usb_sg_cancel
usb_storage: Unknown symbol usb_reset_device
usb_storage: Unknown symbol usb_submit_urb
usb_storage: Unknown symbol usb_deregister
usb_storage: Unknown symbol usb_lock_device_for_reset
usb_storage: Unknown symbol usb_unlink_urb
usb_storage: Unknown symbol usb_buffer_free
usb_storage: Unknown symbol usb_sg_wait
usb_storage: Unknown symbol usb_buffer_alloc
I got this same behavior with another kernel 2.6.12-r10, but with the ppp module. That's why I left that kernel for 2.6.13-r3. Is there anyone able to explain to me the reason for this error or something about it? Should I choose yet another kernel version or is it possble to solve the problem someway?
Thanks for any help.
 
Old 10-10-2005, 04:18 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
This looks like you need to compile one or more dependant modules, probably usb-core and/or usb-storage. Also, make sure you've run depmod -a after compiling the module.

If you use xconfig to set up, and compile all modules in one go, then this will handle dependencies for you.

You could also grep through the kernel source to find the module name (man 5 grep).
 
Old 10-10-2005, 04:30 PM   #3
Luc484
Member
 
Registered: Dec 2004
Distribution: Kubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
usb_core has been compiled built-in and usb_core is the one I'm trying to load, so it is compiled as a module.
I commonly use menuconfig, I'll try xconfig.
The strange thing is that now I managed to solve this problem, even if I don't know if only temporary. I copied the some .config file of that kernel to another I downloaded (2.6.12-r9), and re-compiled everything without changing anything else. The compilation went ok, I rebooted and now it works perfectly. So, I don't think it could be something like lack of some needed module. What do you think? Now, I'm trying to re-download the same sources of the first kernel which gave me problems, and I'm trying to recompile everything from the beginning, using the same .config file. I'm curious to see what will happen.
Another strange thing is that it seems google cannot help me so much on this issue. I mostly found something regard this error in German language.
Thanks for your answer.
 
  


Reply


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
'Unknown symbol usb_kill_urb' Qwertie Linux - Hardware 0 12-20-2004 10:46 AM
modprobe -> Unknown symbol in module sara_W Linux - Wireless Networking 1 09-13-2004 01:32 AM
unknown symbol sys_mknod in module? dklaming Linux - General 0 05-07-2004 12:55 PM
sbp2: Unknown symbol chichibabin Mandriva 0 02-17-2004 08:21 AM
Sound in kernel 2.6: Lots of "Unknown Symbol" errors jemenake Linux - General 0 10-22-2003 10:09 PM


All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
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