ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] 2.4.26 и vmware wks 4.5
Date: Tue, 25 May 2004 15:28:45 +0300
Message-ID: <40B33BFD.9040400@elan.com.ua> (raw)
In-Reply-To: <20040524185510.GA5125@wrars-comp.wrarsdomain>

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.

И вот результат.

С уважением,
Дубровский Вячеслав.


  reply	other threads:[~2004-05-25 12:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18 18:26 Peter Evdokimov
2004-05-19  3:46 ` Александр Новосёлов
2004-05-19  6:53   ` Peter Evdokimov
2004-05-20 11:51   ` Slava Dubrovskiy
2004-05-20 12:09     ` Alexander Kubatkin
2004-05-20 13:19       ` Slava Dubrovskiy
2004-05-20 14:09         ` Alexander Kubatkin
2004-05-20 14:18           ` [sisyphus] " Michael Shigorin
2004-05-20 14:50             ` Anton Farygin
2004-05-20 21:59           ` [sisyphus] " Aleksandr Blokhin
2004-05-23  8:32         ` Andrey Rahmatullin
2004-05-24  7:10           ` Slava Dubrovskiy
2004-05-24  9:23             ` Andrey Rahmatullin
2004-05-24 10:12               ` Slava Dubrovskiy
2004-05-24 18:55                 ` Andrey Rahmatullin
2004-05-25 12:28                   ` Slava Dubrovskiy [this message]
2004-05-26  3:18                     ` Andrey Rahmatullin
2004-05-26  9:00                       ` Slava Dubrovskiy
2004-05-26 11:40                         ` Slava Dubrovskiy
2004-05-26  9:36                       ` [sisyphus] 2.4.26Й vmwarewks 4.5 Alexey Novikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40B33BFD.9040400@elan.com.ua \
    --to=slava@elan.com.ua \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git