Como eu removo completamente o Xen ou pelo menos evito que esses erros ocorram?

1

Eu instalei o pacote xen-hypervisor , mas isso congelou meu sistema e não sabia como resolvê-lo, então eu compilei a partir do código-fonte. Que exibiu o mesmo problema, então eu assumi que era relacionado ao hardware e mudei (com sucesso) para o KVM.

O problema é que agora, apesar de executar make uninstall do diretório de origem do xen, parece haver muitos remanescentes de xen no sistema, e não consigo encontrar um bom recurso para limpá-lo. Eu não me importaria, exceto que agora acho que é a causa desse problema (as saídas de systemctl status systemd-modules-load e 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'.

e

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'

Eu procurei por linhas de carregamento de módulo erradas em /etc/modules (o único conf do módulo, refd por link simbólico de /etc/modules-load.d/modules.conf ), mas há apenas vhost_net para a ponte de rede do KVM.

Editar: parei os erros (removendo /usr/local/lib/modules-load.d/xen.conf e reiniciando o serviço), mas não limpei. Encontrou esta lista de arquivos modificados em torno do tempo de instalação, mas não reconhece todos eles.

Alguma idéia de que algum desses itens possa ser removido com segurança?

/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
    
por Walf 15.05.2017 / 06:42

1 resposta

0

Você pode remover o pacote do seguinte comando.

apt-get remove xen-hypervisor-amd64 / apt-get remove o centos-release-xen

ou

Eliminação do apt-get xen-hypervisor-amd64 / apt-get purga centos-release-xen

    
por 15.05.2017 / 07:20