WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1365] New: PV-GRUB: virtual framebuffer doesn't work

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1365] New: PV-GRUB: virtual framebuffer doesn't work
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 7 Oct 2008 01:55:56 -0700
Delivery-date: Tue, 07 Oct 2008 01:56:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1365

           Summary: PV-GRUB: virtual framebuffer doesn't work
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: zhigang.x.wang@xxxxxxxxxx
                CC: samuel.thibault@xxxxxxxxxxxxx


Env:

xen-3.3-testing cs 18434 x86
qemu-dm: http://xenbits.xensource.com/git-http/qemu-xen-3.3-testing.git commit
f70e8ad4b0d34278c91c40aca20716fd66c73bba (in-tree qemu doesn't work either)
dom0 kernel: linux-2.6.18-658.18431.el5xen

Problem:

When booting a PV guest using pv-grub with VFB, the qemu-dm process dies when
connecting the vnc console using vncviewer:

# xm create vm.cfg --> guest started successfully, can be accessed by xm
console;
# vncviewer :0 --> failed; the qemu-dm dies.

(vfb = ['type=sdl'] doesn't work either; works fine if no vfb.)

vm.cfg:
=======

kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,0)/grub/menu.lst"
disk = ['file:/share/vm/OVM_EL5U1_X86_PVM_4GB/system.img,hda,w!',
]
memory = '256'
name = 'OVM_EL5U1_X86_PVM_4GB'
builder = 'linux'
on_crash = 'destroy'
on_reboot = 'restart'
serial = 'pty'
uuid = '1fa112c9-7edd-4bff-b22a-1617423789cf'
vcpus = 1
vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
#vfb = ['type=sdl']
vif = ['mac=00:16:3e:31:d5:4b,bridge=xenbr0,rate=8Mb/s@50ms',
'mac=00:16:3e:52:c4:03,bridge=xenbr0',
]

Logs

/var/log/xen/xend.log:
======================

...
[2008-10-07 15:18:42 14072] DEBUG (DevController:166) Waiting for devices pci.
[2008-10-07 15:18:42 14072] DEBUG (DevController:166) Waiting for devices
ioports.
[2008-10-07 15:18:42 14072] DEBUG (DevController:166) Waiting for devices tap.
[2008-10-07 15:18:42 14072] DEBUG (DevController:166) Waiting for devices vtpm.
[2008-10-07 15:18:42 14072] INFO (XendDomain:1174) Domain OVM_EL5U1_X86_PVM_4GB
(16) unpaused.
[2008-10-07 15:20:36 14072] WARNING (image:472) domain OVM_EL5U1_X86_PVM_4GB:
device model failure: pid 14658: died due to signal 11; see
/var/log/xen/qemu-dm-OVM_EL5U1_X86_PVM_4GB.log

/var/log/xen/qemu-dm-OVM_EL5U1_X86_PVM_4GB.log:
===============================================

domid: 16
Watching /local/domain/0/device-model/16/logdirty/next-active
Watching /local/domain/0/device-model/16/command
xs_read(): vncpasswd get error.
/vm/1fa112c9-7edd-4bff-b22a-1617423789cf/vncpasswd.
char device redirected to /dev/pts/2
/share/tmp/repos/xen-3.3-testing/tools/ioemu/hw/xen_blktap.c:612: Init blktap
pipes
Console: prepared domain, waiting for ringref at /local/domain/16/console or
/local/domain/16/serial/0
FB: Waiting for KBD backend creation
Doing backend watch on /local/domain/0/backend/vkbd/16/0
Console: got watch
Console: failed to find ring-ref/port yet
FB: Waiting for FB backend creation
Doing backend watch on /local/domain/0/backend/vfb/16/0
Console: got watch
Console: failed to find ring-ref/port yet
FB: Waiting for KBD frontend initialization
Doing frontend watch on /local/domain/16/device/vkbd/0
FB: Carry on waiting
Console: got watch
Console: got ring-ref 314983 port 2 limit 1048576
Console: connected to guest frontend
FB: Waiting for FB frontend initialization
Doing frontend watch on /local/domain/16/device/vfb/0
Framebuffer 640x480x32 offset 0 stride 2560
FB: Waiting for KBD frontend connection
Doing frontend watch on /local/domain/16/device/vkbd/0
Xen Framebuffer registered


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs