Debian Jessie 未取得 xen 虛擬幀緩衝區

Debian Jessie 未取得 xen 虛擬幀緩衝區

我在 Debian Wheezy 上安裝了 Xen 4.1,透過 xm 進行管理。當我啟動 Jessie DomU 時,我僅在啟動的前幾秒內在模擬 VGA 卡/VNC 顯示器上獲得輸出,然後停止。

dmesg 顯示:

[   30.968257] xenbus_probe_frontend: Timeout connecting to device: device/vkbd/0 (local state 3, remote state 1)
[   30.968336] xenbus_probe_frontend: Timeout connecting to device: device/vfb/0 (local state 3, remote state 1)`

據我了解,這意味著光伏驅動程式的後端部分未初始化。

相關DomU配置:

device_model    = '/usr/lib/xen/bin/qemu-dm' 
boot            = "dc"
sdl             = 0 
vnc             = 1 
vncconsole      = 0 
vnclisten       = "0.0.0.0" 
vncpasswd       = redacted 
serial          = 'pty' 
usbdevice       = 'tablet' 
vncdisplay      = 1737 
keymap          = 'de'

我嘗試新增 vfb= 行,因為文件有些不清楚上述選項是建立 vfb 裝置還是僅建立模擬 VGA 卡。這沒有幫助。

後端(Dom0 中的 xenstore)顯示:

domain = "root1194.c.artfiles.de"
vnc = "1"
xauthority = "/root/.Xauthority"
vnclisten = "0.0.0.0"
vncdisplay = "1737"
frontend = "/local/domain/85/device/vfb/0"
vncpasswd = "redacted"
state = "1"
keymap = "de"
online = "1"
frontend-id = "85"
uuid = "688c4f1e-4b8b-6273-c243-4c2f21d48c4b"
location = "0.0.0.0:7637"

據我從文件中看到,狀態 1 表示「XenbusStateInitialising」。所以我預計 Dom0 中的問題是問題的原因。

知道它可能是什麼嗎?

答案1

我在 XEN HVM 上的 Debian Jessie 中遇到了完全相同的問題,其中 GRUB 出現在 VNC 控制台上,但所有輸出在啟動開始後不久就停止了。對我有用的解決方案是重新配置 GRUB(在 DomU 中)以停用幀緩衝區並請求 VGA 輸出。

我的步驟如下:

  1. 修改 /etc/default/grub 以便出現以下兩行:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet fb=false"  
    GRUB_GFXPAYLOAD_LINUX="keep"
    
  2. 重新產生 GRUB 文件

    update-grub2
    
  3. 重新啟動機器,控制台現在應該會出現

相關內容