Hi Peter

> 
> 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

/proc/kallsyms

On Tue, 10 Aug 2004, Peter Rundle wrote:
> 
> 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.

you need to set CONFIG_KALLSYMS=y when you configure your kernel

> 
> A program /sbin/ksyms exists but it when I run it, it says,
> 
>   ksyms: QM_MODULES: Function not implemented
> 
sounds like you need to update to
modules-init-tools
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

or should be available in rpm, apt format at your favourite
mirror.

> 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
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
[EMAIL PROTECTED] <www.gelato.unsw.edu.au>
--------------------------------------------------
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to