Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 10-10-2005, 09:32 AM   #1
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:

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:

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, 03:18 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
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, 03:30 PM   #3
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.


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

All times are GMT -5. The time now is 07:11 PM.

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