Post  |  Commenti

10th
DIC

Gentoo, vmware-modules e kernel 2.6.26

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Posted by raphe | Filed under BugFix, Linux

Dopo l’aggiornamento del kernel alla versione 2.6.26 potreste aver problemi con l’aggiornamento di vmware-modules. Un errore simile a questo:

Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.26-gentoo-r3'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

WARNING: Symbol version dump /usr/src/linux-2.6.26-gentoo-r3/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26-gentoo-r3′
make: *** [vmmon.ko] Error 2
*
* ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3208:  Called linux-mod_src_compile
*             environment, line 2427:  Called die
* The specific snippet of code:
*               eval “emake HOSTCC=\”$(tc-getBUILD_CC)\”                                               CROSS_COMPILE=${CHOST}-                                          LDFLAGS=\”$(get_abi_LDFLAGS)\”                                           ${BUILD_FIXES}                                          ${BUILD_PARAMS}                          ${BUILD_TARGETS} ” || die “Unable to emake HOSTCC=”$(tc-getBUILD_CC)” CROSS_COMPILE=${CHOST}- LDFLAGS=”$(get_abi_LDFLAGS)” ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}”;
*  The die message:
*   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at ‘/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/build.log’.
* The ebuild environment file is located at ‘/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/environment’.

Vediamo come risolverlo.

Leggi il resto…

Tags: > > > > >

6th
AGO

Risoluzione widescreen per VMWare

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Posted by raphe | Filed under Linux, Programmi

Se, come me, utilizzate vmware su un computer con schermo widescreen avrete notato come vmware vada in errore se provate ad impostare una risoluzione superiore a quella effettiva della macchina host.

Di solito restituisce un errore del genere:

“Unable to find an appropriate host video mode.
Adding the guest mode to the ‘display’ subsection of the ’screen’ section of your /etc/X11/XF86Config and restarting X is likely to help. Failed to switch to full screen SVGA mode.”

Ecco quindi come forzare vmware a lavorare alla risoluzione che vogliamo.

Leggi il resto…

Tags: > > >
Il contenuto di questo Blog è rilasciato sotto Licenza Creative Commons (Leggi)