Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Vmware with 2.6.16
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nik1982
n00b
n00b


Joined: 05 Sep 2004
Posts: 34

PostPosted: Tue Mar 21, 2006 10:39 pm    Post subject: [solved] Vmware with 2.6.16 Reply with quote

With the newest version in Portage i get an error like:

Code:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.


when building the kernel modules for vmware via "vmware-config.pl". I made
an symboli link from /usr/src/linux to the directory where the kernel which is
running is. Any Idea?

Nik


Last edited by nik1982 on Wed Mar 22, 2006 4:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
UgolinoII
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2004
Posts: 119

PostPosted: Tue Mar 21, 2006 11:09 pm    Post subject: Reply with quote

confirm the runing kernel is what you think it is with uname -a
Back to top
View user's profile Send private message
nik1982
n00b
n00b


Joined: 05 Sep 2004
Posts: 34

PostPosted: Wed Mar 22, 2006 12:35 am    Post subject: Reply with quote

Yes uname -a gives me the right answer... 2.6.16-ck1
Back to top
View user's profile Send private message
PaulSorensen
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2004
Posts: 80
Location: Chicago, USA

PostPosted: Wed Mar 22, 2006 4:14 am    Post subject: Reply with quote

So take a look at the file "/usr/src/linux/include/linux/version.h"

Is there a line that says the following?

#define UTS_RELEASE "2.6.16-ck1"

If not then the running kernel doesn't seem to be the one that was built from this source.
Back to top
View user's profile Send private message
nik1982
n00b
n00b


Joined: 05 Sep 2004
Posts: 34

PostPosted: Wed Mar 22, 2006 2:44 pm    Post subject: Reply with quote

Is version.h really supposed to be in "/usr/src/linux/include/linux/version.h" . Because i have no such file in there.. wheter in 2.6.16 nor in the working 2.6.15.

Nik
Back to top
View user's profile Send private message
nik1982
n00b
n00b


Joined: 05 Sep 2004
Posts: 34

PostPosted: Wed Mar 22, 2006 4:33 pm    Post subject: Reply with quote

Oki solved that problem. Take a look at:
http://www.vmware.com/community/thread.jspa?messageID=371849&#371849

and grab the patch at:
http://ftp.cvut.cz/vmware/vmware-any-any-update98.tar.gz

And things are working again. Has to do something with new user/kernel memory split from either of 1gig/3gig, 2/2, 3/1 in 2.6.16.
Nik[/url]
Back to top
View user's profile Send private message
Kalin
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2002
Posts: 109
Location: Japan

PostPosted: Sat Mar 25, 2006 8:26 am    Post subject: 5.5.1.19175-r1 with any-any-update99 Reply with quote

Please consider using my PORTDIR_OVERLAY, see [1] for info.

I have just updated it to use any-any-update99 and tested it on linux-2.6.16 on x86.

Look under app-emulation/ for vmware-workstation{,-modules}. Splitting the ebuild was an idea I got from a friend of mine.

[1] http://rsync.tar.bz/
Back to top
View user's profile Send private message
spiralvoice
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 238

PostPosted: Mon Mar 27, 2006 11:09 am    Post subject: Reply with quote

http://bugs.gentoo.org/show_bug.cgi?id=127728
Back to top
View user's profile Send private message
Kalin
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2002
Posts: 109
Location: Japan

PostPosted: Mon Mar 27, 2006 12:33 pm    Post subject: Think before you do something not so clever! Reply with quote

Well, well.. I think all was said in bug 127728 ... But I feel the need to repost it here as I completely agree with jakub

Quote:

------- Comment #1 From Jakub Moc 2006-03-27 03:13 PST [reply] -------

This type of bug reports is completely useless. If you have nothing to say
besides a link to forums, then please don't file a bug at all. Bugzilla is used
as a bug-tracking databases and has a sophisticated search features, very
useful for finding duplicates (which you apparently didn't use, otherwise you'd
find Bug 127023 and Bug 127661).

How do you expect that anyone will find anything useful in this bug?

Marking INVALID, refer to the above mentioned bugs.


NEVER post an empty bug with just a link to the forums!
Back to top
View user's profile Send private message
spiralvoice
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 238

PostPosted: Mon Mar 27, 2006 1:21 pm    Post subject: Re: Think before you do something not so clever! Reply with quote

Kalin wrote:
NEVER post an empty bug with just a link to the forums!

Sorry :oops:
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1776
Location: Scotland

PostPosted: Wed Mar 29, 2006 2:44 pm    Post subject: Reply with quote

To get vmware running on 2.6.16 here I had to mod the ebuild to apply a patch from Torbjorn Svensson in bugzilla.

http://bugs.gentoo.org/show_bug.cgi?id=127023#c6

Also update to any-any-99 and it seems to work fine here.
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
xcable
Guru
Guru


Joined: 15 Aug 2002
Posts: 424
Location: College Station, Texas

PostPosted: Sat Apr 08, 2006 4:19 pm    Post subject: Reply with quote

The current portage tree apears to have this patch under "testing". I've tested it with ~amd64 and it works fine.

--
heath
liquidcable
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
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