お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2011-09-28 18:43:03

xNxExGxIx
メンバ
登録日: 2011-05-10

ubuntu studio にて VMwareを使用することができない

使用環境:ubuntu studio 64bit lowlatency kernel 3.0.0.12

問題なくVMware自体はインストールできたのですがVMを立ち上げると初期セットアップで走る部分でエラーにて弾かれてしまいました。
ログを見てください、とエラーには出ていたのですがログを読み解くことができなかったのでもしお分かりになる方がいらっしゃいましたら教えていただければ幸いです。

カーネルが対応していないとのことなのでしょうか?できればこの環境で使いたいのですが回避策を教えていただければと思います。
またVMware以外にこの環境で仮想デスクトップ環境を作っている方がいらっしゃいましたらそのソフトウェア等教えていただければと思います。

要求ばかりで申し訳ございません。よろしくお願いいたします。

9月 28 18:28:59.569: app-140650286769952| Log for VMware Workstation pid=2733 version=7.1.4 build=build-385536 option=Release
9月 28 18:28:59.569: app-140650286769952| The process is 64-bit.
9月 28 18:28:59.569: app-140650286769952| Host codepage=UTF-8 encoding=UTF-8
9月 28 18:28:59.569: app-140650286769952| Logging to /tmp/vmware-root/setup-2733.log
9月 28 18:28:59.620: app-140650286769952| modconf query interface initialized
9月 28 18:28:59.620: app-140650286769952| modconf library initialized
9月 28 18:28:59.645: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.650: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.660: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.672: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.683: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.717: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.720: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.723: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.726: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.729: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.744: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.747: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.750: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.753: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.756: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.760: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.772: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.818: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.822: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.824: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.827: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.830: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.835: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.846: app-140650286769952| Your GCC version: 4.5
9月 28 18:28:59.892: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.895: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.898: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.901: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:28:59.904: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:00.110: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:00.110: app-140650286769952| Building module vmmon.
9月 28 18:29:00.110: app-140650286769952| Extracting the sources of the vmmon module.
9月 28 18:29:00.120: app-140650286769952| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.0.0-12-lowlatency/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
9月 28 18:29:00.875: app-140650286769952| Failed to compile module vmmon!
9月 28 18:29:18.856: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.859: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.862: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.865: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.868: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.873: app-140650286769952| Your GCC version: 4.5
9月 28 18:29:18.883: app-140650286769952| Your GCC version: 4.5
9月 28 18:29:18.931: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.934: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.937: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.940: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:18.943: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:19.079: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.
9月 28 18:29:19.079: app-140650286769952| Building module vmmon.
9月 28 18:29:19.079: app-140650286769952| Extracting the sources of the vmmon module.
9月 28 18:29:19.091: app-140650286769952| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.0.0-12-lowlatency/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
9月 28 18:29:19.834: app-140650286769952| Failed to compile module vmmon!

オフライン

 

#2 2011-09-29 20:16:51

petitbootang
メンバ
From: 東京都
登録日: 2009-02-12

Re: ubuntu studio にて VMwareを使用することができない

おそらく、vmware が lowlatency カーネルに対応していないのではないでしょうか。
Arch Linux のフォーラムでカーネルにパッチを当てて動かしている人がいました。
https://bbs.archlinux.org/viewtopic.php?pid=819959#p819959
Ubuntu でも動くようですが、失敗すると問題起きそうですので、あまりおすすめしません。
http://d.hatena.ne.jp/tanzen/20101007/1286453645

現在の環境のままお手軽に動かすには、generic カーネルをインストールするのが良いのではないでしょうか。
普段、Ubuntu Studio のパフォーマンスを活かしたいときは lowlatency カーネルで起動し、vmware を使用するときは generic カーネルで起動し直すと言う感じですかね。
少々面倒くさいですが。

オフライン

 

#3 2011-09-30 08:27:19

xNxExGxIx
メンバ
登録日: 2011-05-10

Re: ubuntu studio にて VMwareを使用することができない

>petitbootang様
回答ありがとう御座います。どうやらそのようでした。genericカーネルでは問題なく使用できたのでlowlatencyカーネルが対応していなかっただけに思えます。
回避策としてvirtulalboxを使用したところこちらでは問題なくlowlatencyカーネルでもゲストOSのインストールをすることが出来たのでこちらで運用をしてみようかと思います。
同じ問題にあたった方は参考にしていただければ幸いです。

オフライン

 

#4 2011-09-30 10:53:25

Mocchi
管理者
登録日: 2009-05-17

Re: ubuntu studio にて VMwareを使用することができない

同じくUbuntu Studioでlowlatencyカーネルを常用しているMocchiです。

推測するに、NattyにPPAからlowlatencyカーネルを導入していると思いますが、Nattyの標準カーネルのバージョンはLinux 2.6.38なのに対し、PPAで提供されているLowLatencyカーネルのバージョンはLinux 3.0.0です。これは、次期Oneiricのためにテスト目的でアップロードされています。

ログが前後しますが

xNxExGxIx による投稿:

9月 28 18:29:19.834: app-140650286769952| Failed to compile module vmmon!

xNxExGxIx による投稿:

9月 28 18:28:59.729: app-140650286769952| Trying to find a suitable PBM set for kernel 3.0.0-12-lowlatency.

PBMが何の略称かはわかりませんが、vmwareを動かすためのカーネルモジュール「vmmon」のコンパイルに失敗していて、それが「kernel 3.0.0-12-lowlatency」によるものだということがわかります。

起動しているカーネルのバージョンが異なるため、カーネルモジュールをコンパイルする際に必要な「何か」(たぶんABI?)が異なり、その結果、Vmwareの準備に失敗しているのだと思います。

PPAはPrivate Package Archive、つまり個人使用のパッケージのアーカイブ集ですので、便利な反面、導入するパッケージに配慮しないと、こういった不具合を起こす原因となりますので、ご注意下さい。

なお、Synapticパッケージマネジャーにはメニュー「パッケージ」に「バージョンの強制」というオプションがあります。これを使って最新バージョンのパッケージではなく任意のバージョンのパッケージにすることができます。

今回であれば、lowlatencyカーネルに関する以下のパッケージを、バージョン2.6.38に基づくものに「強制」し、その上でvmwareを最インストールすれば、Vmwareを使えるようになるかと思います。

・linux-headers-2.6.38-8-lowlatency
・linux-headers-lowlatency
・linux-image-2.6.38-8-lowlatency
・linux-image-lowlatency
・linux-lowlatency

なお、genericカーネルとlowlatencyカーネルの違いは、タイマー割り込み頻度に関するカーネルオプション「CONFIG_HZ_1000」と「CONFIG_HZ」です。CONFIG_PREEMPT_RTパッチをあてたリアルタイムカーネルほどは、標準カーネルとの違いがないため、「lowlatencyカーネルだからVMwareが使えない」ということは考えにくいかと思います。

オフライン

 

#5 2011-09-30 10:57:18

Mocchi
管理者
登録日: 2009-05-17

Re: ubuntu studio にて VMwareを使用することができない

Mocchi による投稿:

今回であれば、lowlatencyカーネルに関する以下のパッケージを、バージョン2.6.38に基づくものに「強制」し、その上でvmwareを最インストールすれば、Vmwareを使えるようになるかと思います。

・linux-headers-2.6.38-8-lowlatency
・linux-headers-lowlatency
・linux-image-2.6.38-8-lowlatency
・linux-image-lowlatency
・linux-lowlatency

今PPAの内容を確認してみたところ、2.6.38に基づくlowlatencyカーネルは削除されています(注1)ね。。。petitbootangさんのご提案に従って、目的に応じてカーネルを起動しなおすのがよいでしょう。

注1: たぶんLinux 3.0.0にマージされたCONFIG_PREEMPT_RTパッチ由来のカーネルオプション「CONFIG_IRQ_FORCE_THREADING」を使いたいのでしょう

オフライン

 

Board footer

Powered by FluxBB