Skip to contentSkip to conversation

2.4.19-pre4-ac1 vmware and emu10k1 problems

DISCUSSION Malcolm Mallardi 5 participants 5 messages Mar 26, 2002 – Mar 27, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines

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

Quoted 5 lines

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

#2 lore raw
Quoted 4 lines · Alan Cox
Quoted 3 lines

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>

Signature · 4 lines
						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)
#3 lore raw
In reply to Malcolm Mallardi

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

Quoted 45 lines · Malcolm Mallardi

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/

Signature · 5 lines
+-------------------------------------------------------------------------+
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/
+-------------------------------------------------------------------------+
#4 lore raw
In reply to Malcolm Mallardi
Quoted 6 lines · Malcolm Mallardi

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.

Quoted 15 lines

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.