2002-03-26 21:06:47

by Malcolm Mallardi

[permalink] [raw]
Subject: 2.4.19-pre4-ac1 vmware and emu10k1 problems

The vmware modules will not compile properly under 2.4.19-pre4-ac1, or
under 2.4.19-pre2-ac2, but compile fine on their mainline kernel
counterparts. Here is the errors that I get from vmware-config.pl:

Building the vmmon module.

make: Entering directory `/tmp/vmware-config1/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
make[2]: Entering directory
`/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
In file included from .././linux/driver.c:38:
/lib/modules/2.4.19-pre4-ac1/build/include/linux/malloc.h:4: #error
linux/malloc.h is deprecated, use linux/slab.h instead.
make[2]: *** [driver.d] Error 1
make[2]: Leaving directory
`/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
make[1]: *** [deps] Error 2
make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.


Also, under 2.4.19-pre4-ac1, when the emu10k1 module is loaded, I get a
large amount of constant static until I rmmod it. 2.4.19-pre4's
initialization of the emu10k1 driver is fine, and when the emu10k1
driver is replaced with the latest CVS version of the emu10k1 driver,
it initializes and performs normally.

--
Malcolm D. Mallardi - Dark Freak At Large
"Captain, we are receiving two-hundred eighty-five THOUSAND hails."
AOL: Nuark UIN: 11084092 Y!: Magamo Jabber: [email protected]
http://ranka.2y.net:8008/~magamo/index.htm


2002-03-26 21:30:35

by Petr Vandrovec

[permalink] [raw]
Subject: Re: 2.4.19-pre4-ac1 vmware and emu10k1 problems

On 26 Mar 02 at 16:06, Malcolm Mallardi wrote:
> The vmware modules will not compile properly under 2.4.19-pre4-ac1, or
> under 2.4.19-pre2-ac2, but compile fine on their mainline kernel
> counterparts. Here is the errors that I get from vmware-config.pl:

> /lib/modules/2.4.19-pre4-ac1/build/include/linux/malloc.h:4: #error

As always... If you are using VMware3.0, get
ftp://platan.vc.cvut.cz/pub/vmware/vmware-ws-1455-update12.tar.gz.

If you are using VMware2.0, you can try
ftp://platan.vc.cvut.cz/pub/vmware/vmware-ws-1142-update1.tar.gz,
but please note that I'll not create any further VMware 2.0 patches,
so if you plan using VMware 2.0 on 2.5.x kernels, you can either
create patch yourself, or upgrade to VMware3, and also that this
patch is completely untested, as it does not compile under 2.5.7
at all ;-)
Petr Vandrovec
[email protected]

2002-03-26 23:25:50

by Alan

[permalink] [raw]
Subject: Re: 2.4.19-pre4-ac1 vmware and emu10k1 problems

> The vmware modules will not compile properly under 2.4.19-pre4-ac1, or
> under 2.4.19-pre2-ac2, but compile fine on their mainline kernel
> counterparts. Here is the errors that I get from vmware-config.pl:

Please take vmware problems up with the vmware folks

> Also, under 2.4.19-pre4-ac1, when the emu10k1 module is loaded, I get a
> large amount of constant static until I rmmod it. 2.4.19-pre4's
> initialization of the emu10k1 driver is fine, and when the emu10k1
> driver is replaced with the latest CVS version of the emu10k1 driver,
> it initializes and performs normally.

I'll take a look at that see whats up

2002-03-27 00:00:34

by Mark Cooke

[permalink] [raw]
Subject: Re: 2.4.19-pre4-ac1 vmware and emu10k1 problems

They'll fix it eventually / in the 3.1 release, but you can look in
the source tarballs and change the #include to include slab.h instead
of malloc.h if you're impatient.

See: /usr/lib/mvmware/modules/source/*.tar

Mark

On Tue, 26 Mar 2002, Malcolm Mallardi wrote:

> Date: Tue, 26 Mar 2002 16:06:38 -0500
> From: Malcolm Mallardi <[email protected]>
> To: [email protected]
> Subject: 2.4.19-pre4-ac1 vmware and emu10k1 problems
>
> The vmware modules will not compile properly under 2.4.19-pre4-ac1, or
> under 2.4.19-pre2-ac2, but compile fine on their mainline kernel
> counterparts. Here is the errors that I get from vmware-config.pl:
>
> Building the vmmon module.
>
> make: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[2]: Entering directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
> In file included from .././linux/driver.c:38:
> /lib/modules/2.4.19-pre4-ac1/build/include/linux/malloc.h:4: #error
> linux/malloc.h is deprecated, use linux/slab.h instead.
> make[2]: *** [driver.d] Error 1
> make[2]: Leaving directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
> make[1]: *** [deps] Error 2
> make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
> make: *** [auto-build] Error 2
> make: Leaving directory `/tmp/vmware-config1/vmmon-only'
> Unable to build the vmmon module.
>
>
> Also, under 2.4.19-pre4-ac1, when the emu10k1 module is loaded, I get a
> large amount of constant static until I rmmod it. 2.4.19-pre4's
> initialization of the emu10k1 driver is fine, and when the emu10k1
> driver is replaced with the latest CVS version of the emu10k1 driver,
> it initializes and performs normally.
>
> --
> Malcolm D. Mallardi - Dark Freak At Large
> "Captain, we are receiving two-hundred eighty-five THOUSAND hails."
> AOL: Nuark UIN: 11084092 Y!: Magamo Jabber: [email protected]
> http://ranka.2y.net:8008/~magamo/index.htm
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
+-------------------------------------------------------------------------+
Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+

2002-03-27 00:29:22

by BODA Karoly jr.

[permalink] [raw]
Subject: Re: 2.4.19-pre4-ac1 vmware and emu10k1 problems

On Tue, 26 Mar 2002, Alan Cox wrote:

> > The vmware modules will not compile properly under 2.4.19-pre4-ac1, or
> > under 2.4.19-pre2-ac2, but compile fine on their mainline kernel
> > counterparts. Here is the errors that I get from vmware-config.pl:
> Please take vmware problems up with the vmware folks

I think it would be easy to fix.. He wrote this:

/lib/modules/2.4.19-pre4-ac1/build/include/linux/malloc.h:4: #error
linux/malloc.h is deprecated, use linux/slab.h instead.
make[2]: *** [driver.d] Error 1

So change in the file where it appeared the
#include <linux/malloc.h>
to
#include <linux/slab.h>

--
Woockie
..."what is there in this world that makes living worthwhile?"
Death thought about it. "CATS," he said eventually, "CATS ARE NICE."
(Terry Pratchett, Sourcery)

2002-03-27 13:10:35

by Matthias Andree

[permalink] [raw]
Subject: Re: 2.4.19-pre4-ac1 vmware and emu10k1 problems

On Tue, 26 Mar 2002, Malcolm Mallardi wrote:

> The vmware modules will not compile properly under 2.4.19-pre4-ac1, or
> under 2.4.19-pre2-ac2, but compile fine on their mainline kernel
> counterparts. Here is the errors that I get from vmware-config.pl:
>
> Building the vmmon module.
>
> make: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[2]: Entering directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
> In file included from .././linux/driver.c:38:
> /lib/modules/2.4.19-pre4-ac1/build/include/linux/malloc.h:4: #error
> linux/malloc.h is deprecated, use linux/slab.h instead.
> make[2]: *** [driver.d] Error 1
> make[2]: Leaving directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
> make[1]: *** [deps] Error 2
> make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
> make: *** [auto-build] Error 2
> make: Leaving directory `/tmp/vmware-config1/vmmon-only'
> Unable to build the vmmon module.

Replace all #include <linux/malloc.h> by #include <linux/slab.h> as the
#error says -- I tried that, and it works for me with 2.4.19-pre3-ac4.