I'm trying to get an old(er) version of vmware to run on Fedora Core 2. However when I try to compile the modules using vmware-config.pl it produces errors like
grep: /proc/ksyms: No such file or directory
If I ignore these errors then later on the perl produces this message
The kernel defined by this directory of header files does not have the same address space size as your running kernel.
So I'm figuring that on the older system the perl is getting some info about the kernel address size by grep'ing it out of /proc/ksyms
Google tells me that I should replace /proc/ksyms with /proc/kallsyms in the perl, but /proc/kallsyms doesn't exist either (kernel 2.6.5). I suspect that googles advice applies to earlier versions of the 2.6 kernels.
A program /sbin/ksyms exists but it when I run it, it says,
ksyms: QM_MODULES: Function not implemented
Does anyone have any advice as to where the infomation that the perl program is search for now exists?
TIA's
Pete.
P.S Here's the result of greping for ksyms in the perl routine, dunno if any perl guru's can make head or tail of it, who said;
"perl has all the power of 'C' with the readability of post script" ?
;-)
# grep ksyms `which vmware-config.pl`
if ((direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^[0-9a-fA-F]\{8\} misc_register') . ' /proc/ksyms') eq '') || (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^[0-9a-fA-F]\{8\} misc_deregister') . ' /proc/ksyms') eq '')) {
$gSystem{'versioned'} = (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^[0-9a-fA-F]\{8\} Using_Versions') . ' /proc/ksyms') eq '') ? 'no' : 'yes';
@fields = split(' ', direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^[0-9a-fA-F]\{8\} printk') . ' /proc/ksyms'));
$gSystem{'build_bug'} = (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^[0-9a-fA-F]\{8\} __global_cli_R__ver___global_cli') . ' /proc/ksyms') eq '') ? 'no' : 'yes';
if (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string(' parport_release[^' . "\t" . ']*$') . ' /proc/ksyms') eq '') {
if (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string(' parport_pc_[^' . "\t" . ']*$') . ' /proc/ksyms') eq '') {
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
