ksyms, which is supposed to display all exported kernel symbols, is installed as a symbolic link to insmod. Reproducible: Always Steps to Reproduce: ksyms -a Actual Results: bash-2.05b# ksyms -a insmod: can't read '-a': No such file or directory Expected Results: a list of kernel symbols, similar to that found in /proc/kallsyms (the kallsyms tool also points to insmod) * sys-devel/binutils Latest version available: 2.14.90.0.7-r3 bash-2.05b# uname -a Linux caliban 2.6.0-test11 #2 Wed Dec 10 22:04:24 PST 2003 i686 AMD Athlon(TM) XP 2200+ AuthenticAMD GNU/Linux
Hmm, I don't even have ksyms now at all, which prevents dosemu from running: # dosemu -v ... grep: /proc/ksyms: No such file or directory ... and indeed there's no such file. # uname -a Linux free.transpect.com 2.6.1-gentoo #5 Mon Jan 26 19:29:49 EST 2004 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux
The problem I was having with dosemu startup can be fixed by changing the reference to "ksyms" in /usr/bin/dosemu to "kallsyms". Guess kallsyms is the new ksyms. When using the proc filesystem, unfortunately a simple symbolic link can't be set with "ln -s". There must be a configuration file somewhere that would accomplish this and not break stuff that expects the ksyms file to still be there? Now using 2.6.2-rc1-gentoo btw - the earliset 2.6.x kernels still had /proc/ksyms (or at least the dosemu script still worked without mod, so must have been seeing that).
ksyms is a link to insmod so it doesn't work. (eg. man ksyms, ksyms -a). On my system its listed as belonging to two packages sys-apps/module-init-tools and sys-apps/modutils. Did one of them wipe the real ksyms?
kallsyms is not the new ksyms, for me at least.. # ls -l /sbin/kallsyms lrwxrwxrwx 1 root root 6 Jan 11 20:06 /sbin/kallsyms -> insmod It is also linked to insmod.
you shouldnt have sys-apps/module-init-tools and sys-apps/modutils installed at the sametime pick one and remove the other
fixed in 3.0-r2 the problem was that after we install modutils and change the names to all have '.old' in them, we didnt update the ksyms links to point to insmod.old just so you know, the ksyms apps will not work with 2.6.x