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-users

Re: [Xen-users] VNC console access in paravirtualized domUs

To: "jim burns" <jim_burn@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] VNC console access in paravirtualized domUs
From: "Ray Barnes" <tical.net@xxxxxxxxx>
Date: Sat, 7 Jun 2008 05:54:42 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 07 Jun 2008 02:55:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=iO3W9Qfh9fIEM9OATAn4j/NDNeJl51IeHt1T/XzPojc=; b=RpBApKK3j+4iJ3OL+WxLtNPdTfqbjiqv/UNeOx3s9fGT5zEx/wx2a1qecuh+D3dY2H SAXrKalj+KS16Lr+BktGO9B4ouCLQZQNhr0mw8pbCGxF1v1/t8pQvmIOLotKwr8T/bC6 Iksf41snGiKvJQydBLAhF/Zcs+V/yvzjJ04l4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=k0zZtjX8cmU4yvUv6s8cfdpdWa7SnW9WYuy8WC3qhcjUzWWop3gvQLP++2AEcPmBFj Lt5unNhdnhlQYa+/0/kjM+U9HKfy6q/YZnMTljBODCv95WAz4QCdU5DY9S7d/uvI/+I3 Qo7Uic4qnhFircyU75o8JON5OYQ8Kz9QI5kSM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200806061813.37786.jim_burn@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <afa5bb590806050138g4615f91ge3e9b6a5bdcde3c@xxxxxxxxxxxxxx> <200806060533.44355.jim_burn@xxxxxxxxxxxxx> <afa5bb590806060430j4462f7e7scb4543f86831188a@xxxxxxxxxxxxxx> <200806061813.37786.jim_burn@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Jim.  I'm led to believe that xorg.conf doesn't have anything to do with the ability of the console framebuffer to function:

[root@dbi1-2 ~]# uname -r
2.6.18-8.el5xen
[root@dbi1-2 ~]# find / -print|grep xorg.conf
[root@dbi1-2 ~]# rpm -q xorg-x11-drv-fbdev
package xorg-x11-drv-fbdev is not installed
[root@dbi1-2 ~]#

This comes from a CentOS 5 domU with a working VNC text console.  My /dev/fb* looks exactly as yours does in FC9; this is being generated by udev in the case of Cent 5 (and yes, my Debian domUs have udev).  What am I missing here?  Anyone?

-Ray



On Fri, Jun 6, 2008 at 6:13 PM, jim burns <jim_burn@xxxxxxxxxxxxx> wrote:
On Friday June 06 2008 07:30:44 am you wrote:
> The tip about hvc0/xvc0 was helpful in getting Debian Lenny going; for
> grins I decided to spin an image of Lenny to assist in
> troubleshooting.  Regarding the framebuffer (using Lenny for
> reference), I've got the xorg fbdev package installed.  I've added a
> section to xorg.conf like:
>
> Section "Device"
>          Identifier "vnctest"
>          Driver "fbdev"
> EndSection

Here's my F9 pv xorg.conf:

# Xorg configuration created by system-config-display

Section "ServerLayout"
       Identifier     "single head configuration"
       Screen      0  "Screen0" 0 0
       InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "kbd"
       Option      "XkbModel" "pc105"
       Option      "XkbLayout" "us+inet"
EndSection

Section "Device"
       Identifier  "Videocard0"
       Driver      "fbdev"
EndSection

Section "Screen"
       Identifier "Screen0"
       Device     "Videocard0"
       DefaultDepth     24
       SubSection "Display"
               Viewport   0 0
               Depth     24
       EndSubSection
EndSection

In particular, note how the last two sections relate to each other - The
identifier you associate with the fbdev driver has to be specified in the
Screen section.

> But as far as I can tell, the issue is that the domU does not expose
> the framebuffer to the dom0:
>
> XENBUS: Device with no driver: device/vkbd/0
> XENBUS: Device with no driver: device/vfb/0
> XENBUS: Device with no driver: device/console/0

I've seen this many times on this list, and on my own pv domus, and I think
they are just pre-initialization messages - an indication that xen is about
to look for drivers. Anybody know any differently?

> I believe that's why I see "parallel0 console" in VNC.  There is no
> /dev/fb0 on the domU (docs make reference to this; I've got to believe
> udev would throw it up if it were configured properly).  Any ideas
> there?

With no more than the above xorg.conf, the output of 'ls -alF /dev/fb*' for me
is:

lrwxrwxrwx 1 root root     3 2008-05-26 17:21 /dev/fb -> fb0
crw------- 1 jimb root 29, 0 2008-06-06 18:05 /dev/fb0

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

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