Skip to contentSkip to conversation

vmware in Linux 2.6

DISCUSSION Måns Rullgård 4 participants 4 messages Sep 26, 2003

lore
Share & tools
lore
#1 lore raw

On Fri, 26 Sep 2003 11:46:01 +0200 [email protected] (Måns Rullgård) bubbled:

Quoted 4 lines

Is it possible to use vmware with Linux 2.6? The kernel modules (obviously) fail to compile.

Yes, it is.
I use vmware 4.0.2.5592 with 2.6.0-t3.
You just need the vmware-any-any-update40.tar.gz.
Get it here: http://ftp.cvut.cz/vmware/vmware-any-any-update40.tar.gz
unpack and copy it to vmware-src/lib/modules/source/

hope this helps!

Regards,
Martin

ps.: i use gentoo, and i just looked at the package build scripts.

Signature · 8 lines
MyExcuse:
Terrorists crashed an airplane into the server room, have to remove /bin/laden.
(rm -rf /bin/laden)

Martin Zwickel <[email protected]>
Research & Development

TechnoTrend AG <http://www.technotrend.de>
#2 lore raw
In reply to Måns Rullgård
Quoted 2 lines · [email protected] (Måns Rullgård) writes:

Is it possible to use vmware with Linux 2.6? The kernel modules (obviously) fail to compile.

There are three references in the vmnet code that need to be changed from ->priv to ->sk_priv, or somesuch. After that, it seems to work fine.

#3 lore raw
In reply to Måns Rullgård

from:
http://www.fearthecow.net/index.pl?section=guest&page=kernel

<snip>
VMWare:

You'll need to edit /usr/bin/vmware-config.pl

1. Replace all occurances of /proc/ksyms with /proc/kallsyms
2. Untar vmnet.tar in /usr/lib/vmware/modules/source
* Edit bridge.c
* On line 368, change: atomic_add(skb->truesize,
&sk->wmem_alloc); into atomic_add(skb->truesize, &sk->sk_wmem_alloc);<
* On line 618, change protinfo into sk_protinfo
* Likewise, on line 817, change protinfo into sk_protinfo
3. Tar the vmnet directory, and replace vmnet.tar
4. Run /usr/bin/vmware-config.pl - it should run without a problem.
<snip>

Quoted 3 lines · Måns Rullgård

Is it possible to use vmware with Linux 2.6? The kernel modules (obviously) fail to compile.