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

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


  • To: "jim burns" <jim_burn@xxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.