AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 660347
Accepted
Adam Luchjenbroers
Adam Luchjenbroers
Asked: 2015-01-18 14:45:17 +0800 CST2015-01-18 14:45:17 +0800 CST 2015-01-18 14:45:17 +0800 CST

Xen / libvirt - 尝试启动域时出现“读取数据时文件结束:输入/输出错误”

  • 772

当我尝试使用 virsh 启动域时,出现以下错误字符串:

virsh # start vimes
error: Failed to start domain vimes
error: End of file while reading data: Input/output error
error: Failed to reconnect to the hypervisor

在这种情况下跟踪日志文件,我得到以下输出:

/var/log/libvirt/libxl/vimes.log

libxl: debug: libxl_create.c:1362:do_domain_create: ao 0x7f4e1c0017e0: create: how=(nil) callback=(nil) poller=0x7f4e1c0019c0

dmesg

[  852.559719] libvirtd[2187]: segfault at ffffffffffffffff ip 00007f4e45472614 sp 00007f4e3e6b60d8 error 7 in libc-2.19.so[7f4e453ed000+19e000]

/var/log/libvirt/libxl/libxl-driver.log

xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:13 misses:4 toobig:1
xc: debug: hypercall buffer: total allocations:18 total releases:18
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:13 misses:4 toobig:1
xc: debug: hypercall buffer: total allocations:18 total releases:18
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:13 misses:4 toobig:1

我对如何进行有点不知所措。从错误消息中不清楚实际出了什么问题。主机和来宾都在运行 OpenSuse 13.2,

xen
  • 2 2 个回答
  • 23211 Views

2 个回答

  • Voted
  1. Best Answer
    jk_posamit
    2015-02-07T06:11:34+08:002015-02-07T06:11:34+08:00

    在我看来,我们面临着同样的问题。

    请查看 Bugzilla – Bug 909547 https://bugzilla.opensuse.org/show_bug.cgi?id=909547

    和opensuse论坛https://forums.opensuse.org/showthread.php/502307-openSUSE-13-1-gt-13-2-upgrade-issues-with-xen中描述的临时部分解决方法(直到主机重新启动!!) -libvirt-and-virt-manager

    解决方法:

    1. 以 root 身份确保虚拟机管理器中没有列出任何内容,并使用xl list或确认没有正在运行的虚拟机virsh list。

    2. 转到Yast> Software> Software Management,搜索libvirt。删除libvirt、libvirt-daemon、libvirt-glib-1_0-0、libvirt-python和perl-Sys-Virt,当提示冲突时,使用第一个选项来卸载冲突。

    3. 备份或删除/usr/share/virt-manager,它的内容。(该文件夹将在重新安装时重新创建。)
    4. 使用 xen 管理程序重新启动,并以 root 身份登录。(通常我没有使用桌面内核这样做)
    5. 按照第 2 步,预计这次安装列出的软件包。
    6. 在Yast> Virtualization>Install Hypervisor和工具中只勾选 xen 工具,然后确定。

      如果此时您会碰巧重新启动。它会破坏系统,并且您在尝试安装虚拟机时会收到 EOF 错误。

    7. 转到Launcher> Applications> System> Virtualization> Virtual Machine Manager。除了本地主机 (xen) 之外,不应列出任何内容。

    8. 现在,您有两种选择来安装虚拟机,方法是单击我认为使用的“创建新虚拟机”按钮virt-install,或者单击按钮旁边的箭头,然后单击vm-install。(我一直在使用后者)
    • 2
  2. James C. Richardosn
    2015-02-07T13:36:00+08:002015-02-07T13:36:00+08:00

    以 root 身份运行 vm-install --use-xl

    13.2 中的错误。阅读https://bugzilla.opensuse.org/show_bug.cgi?id=909547

    • 0

相关问题

  • 哪些 939 插槽芯片支持 AMD-V?

  • Debian Lenny 作为 Xen domU 无法启动

  • CentOS 5.3 64 位、XEN 和 DRBD

  • Lenny 网桥上的 Xen 3.2 损坏

  • 在虚拟机之间共享静态 IP

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve