public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* vmware in Linux 2.6
@ 2003-09-26  9:46 Måns Rullgård
  2003-09-26 10:28 ` Martin Zwickel
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Måns Rullgård @ 2003-09-26  9:46 UTC (permalink / raw)
  To: linux-kernel


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

-- 
Måns Rullgård
mru@users.sf.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
@ 2003-09-26 10:25 Petr Vandrovec
  2003-09-26 10:50 ` Måns Rullgård
  0 siblings, 1 reply; 9+ messages in thread
From: Petr Vandrovec @ 2003-09-26 10:25 UTC (permalink / raw)
  To: Mons Rullgord; +Cc: linux-kernel

On 26 Sep 03 at 11:46, Mons Rullgord wrote:
> 
> Is it possible to use vmware with Linux 2.6?  The kernel modules
> (obviously) fail to compile.

Do you know Google?... And best for such type of questions are newsgroups
at news.vmware.com, especially one named vmware.for-linux.experimental.

And if you do not know Google, you need to know
ftp://platan.vc.cvut.cz/pub/vmware ...  You can also use
http://platan.vc.cvut.cz/ftp/pub/vmware, but ftp is preferred access
method, so people with broken NATs are separated first...
                                                Petr Vandrovec
                                                


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
  2003-09-26  9:46 Måns Rullgård
@ 2003-09-26 10:28 ` Martin Zwickel
  2003-09-26 10:29 ` Sean Neakums
  2003-09-26 10:30 ` Helmut Djurkin
  2 siblings, 0 replies; 9+ messages in thread
From: Martin Zwickel @ 2003-09-26 10:28 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

On Fri, 26 Sep 2003 11:46:01 +0200
mru@users.sourceforge.net (Måns Rullgård) bubbled:

> 
> 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.

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

Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development

TechnoTrend AG <http://www.technotrend.de>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
  2003-09-26  9:46 Måns Rullgård
  2003-09-26 10:28 ` Martin Zwickel
@ 2003-09-26 10:29 ` Sean Neakums
  2003-09-26 10:30 ` Helmut Djurkin
  2 siblings, 0 replies; 9+ messages in thread
From: Sean Neakums @ 2003-09-26 10:29 UTC (permalink / raw)
  To: linux-kernel

mru@users.sourceforge.net (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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
  2003-09-26  9:46 Måns Rullgård
  2003-09-26 10:28 ` Martin Zwickel
  2003-09-26 10:29 ` Sean Neakums
@ 2003-09-26 10:30 ` Helmut Djurkin
  2 siblings, 0 replies; 9+ messages in thread
From: Helmut Djurkin @ 2003-09-26 10:30 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: linux-kernel


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>


Måns Rullgård wrote:
> Is it possible to use vmware with Linux 2.6?  The kernel modules
> (obviously) fail to compile.
> 




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
  2003-09-26 10:25 vmware in Linux 2.6 Petr Vandrovec
@ 2003-09-26 10:50 ` Måns Rullgård
  0 siblings, 0 replies; 9+ messages in thread
From: Måns Rullgård @ 2003-09-26 10:50 UTC (permalink / raw)
  To: linux-kernel

"Petr Vandrovec" <VANDROVE@vc.cvut.cz> writes:

>> Is it possible to use vmware with Linux 2.6?  The kernel modules
>> (obviously) fail to compile.
>
> Do you know Google?... And best for such type of questions are newsgroups
> at news.vmware.com, especially one named vmware.for-linux.experimental.

I already tried google.  It only turned up a solution that involved
editing something in the vmnet module.  In my case, the vmmon module
failed rather miserably, and I couldn't find anything about that.

-- 
Måns Rullgård
mru@users.sf.net


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
@ 2003-09-26 12:45 Petr Vandrovec
  2003-09-26 19:56 ` Jan Rychter
  0 siblings, 1 reply; 9+ messages in thread
From: Petr Vandrovec @ 2003-09-26 12:45 UTC (permalink / raw)
  To: Mons Rullgord; +Cc: linux-kernel

On 26 Sep 03 at 12:50, Mons Rullgord wrote:
> "Petr Vandrovec" <VANDROVE@vc.cvut.cz> writes:
> 
> >> Is it possible to use vmware with Linux 2.6?  The kernel modules
> >> (obviously) fail to compile.
> >
> > Do you know Google?... And best for such type of questions are newsgroups
> > at news.vmware.com, especially one named vmware.for-linux.experimental.
> 
> I already tried google.  It only turned up a solution that involved
> editing something in the vmnet module.  In my case, the vmmon module
> failed rather miserably, and I couldn't find anything about that.

Failed rather miserably == no 'prev' member in linuxState.misc? Then
it is fixed in vmware-any-any-update40... 

And except that this patch makes thing compilable, it also makes driver 
a bit friendlier to the MM subsystem, it allows you to use VMware on 
4G/4G host, and it properly handles bridged networking on adapters using 
hardware (or pseudohardware...) Tx checksumming (although only for IPv4 
due to features of dev_queue_xmit_nit).
                                                Petr Vandrovec
                                                


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
  2003-09-26 12:45 Petr Vandrovec
@ 2003-09-26 19:56 ` Jan Rychter
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Rychter @ 2003-09-26 19:56 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

>>>>> "Petr" == Petr Vandrovec <VANDROVE@vc.cvut.cz>:
 Petr> On 26 Sep 03 at 12:50, Mons Rullgord wrote:
 >> "Petr Vandrovec" <VANDROVE@vc.cvut.cz> writes:
 >>
 > Is it possible to use vmware with Linux 2.6?  The kernel modules
 > (obviously) fail to compile.

[...]

 Petr> And except that this patch makes thing compilable, it also makes
 Petr> driver a bit friendlier to the MM subsystem, it allows you to use
 Petr> VMware on 4G/4G host, and it properly handles bridged networking
 Petr> on adapters using hardware (or pseudohardware...) Tx checksumming
 Petr> (although only for IPv4 due to features of dev_queue_xmit_nit).

Does VMware roll these changes back in? This isn't cheap software, I
feel they should care for Linux users a bit more.

For those who run VMware on notebooks with ACPI, another patch is
necessary, otherwise ACPI C-states handling doesn't notice VMware and as
a result the guest system is unbearably slow.

--J.

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: vmware in Linux 2.6
@ 2003-09-26 20:46 Petr Vandrovec
  0 siblings, 0 replies; 9+ messages in thread
From: Petr Vandrovec @ 2003-09-26 20:46 UTC (permalink / raw)
  To: Jan Rychter; +Cc: linux-kernel

On 26 Sep 03 at 12:56, Jan Rychter wrote:
> >>>>> "Petr" == Petr Vandrovec <VANDROVE@vc.cvut.cz>:
>  Petr> On 26 Sep 03 at 12:50, Mons Rullgord wrote:
>  >> "Petr Vandrovec" <VANDROVE@vc.cvut.cz> writes:
>  >>
>  > Is it possible to use vmware with Linux 2.6?  The kernel modules
>  > (obviously) fail to compile.
> 
> [...]
> 
>  Petr> And except that this patch makes thing compilable, it also makes
>  Petr> driver a bit friendlier to the MM subsystem, it allows you to use
>  Petr> VMware on 4G/4G host, and it properly handles bridged networking
>  Petr> on adapters using hardware (or pseudohardware...) Tx checksumming
>  Petr> (although only for IPv4 due to features of dev_queue_xmit_nit).
> 
> Does VMware roll these changes back in? This isn't cheap software, I
> feel they should care for Linux users a bit more.

Yes. Currently VMware's & mine code is identical except that mine
vmmon supports all released products since VMware 2.0.0 through VMware 
express, GSX & so on up to the VMware 4.0.2, while VMware's code supports 
only product it is shipped with. And you need C++ (for templates which are
used for generating code for different product versions) with mine code,
while you get one unwind template instance from VMware.

> For those who run VMware on notebooks with ACPI, another patch is
> necessary, otherwise ACPI C-states handling doesn't notice VMware and as
> a result the guest system is unbearably slow.

If this patch is for vmmon, can you share it with VMware (or with me
and I'll then share it with VMware) ? I cannot explain why ACPI does 
not notice that kernel is spending about 99% of time in the kernel, 
being very busy with hard work...

                                            Thanks,
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
                                                


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-26 20:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-26 10:25 vmware in Linux 2.6 Petr Vandrovec
2003-09-26 10:50 ` Måns Rullgård
  -- strict thread matches above, loose matches on Subject: below --
2003-09-26 20:46 Petr Vandrovec
2003-09-26 12:45 Petr Vandrovec
2003-09-26 19:56 ` Jan Rychter
2003-09-26  9:46 Måns Rullgård
2003-09-26 10:28 ` Martin Zwickel
2003-09-26 10:29 ` Sean Neakums
2003-09-26 10:30 ` Helmut Djurkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox