LINUX.ORG.RU

Избранные сообщения yaxon

QEMU

Форум — General

Помогите разобраться в виртуализации Согласно статье поставил virt-manager
Каким то крутил вертел, удалось поставить виртуальную ОС Windows 7
Ну конечно же, и крутил с ядром
Теперь при запуске VM говорит:

Ошибка запуска : unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
В BIOS конечно же опция включена, проблема вся в ядре, т.к. что-то поменял, и перестало запускаться. Прилогаю опции ядра:
grep "KVM" /usr/src/linux/.config
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM=y
CONFIG_KVM_INTEL=y
CONFIG_KVM_AMD=m

grep "KVM" /boot/config-3.18.11-gentoo
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM=y
CONFIG_KVM_INTEL=y
CONFIG_KVM_AMD=m

zgrep "KVM" /proc/config.gz 
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m

даты и время создания конфигов едины немного не пойму что где еще поглядеть.

 , ,

yaxon
()

Обновление Perl

Форум — Security

Пытаюсь обновить Perl perl-cleaner --all

в ответ: Calculating dependencies... done! [ebuild U ] dev-perl/XML-Parser-2.410.0-r2 [2.410.0] 0 kB [ebuild U ] dev-perl/Locale-gettext-1.50.0-r1 [1.50.0] 0 kB

Total: 2 packages (2 upgrades), Size of downloads: 0 kB

[quote][quote][quote] Verifying ebuild manifests[br][/quote][/quote][/quote][quote][quote][quote] Emerging (1 of 2) dev-perl/XML-Parser-2.410.0-r2[br][/quote][/quote][/quote] * XML-Parser-2.41.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] [Errno 13] Permission denied: '/usr/bin/sandbox': /usr/bin/sandbox /usr/lib64/portage/bin/ebuild.sh unpack Traceback (most recent call last): File "/usr/lib64/portage/pym/portage/process.py", line 316, in spawn unshare_net, unshare_ipc, cgroup) File "/usr/lib64/portage/pym/portage/process.py", line 514, in _exec os.execve(binary, myargs, env) File "/usr/lib64/portage/pym/portage/__init__.py", line 259, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) PermissionError: [Errno 13] Permission denied: '/usr/bin/sandbox' * The ebuild phase 'unpack' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313). Normally, before * exiting, bash should have displayed an error message above. If bash did * not produce an error message above, it's possible that the ebuild has * called `exit` when it should have called `die` instead. This behavior * may also be triggered by a corrupt bash binary or a hardware problem * such as memory or cpu malfunction. If the problem is not reproducible or * it appears to occur randomly, then it is likely to be triggered by a * hardware problem. If you suspect a hardware problem then you should try * some basic hardware diagnostics such as memtest. Please do not report * this as a bug unless it is consistently reproducible and you are sure * that your bash binary and hardware are functioning properly.[quote][quote][quote] Failed to emerge dev-perl/XML-Parser-2.410.0-r2, Log file:[br][/quote][/quote][/quote][quote][quote][quote] '/tmp/portage/dev-perl/XML-Parser-2.410.0-r2/temp/build.log'[br][/quote][/quote][/quote] * perl-cleaner is stopping here: * Fix the problem and start perl-cleaner again.

Где-то права похерились, а вот где ?! Грешил на python, так вот что получилось: * Starting Python Updater... * Main active version of Python: 3.3 * Active version of Python 2: 2.7 * Active version of Python 3: 3.3 * Globally supported Python ABIs in installed repositories: * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * Adding to list: sys-libs/libcap-ng:0 * emerge -Dv1 --keep-going sys-libs/libcap-ng:0

* IMPORTANT: 14 news items need reading for repository 'gentoo'. * Use eselect news to read news items.

* Last emerge --sync was Wed Feb 25 17:35:01 2015.

These are the packages that would be merged, in order:

Calculating dependencies... done! [ebuild U ] sys-libs/libcap-ng-0.7.4 [0.7.3] USE="-python -static-libs" PYTHON_TARGETS="python2_7%* python3_3%* -python3_4%" 398 kB

Total: 1 package (1 upgrade), Size of downloads: 398 kB

[quote][quote][quote] Verifying ebuild manifests[br][/quote][/quote][/quote][quote][quote][quote] Emerging (1 of 1) sys-libs/libcap-ng-0.7.4[br][/quote][/quote][/quote][Errno 13] Permission denied: '/bin/bash': /bin/bash -c >> /usr/portage/distfiles/.__portage_test_write__ 2>/dev/null ; rval=$? ; rm -f /usr/portage/distfiles/.__portage_test_write__ ; exit $rval Traceback (most recent call last): File "/usr/lib64/portage/pym/portage/process.py", line 316, in spawn unshare_net, unshare_ipc, cgroup) File "/usr/lib64/portage/pym/portage/process.py", line 514, in _exec os.execve(binary, myargs, env) File "/usr/lib64/portage/pym/portage/__init__.py", line 259, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) PermissionError: [Errno 13] Permission denied: '/bin/bash' [quote][quote][quote] Downloading 'http://mirror.yandex.ru/gentoo-distfiles/distfiles/libcap-ng-0.7.4.tar.gz'[br][/quote][/quote][/quote][Errno 13] Permission denied: '/usr/bin/wget': wget -t 3 -T 60 --passive-ftp -O /usr/portage/distfiles/libcap-ng-0.7.4.tar.gz http://mirror.yandex.ru/gentoo-distfiles/distfiles/libcap-ng-0.7.4.tar.gz Traceback (most recent call last): File "/usr/lib64/portage/pym/portage/process.py", line 316, in spawn unshare_net, unshare_ipc, cgroup) File "/usr/lib64/portage/pym/portage/process.py", line 514, in _exec os.execve(binary, myargs, env) File "/usr/lib64/portage/pym/portage/__init__.py", line 259, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) PermissionError: [Errno 13] Permission denied: '/usr/bin/wget' [quote][quote][quote] Downloading 'http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.4.tar.gz'[br][/quote][/quote][/quote][Errno 13] Permission denied: '/usr/bin/wget': wget -t 3 -T 60 --passive-ftp -O /usr/portage/distfiles/libcap-ng-0.7.4.tar.gz http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.4.tar.gz Traceback (most recent call last): File "/usr/lib64/portage/pym/portage/process.py", line 316, in spawn unshare_net, unshare_ipc, cgroup) File "/usr/lib64/portage/pym/portage/process.py", line 514, in _exec os.execve(binary, myargs, env) File "/usr/lib64/portage/pym/portage/__init__.py", line 259, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) PermissionError: [Errno 13] Permission denied: '/usr/bin/wget' !!! Couldn't download 'libcap-ng-0.7.4.tar.gz'. Aborting. * Fetch failed for 'sys-libs/libcap-ng-0.7.4', Log file: * '/tmp/portage/sys-libs/libcap-ng-0.7.4/temp/build.log'[quote][quote][quote] Failed to emerge sys-libs/libcap-ng-0.7.4, Log file:[br][/quote][/quote][/quote][quote][quote][quote] '/tmp/portage/sys-libs/libcap-ng-0.7.4/temp/build.log'[br][/quote][/quote][/quote] * * The following package has failed to build or install: * * (sys-libs/libcap-ng-0.7.4::gentoo, ebuild scheduled for merge), Log file: * '/tmp/portage/sys-libs/libcap-ng-0.7.4/temp/build.log'

 ,

yaxon
()