TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:9380] VMWare 1.1.1
On Sun, 24 Oct 1999, Bob Tanner wrote:
> I am trying to get VMware 1.1.1 to install on my VALinux dual 550Mhz PIII
> running Kernel 2.2.12-6.2smp.
>
> Everything installs fine until it comes to the vmware kernel modules. The
> modules will not compile when SMP in enabled.
>
> But the error looks like it's inside the kernel source tree.
>
> % make
> Dependencies for driver.c
> Compiling linux/driver.c
> /usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id':
> In file included from /usr/src/linux/include/linux/smp.h:11,
> from /usr/src/linux/include/linux/sched.h:20,
> from .././linux/driver.c:21:
> /usr/src/linux/include/asm/smp.h:209: warning: implicit declaration of
> function `GET_APIC_ID'
> /usr/src/linux/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in
> this function)
> /usr/src/linux/include/asm/smp.h:209: (Each undeclared identifier is reported
> only once
> /usr/src/linux/include/asm/smp.h:209: for each function it appears in.)
> /usr/src/linux/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this
> function)
> make[1]: *** [driver.o] Error 1
> make: *** [driver] Error 2
>
> Grepping through the source, I see that APIC_* defs are all in the
> asm/i82489.h file.
What kernel version are you running? VMware includes binary modules for
smp-2.2.5-15smp/ (redhat), smp-2.2.5-22smp/ (redhat), and smp-2.2.9-19mdk/
(mandrake). If you are running VA/RedHat linux, and they include a
modified kernel source tree, an option could be to download the virgin
2.2.13 source and temporarily install it as /usr/src/linux to see if the
include files were patched in a way that breaks vmware. Reading
/usr/src/linux/include/asm/smp.h on my machine (virgin 2.2.12), here is
what I see at the top for defines:
/*
* We need the APIC definitions automatically as part of 'smp.h'
*/
#include <linux/config.h>
#ifdef CONFIG_X86_LOCAL_APIC
#ifndef ASSEMBLY
#include <asm/fixmap.h>
#include <asm/i82489.h>
#include <asm/bitops.h>
#endif
#endif
Looks like it should include the i82489.h automatically if the VMWare
source was written properly. HIH
----
Nate Carlson
the infinite loop
natecars@infiniteloop.com