Bug 123106 - /proc/kallsyms is missing (kernel 2.6.5-1.358)
/proc/kallsyms is missing (kernel 2.6.5-1.358)
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
2
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-05-12 11:15 EDT by Janus N. Tøndering
Modified: 2015-01-04 17:05 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-25 01:27:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Janus N. Tøndering 2004-05-12 11:15:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040207 Firefox/0.8

Description of problem:
I just figured out that the /proc/ksyms file is no more (compiling a
module) and that the (acc. to pages found by google) file's now called
/proc/kallsysm. The problem is that there is no such file on my system.

How reproducible:
Always

Steps to Reproduce:
* compile a module, or
* ls /proc/kallsyms
Comment 1 Arjan van de Ven 2004-05-21 17:01:20 EDT
eh what is proc/kallsyms needed for ???
Comment 2 Janus N. Tøndering 2004-05-30 09:04:13 EDT
From http://www.desktop-linux.net/vmware.htm I got this:
"Replace all occurrences of /proc/ksyms with /proc/kallsyms in
/usr/bin/vmware-config.pl."

So, I assumed that it was needed.
Comment 3 Alexander Sandler 2004-09-19 12:58:55 EDT
Arjan, I encountered the same problem with 2.6.5-1.358. I checked 
with 2.6.8-1.521 - same story - /proc/kallsyms not there!

Apparently, noone calls kallsyms_init() (kernel/kallsyms.c), so 
appending:

#ifdef CONFIG_KALLSYMS
__initcall(kallsyms_init);
#endif

to the end of kernel/kallsyms.c does the trick.

Sasha.
Comment 4 Arjan van de Ven 2004-09-19 14:42:34 EDT
again.. what needs it ?
Comment 5 Alexander Sandler 2004-09-19 17:29:38 EDT
In Fedora Core 2 /proc/kallsyms missing - this file lists all kernel
symbols. It might be usefull when working on kernel module or, as
original poster did, installing Fedora Core 2 on VMWare virtual machine.
As I found, problem relies in kernel. All Fedora Core 2 kernels
released so far, has this problem. Finally, fix I proposed based on
Linuses kernel 2.6.8.1 (the latest one so far).

Sasha.
Comment 6 Timur Tabi 2004-11-22 10:48:22 EST
This bug is a real problem for me.  I need to have /proc/kallsyms.  It
serves two purposes:

1) If a driver can't load because it complains about an unknown
symbol, I can grep kallsyms to see if the symbol is really defined.   

2) Our driver compiles with several different 2.4 and 2.6 versions.  I
use kallsyms to determine which symbols are publically available, and
if a certain symbol is not found, then a warning message is displayed.
Comment 7 Dave Jones 2004-11-27 15:21:54 EST
mass update for old bugs:

Is this still a problem with the 2.6.9 based update kernel ?
Comment 8 Timur Tabi 2004-12-01 11:23:07 EST
Yes, it is.
Comment 9 Dave Jones 2005-01-25 01:27:42 EST
current kernels should have this fixed.

Note You need to log in before you can comment on or make changes to this bug.