[sisyphus] 2.4.26 и vmware wks 4.5
Slava Dubrovskiy
=?iso-8859-1?q?slava_=CE=C1_elan=2Ecom=2Eua?=
Вт Май 25 16:28:45 MSD 2004
Andrey Rahmatullin пишет:
>
> On Mon, May 24, 2004 at 01:12:10PM +0300, Slava Dubrovskiy wrote:
>
>> Сделал как сказали. Не получается :-(
>
> Что именно сделали, рассказывайте.
Ok. Попорядку.
1. Сделал sudo apt-get distr-update + установил ядро. Получил сизиф. Вот
какие пакеты стоят:
$ sudo rpm -qa | grep kernel
kernel-headers-modules-std26-up-2.6.6-alt4
kernel-headers-common-1.1.5-alt1
kernel-doc-2.6.6-alt1
kernel-headers-std26-up-2.6.6-alt4
kernel-image-std26-up-2.6.6-alt4
kernel-modules-nvidia-std26-up-1.0.5336-alt2.4
$ sudo rpm -qa | grep gcc
gcc3.3-3.3.3-alt5
gcc-c++-common-1.4.3-alt1
libgcc3.3-3.3.3-alt5
gcc3.3-c++-3.3.3-alt5
gcc-common-1.4.3-alt1
2. Установил VMware-workstation-4.0.5-6030.i386.rpm
# rpm -Uhv VMware-workstation-4.0.5-6030.i386.rpm
Подготовка...
################################################################################
VMwareWorkstation
################################################################################
3. Скачал и развернул vmware-any-any-update67.tar.gz. Запустил
# ./runme.pl
The file /usr/lib/vmware/modules/source/vmmon.tar that this script was
about to
install already exists. Overwrite? [yes] yes
The file /usr/lib/vmware/modules/source/vmnet.tar that this script was
about to
install already exists. Overwrite? [yes] yes
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] no
Enjoy,
4. Развернул vmmon.tar
# tar xf vmmon.tar
Отредактировал Makefile закоментировав
#HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
#BUILD_DIR = $(HEADER_DIR)/..
и добавил
HEADER_DIR =/usr/src/linux-2.6.6-std-up/include
BUILD_DIR = /usr/src/linux-2.6.6-std-up
То же самое сделал с vmnet.tar
5. Дальше делаю
# /usr/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.
Stopping VMware services:
Virtual machine
monitor
[ DONE ]
И на этом все останавливается. Но тут я уже знаю. Останавливается
потому, что не может выгрузить parport и parport_pc. Делаю это поочереди
руками. Опять
# /usr/bin/vmware-config.pl
читаю лицензию,
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] 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.6-std26-up-alt4/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-config9/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config9/vmmon-only'
make[2]: Entering directory
`/tmp/vmware-config9/vmmon-only/driver-2.6.6-std26-up-alt4'
make[2]: Leaving directory
`/tmp/vmware-config9/vmmon-only/driver-2.6.6-std26-up-alt4'
make[2]: Entering directory
`/tmp/vmware-config9/vmmon-only/driver-2.6.6-std26-up-alt4'
make[2]: Leaving directory
`/tmp/vmware-config9/vmmon-only/driver-2.6.6-std26-up-alt4'
make[1]: Leaving directory `/tmp/vmware-config9/vmmon-only'
make: Leaving directory `/tmp/vmware-config9/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config9/vmmon.o': -1 Invalid module
format
There is probably a slight difference in the kernel configuration
between the
set of C header files you specified and your running kernel. You may
want to
rebuild a kernel based on that directory, or specify another directory.
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/prebuilt_modules_linux.html".
Execution aborted.
И вот результат.
С уважением,
Дубровский Вячеслав.
Подробная информация о списке рассылки Sisyphus