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
eh what is proc/kallsyms needed for ???
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.
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.
again.. what needs it ?
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.
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.
mass update for old bugs: Is this still a problem with the 2.6.9 based update kernel ?
Yes, it is.
current kernels should have this fixed.