You are not logged in.
i used:
uname -a :
Linux tarro 3.2.1-2-ck #1 SMP PREEMPT Fri Jan 13 05:46:57 EST 2012 x86_64 AMD Phenom(tm) II X4 955 Processor AuthenticAMD GNU/Linuxi apply the patch (in the vmware's archwiki page)
3.2 kernels:
The patch for 3.2 kernels is available here:
$ cd /tmp
$ curl -O http://weltall.heliohost.org/wordpress/ … fix.tar.gz
$ tar -xvzf vmware8linux32fix.tar.gz
# ./patch-modules_3.1.0.sh
and error ![]()
[root@tarro tmp]# vmware-modconfig --console --install-all
Stopping VMware services:
VMware Authentication Daemon done
/etc/rc.d/vmware: line 73: /sbin/lsmod: No such file or directory
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
/etc/rc.d/vmware: line 93: /sbin/lsmod: No such file or directory
Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.2.1-2-ck/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: se ingresa al directorio `/usr/src/linux-3.2.1-2-ck'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/apic.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/task.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/comport.o
CC [M] /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-root/modules/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-root/modules/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-root/modules/vmmon-only/vmmon.ko
make[1]: se sale del directorio `/usr/src/linux-3.2.1-2-ck'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: se ingresa al directorio `/tmp/vmware-root/modules/vmmon-only'
make[1]: `postbuild' está actualizado.
make[1]: se sale del directorio `/tmp/vmware-root/modules/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: se sale del directorio `/tmp/vmware-root/modules/vmmon-only'
No protocol specified
No protocol specified
Built vmmon module
Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-root/modules/vmnet-only'
make -C /lib/modules/3.2.1-2-ck/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: se ingresa al directorio `/usr/src/linux-3.2.1-2-ck'
CC [M] /tmp/vmware-root/modules/vmnet-only/driver.o
CC [M] /tmp/vmware-root/modules/vmnet-only/hub.o
CC [M] /tmp/vmware-root/modules/vmnet-only/netif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/userif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/bridge.o
CC [M] /tmp/vmware-root/modules/vmnet-only/filter.o
CC [M] /tmp/vmware-root/modules/vmnet-only/procfs.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetEvent.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
In file included from /tmp/vmware-root/modules/vmnet-only/netif.c:43:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: aviso: se redefinió "alloc_netdev" [activado por defecto]
include/linux/netdevice.h:2443:0: nota: esta es la ubicación de la definición previa
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: aviso: se redefinió "alloc_etherdev" [activado por defecto]
include/linux/etherdevice.h:53:0: nota: esta es la ubicación de la definición previa
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: tipos en conflicto para ‘netif_start_queue’
include/linux/netdevice.h:1809:20: nota: la definición previa de ‘netif_start_queue’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: tipos en conflicto para ‘netif_stop_queue’
include/linux/netdevice.h:1874:20: nota: la definición previa de ‘netif_stop_queue’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: tipos en conflicto para ‘netif_queue_stopped’
include/linux/netdevice.h:1900:19: nota: la definición previa de ‘netif_queue_stopped’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: tipos en conflicto para ‘netif_wake_queue’
include/linux/netdevice.h:1843:20: nota: la definición previa de ‘netif_wake_queue’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: declaración implícita de la función ‘mark_bh’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ no se declaró aquí (primer uso en esta función)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: tipos en conflicto para ‘netif_running’
include/linux/netdevice.h:1916:19: nota: la definición previa de ‘netif_running’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ no tiene un miembro llamado ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: tipos en conflicto para ‘netif_carrier_ok’
include/linux/netdevice.h:2150:19: nota: la definición previa de ‘netif_carrier_ok’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: tipos en conflicto para ‘netif_carrier_on’
include/linux/netdevice.h:2159:13: nota: la declaración previa de ‘netif_carrier_on’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: tipos en conflicto para ‘netif_carrier_off’
include/linux/netdevice.h:2161:13: nota: la declaración previa de ‘netif_carrier_off’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/netif.c: En la función ‘VNetNetIfSetup’:
/tmp/vmware-root/modules/vmnet-only/netif.c:153:7: error: ‘struct net_device’ no tiene un miembro llamado ‘init’
/tmp/vmware-root/modules/vmnet-only/netif.c:154:7: error: ‘struct net_device’ no tiene un miembro llamado ‘open’
/tmp/vmware-root/modules/vmnet-only/netif.c:155:7: error: ‘struct net_device’ no tiene un miembro llamado ‘hard_start_xmit’
/tmp/vmware-root/modules/vmnet-only/netif.c:156:7: error: ‘struct net_device’ no tiene un miembro llamado ‘stop’
/tmp/vmware-root/modules/vmnet-only/netif.c:157:7: error: ‘struct net_device’ no tiene un miembro llamado ‘get_stats’
/tmp/vmware-root/modules/vmnet-only/netif.c:158:7: error: ‘struct net_device’ no tiene un miembro llamado ‘set_mac_address’
/tmp/vmware-root/modules/vmnet-only/netif.c:159:7: error: ‘struct net_device’ no tiene un miembro llamado ‘set_multicast_list’
/tmp/vmware-root/modules/vmnet-only/netif.c: En la función ‘VNetNetIfNetDeviceToNetIf’:
/tmp/vmware-root/modules/vmnet-only/netif.c:200:14: error: ‘struct net_device’ no tiene un miembro llamado ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: En la función ‘VNetNetIf_Create’:
/tmp/vmware-root/modules/vmnet-only/netif.c:315:4: error: declaración implícita de la función ‘compat_alloc_netdev’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/netif.c:315:8: aviso: la asignación crea un puntero desde un entero sin una conversión [activado por defecto]
/tmp/vmware-root/modules/vmnet-only/netif.c:320:7: error: ‘struct net_device’ no tiene un miembro llamado ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: En la función ‘VNetNetIfReceive’:
/tmp/vmware-root/modules/vmnet-only/netif.c:401:4: aviso: se pasa el argumento 1 de ‘netif_running’ desde un tipo de puntero incompatible [activado por defecto]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: nota: se esperaba ‘struct device *’ pero el argumento es de tipo ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: En la función ‘VNetNetifOpen’:
/tmp/vmware-root/modules/vmnet-only/netif.c:481:4: aviso: se pasa el argumento 1 de ‘netif_start_queue’ desde un tipo de puntero incompatible [activado por defecto]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: nota: se esperaba ‘struct device *’ pero el argumento es de tipo ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: En la función ‘VNetNetifClose’:
/tmp/vmware-root/modules/vmnet-only/netif.c:529:4: aviso: se pasa el argumento 1 de ‘netif_stop_queue’ desde un tipo de puntero incompatible [activado por defecto]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: nota: se esperaba ‘struct device *’ pero el argumento es de tipo ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: En la función ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:236:1: aviso: el control alcanza el final de una función que no es void [-Wreturn-type]
cc1: algunos avisos se tratan como errores
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
In file included from /tmp/vmware-root/modules/vmnet-only/bridge.c:51:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: aviso: se redefinió "alloc_netdev" [activado por defecto]
include/linux/netdevice.h:2443:0: nota: esta es la ubicación de la definición previa
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: aviso: se redefinió "alloc_etherdev" [activado por defecto]
include/linux/etherdevice.h:53:0: nota: esta es la ubicación de la definición previa
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: tipos en conflicto para ‘netif_start_queue’
include/linux/netdevice.h:1809:20: nota: la definición previa de ‘netif_start_queue’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: tipos en conflicto para ‘netif_stop_queue’
include/linux/netdevice.h:1874:20: nota: la definición previa de ‘netif_stop_queue’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: tipos en conflicto para ‘netif_queue_stopped’
include/linux/netdevice.h:1900:19: nota: la definición previa de ‘netif_queue_stopped’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: tipos en conflicto para ‘netif_wake_queue’
include/linux/netdevice.h:1843:20: nota: la definición previa de ‘netif_wake_queue’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ no tiene un miembro llamado ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: declaración implícita de la función ‘mark_bh’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ no se declaró aquí (primer uso en esta función)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: tipos en conflicto para ‘netif_running’
include/linux/netdevice.h:1916:19: nota: la definición previa de ‘netif_running’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En la función ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ no tiene un miembro llamado ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: En el nivel principal:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: tipos en conflicto para ‘netif_carrier_ok’
include/linux/netdevice.h:2150:19: nota: la definición previa de ‘netif_carrier_ok’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: tipos en conflicto para ‘netif_carrier_on’
include/linux/netdevice.h:2159:13: nota: la declaración previa de ‘netif_carrier_on’ estaba aquí
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: tipos en conflicto para ‘netif_carrier_off’
include/linux/netdevice.h:2161:13: nota: la declaración previa de ‘netif_carrier_off’ estaba aquí
cc1: algunos avisos se tratan como errores
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/bridge.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
make[1]: se sale del directorio `/usr/src/linux-3.2.1-2-ck'
make: *** [vmnet.ko] Error 2
make: se sale del directorio `/tmp/vmware-root/modules/vmnet-only'
Unable to install vmnetedit: ln -s /bin/lsmod /sbin/lsmod not solve my problem
Last edited by dunkles (2012-01-15 18:12:16)
Offline
dunkles, please edit your post.
When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
like thisIt makes the code more readable and more convenient to scroll through.
Run
LC_ALL=C <command>to get output in English.
Edit: lsmod is in /bin/lsmod, not /sbin/lsmod; maybe the /etc/rc.d/vmware script needs to be fixed?
Edit 2: Nope, the wiki tells you to symlink https://wiki.archlinux.org/index.php/Vm … re_modules
Last edited by karol (2012-01-15 13:14:12)
Offline