ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Virtualbox
@ 2008-03-04 19:33 Delta-DEMON
  2008-03-04 19:53 ` Alexey Borisenkov
  2008-03-04 21:11 ` Denis Kirienko
  0 siblings, 2 replies; 6+ messages in thread
From: Delta-DEMON @ 2008-03-04 19:33 UTC (permalink / raw)
  To: community

Дело в установке сабжа. rpm-пакет установился и доступ к 
конфигурированию виртуальной машины есть, но:

VirtualBox kernel driver not installed. The vboxdrv kernel module was 
either not loaded or /dev/vboxdrv was not created for some reason. 
Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.

В мануале сказано:

VirtualBox uses a special kernel module to perform physical memory 
allocation and to gain control of the processor for guest system 
execution. Without this kernel module, you will still be able to work 
with Virtual Machines in the configuration interface, but you will not be 
able to start any virtual machines.

Модуль этот вместе с Virtualbox не поставляется, а предполагается быть 
собранным:

Most Linux distributions can be set up simply by installing the right 
packages. Normally, these will be the GNU compiler (GCC), GNU Make 
(make) and packages containing header files for your kernel. The version 
numbers of the header file packages must be the same as that of the 
kernel you are using.
    – In newer Debian and Ubuntu releases, you must install the right 
version of the linux-headers and if it exists the linux-kbuild package. 
Current Ubuntu releases should have the right packages installed by default.
    – In older Debian and Ubuntu releases, you must install the right 
version of the kernel-headers package.
    – On Fedora and Redhat systems, the package is kernel-devel.
    – On SUSE and OpenSUSE Linux, you must install the right versions of 
the kernel-source and kernel-syms packages.

Kernel-headers я репозитории нашел, но решительно не моей версии:

Моё - 2.6.18-std-smp-alt10 (i686)
В репозитории - 2.6.18-std-smp-alt12

Естественно, что после установки ни чего так и не собирается, пишет:

[delta-demon@DELTA ~]$ su
Password:
[root@DELTA ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                               [ DONE ]
Recompiling VirtualBox kernel module                            [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)

Смотрим файл /var/log/vbox-install.log:

Makefile:75: *** Error: unable to find the sources of your current Linux 
kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

Вот. По моему изложил всё предельно ясно. :) Теперь вопросы:
1. Что я делаю не правильно?
2. Где взять kernel-headers от моего ядра?
3. Нужно ли их вообще искать? Может нужно что-то другое всё таки?
4. На крайняк, как сменить ядро на то, к которому есть эти 
kernel-headers? :)
5. Самое главное! ПОЧЕМУ КОГДА Я ГОВОРЮ SYNAPTIC УСТАНОВИТЬ KGET ОН 
ПРЕДЛАГАЕТ УДАЛИТЬ БОЛЬШУЮ ЧАСТЬ КОМПОНЕНТОВ KDE?

Спасибо а добром слове.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Virtualbox
  2008-03-04 19:33 [Comm] Virtualbox Delta-DEMON
@ 2008-03-04 19:53 ` Alexey Borisenkov
  2008-03-04 21:11 ` Denis Kirienko
  1 sibling, 0 replies; 6+ messages in thread
From: Alexey Borisenkov @ 2008-03-04 19:53 UTC (permalink / raw)
  To: ALT Linux Community general discussions

> Моё - 2.6.18-std-smp-alt10 (i686)
Ой, а откуда взялось ядро i686? Если это было i586 с DVD, то там же 
лежит и нужный kernel-headers-modules-std-smp-alt10
> В репозитории - 2.6.18-std-smp-alt12
Как вариант - обновить и ядро тоже.

[skipped]
> 3. Нужно ли их вообще искать? Может нужно что-то другое всё таки?
Ну, почти они. kernel-headers-modules-std-smp, естественно с версией 
совпадающей с версией ядра вплоть до номера сборки.
> 4. На крайняк, как сменить ядро на то, к которому есть эти 
> kernel-headers? :)
Угу, но std-smp-alt10 было на DVD с 4.0.2, так что можно, наверно, найти 
и на ФТП в директории с 4.0.2
> 5. Самое главное! ПОЧЕМУ КОГДА Я ГОВОРЮ SYNAPTIC УСТАНОВИТЬ KGET ОН 
> ПРЕДЛАГАЕТ УДАЛИТЬ БОЛЬШУЮ ЧАСТЬ КОМПОНЕНТОВ KDE?
Вероятно репозиторий сильно убежал от вашей системы. Кстати, куда 
нацелено обновление? Не на сизиф случаем?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Virtualbox
  2008-03-04 19:33 [Comm] Virtualbox Delta-DEMON
  2008-03-04 19:53 ` Alexey Borisenkov
@ 2008-03-04 21:11 ` Denis Kirienko
  2008-03-04 21:22   ` Alexey Borisenkov
  1 sibling, 1 reply; 6+ messages in thread
From: Denis Kirienko @ 2008-03-04 21:11 UTC (permalink / raw)
  To: community

Delta-DEMON пишет:
> Дело в установке сабжа. rpm-пакет установился и доступ к
> конфигурированию виртуальной машины есть, но:

Подождите-подождите, а что за rpm вы ставите? Вы что, скачали rpm для
федоры или сусе? Лучше так не делать, а делать так:

1. Установить пакеты kernel-headers и kernel-headers-modules
2. Взять с сайта virtualvox.org бинарник для "All distributions":
http://195.34.175.98/download/1.5.6/VirtualBox_1.5.6-1_Linux_x86.run
3. Запустить его, он все сделает. Никаких проблем вроде бы нет.

--
Денис



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Virtualbox
  2008-03-04 21:11 ` Denis Kirienko
@ 2008-03-04 21:22   ` Alexey Borisenkov
  2008-03-05 18:50     ` Владимир
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Borisenkov @ 2008-03-04 21:22 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Denis Kirienko пишет:
> Подождите-подождите, а что за rpm вы ставите? Вы что, скачали rpm для
> федоры или сусе? Лучше так не делать, а делать так:
Кстати да, не обратил внимания, что в исходном сообщении упоминался rpm.

> 1. Установить пакеты kernel-headers и kernel-headers-modules
Как показали многочисленные экперименты, первый необязателен и 
достаточно только второго.

> 2. Взять с сайта virtualvox.org бинарник для "All distributions":
> http://195.34.175.98/download/1.5.6/VirtualBox_1.5.6-1_Linux_x86.run
> 3. Запустить его, он все сделает. Никаких проблем вроде бы нет.
Проверено многократно. Ещё бы в дополнениях к гостевой ОС (ALT) само бы 
делалось, а то приходится ручки прикладывать :(


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Virtualbox
  2008-03-04 21:22   ` Alexey Borisenkov
@ 2008-03-05 18:50     ` Владимир
  2008-03-05 20:30       ` Denis Kirienko
  0 siblings, 1 reply; 6+ messages in thread
From: Владимир @ 2008-03-05 18:50 UTC (permalink / raw)
  To: ALT Linux Community general discussions

[-- Attachment #1: Type: text/plain, Size: 1816 bytes --]

# uname -r
2.6.22-wks-smp-alt0.7

# rpm -qa | grep head
glibc-kernheaders-2.6.17-alt7
kernel-headers-common-1.1.9-alt1
kernel-headers-wks-smp-2.6.22-alt0.7

# /home/haw/Загрузка/VirtualBox_1.5.6-1_Linux_x86.run 
Installation aborted.  Please check the log file /var/log/vbox-install.log for 
more information.

VirtualBox 1.5.7 installer, built Wed Feb 20 15:40:21 CET 2008.

Testing system setup...
System setup appears correct.

Installing VirtualBox to /opt/VirtualBox-1.5.7

Output from the module build process (the Linux kernel build system) follows:

Makefile:78: Warning: using /usr/src/linux as the source directory of your 
Linux kernel. If this is not correct, specify KERN
_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/vbox.2 
SRCROOT=/tmp/vbox.2 modules
make[1]: Entering directory `/usr/src/kernel-source-2.6.22'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            
\
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf 
are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to 
fix it.";  \
        echo;                                                           \
        /bin/false)

  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

mkdir -p /tmp/vbox.2/.tmp_versions
rm -f /tmp/vbox.2/.tmp_versions/*

  WARNING: Symbol version dump /usr/src/kernel-source-2.6.22/Module.symvers
           is missing; modules will have no dependencies and modversions.

ну и т.д. прилагаю

[-- Attachment #2: vbox-install.log.bz2 --]
[-- Type: application/x-bzip2, Size: 15862 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Virtualbox
  2008-03-05 18:50     ` Владимир
@ 2008-03-05 20:30       ` Denis Kirienko
  0 siblings, 0 replies; 6+ messages in thread
From: Denis Kirienko @ 2008-03-05 20:30 UTC (permalink / raw)
  To: community

Владимир пишет:


> # uname -r
> 2.6.22-wks-smp-alt0.7
> 
> # rpm -qa | grep head
> glibc-kernheaders-2.6.17-alt7
> kernel-headers-common-1.1.9-alt1
> kernel-headers-wks-smp-2.6.22-alt0.7
> 
> # /home/haw/Загрузка/VirtualBox_1.5.6-1_Linux_x86.run 
> Installation aborted.  Please check the log file /var/log/vbox-install.log for 
> more information.

Установите пакет kernel-headers-modules-wks-smp-2.6.22-alt0.7

--
Денис



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-05 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04 19:33 [Comm] Virtualbox Delta-DEMON
2008-03-04 19:53 ` Alexey Borisenkov
2008-03-04 21:11 ` Denis Kirienko
2008-03-04 21:22   ` Alexey Borisenkov
2008-03-05 18:50     ` Владимир
2008-03-05 20:30       ` Denis Kirienko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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