トップ 最新 追記

Masa's blog

検索キーワード:

2013年05月08日 CentOS 6.4 + VMware-Player-3.1.6 [長年日記]

_ CentOS 6.4 + VMware-Player-3.1.6

In this time, my target machine has Celeron M 1.4GHz. Therefor it has no 64bit extension with cpu and I can't install VMware-Player-4.x or later :P

# sh /home/m-ito/tmp/VMware-Player-3.1.6-744570.i386.bundle

_ Virtual machine monitor won't start

In /var/log/messages

May  8 xx:xx:xx MyMachine kernel: vmmon: disagrees about version of symbol smp_ops
May  8 xx:xx:xx MyMachine kernel: vmmon: Unknown symbol smp_ops

_ Fix it !

# mkdir ~/vmsrc
# cd vmsrc/
# tar xvf /usr/lib/vmware/modules/source/vmmon.tar
# cd vmmon-only/
# make
# strip --strip-debug vmmon.ko
# mv /lib/modules/2.6.32-358.el6.i686/misc/vmmon.o /lib/modules/2.6.32-358.el6.i686/misc/vmmon.o.ORG
# cp vmmon.ko /lib/modules/2.6.32-358.el6.i686/misc/vmmon.o
# /etc/rc.d/init.d/vmware restart

2013年05月16日 VMware player 5.0.2 on Slackware-14.0 [長年日記]

_ I tried to install vmware player 5.0.2 into Slackware-14.0

# uname -a
Linux flora270w2 3.2.29-smp #1 SMP Thu May 16 02:41:37 JST 2013 i686 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz GenuineIntel GNU/Linux
# sh VMware-Player-5.0.2-1031769.i386.bundle

Install script failed silently :(

I could see error messages in next log file.

_ /tmp/vmware-root/vmware-modconfig-9329.log

2013-05-16T00:50:07.874+09:00| modconfig| I120: Log for VMware Workstation pid=9329 version=9.0.1 build=build-894247 option=Release
2013-05-16T00:50:07.874+09:00| modconfig| I120: The process is 32-bit.
2013-05-16T00:50:07.874+09:00| modconfig| I120: Host codepage=ISO-8859-1 encoding=ISO-8859-1
2013-05-16T00:50:07.874+09:00| modconfig| I120: Host is Linux 3.2.29-smp Slackware 14.0
2013-05-16T00:50:07.873+09:00| modconfig| I120: Msg_Reset:
2013-05-16T00:50:07.873+09:00| modconfig| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2013-05-16T00:50:07.873+09:00| modconfig| I120: ----------------------------------------
2013-05-16T00:50:07.873+09:00| modconfig| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2013-05-16T00:50:07.873+09:00| modconfig| I120: Msg_Reset:
2013-05-16T00:50:07.873+09:00| modconfig| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
2013-05-16T00:50:07.873+09:00| modconfig| I120: ----------------------------------------
2013-05-16T00:50:07.873+09:00| modconfig| I120: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
2013-05-16T00:50:07.873+09:00| modconfig| I120: Msg_Reset:
2013-05-16T00:50:07.873+09:00| modconfig| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2013-05-16T00:50:07.873+09:00| modconfig| I120: ----------------------------------------
2013-05-16T00:50:07.873+09:00| modconfig| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2013-05-16T00:50:07.873+09:00| modconfig| I120: Msg_Reset:
2013-05-16T00:50:07.874+09:00| modconfig| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
2013-05-16T00:50:07.874+09:00| modconfig| I120: ----------------------------------------
2013-05-16T00:50:07.874+09:00| modconfig| I120: PREF Failed to load user preferences.
2013-05-16T00:50:07.874+09:00| modconfig| I120: Initialized!  Lets do this thing...
2013-05-16T00:50:07.874+09:00| modconfig| I120: Obtaining info using the running kernel.
2013-05-16T00:50:07.874+09:00| modconfig| I120: Setting header path for 3.2.29-smp to "/lib/modules/3.2.29-smp/build/include".
2013-05-16T00:50:07.874+09:00| modconfig| I120: Validating path "/lib/modules/3.2.29-smp/build/include" for kernel release "3.2.29-smp".
2013-05-16T00:50:07.936+09:00| modconfig| I120: Failed to find /lib/modules/3.2.29-smp/build/include/linux/version.h
2013-05-16T00:50:07.936+09:00| modconfig| I120: Failed version test: /lib/modules/3.2.29-smp/build/include/linux/version.h not found.
2013-05-16T00:50:08.052+09:00| modconfig| I120: Created new pathsHash.
2013-05-16T00:50:08.052+09:00| modconfig| I120: Reading in info for the vmmon module.
2013-05-16T00:50:08.052+09:00| modconfig| I120: Reading in info for the vmnet module.
2013-05-16T00:50:08.052+09:00| modconfig| I120: Reading in info for the vmblock module.
2013-05-16T00:50:08.052+09:00| modconfig| I120: Reading in info for the vmci module.
2013-05-16T00:50:08.052+09:00| modconfig| I120: Reading in info for the vsock module.
2013-05-16T00:50:08.053+09:00| modconfig| I120: Setting vsock to depend on vmci.
2013-05-16T00:50:08.177+09:00| modconfig| I120: Trying to find a suitable PBM set for kernel "3.2.29-smp".
2013-05-16T00:50:08.177+09:00| modconfig| I120: No matching PBM set was found for kernel "3.2.29-smp".
2013-05-16T00:50:08.195+09:00| modconfig| I120: Found compiler at "/usr/bin/gcc"
2013-05-16T00:50:08.231+09:00| modconfig| I120: Got gcc version "4.7.1".
2013-05-16T00:50:08.231+09:00| modconfig| I120: The GCC version matches the kernel GCC minor version like a glove.
2013-05-16T00:50:08.231+09:00| modconfig| W110: Header path "(null)" is not suitale for building.
2013-05-16T00:50:08.231+09:00| modconfig| I120: We are now shutdown.  Ready to die!

_ How did I fix it?

# sh VMware-Player-5.0.2-1031769.i386.bundle --help
Extracting VMware Installer...done.
Usage: vmware-installer [options]

VMware Installer

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit

  Manage:
    Install or uninstall products

    -i FILE, --install-bundle=FILE
                        Install bundle from FILE
    --install-component=FILE
                        Install a component
    --uninstall-component=NAME
                        Force uninstallation of a component
    -u NAME, --uninstall-product=NAME
                        Uninstall a product
    -r, --resolve-system
                        Force the system to resolve the current state
    --register-file=COMPONENT_NAME (config|regular) FILE
                        Register a file in the database
    -x DIR, --extract=DIR
                        Extract the contents of the bundle into DIR

  Information:
    Look up information on installed products

    -l, --list-products
                        List installed products
    -t, --list-components
                        List the installed components
    -L COMPONENT, --list-files=COMPONENT
                        List files for a given component
    -S FILE, --find-file=FILE
                        List components and files matching the given pattern

  Settings:
    Set and retrieve settings

    -g COMPONENT KEY, --get-setting=COMPONENT KEY
                        Get setting
    -s COMPONENT KEY VALUE, --set-setting=COMPONENT KEY VALUE
                        Set setting
    -d COMPONENT KEY, --delete-setting=COMPONENT KEY
                        Delete setting

  Options:
    --gtk               Use the Gtk+ UI (Default)
    --console           Use the console UI
    --custom            Displays all questions
    --regular           Displays questions that have no good defaults
                        (Default)
    --required          Displays only questions absolutely required
    -I, --ignore-errors
                        Ignore component script errors

Next command succeeded to install perfectly :D

# sh VMware-Player-5.0.2-1031769.i386.bundle --ignore-errors

2013年05月21日 Stop fork bomb by minidlna [長年日記]

_ Stop fork bomb by minidlna

Change `#define USE_FORK 1' to `#define USE_FORK 0' in upnpglobalvars.h to stop fork bomb by minidlna.