[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 为什么在我的内核版本 3.1.0-1-amd64 中的 /sys/hypervisor 是空目录?

什么意思?我运行的内核版本 3.1.5 已经包含了对XEN的支持了:

已经发过 /boot/config-3.1.0-1-amd64的XEN编译配置信息,

# apt-cache show linux-image-3.1.0-1-amd64
Package: linux-image-3.1.0-1-amd64
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 101630
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Source: linux-2.6
Version: 3.1.5-1
Provides: linux-image, linux-modules-3.1.0-1-amd64
Depends: module-init-tools, linux-base (>= 3~), initramfs-tools (>= 0.99~) | linux-initramfs-tool
Pre-Depends: debconf | debconf-2.0
Recommends: firmware-linux-free (>= 3~)
Suggests: linux-doc-3.1, grub-pc | extlinux | lilo (>= 22.8-8.2~)
Breaks: initramfs-tools (<< 0.99~), lilo (<< 22.8-8.2~)
Description: Linux 3.1 for 64-bit PCs
 The Linux kernel 3.1 and modules for use on PCs with AMD64 or Intel 64
 This kernel also runs on a Xen hypervisor.  It supports both privileged
 (dom0) and unprivileged (domU) operation.


root@vc:~# xl
ERROR:  Can't find hypervisor information in sysfs!

root@vc:~# xm
ERROR:  Can't find hypervisor information in sysfs!

查看这些脚本后发现是因为目录 /sys/hypervisor 为空才出错的。

Reply to: