Jump to content

config.pl fails on vmware 4.5.2 on mdk 10 host


Guest tmay
 Share

Recommended Posts

Hello,

I joined this Mandrake/ emulation list hoping for help

running vmware on MDK 10 host. I think the problem is that

mdk has some conventions in source and header files

that are not anticipated in the rigid way the config script was

written, so I hope mandrake users will understand how to

"please" the script by some modification to mandrake conventions

rather than by modifying the script...but whatever works.

In getting help on the high traffic vmware lists, a lot of the traffic

isn't even interested or concerned with Linux as host for vmware.

I only know enough to ask for help and I'm hoping the constituency

of users here, running Linux as host, will be more solid.

Tmay

 

***Info below as posted previously posted to vmware WS list***

 

I need help running "vmware.config.pl"

with WS4.5.2 installed on Mand 10

kernel-source2.6.3-4mdk.i586.rpm was installed

The directory for header files is

/usr/include/

 

**config.pl first asks to create vmmon modules::

 

"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] /usr/include/

 

**After insisting Yes to use the /usr/include directory

the script complains of a mismatch in kernel labeling::

 

The header files in /usr/include are generally for C libraries, not for the

running kernel. If you do not have kernel header files in your /usr/src

directory, you probably do not have the kernel-source package installed. Are you

sure that /usr/include contains the header files associated with your running

kernel? [no] y

 

The directory of kernel headers (version 2.6.0) does not match your running

kernel (version 2.6.3-4mdk). Even if the module were to compile successfully,

it would not load into the running kernel.

 

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include

 

**Perhaps this mismatch info is extracted by the script from info in the version.h file which contains these lines:

 

#else

#define UTS_RELEASE "2.6.0"

#define LINUX_VERSION_CODE 132608

#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((B) << 8) + ©)

#end

 

Can anyone plot a course around the obstacles to allow the config.pl script to do its duty?

 

Thanks Tmay

 

P.S.It seems that vmware-config.pl doesn't run because the script is rigidly written to detect conflict with the arbitrary numeric labeling of the kernel by Mandrake in "version.h" file. If this is the heart of the problem , I also want to ask if anyone has had success running config.pl after making an updated kernel ...if so how is that done from rpm or otherwise?

Of course the description of the problem is in the earlier post and I am the one "asking" and this post is intended to attact the attention of someone who has answers !!

TMay

Link to comment
Share on other sites

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include] /usr/include/

 

**After insisting Yes to use the /usr/include directory

the script complains of a mismatch in kernel labellng::

 

Why are you changing the default /usr/src/linux/include to /usr/include ??

 

I had vmware working on 10.0 OE and remember that i just accepted the defaults during installation (and i did the same now on 10.1 beta 2 and is also running...).

Link to comment
Share on other sites

Thank your for questioning my logic.

I must confess to a combination of an inept install of the kernel-source combined with misunderstanding of the files in

/usr/include.

In the Mand10 install I had used graphical installer and apparently failed to notice the promptdialog to offer it the #3 disk resulting in an empty /usr/src/linux directory.

The config.pl script was happy enough to be pointed to /usr/include , because there are directories there for asm, net, and linux, just as in the /usr/src/*distro*/linux/include directory.

It is much happier after having a complete rpm install to create the necessary /usr/src directories

 

Now that I can run config.pl runs, vmware comes up, a vMachine can be created, but I notice the cdrom is not bootable for installing a VM Operating system

 

I'll have to search for this CDROM problem on the list

Thanks for your help

 

Tmay

Link to comment
Share on other sites

  Now that I can run config.pl runs, vmware comes up, a vMachine can be created, but I notice the cdrom is not bootable for installing a VM Operating system

 

You are wrong again. :lol2:

 

You need to change the Virtual Machine BIOS so it boots up from the CD-ROM fitst.

To enter the VM BIOS simply press F2 during the VM boot up.

 

Enjoy... :bvc:

Link to comment
Share on other sites

Yes, I finally got a bootable CDROM after correcting 3 things in the

virtual bios (and learning to click on the vm window to get the F2 key to enter bios setup)

1. secondary master (hdc is my first cd) was set at none and had to be changed to "cdrom"

2. moved CDROM above harddrive in the boot sequence

3. I had to use legacy emulation toggle on the CD device (even though other posts indicate that this toggle is not supposed to be necessary when vmware runs on Linux as host.

Thanks

T may

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...