LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-03-2003, 10:00 AM   #1
slippytoad
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Angry VMWare on RH 9 with kernel 2.6.0 test4


Hi, I'm trying to get VMware 4 working again after upgrading my kernel to 2.6 test4. I followed the instructions for RH9 linked from kerneltrap but I get this compilation error:

[root@legolas natkins]# vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
Virtual machine monitor[ OK ]
Bridged networking on /dev/vmnet0[ OK ]
DHCP server on /dev/vmnet1[ OK ]
SMB share server on /dev/vmnet1[ OK ]
SMB name server on /dev/vmnet1[ OK ]
Host-only networking on /dev/vmnet1[ OK ]
DHCP server on /dev/vmnet8[ OK ]
NAT networking on /dev/vmnet8[ OK ]
Host-only networking on /dev/vmnet8[ OK ]
Virtual ethernet[ OK ]

Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.0-0.test4.1.32smp/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config6/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config6/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config6/vmmon-only/driver-2.6.0-0.test4.1.32smp'
make[2]: Leaving directory `/tmp/vmware-config6/vmmon-only/driver-2.6.0-0.test4.1.32smp'
make[2]: Entering directory `/tmp/vmware-config6/vmmon-only/driver-2.6.0-0.test4.1.32smp'
In file included from /lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/processor.h:18,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/thread_info.h:13,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/capability.h:45,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/sched.h:7,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/smp.h:18,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/smp.h:17,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/sched.h:23,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/smp.h:18,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/smp.h:17,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/sched.h:23,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h: At top level:
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/smp.h:20,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/smp.h:17,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/sched.h:23,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/smp.h:17,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/sched.h:23,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/smp.h:74:26: mach_apicdef.h: No such file or directory
In file included from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/smp.h:17,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/sched.h:23,
from /lib/modules/2.6.0-0.test4.1.32smp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.0-0.test4.1.32smp/build/include/asm/smp.h:78: warning: implicit declaration of function `GET_APIC_ID'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config6/vmmon-only/driver-2.6.0-0.test4.1.32smp'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config6/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config6/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at <removed>


Anyone know how to fix this? Thanks.
 
Old 10-07-2003, 03:34 PM   #2
slippytoad
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I'll answer my own question

Go here and get the patches: http://ftp.cvut.cz/vmware/ and use them instead to do the vmware-config.pl thing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Linux kernel in vmware (two machines in vmware)?? cyu021 Programming 0 03-30-2005 07:46 PM
PCI tulip network adapter not working in 2.6.0-test4-bk3 kernel... Slayer Linux - Networking 0 09-06-2003 09:26 AM
Problem compiling Kernel 2.6 test4 Spaceboy Linux - General 8 09-02-2003 08:10 PM
Latest Mandrake kernel-2.6.0 test4 PCLinux Mandriva 5 09-02-2003 03:43 PM
Nvidida Drivers and 2.6.0-test4 kernel leonscape LinuxQuestions.org Member Success Stories 0 08-28-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration