LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 04-25-2006, 11:20 AM   #1
no_leaf_clover
LQ Newbie
 
Registered: Dec 2003
Location: Plymouth, UK
Distribution: MEPIS 2.4.3
Posts: 14

Rep: Reputation: 0
Unhappy Help with using kernel-headers on Mepis 2.4.3 and all that jazz


Hi all.

Must say I am rather impressed with MEPIS having come from a Mandrake-SuSE background MEPIS is the first Debian based distro I've used and despite being supposedly 'unstable' I've found it to be better than SuSE 10.0 which randomly decided to stop booting of its own accord one or twice giving me lots of GRUB errors at start-up.

Anywho... to my post..

I am currently trying to get VMWare player to work as I want to host another OS to test out some client-server based Java that I am currently writing.

I am currently using the 2.6.15-1-586tsc kernel and have downloaded the linux-header-2.6.15-1 and linux-header-2.6.15.-1-586tsc packages from the MEPIS repo both of which installed no problem.

I've downloaded the VMWare player tarball and decompressed it and attempted to run the vmware-install.pl file, it runs through fine until it gets to the part where it tries to build the vmmon module where I get this output:

Code:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-1-586tsc'
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-1-586tsc'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
I've built the 'linux' link to the correct kernel header folder in /usr/src/.

When I navigate to /usr/src/linux and attempt to run 'make cloneconfig' or 'make prepare-all' I get this:
Code:
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
gcc: scripts/basic/fixdep.c: No such file or directory
gcc: no input files
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
fixdep.c isn't in the /usr/src/linux/scripts/basic/ folder but fixdep is... how do I fix this?

Thanks in advance

EDIT
----

Ah... the problem was something to do with the linux-headers package being messed up, it's a known problem in the unstable tree of debian, so I guess that it applies to MEPIS as well.

A kernel downgrade to 2.6.12 and installing the appropriate headers seems to be the way to go.

Last edited by no_leaf_clover; 04-26-2006 at 07:53 AM.
 
Old 05-24-2006, 11:44 PM   #2
frankjoshua
Member
 
Registered: May 2006
Posts: 32

Rep: Reputation: 15
I don't know about this problem exactly but I have somthing to try. I have found that many build errors can accutally be caused by your version of cpp. cpp-4.0 has given me a few problems resently. Install cpp-3.4 and make a new link to the binary.

rm /usr/bin/cpp
ln /usr/bin/cpp-3.4 /usr/bin/cpp

Then try to recompile. If the works and your module won't load you may also have to recompile your kernel. I know this can be a pain but somtimes it works as a last resort.

Last edited by frankjoshua; 05-31-2006 at 12:22 PM.
 
Old 04-09-2007, 12:44 PM   #3
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Rep: Reputation: 15
Unhappy vmware server

Hi

Dispite calling yourself a newbie you appear to know more about this than I do. Incidentally in your post you mentioned vmware player not the server. Anyway I have installed vmware and I would like to know how to share files from the host. I have installed Win98se on the server. I have it on my hard drive but cannot access it since I upgraded the memory to 1.5gb. What I want to do is transfer everything from the "real" Win98 onto the virtual Win98.

Any help would be appreciated.

grabro
 
Old 04-10-2007, 05:57 AM   #4
no_leaf_clover
LQ Newbie
 
Registered: Dec 2003
Location: Plymouth, UK
Distribution: MEPIS 2.4.3
Posts: 14

Original Poster
Rep: Reputation: 0
Well okay,

I probably would've asked this on vmware forums if I couldn't find the info on google, but in this case I will try and help you as I can.

So let me get this straight, you have a Windows 98 installation on your hard drive that you can no longer access because you've upgraded the RAM to 1.5Gb?

I'm going to assume you've installed another OS (Mepis 6?) on your machine so that you can actually access it yes? Otherwise it'd be pretty useless, also you will need to be able to see the old Windows 98 files in your new OS but we'll get to that...

As far as the differences between VMWare Server and VMWare Player go... well with Server you can create virtual machines, but it is designed for specific server OS's and for running several operating systems on a single set of server hardware in a "headless" way... that is to say that clients across the network deal with the display and the VMWare Server runs as a service on the server in a non-graphical mode.

Player on the other hand is meant for single non-server PC's to run pre-made virtual machines, whilst you may be forgiven for thinking "what's the point in having a product with cut-down functionality", I'm sure you can think of some situations where it is conceivable to not let your users create their own VM's.
Player ALWAYS requires the user of the VM to be at the machine it is running on as that is where the VM is displayed... see? No? Well anyhow it doesn't matter...

I do use Server now though on a single, non-server PC and as far as filesharing goes it is exactly the same. Now down to business, you will have your actual OS (the one running on the hard drive) and your virtual machine running its own OS.

The actual OS is referred to as the "host" operating system, and the one running inside the virtual machine is referred to as the "guest" operating system.

To be able to copy files between the two using VMWare directly it is my understanding that your virtual machine must be setup to use bridged networking (it shares the same networking as the host) and that your machine is actually connected to a network (be this just a single hub).

Your host PC must also be able to see the old Windows 98 files.

Now to copy files between:

A windows host and a windows guest -
Setup Windows filesharing on the two PC's.
Providing they are on the same network workgroup and you've set the folder you want to copy into on the guest as "shared" so that anyone can read and write to it, the share should appear in My Network Neighbourhood/Places on the host and you can copy to it like you would any other hard drive.

A linux host and a windows guest -
You need to setup SAMBA on the linux host to see windows shares.
There are many good guides around on the internet for doing this so I won't go into it. When you have SAMBA setup and working the premise is pretty much the same... if you don't have a "network places" shortcut somewhere about the desktop or in the gnome/kde (etc) menu then the command line code to mount a samba share is:

mount -t smbfs -o username=<Windows system user account>,password=<password> //<guest machine name>/<share name> /<wherever you want the share mounted>

Of course changing the parts in "< >" to their appropriate equivalents.


Failing that or if you're not on a network but have external usb storage or CD/DVD writer capabilities, virtual machines can share the physical usb or CD/DVD drives of the host. So you can copy the files onto cd or usb drive on the host and then mount them in the virtual machine in VMWare Server (by right clicking their icons at the bottom of the screen and selecting the correct drive to use) and then copy the files off onto the virtual machines hard drive.

I hope that helps, if not search the internet for "setting up a virtual machine in VMWare", or "sharing files between a host and guest in VMWare".


Last edited by no_leaf_clover; 04-10-2007 at 06:10 AM.
 
Old 04-10-2007, 09:27 AM   #5
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Rep: Reputation: 15
vmware server

No-leaf_clover

Thanks very much for the info. I did not explain myself very well. I can still access the Win98 files on my HD via Mepis but obviously cannot use any of the applications. In fact there are only two that I have to use and the OCR element of my scanner is better on Windows than Linux.

This is why I went for the vmware solution and not an upgrade to Win 2000 or XP. I originally thought of Wine but it's still a bit flaky.

Anyway once again thank for your help and I will diligently follow your instructions.

grabro
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 01:15 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
Help with the basics, and all that jazz. JustTheFax Linux - Newbie 25 09-25-2005 12:22 PM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 07:29 PM
jazz++ barbqer Linux - Software 0 05-29-2004 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration