Re: symbol table....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can you share your .config file to the mailing list? It is located in the kernel base directory e.g. /usr/src/linux-2.6.26 (or wherever the kernel you built is located)

-- Mark

On Dec 28, 2008, at 10:55 PM, niamathullah sharief wrote:


yes you are right....i compiled my kernel with "kernel in nutshell" only....i runned "make modules_install" while i build the kernel....i already told that i disabled the entire usb support when i build the kernel.....so help me what to do....still getting error after i use "depmod -a"...see below...


root@sharief-desktop:/home/sharief/Desktop/drivers/host# modprobe usbcore
root@sharief-desktop:/home/sharief/Desktop/drivers/host# depmod -a
FATAL: Module uhci_hcd not found.
root@sharief-desktop:/home/sharief/Desktop/drivers/host# modprobe ehci-hcd
FATAL: Error inserting ehci_hcd (/lib/modules/2.6.26/kernel/drivers/misc/ehci-hcd.ko): Unknown symbol in module, or unknown parameter (see dmesg)


Dmesg: 


[ 410.459124] usbcore: registered new interface driver usbfs
[ 410.459776] usbcore: registered new interface driver hub
[ 410.463904] usbcore: registered new device driver usb
[ 741.095749] ehci_hcd: Unknown symbol usb_hcd_pci_suspend
[ 741.095866] ehci_hcd: no symbol version for usb_free_urb
[ 741.095873] ehci_hcd: Unknown symbol usb_free_urb
[ 741.095995] ehci_hcd: no symbol version for usb_hub_tt_clear_buffer
[ 741.095999] ehci_hcd: Unknown symbol usb_hub_tt_clear_buffer
[ 741.096119] ehci_hcd: no symbol version for usb_hcd_resume_root_hub
[ 741.096127] ehci_hcd: Unknown symbol usb_hcd_resume_root_hub
[ 741.096296] ehci_hcd: Unknown symbol usb_hcd_pci_probe
[ 741.096390] ehci_hcd: no symbol version for usb_hcd_unlink_urb_from_ep
[ 741.096394] ehci_hcd: Unknown symbol usb_hcd_unlink_urb_from_ep
[ 741.096821] ehci_hcd: no symbol version for usb_hcd_check_unlink_urb
[ 741.096826] ehci_hcd: Unknown symbol usb_hcd_check_unlink_urb
[ 741.097036] ehci_hcd: no symbol version for usb_calc_bus_time
[ 741.097040] ehci_hcd: Unknown symbol usb_calc_bus_time
[ 741.097110] ehci_hcd: no symbol version for ehci_cf_port_reset_rwsem
[ 741.097114] ehci_hcd: Unknown symbol ehci_cf_port_reset_rwsem
[ 741.097278] ehci_hcd: Unknown symbol usb_hcd_pci_shutdown
[ 741.097416] ehci_hcd: no symbol version for usb_hcd_link_urb_to_ep
[ 741.097421] ehci_hcd: Unknown symbol usb_hcd_link_urb_to_ep
[ 741.097581] ehci_hcd: Unknown symbol usb_hcd_pci_resume
[ 741.097697] ehci_hcd: no symbol version for usb_get_urb
[ 741.097702] ehci_hcd: Unknown symbol usb_get_urb
[ 741.097792] ehci_hcd: no symbol version for usb_hcd_giveback_urb
[ 741.097797] ehci_hcd: Unknown symbol usb_hcd_giveback_urb
[ 741.097905] ehci_hcd: no symbol version for usb_hcd_poll_rh_status
[ 741.097910] ehci_hcd: Unknown symbol usb_hcd_poll_rh_status
[ 741.098062] ehci_hcd: Unknown symbol usb_hcd_pci_remove
[ 741.098307] ehci_hcd: no symbol version for usb_root_hub_lost_power
[ 741.098312] ehci_hcd: Unknown symbol usb_root_hub_lost_power
root@sharief-desktop:/home/sharief/Desktop/drivers/host# 

but this all symbols are in "usbcore" module....i installed that too...dont know what to do...kindlyhelp me...



--- On Sun, 28/12/08, Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx> wrote:
From: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>
Subject: Re: symbol table....
To: kernelnewbies@xxxxxxxxxxxx
Cc: shariefbe@xxxxxxxxxxx
Date: Sunday, 28 December, 2008, 2:06 PM

Hi,

Le Sun, 28 Dec 2008 12:30:19 +0530 (IST),
niamathullah sharief <shariefbe@xxxxxxxxxxx> a écrit :

> No....i will explain in detail....actually i planned to install the
> USB driver manually...so i compiled "usbcore" module and
installed
> in...after that i came to know that "ehci-hcd,uhci-hcd or
ohci-hcd"
> driver are also used to USB work...so i tried to compiled that
> too...but when i try to install using "insmod" its shows the
error
> message as "undefined symbols"....when i use
"modprobe" it shows as
> "module not found"When i check the symbols which are not
defined,all
> are belong to "usbcore" module...but i already installed that
> module....even though this host drivers are showing errors....Thats
> why i planned to check the symbol table whether all the symbols from
> that "usbcore" module are installed are not....am i correct...if
not
> please suggest me how to resolve this problem......

I think you lack some knowledge on kernel configuration, compilation
and installation. Therefore, I would recommend to read Linux Kernel in
a Nutshell, written by Greg KH. Printed copies are available from every
good on-line book store. Electronic copies are also freely available
online, at http://www.kroah.com/lkn/.

If you're doing native compilation (i.e compile a kernel for your
workstation), then after the compilation, run:

 make modules_install

This will automatically install all kernel modules
in /lib/modules/<kernel-version>/, and run "depmod -a" which
will
create a few text files needed by modprobe to get the dependency
resolution system to work properly.

If when running "modprobe foo", module foo is not found, it's
because
the module hasn't been installed in /lib/modules/<kernel-version>/.

But again, please read Linux Kernel in a Nutshell, or at least the
relevant parts of it, to at least get a basic understanding of what's
going on.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com


Add more friends to your messenger and enjoy! Invite them now.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux