Re: VMware Workstation and FC5T2 Working??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





"James C. Bevier" <jim@xxxxxxxxx> wrote:

----- Original Message -----
From: "Dwaine Garden"
To: "For testers of Fedora Core development releases"

Sent: Thursday, February 09, 2006 4:44 AM
Subject: VMware Workstation and FC5T2 Working??


> Has anyone gotten VMWare Workstation working under FC5T2? I'm getting the
> following problem where the config script is telling me
> that the headers are incorrect. Does anyone have a way around this?
>
> Thanks
>
> Trying to find a suitable vmmon module for your running kernel.
>
> None of the pre-built vmmon modules for VMware Workstation is suitable for
> your
> running kernel. Do you want this program to try to build the vmmon module!
> for
> your system (you need to have a C compiler installed on your system)?
> [yes]
>
> Using compiler "/usr/bin/gcc". Use environment variable CC to override.
>
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
>
> The path "/usr/src/linux/include" is not an existing directory.
>
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
> /usr/src/kernels/2.6.15-1.1915_FC5-smp-i686/include
>
> The kernel defined by this directory of header files does not have the
> same
> address space size as your running kernel.
>
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
> --

>From a Tom London message on this list:

Th! ere is a bug in the vmware-config.pl script that is exposed by
changes to the newer kernel headers.

I've reported this to vmware:
http://www.vmware.com/community/thread.jspa?threadID=31877&tstart=0

Here is the patch described there:

--- vmware-config.pl.old 2005-12-15 21:55:24.000000000 -0800
+++ vmware-config.pl 2006-02-04 16:53:06.000000000 -0800
@@ -1969,8 +1969,8 @@
. ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
. shell_string($pattern));
chomp($header_page_offset);
- $header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/;
- if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
+ if ($header_page_offset =~ /^$pattern \(?0x([0-9a-fA-F]{8,})/) {
+ $header_page_offset = $1;
# We found a valid page offset
if (defined($gSystem{'page_offset'}) and
not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {


I am able to build a vmware 5.5 system with a couple of patches to vmware.
One is in t! he makefile.kernel in vmmon and vmnet directory. The other is
the patch above. See the vmware forum for the latest. I am also building
on a x86_64 box. BTW, you will also need to mount /proc/bus/usb on
/sys/bus/usb by doing "mount -t usbfs /dev/bus/usb /proc/bus/usb" if you
want vmware to see any USB devices. Also make sure you have the
kernel-devel rpm installed.

Jim
Jim, thanks for the patch and the mounting for USB devices.   I will try it tonight.   
-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]