You are not logged in.
Pages: 1
thanx to several other posts, I was able to get vmware installed and running on my Arch Linux box.
Well, it is running, but I don't have a network connection anymore.
whenever the vmware modules (vmmon and vmnet) are loaded, my network connection disappears.
ifconfig still shows me the correct ip address (only when the modules were not loaded at boot time, otherwise I never get an ip address), but I cannot get on the net anymore, nor can I ping any other computer on my network.
I googled already, searched on the vmware site, but cannot find a solution.
Offline
i just upgraded to kernel 2.6.3 in the hope it could solve my vmware problem, but it isn't.
Followed the directions in the other vmware-related threads (installed vmware patch for 2.6 kernel etc), but still the same problem.
This is the output of dmesg:
...
vmmon: module license 'unspecified' taints kernel.
/dev/vmmon: Module vmmon: registered with major=10 minor=165
/dev/vmmon: Module vmmon: initialized
/dev/vmmon: Module vmmon: unloaded
vmnet: module license 'unspecified' taints kernel.
vmmon: module license 'unspecified' taints kernel.
/dev/vmmon: Module vmmon: registered with major=10 minor=165
/dev/vmmon: Module vmmon: initialized
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
vmnet: module license 'unspecified' taints kernel.
/dev/vmnet: open called by PID 8354 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: enabling the bridge
bridge-eth0: up
bridge-eth0: already up
bridge-eth0: attached
/dev/vmnet: open called by PID 8377 (vmnet-natd)
/dev/vmnet: hub 8 does not exist, allocating memory.
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 8630 (vmnet-netifup)
/dev/vmnet: hub 1 does not exist, allocating memory.
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 8642 (vmnet-netifup)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 8641 (vmnet-dhcpd)
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 8653 (vmnet-dhcpd)
/dev/vmnet: port on hub 8 successfully opened
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 1826 dirty entry 1822.
eth0: Tx descriptor 0 is 00002000.
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000. (queue head)
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
vmnet8: no IPv6 routers present
vmnet1: no IPv6 routers present
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
Real Time Clock Driver v1.12
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
[ and again, and again, ... ]
I run vmware without any problems under SUSE 9.0 on the same machine.
Any help appreciated.
Offline
Finally I solved the problem by replacing the NIC with another NIC (same brand, same type).
Strange, but it works now.
Still one problem with vmware though:
I'm not able to use the parallel port.
modules parport & parport_pc are loaded, /dev/parport0 is there,
but vmware says it cannot find the port.
any suggestions ?
Offline
It seems that the problem with the parport has something to do with ppdev that's not loaded.
So I wanted to do a modprobe ppdev to test it, but it seems there is no ppdev module for my 2.6.3 kernel.
how can I create/compile this ppdev module ?
Offline
Hi Santo,
I am going to be installing Arch on my main PC, and I am going to have to get VMWare running. I appreciate your posts. Do you have a summary of what you had to do to get VMWare to work? Did you have to create some directories, like when VMWare is installed on Slackware?
thx!
Offline
well, I don't have a summary or something like that, but I try to sum the steps right here (I asume you have kernel 2.6.x, if not skip the steps in red):
1) first of all, get the needed software, patches, ...:
- vmware (of course)
- download http://ftp.cvut.cz/vmware/vmware-config.pl.diff
- download http://ftp.cvut.cz/vmware/vmware-any-an … e53.tar.gz
2) before we begin, we need to do some preparation
because arch linux doesn't use init folders in the style of rc0.d .. rc6.d, we have to create some simlinks:
cd /etc
for a in `seq 0 5`; do ln -s rc.d rc$a.d; done
3) now let's start installing vmware. First unpack it to a temporary folder:
cd /var/tmp/install
tar zxvf VMware-workstation-<version>-<build>.tar.gz #this creates a folder "/var/tmp/install/vmware-distrib"
4) invoke the installer:
./vmware-install.pl
accept the defaults (unless you know what you're doing), with one exception:
if you're asked where to place the init scripts / startup scripts, then don't accept the default of /etc,
but instead say to install them in /etc/vmware because there is already a folder /etc/vmware
and this would give trouble if you accepted the default answer of /etc
Note: If you don't have kernel 2.6.<x>, you can ignore the following
and just answer yes to this question, follow the steps to configure vmware,
and continue with step 7
In case you do have kernel 2.6.<x>, continue here:
When you're asked to invoke the configuration, answer no:
Before running VMware Workstation for the first time, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the
command for you now? [no]
5) apply the patch you downloaded to /usr/bin/vmware-config.pl:
patch /usr/bin/vmware-config.pl <path-to>/vmware-config.pl.diff
6) untar vmware-any-any-update53.tar.gz and run the runme.pl script
tar zxvf vmware-any-any-update53.tar.gz
./runme.pl
This will generate two modules:
- /lib/modules/2.6.<x>/misc/vmmon.o
- /lib/modules/2.6.<x>/misc/vmnet.o
give them the extension ".ko":
mv /lib/modules/2.6.<x>/misc/vmmon.o /lib/modules/2.6.<x>/misc/vmmon.ko
mv /lib/modules/2.6.<x>/misc/vmnet.o /lib/modules/2.6.<x>/misc/vmnet.ko
7) make a symlink from /dev/vmmon to /dev/misc/vmmon:
ln -s /dev/misc/vmmon /dev/vmmon
8 ) copy insmod from /bin to /sbin or change the vmware startup script to point at /bin/insmod
now you should be able to run vmware, but you'll probably notice it won't run anymore after you've rebooted your machine.
This is because the vmnet<x> and parport<x> devices do not exist anymore for some reason.
To avoid this, you can create a little script to make those devices every time your machine is booted:
vi /etc/rc.d/mkvnet
and paste this into the file:
#!/bin/sh
mknod --mode=0600 /dev/misc/vmmon c 10 165
ln -s /dev/misc/vmmon /dev/vmmon
mknod --mode=0600 /dev/vmnet0 c 119 0
mknod --mode=0600 /dev/vmnet1 c 119 1
mknod --mode=0600 /dev/vmnet2 c 119 2
mknod --mode=0600 /dev/vmnet3 c 119 3
mknod --mode=0600 /dev/vmnet4 c 119 4
mknod --mode=0600 /dev/vmnet5 c 119 5
mknod --mode=0600 /dev/vmnet6 c 119 6
mknod --mode=0600 /dev/vmnet7 c 119 7
mknod --mode=0600 /dev/vmnet8 c 119 8
mknod --mode=0600 /dev/vmnet9 c 119 9
mknod --mode=0600 /dev/parport0 c 99 0
mknod --mode=0600 /dev/parport1 c 99 1
mknod --mode=0600 /dev/parport2 c 99 2
mknod --mode=0600 /dev/parport3 c 99 3
make the script executable:
chmod a+x /etc/rc.d/mkvnet
and add it to the DAEMONS line in /etc/rc.conf:
DAEMONS=(pcmcia network mkvnet)
also put /etc/rc.d/S90vmware in your DAEMONS line in /etc/rc.conf:
DAEMONS=(pcmcia network mkvnet S90vmware)
IMPORTANT NOTES:
- the mkvnet script also tries to make the devices when shutting down the machine. If you cannot live with that, you can modify the script to only run at shutdown, something like this:
case "$1" in
start)
# make the devices here
;;
stop)
# do nothing, just a dummy entry
;;
*) # display syntax
echo "Usage: mkvnet {start|stop}"
exit 1
esac
- make sure the user who is running vmware has the right privileges for accessing the devices created by the mkvnet script.
change the script if necessary (e.g. replace 0600 with 0666)
- insmod is in the package pciutils, so grab it if you don't have it:
pacman -S pciutils
- I still haven't found a solution for the parallel port problem
- you can also find tips/tricks in the following topics (my vmware installation was largely based on those topics):
- http://bbs.archlinux.org/viewtopic.php?t=2254
- http://bbs.archlinux.org/viewtopic.php?t=2150
I hope this helps you in setting up vmware on your arch linux box[/list]
Offline
Awesome! I will trying to install this weekend, I just got sound (xmms) and video (xine) working - so my next task is VMware.
Thanks again, that was exactly what I was looking for! I will post this weekend to say how much success I had.
(I am running 2.6)
- THX!
Offline
Well, I couldn't wait, so I went ahead and started
I'm still working through it, here's what I encountered so far.
I had to change `seq 0 5` to `seq 0 6`, after it complained that /etc/ did not have rc.6 directory in it. I was able to re-run the vmware-config.pl and get past that error afterwards.
Currently, the patch command is not working. It displays the error:
patching file /usr/bin/vmware-config.pl
Hunk #1 FAILED at 2431
Hunk #2 FAILED at 2518
2 out of 2 hunks FAILED -- saving rejects to file /usr/bin/vmware-config.pl.rej
Not sure what to do from here.
thx!
Offline
I read that the patch may fail, if the file being patched is already patched - so I decided to keep going.
The next step is to untar vmware-any-any-update53.tar.gz and run "./runme.pl", which failes witht he following error:
[root@arch23 vmware-any-any-update53]# ./runme.pl
Updating /usr/bin/vmware ... Unknown version
Sorry, there is no binary patch available for your version of vmware.
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [no]
Enjoy,
--the VMware team
[root@arch23 vmware-any-any-update53]#
I also do not have a "misc" directory or "ko" files mentioned here:
This will generate two modules:
- /lib/modules/2.6.<x>/misc/vmmon.o
- /lib/modules/2.6.<x>/misc/vmnet.o
Should I have said "yes" on the second question?
thx!
Offline
yep, indeed. You should have said yes to this question.
Sorry I didn't mention this.
You should only say no to this question when vmware-install.pl asks it.
In case of the patch (runme.pl), you have to say yes.
Notes:
- the patch failed for me too, indeed. So you can just ignore this error. 8)
- the .ko files will be created after you have answered "yes" to the config question
- I had to change it from `seq 0 5` to `seq 0 6` myself too. I was forgotten about that :oops:
Offline
I am getting an error when I run ./runme.pl. Here is the sequence of events, there are various errors in the middle too:
=================================================================================
./vmware-install.pl
=================================================================================
[root@arch23 vmware-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
In which directory do you want to install the binary files?
[/usr/bin]
In which directory do you want to install the library files?
[/usr/lib/vmware]
The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes]
In which directory do you want to install the manual files?
[/usr/man]
In which directory do you want to install the documentation files?
[/usr/doc/vmware]
The path "/usr/doc/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
What is the directory that contains the init scripts? [/etc] /etc/vmware
The installation of VMware Workstation 4.0.5 build-6030 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".
Before running VMware Workstation for the first time, you need to configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes] no
Enjoy,
--the VMware team
[root@arch23 vmware-distrib]#
=================================================================================
patch /usr/bin/vmware-config.pl /var/tmp/install/vmware-config.pl.diff
=================================================================================
[root@arch23 install]# patch /usr/bin/vmware-config.pl /var/tmp/install/vmware-config.pl.diff
patching file /usr/bin/vmware-config.pl
Hunk #1 FAILED at 2431.
Hunk #2 FAILED at 2518.
2 out of 2 hunks FAILED -- saving rejects to file /usr/bin/vmware-config.pl.rej
[root@arch23 install]#
=================================================================================
./runme.pl
=================================================================================
[root@arch23 vmware-any-any-update53]# ./runme.pl
Updating /usr/bin/vmware ... Unknown version
Sorry, there is no binary patch available for your version of vmware.
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [no] yes
Making sure VMware Workstation's services are stopped.
/etc/vmware/vmware: line 403: /sbin/lsmod: No such file or directory
Stopping VMware services:
Virtual machine monitor done
You must read and accept the End User License Agreement to continue.
Press enter to display it.
=================================================================================
Do you accept? (yes/no) yes
=================================================================================
VMware is a trademark of VMware, Inc.
Do you accept? (yes/no) yes
Thank you.
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
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]
=================================================================================
(took defaults for compiler and library paths)
=================================================================================
/lib/modules/2.6.3/build/include/linux/profile.h: In function `profile_event_unregister':
/lib/modules/2.6.3/build/include/linux/profile.h:65: error: `ENOSYS' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/profile.h: In function `register_profile_notifier':
/lib/modules/2.6.3/build/include/linux/profile.h:74: error: `ENOSYS' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/profile.h: In function `unregister_profile_notifier':
/lib/modules/2.6.3/build/include/linux/profile.h:79: error: `ENOSYS' undeclared (first use in this function)
In file included from /lib/modules/2.6.3/build/include/asm/hw_irq.h:19,
from /lib/modules/2.6.3/build/include/linux/irq.h:72,
from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/asm/sections.h:5:34: asm-generic/sections.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/irq.h:72,
from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/asm/hw_irq.h: At top level:
/lib/modules/2.6.3/build/include/asm/hw_irq.h:61: error: parse error before "mask"
/lib/modules/2.6.3/build/include/asm/hw_irq.h:61: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/asm/hw_irq.h: In function `x86_do_profile':
/lib/modules/2.6.3/build/include/asm/hw_irq.h:98: error: `_stext' undeclared (first use in this function)
In file included from /lib/modules/2.6.3/build/include/asm/hardirq.h:80,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `release_kernel_lock':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:22: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `reacquire_kernel_lock':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:31: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `lock_kernel':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:44: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h:47: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `unlock_kernel':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:52: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h:53: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3/build/include/linux/dcache.h:10,
from /lib/modules/2.6.3/build/include/linux/fs.h:17,
from /lib/modules/2.6.3/build/include/linux/mm.h:14,
from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/rcupdate.h: At top level:
/lib/modules/2.6.3/build/include/linux/rcupdate.h:71: error: parse error before "cpumask_t"
/lib/modules/2.6.3/build/include/linux/rcupdate.h:71: warning: no semicolon at end of struct or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: error: parse error before "rcu_data"
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: type defaults to `int' in declaration of `DECLARE_PER_CPU'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: data definition has no type or storage class
/lib/modules/2.6.3/build/include/linux/rcupdate.h: In function `rcu_pending':
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: warning: implicit declaration of function `per_cpu'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: error: `rcu_data' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: error: request for member `curlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:115: error: request for member `batch' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:115: error: invalid use of undefined type `struct rcu_ctrlblk'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:116: error: request for member `curlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:117: error: request for member `nxtlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:118: warning: implicit declaration of function `cpu_isset'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:118: error: invalid use of undefined type `struct rcu_ctrlblk'
In file included from /lib/modules/2.6.3/build/include/linux/mm.h:25,
from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/asm/pgtable.h:350:33: asm-generic/pgtable.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/mm.h:206,
from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/page-flags.h: At top level:
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: error: parse error before "page_states"
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: type defaults to `int' in declaration of `DECLARE_PER_CPU'
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: data definition has no type or storage class
In file included from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/mm.h: In function `do_mmap':
/lib/modules/2.6.3/build/include/linux/mm.h:548: error: `EINVAL' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/mm.h: In function `__vma_unlink':
/lib/modules/2.6.3/build/include/linux/mm.h:566: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/mm.h:567: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/mm.h:568: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3/build/include/linux/poll.h:11,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/asm/uaccess.h: In function `verify_area':
/lib/modules/2.6.3/build/include/asm/uaccess.h:104: error: `EFAULT' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/asm/uaccess.h: In function `__copy_to_user':
/lib/modules/2.6.3/build/include/asm/uaccess.h:406: error: `EFAULT' undeclared (first use in this function)
In file included from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/poll.h: In function `get_fd_set':
/lib/modules/2.6.3/build/include/linux/poll.h:77: error: `EFAULT' undeclared (first use in this function)
In file included from ../linux/driver.h:18,
from ../linux/driver.c:42:
../include/compat_wait.h: At top level:
../include/compat_wait.h:60: error: conflicting types for `poll_initwait'
/lib/modules/2.6.3/build/include/linux/poll.h:44: error: previous declaration of `poll_initwait'
../linux/driver.c:142: warning: initialization from incompatible pointer type
../linux/driver.c:146: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:306: error: `ENOEXEC' undeclared (first use in this function)
../linux/driver.c:360: error: `ENOENT' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_InitV2':
../linux/driver.c:465: error: dereferencing pointer to incomplete type
../linux/driver.c:468: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_Open':
../linux/driver.c:500: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:505: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `LinuxDriverAllocLowMem':
../linux/driver.c:1029: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1035: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriverAllocLockedMem':
../linux/driver.c:1084: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1096: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1103: warning: implicit declaration of function `cpu_to_node'
../linux/driver.c: In function `LinuxDriverMmap':
../linux/driver.c:1172: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriverIoctlAlloc4Gb':
../linux/driver.c:1231: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1236: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c: In function `__LinuxDriver_Ioctl':
../linux/driver.c:1323: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1339: error: dereferencing pointer to incomplete type
../linux/driver.c:1342: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1422: error: dereferencing pointer to incomplete type
../linux/driver.c:1423: error: dereferencing pointer to incomplete type
../linux/driver.c:1426: error: `EPERM' undeclared (first use in this function)
../linux/driver.c:1670: error: dereferencing pointer to incomplete type
../linux/driver.c:1670: error: dereferencing pointer to incomplete type
../linux/driver.c:1671: error: dereferencing pointer to incomplete type
../linux/driver.c:1671: error: dereferencing pointer to incomplete type
../linux/driver.c:1672: error: dereferencing pointer to incomplete type
../linux/driver.c:1672: error: dereferencing pointer to incomplete type
../linux/driver.c:1673: error: dereferencing pointer to incomplete type
../linux/driver.c:1673: error: dereferencing pointer to incomplete type
../linux/driver.c:1675: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `LinuxDriver_IoctlTOT':
../linux/driver.c:1964: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV45':
../linux/driver.c:2054: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV4':
../linux/driver.c:2140: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `initBlockG25_to_initBlock':
../linux/driver.c:2246: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlGSX25':
../linux/driver.c:2317: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlGSX2':
../linux/driver.c:2466: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `initBlock30_to_initBlock':
../linux/driver.c:2510: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV3':
../linux/driver.c:2594: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV2':
../linux/driver.c:2777: error: `EFAULT' undeclared (first use in this function)
../linux/driver.c:2780: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:2787: error: `EPERM' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_Ioctl':
../linux/driver.c:3053: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `vLog':
../linux/driver.c:3081: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `vWarning':
../linux/driver.c:3113: error: dereferencing pointer to incomplete type
../linux/driver.c:3122: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Warning':
../linux/driver.c:3147: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Log':
../linux/driver.c:3175: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Panic':
../linux/driver.c:3208: error: dereferencing pointer to incomplete type
../linux/driver.c:3229: error: dereferencing pointer to incomplete type
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.6.3'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config2/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference … linux.html".
Execution aborted.
[root@arch23 vmware-any-any-update53]#
Offline
this ain't no good
but first of all, you get an error on lsmod.
Have you installed the pciutils package (as mentioned in my "important notes") ?
If not, install that package first (pacman -S pciutils) and then try the installation again.
Also, try to uninstall vmware completely before any new installation attempt (vmware-uninstall.pl)
When still no success, try to re-install the kernel sources and then remove vmware/install vmware.
Offline
I have pciutils installed:
[root@arch23 root]# pacman -S pciutils
:: pciutils-2.1.11-2: is up to date. Upgrade anyway? [Y/n]
I have also been uninstalling VMware whenever I try something new, using /usr/bin/vmware-uninstall.pl (I think).
This is a fresh AL install, and I do not know if the "kernel sources" are installed or not. How do I install/re-install them? (I'm hunting for old instructions on that, but theres a lot with the words "kernel sources" in them, lol).
I am using the 2.6 kernel. When I installed, I think I chose "everything' (well, all 4 check-boxes).
thx!
Offline
well, let's forget about reinstalling the kernel sources for a moment, because they come with the 2.6 kernel.
Because it's a fresh AL install, I presume the sources are ok.
maybe you have to copy/link the lsmod (and maybe others as well, such as rmmod) to /sbin/
by default, they are in /bin and as I mentioned in step 8, the vmware script expects them to be in /sbin (I only mentioned insmod there, but maybe others need to be there as well ?)
Also, I just noticed that when I installed vmware on my machine (and that is not that long ago), the patch from vmware was vmware-any-any-update43.tar.gz and not vmware-any-any-update53.tar.gz.
Maybe there is a bug in this patch ??
Unfortunately, I cannot find that file anymore on my machine. I must have removed it after the installation
Offline
I copied lsmod from /bin to /sbin, but then I was surprised to see that lsmod was the only "mod" program in there. I was even more surprised to see all of them already in /sbin. Maybe I need to copy them from /sbin to /bin?
[root@arch23 sbin]# cd /bin
[root@arch23 bin]# ls -al
total 2696
drwxr-xr-x 2 root root 4096 Mar 10 14:59 .
drwxr-xr-x 18 root root 4096 Mar 10 14:05 ..
-rwxr-xr-x 1 root root 2820 Sep 8 2003 arch
lrwxr-xr-x 1 root root 4 Mar 10 14:05 awk -> mawk
-rwxr-xr-x 1 root root 627696 Jan 2 17:43 bash
lrwxr-xr-x 1 root root 5 Mar 10 14:05 bunzip2 -> bzip2
lrwxr-xr-x 1 root root 5 Mar 10 14:05 bzcat -> bzip2
-rwxr-xr-x 1 root root 29036 Nov 29 2002 bzip2
-rwxr-xr-x 1 root root 7980 Nov 29 2002 bzip2recover
-rwxr-xr-x 1 root root 16560 Feb 20 14:10 cat
-rwxr-xr-x 1 root root 31796 Feb 20 14:10 chgrp
-rwxr-xr-x 1 root root 31652 Feb 20 14:10 chmod
-rwxr-xr-x 1 root root 35144 Feb 20 14:10 chown
lrwxr-xr-x 1 root root 4 Mar 10 14:05 compress -> gzip
-rwxr-xr-x 1 root root 49264 Feb 20 14:10 cp
-rwxr-xr-x 1 root root 52524 Apr 11 2003 cpio
-rwxr-xr-x 1 root root 43356 Feb 20 14:10 date
-rwxr-xr-x 1 root root 28552 Feb 20 14:10 dd
-rwxr-xr-x 1 root root 32228 Feb 20 14:10 df
-rwxr-xr-x 1 root root 73592 Feb 20 14:10 dir
-rwxr-xr-x 1 root root 21296 Feb 20 14:10 dircolors
-rwxr-xr-x 1 root root 4128 Sep 8 2003 dmesg
lrwxr-xr-x 1 root root 8 Mar 10 14:05 dnsdomainname -> hostname
lrwxr-xr-x 1 root root 8 Mar 10 14:05 domainname -> hostname
-rwxr-xr-x 1 root root 40764 Feb 20 14:10 du
-rwxr-xr-x 1 root root 14252 Feb 20 14:10 echo
-rwxr-xr-x 1 root root 11932 Feb 20 14:10 false
-rwxr-xr-x 1 root root 5792 Jan 14 18:10 groups
lrwxr-xr-x 1 root root 4 Mar 10 14:05 gunzip -> gzip
-rwxr-xr-x 1 root root 49880 Sep 3 2002 gzip
-rwxr-xr-x 1 root root 9336 Oct 27 22:04 hostname
-rwxr-xr-x 1 root root 50504 Feb 20 14:10 install
-r-xr-xr-x 1 root root 12144 Feb 23 20:53 kill
-rwxr-xr-x 1 root root 100348 Feb 16 17:41 less
-rwxr-xr-x 1 root root 23584 Feb 20 14:10 ln
-rwxr-xr-x 1 root root 77932 Jan 31 04:47 loadkeys
-rwxr-xr-x 1 root root 31972 Jan 14 18:10 login
-rwxr-xr-x 1 root root 73592 Feb 20 14:10 ls
-rwxr-xr-x 1 root root 5828 Mar 9 20:55 lsmod
lrwxrwxrwx 1 root root 16 Mar 10 14:59 lsmod.old -> /sbin/insmod.old
-rwxr-xr-x 1 root root 100028 Sep 6 2003 mawk
-rwxr-xr-x 1 root root 6164 Jan 26 12:01 mbchk
-rwxr-xr-x 1 root root 21408 Feb 20 14:10 mkdir
-rwxr-xr-x 1 root root 16336 Feb 20 14:10 mkfifo
-rwxr-xr-x 1 root root 19596 Feb 20 14:10 mknod
-rwxr-xr-x 1 root root 26704 Sep 8 2003 more
-rwsr-xr-x 1 root root 64700 Sep 8 2003 mount
-rwxr-xr-x 1 root root 53576 Feb 20 14:10 mv
-rwxr-xr-x 1 root root 88192 Oct 27 22:04 netstat
lrwxr-xr-x 1 root root 8 Mar 10 14:05 nisdomainname -> hostname
lrwxr-xr-x 1 root root 16 Mar 10 14:05 pidof -> ../sbin/killall5
-rwsr-xr-x 1 root root 30984 Nov 30 18:03 ping
-rwsr-xr-x 1 root root 26792 Nov 30 18:03 ping6
-r-xr-xr-x 1 root root 65680 Feb 23 20:53 ps
-rwxr-xr-x 1 root root 14312 Feb 20 14:10 pwd
-rwxr-xr-x 1 root root 31240 Feb 20 14:10 rm
-rwxr-xr-x 1 root root 14256 Feb 20 14:10 rmdir
lrwxr-xr-x 1 root root 4 Mar 10 14:05 sh -> bash
-rwxr-xr-x 1 root root 35416 Feb 20 14:10 shred
-rwxr-xr-x 1 root root 37248 Feb 20 14:10 stty
-rwsr-xr-x 1 root root 19120 Jan 14 18:10 su
-rwxr-xr-x 1 root root 12524 Feb 20 14:10 sync
-rwxr-xr-x 1 root root 142700 Mar 14 2003 tar
-rwxr-xr-x 1 root root 30796 Feb 20 14:10 touch
-rwxr-xr-x 1 root root 11932 Feb 20 14:10 true
-rwsr-xr-x 1 root root 29200 Sep 8 2003 umount
-rwxr-xr-x 1 root root 14204 Feb 20 14:10 uname
lrwxr-xr-x 1 root root 6 Mar 10 14:05 uncompress -> gunzip
-rwxr-xr-x 1 root root 73592 Feb 20 14:10 vdir
lrwxr-xr-x 1 root root 8 Mar 10 14:05 ypdomainname -> hostname
lrwxr-xr-x 1 root root 4 Mar 10 14:05 zcat -> gzip
[root@arch23 bin]#
[root@arch23 bin]# cd /sbin/
[root@arch23 sbin]# ls -al
total 7512
drwxr-xr-x 2 root root 4096 Mar 11 23:45 .
drwxr-xr-x 18 root root 4096 Mar 10 14:05 ..
-rwxr-xr-x 1 root root 14448 Sep 8 2003 agetty
-rwxr-xr-x 1 root root 39536 Oct 27 22:04 arp
-rwxr-xr-x 1 root root 71888 Feb 24 19:25 arytst
-rwxr-xr-x 1 root root 18216 Feb 29 01:56 badblocks
-rwxr-xr-x 1 root root 6724 Feb 29 01:56 blkid
-rwxr-xr-x 1 root root 7568 Sep 8 2003 blockdev
-rwxr-xr-x 1 root root 48396 Sep 8 2003 cfdisk
-rwxr-xr-x 1 root root 3564 Sep 8 2003 ctrlaltdel
-rwxr-xr-x 1 root root 60580 Feb 29 01:56 debugfs
-rwxr-xr-x 1 root root 183004 Feb 18 02:20 debugreiserfs
-rwxr-xr-x 1 root root 19796 Mar 9 20:55 depmod
-rwxr-xr-x 1 root root 85340 Mar 9 20:55 depmod.old
-rwxr-xr-x 1 root root 74112 Feb 24 19:25 detect_multipath
-rwxr-xr-x 1 root root 36000 Sep 22 23:21 devfsd
-rwxr-xr-x 1 root root 991 Feb 20 14:38 devmap_mknod.sh
lrwxr-xr-x 1 root root 16 Mar 10 14:05 dhcpcd -> /usr/sbin/dhcpcd
-r-xr-xr-x 1 root root 13044 Feb 20 14:38 dmsetup
-rwxr-xr-x 1 root root 9964 Feb 29 01:56 dumpe2fs
-rwxr-xr-x 3 root root 610380 Feb 29 01:56 e2fsck
-rwxr-xr-x 1 root root 10132 Feb 29 01:56 e2image
-rwxr-xr-x 3 root root 22424 Feb 29 01:56 e2label
-rwxr-xr-x 1 root root 4840 Sep 8 2003 elvtune
-rwxr-xr-x 1 root root 77652 Sep 8 2003 fdisk
-rwxr-xr-x 3 root root 22424 Feb 29 01:56 findfs
-rwxr-xr-x 1 root root 18384 Feb 29 01:56 fsck
-rwxr-xr-x 1 root root 10652 Sep 8 2003 fsck.cramfs
-rwxr-xr-x 3 root root 610380 Feb 29 01:56 fsck.ext2
-rwxr-xr-x 3 root root 610380 Feb 29 01:56 fsck.ext3
-rwxr-xr-x 1 root root 22204 Sep 8 2003 fsck.minix
-rwxr-xr-x 1 root root 6970 Mar 9 20:55 generate-modprobe.conf
-rwxr-xr-x 1 root root 34948 Mar 9 20:55 genksyms
-rwxr-xr-x 1 root root 126384 Jan 26 12:01 grub
-rwxr-xr-x 1 root root 12498 Jan 26 12:01 grub-install
-rwxr-xr-x 1 root root 2298 Jan 26 12:01 grub-md5-crypt
-rwxr-xr-x 1 root root 2473 Jan 26 12:01 grub-terminfo
-rwxr-xr-x 1 root root 8920 Sep 29 11:51 halt
-rwxr-xr-x 1 root root 1160 Jan 7 15:25 hotplug
-rwxr-xr-x 1 root root 29344 Sep 8 2003 hwclock
-rwxr-xr-x 1 root root 52240 Oct 27 22:04 ifconfig
-rwxr-xr-x 1 root root 28400 Sep 29 11:51 init
-rwxr-xr-x 1 root root 6424 Mar 9 20:55 insmod
-rwxr-xr-x 1 root root 131108 Mar 9 20:55 insmod.old
-rwxr-xr-x 1 root root 413464 Mar 9 20:55 insmod.static
-rwxr-xr-x 1 root root 609836 Mar 9 20:55 insmod.static.old
-rwxr-xr-x 1 root root 359 Mar 9 20:55 insmod_ksymoops_clean
-rwxr-xr-x 1 root root 2373 Jan 26 12:01 install-grub
-rwxr-xr-x 1 root root 10300 Oct 27 22:04 ipmaddr
-rwxr-xr-x 1 root root 14944 Oct 27 22:04 iptunnel
lrwxrwxrwx 1 root root 10 Mar 10 14:59 kallsyms.old -> insmod.old
-rwxr-xr-x 1 root root 451 Mar 9 20:55 kernelversion
-rwxr-xr-x 1 root root 9156 Sep 29 11:51 killall5
lrwxrwxrwx 1 root root 10 Mar 10 14:59 ksyms.old -> insmod.old
-rwxr-xr-x 1 root root 463656 Dec 14 14:28 ldconfig
-rwxr-xr-x 1 root root 178088 Oct 10 17:06 lilo
-rwxr-xr-x 1 root root 6080 Feb 29 01:56 logsave
-rwxr-xr-x 1 root root 9896 Sep 8 2003 losetup
-rwxr-xr-x 1 root root 5828 Mar 11 23:45 lsmod
-rwxr-xr-x 1 root root 75928 Feb 24 19:25 lsraid
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvchange -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvcreate -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvdisplay -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvextend -> lvm
-r-xr-xr-x 1 root root 402620 Feb 9 16:50 lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvmchange -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvmdiskscan -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvmsadc -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvmsar -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvreduce -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvremove -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvrename -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvresize -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvs -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 lvscan -> lvm
-rwxr-xr-x 1 root root 10620 Oct 27 22:04 mii-tool
-rwxr-xr-x 1 root root 6092 Feb 29 17:57 minilogd
-rwxr-xr-x 3 root root 31320 Feb 29 01:56 mke2fs
-rwxr-xr-x 1 root root 4896 Sep 8 2003 mkfs
-rwxr-xr-x 1 root root 7484 Sep 8 2003 mkfs.bfs
-rwxr-xr-x 1 root root 14956 Sep 8 2003 mkfs.cramfs
-rwxr-xr-x 3 root root 31320 Feb 29 01:56 mkfs.ext2
-rwxr-xr-x 3 root root 31320 Feb 29 01:56 mkfs.ext3
-rwxr-xr-x 1 root root 15132 Sep 8 2003 mkfs.minix
-rwxr-xr-x 1 root root 71888 Feb 24 19:25 mkraid
-rwxr-xr-x 1 root root 142144 Feb 18 02:20 mkreiserfs
-rwxr-xr-x 1 root root 11030 Oct 10 17:06 mkrescue
-rwxr-xr-x 1 root root 10044 Sep 8 2003 mkswap
-rwxr-xr-x 1 root root 10140 Mar 9 20:55 modinfo
-rwxr-xr-x 1 root root 56772 Mar 9 20:55 modinfo.old
-rwxr-xr-x 1 root root 21392 Mar 9 20:55 modprobe
lrwxrwxrwx 1 root root 10 Mar 10 14:59 modprobe.old -> insmod.old
-rwxr-xr-x 1 root root 7616 Oct 27 22:04 nameif
-rwxr-xr-x 1 root root 6724 Jan 6 16:13 pam_tally
-rwxr-xr-x 1 root root 2964 Sep 8 2003 pivot_root
-rwxr-xr-x 1 root root 4540 Oct 27 22:04 plipconfig
lrwxr-xr-x 1 root root 4 Mar 10 14:05 poweroff -> halt
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvchange -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvcreate -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvdisplay -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvmove -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvremove -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvresize -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvs -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 pvscan -> lvm
lrwxr-xr-x 1 root root 6 Mar 10 14:05 raid0run -> mkraid
lrwxr-xr-x 1 root root 9 Mar 10 14:05 raidhotadd -> raidstart
lrwxr-xr-x 1 root root 9 Mar 10 14:05 raidhotremove -> raidstart
-rwxr-xr-x 1 root root 75984 Feb 24 19:25 raidreconf
lrwxr-xr-x 1 root root 9 Mar 10 14:05 raidsetfaulty -> raidstart
-rwxr-xr-x 1 root root 67792 Feb 24 19:25 raidstart
lrwxr-xr-x 1 root root 9 Mar 10 14:05 raidstop -> raidstart
-rwxr-xr-x 1 root root 19632 Oct 27 22:04 rarp
lrwxr-xr-x 1 root root 4 Mar 10 14:05 reboot -> halt
-rwxr-xr-x 1 root root 286000 Feb 18 02:20 reiserfsck
-rwxr-xr-x 1 root root 140224 Feb 18 02:20 reiserfstune
-rwxr-xr-x 1 root root 23804 Feb 29 01:56 resize2fs
-rwxr-xr-x 1 root root 139684 Feb 18 02:20 resize_reiserfs
-rwxr-xr-x 1 root root 8592 Mar 9 20:55 rmmod
lrwxrwxrwx 1 root root 10 Mar 10 14:59 rmmod.old -> insmod.old
-rwxr-xr-x 1 root root 44416 Oct 27 22:04 route
-rwxr-xr-x 1 root root 3148 Sep 29 11:51 runlevel
-rwxr-xr-x 1 root root 48028 Sep 8 2003 sfdisk
-rwxr-xr-x 1 root root 16416 Sep 29 11:51 shutdown
-rwxr-xr-x 1 root root 23748 Oct 27 22:04 slattach
-rwxr-xr-x 1 root root 410260 Dec 14 14:28 sln
-rwxr-xr-x 1 root root 9948 Sep 29 11:51 sulogin
lrwxr-xr-x 1 root root 6 Mar 10 14:05 swapoff -> swapon
-rwxr-xr-x 1 root root 8056 Sep 8 2003 swapon
-r-xr-xr-x 1 root root 8500 Feb 23 20:53 sysctl
lrwxr-xr-x 1 root root 4 Mar 10 14:05 telinit -> init
-rwxr-xr-x 3 root root 22424 Feb 29 01:56 tune2fs
-r-sr-xr-x 1 root root 14368 Jan 6 16:13 unix_chkpwd
-rwxr-xr-x 1 root root 151220 Feb 18 02:20 unpack
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgcfgbackup -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgcfgrestore -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgchange -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgck -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgconvert -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgcreate -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgdisplay -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgexport -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgextend -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgimport -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgmerge -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgmknodes -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgreduce -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgremove -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgrename -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgs -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgscan -> lvm
lrwxr-xr-x 1 root root 3 Mar 10 14:05 vgsplit -> lvm
[root@arch23 sbin]#
Offline
Do I really need the patch? I don't see it listed on VMWare's website. When I ran VMWare on Gentoo and Slackware, I did not have to patch it. What exactly is the patch for? Or what does it do? I thought just downloading the Linux version of VMWare 4.0 would be enough.
thx
Offline
Anybody have any ideas how to get VMWare 4 installed? I still get the error mentioned above about /sbin/lsmod not being found, and it *is* there.
Offline
I think my SMP is enabled:
[root@arch23 install]# uname -a
Linux arch23 2.6.3 #1 SMP Wed Feb 18 00:08:24 PST 2004 i686 unknown unknown GNU/Linux
Which might be a problem:
http://www.vmware.com/community/thread. … =4926#4926
"However, when SMP is enabled in the Makefile for the Workstation modules, the installation will fail with gcc errors. To fix the problem: run a make config and a make dep in the kernel source directory, then re-run ./vmware-install.pl."
Not sure if I should go running those commands in my kernel source directory. Actually, I don't know where that directory is. :?
Offline
Maybe this will work:
Offline
Here is what I get when I run the runme.pl inside vmware-any-any-update53, any ideas? I'm way stuck.
./runme.pl
Updating /usr/bin/vmware ... Unknown version
Sorry, there is no binary patch available for your version of vmware.
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
Making sure VMware Workstation's services are stopped.
Stopping VMware services:
Virtual machine monitor[71G done
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
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.3/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 4.0.x.
Using standalone build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config3/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make[2]: Leaving directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make[2]: Entering directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
In file included from /lib/modules/2.6.3/build/include/linux/cpumask.h:6,
from /lib/modules/2.6.3/build/include/linux/sched.h:15,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/asm/cpumask.h:4:33: asm-generic/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/sched.h:15,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/linux/cpumask.h:11: error: parse error before "cpu_online_map"
/lib/modules/2.6.3/build/include/linux/cpumask.h:11: warning: type defaults to `int' in declaration of `cpu_online_map'
/lib/modules/2.6.3/build/include/linux/cpumask.h:11: warning: data definition has no type or storage class
/lib/modules/2.6.3/build/include/linux/cpumask.h:12: error: parse error before "cpu_possible_map"
/lib/modules/2.6.3/build/include/linux/cpumask.h:12: warning: type defaults to `int' in declaration of `cpu_possible_map'
/lib/modules/2.6.3/build/include/linux/cpumask.h:12: warning: data definition has no type or storage class
In file included from /lib/modules/2.6.3/build/include/linux/smp.h:17,
from /lib/modules/2.6.3/build/include/linux/sched.h:23,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/asm/smp.h:55: error: parse error before "cpu_callout_map"
/lib/modules/2.6.3/build/include/asm/smp.h:55: warning: type defaults to `int' in declaration of `cpu_callout_map'
/lib/modules/2.6.3/build/include/asm/smp.h:55: warning: data definition has no type or storage class
/lib/modules/2.6.3/build/include/asm/smp.h: In function `num_booting_cpus':
/lib/modules/2.6.3/build/include/asm/smp.h:61: warning: implicit declaration of function `cpus_weight'
In file included from /lib/modules/2.6.3/build/include/linux/signal.h:7,
from /lib/modules/2.6.3/build/include/linux/sched.h:25,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/asm/siginfo.h:4:33: asm-generic/siginfo.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/sched.h:25,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/linux/signal.h: At top level:
/lib/modules/2.6.3/build/include/linux/signal.h:18: error: parse error before "siginfo_t"
/lib/modules/2.6.3/build/include/linux/signal.h:18: warning: no semicolon at end of struct or union
/lib/modules/2.6.3/build/include/linux/signal.h:216: error: parse error before '*' token
/lib/modules/2.6.3/build/include/linux/signal.h:216: warning: function declaration isn't a prototype
In file included from /lib/modules/2.6.3/build/include/linux/topology.h:35,
from /lib/modules/2.6.3/build/include/linux/mmzone.h:297,
from /lib/modules/2.6.3/build/include/linux/gfp.h:4,
from /lib/modules/2.6.3/build/include/linux/slab.h:15,
from /lib/modules/2.6.3/build/include/linux/percpu.h:4,
from /lib/modules/2.6.3/build/include/linux/sched.h:31,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/asm/topology.h:78:34: asm-generic/topology.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/mmzone.h:297,
from /lib/modules/2.6.3/build/include/linux/gfp.h:4,
from /lib/modules/2.6.3/build/include/linux/slab.h:15,
from /lib/modules/2.6.3/build/include/linux/percpu.h:4,
from /lib/modules/2.6.3/build/include/linux/sched.h:31,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/linux/topology.h: In function `__next_node_with_cpus':
/lib/modules/2.6.3/build/include/linux/topology.h:50: error: `cpumask_t' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/topology.h:50: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.3/build/include/linux/topology.h:50: error: for each function it appears in.)
/lib/modules/2.6.3/build/include/linux/topology.h:50: error: parse error before "__tmp__"
/lib/modules/2.6.3/build/include/linux/topology.h:50: error: `__tmp__' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/topology.h:50: warning: implicit declaration of function `node_to_cpumask'
In file included from /lib/modules/2.6.3/build/include/linux/percpu.h:7,
from /lib/modules/2.6.3/build/include/linux/sched.h:31,
from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/asm/percpu.h:4:32: asm-generic/percpu.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/linux/sched.h: At top level:
/lib/modules/2.6.3/build/include/linux/sched.h:93: error: parse error before "process_counts"
/lib/modules/2.6.3/build/include/linux/sched.h:93: warning: type defaults to `int' in declaration of `DECLARE_PER_CPU'
/lib/modules/2.6.3/build/include/linux/sched.h:93: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/sched.h:93: warning: data definition has no type or storage class
In file included from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/linux/sched.h:214: error: parse error before "cpumask_t"
/lib/modules/2.6.3/build/include/linux/sched.h:214: warning: no semicolon at end of struct or union
/lib/modules/2.6.3/build/include/linux/sched.h:228: error: parse error before '}' token
/lib/modules/2.6.3/build/include/linux/sched.h:322: error: parse error before "sigval_t"
/lib/modules/2.6.3/build/include/linux/sched.h:322: warning: no semicolon at end of struct or union
/lib/modules/2.6.3/build/include/linux/sched.h:327: error: parse error before '}' token
/lib/modules/2.6.3/build/include/linux/sched.h:352: error: parse error before "cpumask_t"
/lib/modules/2.6.3/build/include/linux/sched.h:352: warning: no semicolon at end of struct or union
/lib/modules/2.6.3/build/include/linux/sched.h:367: error: parse error before ':' token
/lib/modules/2.6.3/build/include/linux/sched.h:410: error: parse error before ':' token
/lib/modules/2.6.3/build/include/linux/sched.h:466: error: parse error before '*' token
/lib/modules/2.6.3/build/include/linux/sched.h:466: warning: type defaults to `int' in declaration of `last_siginfo'
/lib/modules/2.6.3/build/include/linux/sched.h:466: warning: data definition has no type or storage class
/lib/modules/2.6.3/build/include/linux/sched.h:467: error: parse error before '}' token
/lib/modules/2.6.3/build/include/linux/sched.h: In function `process_group':
/lib/modules/2.6.3/build/include/linux/sched.h:471: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: At top level:
/lib/modules/2.6.3/build/include/linux/sched.h:505: error: parse error before "cpumask_t"
/lib/modules/2.6.3/build/include/linux/sched.h:505: warning: function declaration isn't a prototype
In file included from /lib/modules/2.6.3/build/include/linux/module.h:10,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/linux/sched.h:594: error: parse error before "siginfo_t"
/lib/modules/2.6.3/build/include/linux/sched.h:594: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/sched.h:596: error: parse error before "siginfo_t"
/lib/modules/2.6.3/build/include/linux/sched.h:597: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/sched.h: In function `dequeue_signal_lock':
/lib/modules/2.6.3/build/include/linux/sched.h:601: error: `tsk' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/sched.h:602: error: `mask' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/sched.h:602: error: `info' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/sched.h: In function `on_sig_stack':
/lib/modules/2.6.3/build/include/linux/sched.h:644: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h:644: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `sas_ss_flags':
/lib/modules/2.6.3/build/include/linux/sched.h:649: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `capable':
/lib/modules/2.6.3/build/include/linux/sched.h:660: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h:661: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `mmdrop':
/lib/modules/2.6.3/build/include/linux/sched.h:677: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: At top level:
/lib/modules/2.6.3/build/include/linux/sched.h:694: error: `exit_signal' redeclared as different kind of symbol
/lib/modules/2.6.3/build/include/linux/sched.h:363: error: previous declaration of `exit_signal'
/lib/modules/2.6.3/build/include/linux/sched.h: In function `thread_group_empty':
/lib/modules/2.6.3/build/include/linux/sched.h:755: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `task_lock':
/lib/modules/2.6.3/build/include/linux/sched.h:772: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h:772: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `task_unlock':
/lib/modules/2.6.3/build/include/linux/sched.h:777: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `get_task_mm':
/lib/modules/2.6.3/build/include/linux/sched.h:791: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `set_tsk_thread_flag':
/lib/modules/2.6.3/build/include/linux/sched.h:805: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `clear_tsk_thread_flag':
/lib/modules/2.6.3/build/include/linux/sched.h:810: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `test_and_set_tsk_thread_flag':
/lib/modules/2.6.3/build/include/linux/sched.h:815: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `test_and_clear_tsk_thread_flag':
/lib/modules/2.6.3/build/include/linux/sched.h:820: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `test_tsk_thread_flag':
/lib/modules/2.6.3/build/include/linux/sched.h:825: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `task_cpu':
/lib/modules/2.6.3/build/include/linux/sched.h:889: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/sched.h: In function `set_task_cpu':
/lib/modules/2.6.3/build/include/linux/sched.h:894: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3/build/include/linux/errno.h:4,
from /lib/modules/2.6.3/build/include/linux/kmod.h:23,
from /lib/modules/2.6.3/build/include/linux/module.h:16,
from ../linux/driver.c:17:
/lib/modules/2.6.3/build/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/linux/irq.h: At top level:
/lib/modules/2.6.3/build/include/linux/irq.h:48: error: parse error before "cpumask_t"
/lib/modules/2.6.3/build/include/linux/irq.h:48: warning: function declaration isn't a prototype
In file included from /lib/modules/2.6.3/build/include/asm/hw_irq.h:16,
from /lib/modules/2.6.3/build/include/linux/irq.h:72,
from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/linux/profile.h: In function `profile_event_register':
/lib/modules/2.6.3/build/include/linux/profile.h:60: error: `ENOSYS' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/profile.h: In function `profile_event_unregister':
/lib/modules/2.6.3/build/include/linux/profile.h:65: error: `ENOSYS' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/profile.h: In function `register_profile_notifier':
/lib/modules/2.6.3/build/include/linux/profile.h:74: error: `ENOSYS' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/profile.h: In function `unregister_profile_notifier':
/lib/modules/2.6.3/build/include/linux/profile.h:79: error: `ENOSYS' undeclared (first use in this function)
In file included from /lib/modules/2.6.3/build/include/asm/hw_irq.h:19,
from /lib/modules/2.6.3/build/include/linux/irq.h:72,
from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/asm/sections.h:5:34: asm-generic/sections.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/irq.h:72,
from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/asm/hw_irq.h: At top level:
/lib/modules/2.6.3/build/include/asm/hw_irq.h:61: error: parse error before "mask"
/lib/modules/2.6.3/build/include/asm/hw_irq.h:61: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/asm/hw_irq.h: In function `x86_do_profile':
/lib/modules/2.6.3/build/include/asm/hw_irq.h:98: error: `_stext' undeclared (first use in this function)
In file included from /lib/modules/2.6.3/build/include/asm/hardirq.h:80,
from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `release_kernel_lock':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:22: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `reacquire_kernel_lock':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:31: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `lock_kernel':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:44: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h:47: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `unlock_kernel':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:52: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h:53: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3/build/include/linux/dcache.h:10,
from /lib/modules/2.6.3/build/include/linux/fs.h:17,
from /lib/modules/2.6.3/build/include/linux/mm.h:14,
from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/rcupdate.h: At top level:
/lib/modules/2.6.3/build/include/linux/rcupdate.h:71: error: parse error before "cpumask_t"
/lib/modules/2.6.3/build/include/linux/rcupdate.h:71: warning: no semicolon at end of struct or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: error: parse error before "rcu_data"
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: type defaults to `int' in declaration of `DECLARE_PER_CPU'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: data definition has no type or storage class
/lib/modules/2.6.3/build/include/linux/rcupdate.h: In function `rcu_pending':
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: warning: implicit declaration of function `per_cpu'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: error: `rcu_data' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: error: request for member `curlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:115: error: request for member `batch' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:115: error: invalid use of undefined type `struct rcu_ctrlblk'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:116: error: request for member `curlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:117: error: request for member `nxtlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:118: warning: implicit declaration of function `cpu_isset'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:118: error: invalid use of undefined type `struct rcu_ctrlblk'
In file included from /lib/modules/2.6.3/build/include/linux/mm.h:25,
from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/asm/pgtable.h:350:33: asm-generic/pgtable.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/mm.h:206,
from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/page-flags.h: At top level:
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: error: parse error before "page_states"
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: type defaults to `int' in declaration of `DECLARE_PER_CPU'
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: data definition has no type or storage class
In file included from /lib/modules/2.6.3/build/include/linux/poll.h:10,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/mm.h: In function `do_mmap':
/lib/modules/2.6.3/build/include/linux/mm.h:548: error: `EINVAL' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/mm.h: In function `__vma_unlink':
/lib/modules/2.6.3/build/include/linux/mm.h:566: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/mm.h:567: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/mm.h:568: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3/build/include/linux/poll.h:11,
from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/asm/uaccess.h: In function `verify_area':
/lib/modules/2.6.3/build/include/asm/uaccess.h:104: error: `EFAULT' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/asm/uaccess.h: In function `__copy_to_user':
/lib/modules/2.6.3/build/include/asm/uaccess.h:406: error: `EFAULT' undeclared (first use in this function)
In file included from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/poll.h: In function `get_fd_set':
/lib/modules/2.6.3/build/include/linux/poll.h:77: error: `EFAULT' undeclared (first use in this function)
In file included from ../linux/driver.h:18,
from ../linux/driver.c:42:
../include/compat_wait.h: At top level:
../include/compat_wait.h:60: error: conflicting types for `poll_initwait'
/lib/modules/2.6.3/build/include/linux/poll.h:44: error: previous declaration of `poll_initwait'
../linux/driver.c:142: warning: initialization from incompatible pointer type
../linux/driver.c:146: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:306: error: `ENOEXEC' undeclared (first use in this function)
../linux/driver.c:360: error: `ENOENT' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_InitV2':
../linux/driver.c:465: error: dereferencing pointer to incomplete type
../linux/driver.c:468: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_Open':
../linux/driver.c:500: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:505: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `LinuxDriverAllocLowMem':
../linux/driver.c:1029: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1035: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriverAllocLockedMem':
../linux/driver.c:1084: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1096: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1103: warning: implicit declaration of function `cpu_to_node'
../linux/driver.c: In function `LinuxDriverMmap':
../linux/driver.c:1172: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriverIoctlAlloc4Gb':
../linux/driver.c:1231: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1236: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c: In function `__LinuxDriver_Ioctl':
../linux/driver.c:1323: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1339: error: dereferencing pointer to incomplete type
../linux/driver.c:1342: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1422: error: dereferencing pointer to incomplete type
../linux/driver.c:1423: error: dereferencing pointer to incomplete type
../linux/driver.c:1426: error: `EPERM' undeclared (first use in this function)
../linux/driver.c:1670: error: dereferencing pointer to incomplete type
../linux/driver.c:1670: error: dereferencing pointer to incomplete type
../linux/driver.c:1671: error: dereferencing pointer to incomplete type
../linux/driver.c:1671: error: dereferencing pointer to incomplete type
../linux/driver.c:1672: error: dereferencing pointer to incomplete type
../linux/driver.c:1672: error: dereferencing pointer to incomplete type
../linux/driver.c:1673: error: dereferencing pointer to incomplete type
../linux/driver.c:1673: error: dereferencing pointer to incomplete type
../linux/driver.c:1675: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `LinuxDriver_IoctlTOT':
../linux/driver.c:1964: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV45':
../linux/driver.c:2054: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV4':
../linux/driver.c:2140: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `initBlockG25_to_initBlock':
../linux/driver.c:2246: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlGSX25':
../linux/driver.c:2317: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlGSX2':
../linux/driver.c:2466: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `initBlock30_to_initBlock':
../linux/driver.c:2510: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV3':
../linux/driver.c:2594: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV2':
../linux/driver.c:2777: error: `EFAULT' undeclared (first use in this function)
../linux/driver.c:2780: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:2787: error: `EPERM' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_Ioctl':
../linux/driver.c:3053: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `vLog':
../linux/driver.c:3081: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `vWarning':
../linux/driver.c:3113: error: dereferencing pointer to incomplete type
../linux/driver.c:3122: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Warning':
../linux/driver.c:3147: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Log':
../linux/driver.c:3175: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Panic':
../linux/driver.c:3208: error: dereferencing pointer to incomplete type
../linux/driver.c:3229: error: dereferencing pointer to incomplete type
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config3/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.
Offline
Pages: 1