Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP - vmware needs kernel headers - SOLVED
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Mon Apr 08, 2013 8:59 pm    Post subject: HELP - vmware needs kernel headers - SOLVED Reply with quote

I have been running vmware workstation (purchased version) 7.x under gentoo amd64 2.6.37-gentoo-r4, but today I updated the kernel to 3.7.10-gentoo, and now vmware will not start. It complains that it needs to compile several modules and load them into the running kernel, but it cannot find the kernel headers for 3.7.10-gentoo. Where should I tell it that they are located?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Thu Apr 25, 2013 4:51 am; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4141

PostPosted: Mon Apr 08, 2013 9:12 pm    Post subject: Reply with quote

there :)
sys-kernel/linux-headers

go get the 3.7 ones
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31710
Location: 56N 3W

PostPosted: Mon Apr 08, 2013 9:24 pm    Post subject: Reply with quote

Moriah,

vmware should build its kernel modules against the kernel headers in the kernel tree.
They have to load into that exact kernel.

There have been problems with out of kernel modules building against kernel 3.7.0 and newer as there has been some moving/renaming of files in the tree.
The solution in to use updated vmware modules.

For an example, have a look at the nvidia-drivers threads
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Tue Apr 09, 2013 5:02 am    Post subject: Reply with quote

I have the 3.7 kernel headers, but vmware does not recognize them.

Can I go back to an earlier kernel to avoid those problems? Stupid vmware no longer supports gentoo as a host platform. They will just tell me to run vmware on a supported version of linux, :evil:

What is the newest kernel version that does not have this compatibility problem? I upgraded my kernel to be compatible with the udev changes. I was running 2.6.37-gentoo-r4 before the upgrade to 3.7.10-gentoo.

I have become dependent upon vmware workstation to support various development environments, and for disposable operating system environments for testing and such. Is there a viable alternative that has the snapshotting and cloning capability of vmware workstation? I would like to use an open source alternative if it is stable enough.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4141

PostPosted: Tue Apr 09, 2013 10:16 am    Post subject: Reply with quote

I would say, latest support kernel could be find by checking supported OS versions and kernel version they use.
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Apr 09, 2013 10:28 am    Post subject: Reply with quote

Moriah wrote:
What is the newest kernel version that does not have this compatibility problem?

I think it's 3.6
But, as you do not appear to upgrade frequently, I would recommend to prefer the LTS 3.4 branch.
_________________
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Tue Apr 09, 2013 12:36 pm    Post subject: Reply with quote

I do not upgrade my kernel very frequently, but I keep everything else updated on a weekly basis. I upgrade the kernel when necessary because of security or compatibility reasons.

What is the LTS 3.4 branch?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2240
Location: Dallas area

PostPosted: Tue Apr 09, 2013 12:38 pm    Post subject: Reply with quote

Moriah wrote:
What is the LTS 3.4 branch?


LTS = Long Term Stable :)
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.9.1-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Apr 09, 2013 1:11 pm    Post subject: Reply with quote

Moriah wrote:
What is the LTS 3.4 branch?

At the time of this post... and assuming you want to stay with the gentoo-sources :
Code:
emerge --noreplace =gentoo-sources-3.4.39

_________________
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4141

PostPosted: Tue Apr 09, 2013 1:39 pm    Post subject: Reply with quote

Anon-E-moose wrote:
Moriah wrote:
What is the LTS 3.4 branch?


LTS = Long Term Stable :)


LTS = Long Term Support
:D
Back to top
View user's profile Send private message
pluppets
n00b
n00b


Joined: 10 Apr 2013
Posts: 6
Location: Black Flag, US

PostPosted: Wed Apr 10, 2013 7:31 am    Post subject: Reply with quote

First post! :wink:

Given that Gentoo has contributed so many lines to linux at large, and taught me so much.....I just couldn't sit on my hands.

Anyway, hope this helps ...posted from my phone, so forgive any borkery. :3

Code:
ln -s /usr/src/3.7.10-gentoo/include/generated/uapi/linux/version.h \
/usr/src/3.7.10-gentoo/include/linux/version.h

_________________
"You're a nice guy, and I hate you for that." ;3
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Wed Apr 10, 2013 1:31 pm    Post subject: Reply with quote

Code:

gehazi ~ # ls -l /usr/src/3.7.10-gentoo/include/linux/version.h
ls: cannot access /usr/src/3.7.10-gentoo/include/linux/version.h: No such file or directory
gehazi ~ # ls -l /usr/src/3.7.10-gentoo/include/generated/uapi/linux/version.h
ls: cannot access /usr/src/3.7.10-gentoo/include/generated/uapi/linux/version.h: No such file or directory
gehazi ~ #

So what's the point?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Wed Apr 10, 2013 4:21 pm    Post subject: Reply with quote

Switching to the gentoo-sources-3.4.39 kernel did not solve my problem.

I have been running vmware installed from VMware-Workstation-Full-7.1.4-385536.x86_64.bundle for a couple of years now. I tried to upgrade to VMware-Workstation-Full-8.0.4-744019.x86_64.bundle last summer, but it refused to install. When I contacted vmware for help, as I paid for installation support, they tried and failed too, so they upgraded me again to VMware-Workstation-Full-9.0.0-812388.x86_64.bundle, but that did not install either, so they just said I would have to switch to a supported distribution if I wanted further support. So I ended up paying for an upgrade with support that I could not use. :evil:

I dropped back to VMware-Workstation-Full-7.1.4-385536.x86_64.bundle with the 2.6.37-gentoo-r4 kernel, and have been running that until last week, when I upgraded my kernel to 3.7.10-gentoo to be compatible with the udev upgrade.

Now I'm stuck in a bad situation. :evil:

I either have to drop back to the 2.6.37-gentoo-r4 kernel and run vmware-Workstation-Full-7.1.4, and give up support for the udev upgrade, which sounds like it would quickly become a major gentoo nightmare, or run with 3.4.39-gentoo and modern udev, but give up vmware support.

YIKES!!! :o

Which would you prefer, to have your arms cut off, or your legs? :x

Is there any gentoo supported open sourced virtual machine capability I can switch to instead of running vmware? :?:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pluppets
n00b
n00b


Joined: 10 Apr 2013
Posts: 6
Location: Black Flag, US

PostPosted: Wed Apr 10, 2013 4:43 pm    Post subject: Reply with quote

The point? Mine works.
I figured you could find the file yourself.
I was only trying to help. :evil:

Code:

$ locate version.h
$ sudo ln -s /usr/src/linux-3.7.10-gentoo/include/generated/uapi/linux/version.h /usr/src/linux-3.7.10-gentoo/include/linux/version.h

_________________
"You're a nice guy, and I hate you for that." ;3


Last edited by pluppets on Fri Apr 12, 2013 6:01 am; edited 1 time in total
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Wed Apr 10, 2013 5:41 pm    Post subject: Reply with quote

pluppets wrote:
The point? Mine works.

Maybe it would, but when building portage's vmware modules only.
The OP is running a purchased version.

Well then, Moriah, if you not longer get supported, and before choosing what to cut, what about keeping your 3.4 but opting for an install of latest vmware-* from portage ?
_________________
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31710
Location: 56N 3W

PostPosted: Wed Apr 10, 2013 6:08 pm    Post subject: Reply with quote

Moriah,

Kernel Virtual Machines (KVMs) work and VirtualBox (VBox) works.

I have heard horror stories about Windows in KVM, with regards the install time but I've never done it.
I do run Gentoo Hardened in several KVMs running on Gentoo hardened.

I run assorted other stuff in VBox. I do know it won't install Red Hat 6.1, which is what I started with and I still need to try Windows 3.1, just for old times sake.

I gave up on VMware when vmware-server-2 was left behind by the kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Wed Apr 10, 2013 11:51 pm    Post subject: Reply with quote

I am looking into KVM, but one major need is to run various windoze operating systems to support clients. :(

I guess I could also try the portage version of vmware. If I am lucky, my present collection of vm's will load into it and run. :twisted:

I would prefer to go open source, so kvm will be the first attempt.

I still have a bootable disk with my old configuration on it, so I can still do what I used to do if I need to. Nice thing about my Lenovo W500 is that I can swap the boot disk in less than a minute with no tools except my bare hands. 8)
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pluppets
n00b
n00b


Joined: 10 Apr 2013
Posts: 6
Location: Black Flag, US

PostPosted: Thu Apr 11, 2013 1:48 am    Post subject: Reply with quote

aCOSwt wrote:
pluppets wrote:
The point? Mine works.

Maybe it would, but when building portage's vmware modules only.
The OP is running a purchased version.

Well then, Moriah, if you not longer get supported, and before choosing what to cut, what about keeping your 3.4 but opting for an install of latest vmware-* from portage ?


It worked for me with VMware Workstation 9 x64 bundle installer.

I'm still having issues, but it launches and I can debug it at least. :3
_________________
"You're a nice guy, and I hate you for that." ;3
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Thu Apr 11, 2013 6:25 am    Post subject: Reply with quote

pluppets: Sory if I sounded like I had an attitude; I just did not see either of the filenames/paths you provided in your first post, so I was not sure what you were getting at, hence the "What's the point?" question. I see now what the problem was: you listed "3.7.10-gentoo" as a term in your path, while the actual path I have is "linux-3.7.10-gentoo". Chalk it up to the fact that you were using your phone instead of a real keyboard. :wink:

Its too late to try anything new or dangeruos tonight, but I will try that tomorrow.

I was up late tonight (2:30 AM where I live) barbequeing a pork loin -- first bbq this year. The weather was 70-something even that late.

Ah, spring is finally here! :)
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pluppets
n00b
n00b


Joined: 10 Apr 2013
Posts: 6
Location: Black Flag, US

PostPosted: Fri Apr 12, 2013 6:00 am    Post subject: Reply with quote

Haha, no problem man. Speaking of no sleep, my original message was posted @ like...5 am?

True story-- I had VMware working on 3.7.10, but...after a reinstall of the binary....
it crashes on startup with worthless logs. :roll:

Send me some BBQ?

~~~
Update: VMWare Workstation 9.0.1 working with symlink fix. See my post on page 2 for more details.
_________________
"You're a nice guy, and I hate you for that." ;3


Last edited by pluppets on Fri Apr 19, 2013 8:12 am; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4141

PostPosted: Fri Apr 12, 2013 9:37 am    Post subject: Reply with quote

I feel love in that thread, wonder how a chicken and a cat babies will look like...
Yes, spring seems really there...


I don't have search, but pluppets fix looks like the same fix for nvidia binaries drivers and kernel 3.7 issue.
Back to top
View user's profile Send private message
pluppets
n00b
n00b


Joined: 10 Apr 2013
Posts: 6
Location: Black Flag, US

PostPosted: Fri Apr 12, 2013 9:44 am    Post subject: Reply with quote

ANYONE having issues with VMWare on 3.7.10(+) that needs it fast should:
1) grab the newest VMWare Player .bundle from the website (currently 5.0.2)
2) ???
3) PROFIT.

Update: VMWare Workstation 9.0.1 working with symlink fix. See my post on page 2 for more details.
______________________

krinn wrote:
I feel love in that thread, wonder how a chicken and a cat babies will look like...
Yes, spring seems really there...


I don't have search, but pluppets fix looks like the same fix for nvidia binaries drivers and kernel 3.7 issue.


ROFL, I was thinking about the irony earlier, too. Babies, tho? Not so much.

You're almost right about my fix--

I actually got it from slacksblogs. They seem to post the newest kernel fixes for VMWare on the regular.

____________
_________________
"You're a nice guy, and I hate you for that." ;3


Last edited by pluppets on Fri Apr 19, 2013 8:12 am; edited 1 time in total
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Fri Apr 12, 2013 1:40 pm    Post subject: Reply with quote

Well I *ALMOST* got vmware workstation working last night. I did get it to install, thanks to the pluppets fix. I even put in my paid-for key and registered it, but it puked on missing modules when I tried to run it. I really think its time to go with either zen or kvm. The use of qemu to emulate embedded cpu targets would be a great help to me in my profession, as most of my income comes from embedded development and test work.

So what's the consensus: zen or kvm? :?:

Most of my vmware workstation work is to run either some variant of windows or some *nix os on x86/x86_64 cpu's, and I need to still be able to do that, including multiple vm's running on a virtual network all inside a single physical machine.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31710
Location: 56N 3W

PostPosted: Fri Apr 12, 2013 6:17 pm    Post subject: Reply with quote

Moriah,

I don't think you can have kvm and qemu as they have file namespace collisions.
This was true a few years ago - maybe its fixed now ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1868
Location: Kentucky

PostPosted: Fri Apr 12, 2013 6:37 pm    Post subject: Reply with quote

I thought that was kvm and xen. What I have read so far says that you need qemu for either of those to simulate devices.

I would have to have 2 different boot drives to choose between kvm and xen, which is not hard for me to do, but a hassle since I always want everything accessible at the same time. Although you can run kvm under kvm as a nested vm, you would still have the name collisions trying to run xen under kvm. :?

It looks like for my purposes that kvm is probably the better choice, but I wanted to hear some other opinions too.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum