Я установил пакет xen-hypervisor
, но это заморозило мою систему, и я не знал, как ее решить, поэтому скомпилировал из исходного кода.
Это показывало ту же проблему, поэтому я предположил, что это связано с аппаратным обеспечением, и переключился (успешно) на KVM.
Проблема в том, что теперь, несмотря на запуск make uninstall
uninstall из исходного каталога xen, в системе, похоже, осталось много остатков xen, и я не могу найти хороший ресурс по его очистке.
Я не возражаю, но думаю, что теперь это является причиной этой проблемы (выходные данные systemctl status systemd-modules-load
и journalctl _PID=3898
):
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon XXXX-XX-XX XX:XX:XX XXXX; Xs ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 3898 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 3898 (code=exited, status=1/FAILURE)
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_evtchn': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_gntdev': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_gntalloc': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_blkback': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_netback': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_pciback': No such device
May XX XX:XX:XX dev systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FA
May XX XX:XX:XX dev systemd[1]: Failed to start Load Kernel Modules.
May XX XX:XX:XX dev systemd[1]: systemd-modules-load.service: Unit entered failed state.
May XX XX:XX:XX dev systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
а также
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_evtchn': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_gntdev': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_gntalloc': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_blkback': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_netback': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to insert 'xen_pciback': No such device
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'evtchn'
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'gntdev'
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'netbk'
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'blkbk'
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'xen-scsibk'
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'usbbk'
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'pciback'
May XX XX:XX:XX dev systemd-modules-load[3898]: Module 'xen_acpi_processor' is builtin
May XX XX:XX:XX dev systemd-modules-load[3898]: Failed to find module 'blktap2'
Я искал ошибочные строки загрузки модулей в /etc/modules
(единственный модуль conf, ref'd по symlink из /etc/modules-load.d/modules.conf
), но есть только vhost_net
для сетевого моста KVM.
Изменить: я остановил ошибки (удалив /usr/local/lib/modules-load.d/xen.conf
и перезапустив службу), но не убрал.
Нашел этот список файлов, измененных во время установки, но не распознал их все.
Любые идеи о том, можно ли безопасно удалить какой-либо из них?
/boot/xenpolicy-4.8.1
/etc/perl
/etc/perl/XML
/etc/perl/XML/SAX
/etc/texmf
/etc/texmf/texmf.d
/etc/texmf/web2c
/etc/texmf/web2c/texmf.cnf
/etc/xen.old-1493602948/scripts/hotplugpath.sh
/usr/local/bin/xenalyze
/usr/local/bin/xen-cpuid
/usr/local/lib/fs/ext2fs/fsimage.so
/usr/local/lib/fs/fat/fsimage.so
/usr/local/lib/fs/iso9660/fsimage.so
/usr/local/lib/fs/reiserfs/fsimage.so
/usr/local/lib/fs/ufs/fsimage.so
/usr/local/lib/fs/xfs/fsimage.so
/usr/local/lib/fs/zfs/fsimage.so
/usr/local/lib/libblktapctl.a
/usr/local/lib/libblktapctl.so.1.0.0
/usr/local/lib/libfsimage.so.1.0.0
/usr/local/lib/libvhd.a
/usr/local/lib/libvhd.so.1.0.0
/usr/local/lib/libxencall.a
/usr/local/lib/libxencall.so.1.0
/usr/local/lib/libxenevtchn.a
/usr/local/lib/libxenevtchn.so.1.0
/usr/local/lib/libxenforeignmemory.a
/usr/local/lib/libxenforeignmemory.so.1.0
/usr/local/lib/libxengnttab.a
/usr/local/lib/libxengnttab.so.1.1
/usr/local/lib/libxenlight.a
/usr/local/lib/libxenlight.so.4.8.0
/usr/local/lib/libxenstat.a
/usr/local/lib/libxenstat.so.0.0
/usr/local/lib/libxentoollog.a
/usr/local/lib/libxentoollog.so.1.0
/usr/local/lib/libxenvchan.a
/usr/local/lib/libxenvchan.so.4.8.0
/usr/local/lib/modules-load.d/xen.conf
/usr/local/lib/ocaml/4.02.3/stublibs/dllxenbus_stubs.so
/usr/local/lib/ocaml/4.02.3/stublibs/dllxenctrl_stubs.so
/usr/local/lib/ocaml/4.02.3/stublibs/dllxeneventchn_stubs.so
/usr/local/lib/ocaml/4.02.3/stublibs/dllxenlight_stubs.so
/usr/local/lib/ocaml/4.02.3/stublibs/dllxenmmap_stubs.so
/usr/local/lib/ocaml/4.02.3/stublibs/dllxentoollog_stubs.so
/usr/local/lib/ocaml/4.02.3/xenbus/libxenbus_stubs.a
/usr/local/lib/ocaml/4.02.3/xenbus/META
/usr/local/lib/ocaml/4.02.3/xenbus/xenbus.a
/usr/local/lib/ocaml/4.02.3/xenbus/xenbus.cma
/usr/local/lib/ocaml/4.02.3/xenbus/xenbus.cmi
/usr/local/lib/ocaml/4.02.3/xenbus/xenbus.cmo
/usr/local/lib/ocaml/4.02.3/xenbus/xenbus.cmx
/usr/local/lib/ocaml/4.02.3/xenbus/xenbus.cmxa
/usr/local/lib/ocaml/4.02.3/xenctrl/libxenctrl_stubs.a
/usr/local/lib/ocaml/4.02.3/xenctrl/META
/usr/local/lib/ocaml/4.02.3/xenctrl/xenctrl.a
/usr/local/lib/ocaml/4.02.3/xenctrl/xenctrl.cma
/usr/local/lib/ocaml/4.02.3/xenctrl/xenctrl.cmi
/usr/local/lib/ocaml/4.02.3/xenctrl/xenctrl.cmx
/usr/local/lib/ocaml/4.02.3/xenctrl/xenctrl.cmxa
/usr/local/lib/ocaml/4.02.3/xeneventchn/libxeneventchn_stubs.a
/usr/local/lib/ocaml/4.02.3/xeneventchn/META
/usr/local/lib/ocaml/4.02.3/xeneventchn/xeneventchn.a
/usr/local/lib/ocaml/4.02.3/xeneventchn/xeneventchn.cma
/usr/local/lib/ocaml/4.02.3/xeneventchn/xeneventchn.cmi
/usr/local/lib/ocaml/4.02.3/xeneventchn/xeneventchn.cmx
/usr/local/lib/ocaml/4.02.3/xeneventchn/xeneventchn.cmxa
/usr/local/lib/ocaml/4.02.3/xenlight/libxenlight_stubs.a
/usr/local/lib/ocaml/4.02.3/xenlight/META
/usr/local/lib/ocaml/4.02.3/xenlight/xenlight.a
/usr/local/lib/ocaml/4.02.3/xenlight/xenlight.cma
/usr/local/lib/ocaml/4.02.3/xenlight/xenlight.cmi
/usr/local/lib/ocaml/4.02.3/xenlight/xenlight.cmx
/usr/local/lib/ocaml/4.02.3/xenlight/xenlight.cmxa
/usr/local/lib/ocaml/4.02.3/xenmmap/libxenmmap_stubs.a
/usr/local/lib/ocaml/4.02.3/xenmmap/META
/usr/local/lib/ocaml/4.02.3/xenmmap/xenmmap.a
/usr/local/lib/ocaml/4.02.3/xenmmap/xenmmap.cma
/usr/local/lib/ocaml/4.02.3/xenmmap/xenmmap.cmi
/usr/local/lib/ocaml/4.02.3/xenmmap/xenmmap.cmx
/usr/local/lib/ocaml/4.02.3/xenmmap/xenmmap.cmxa
/usr/local/lib/ocaml/4.02.3/xenstore/META
/usr/local/lib/ocaml/4.02.3/xenstore/xenstore.a
/usr/local/lib/ocaml/4.02.3/xenstore/xenstore.cma
/usr/local/lib/ocaml/4.02.3/xenstore/xenstore.cmi
/usr/local/lib/ocaml/4.02.3/xenstore/xenstore.cmo
/usr/local/lib/ocaml/4.02.3/xenstore/xenstore.cmx
/usr/local/lib/ocaml/4.02.3/xenstore/xenstore.cmxa
/usr/local/lib/ocaml/4.02.3/xentoollog/libxentoollog_stubs.a
/usr/local/lib/ocaml/4.02.3/xentoollog/META
/usr/local/lib/ocaml/4.02.3/xentoollog/xentoollog.a
/usr/local/lib/ocaml/4.02.3/xentoollog/xentoollog.cma
/usr/local/lib/ocaml/4.02.3/xentoollog/xentoollog.cmi
/usr/local/lib/ocaml/4.02.3/xentoollog/xentoollog.cmx
/usr/local/lib/ocaml/4.02.3/xentoollog/xentoollog.cmxa
/usr/local/lib/python2.7/dist-packages/fsimage.so
/usr/local/lib/python2.7/dist-packages/xen/lowlevel/xc.so
/usr/local/lib/python2.7/dist-packages/xen/lowlevel/xs.so
/usr/local/sbin/flask-get-bool
/usr/local/sbin/flask-getenforce
/usr/local/sbin/flask-label-pci
/usr/local/sbin/flask-loadpolicy
/usr/local/sbin/flask-set-bool
/usr/local/sbin/flask-setenforce
/usr/local/sbin/gdbsx
/usr/local/sbin/img2qcow
/usr/local/sbin/kdd
/usr/local/sbin/lock-util
/usr/local/sbin/oxenstored
/usr/local/sbin/qcow2raw
/usr/local/sbin/qcow-create
/usr/local/sbin/tap-ctl
/usr/local/sbin/tapdisk2
/usr/local/sbin/tapdisk-client
/usr/local/sbin/tapdisk-diff
/usr/local/sbin/tapdisk-stream
/usr/local/sbin/td-util
/usr/local/sbin/xl
/usr/local/share/pkgconfig/xenlight.pc
/usr/local/share/pkgconfig/xlutil.pc
/var/lib/libxml-sax-perl
/var/lib/libxml-sax-perl/ParserDetails.d/10-XML::SAX::PurePerl
/var/lib/ucf/hashfile.3
/var/lib/ucf/hashfile.4
/var/lib/ucf/hashfile.5