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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] VNC console access in paravirtualized domUs
From: Paul Schulze <avlex@xxxxxxx>
Date: Fri, 20 Jun 2008 13:09:14 +0200
Delivery-date: Fri, 20 Jun 2008 04:09:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-pgp-agent:x-mailer:sender; bh=QLm/Sv97fLSep4sDWt2MMh6bRbrj/Iw+cG31OR6+YzM=; b=oIECYs+VxEKGyVolOvWiFELstp+u3eaEW/wGpVYOTcwxEx31LIjlrBBeSqWYwmHX81 TRhTDaZfoVi3gb8RyWmqgd2atpkw6Q77D3YeYzmYw27RxYPlF7oSFojOKrkhd3unSGQ2 S1jHIloFdEk5Ag3b7TOOHzsShHhFLBdo2ofj4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-pgp-agent:x-mailer :sender; b=rqqvaGtKK+8AFhv8ZizLORmjKitqQpmenNRGggN4zSxpHgjHbl/oe7g8VNch9p428b OKRnLHO2Bjij8RE14L9v3kYBxVz73ZSeUPGaBBHjCsAAO9XLggx+j2anY8oeYYvI8kwP /Av2HbP0Fo8ELZXyWQ0CaujBIH+JoybKR+XiI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200806191925.02839.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> <afa5bb590806190054n34535fd4vad74c0a1cc2bc365@xxxxxxxxxxxxxx> <E2B872D2-46F6-4F97-8916-C5FE95522FB6@xxxxxxx> (sfid-20080619_102958_546034_FE8D56C6) <200806191925.02839.jim_burn@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jim,

For a 2.6.25 kernel that is be true, but he said he is using Hardy and I think he is using the same kernel for his Hardy DomU as me. That being said, the standard Hardy Dom0/U kernel is version 2.6.24 with the Xen components ported from RedHat/Fedora kernel 2.6.22 or 23 (as far as I remember), so it is still the old XEN_FRAMEBUFFER=y he has to look out for. It would be interesting to see what happens with a 2.6.25+ kernel though, but at the moment I have more pressing issues to deal with, so I can't do any testing.

However, I can say this much, as long as Xorg is not running, it won't have any effect on the framebuffer. The problem here is simply to tell the kernel to use XenFB for its output, though there is the possibility that the same problem occurs with the kernel output module as does with Xorg and therefor the kernel refuses to use the framebuffer. In that case, the sollution is not that simple, it would need some kernel debugging since there doesn't seem to be a patch yet. And thats rather complicated (not sure if I could do it, maybe Ray can, depending on his level of experience). "/var/log/syslog" or "/var/log/kern.log" might have some information on this.

Even though I think VNC for console output isn't all that useful, I will do some testing on it once I finish up my current Xen project, but don't expect too much.

Cheers,


Paul.


- --
Paul Schulze
avlex@xxxxxxx
Public Key: http://solaris-net.dyndns.org/keys/key_avlex.asc

"Making mistakes is human,
but to really fuck things up you need Computers"


Am 20.06.2008 um 01:25 schrieb jim burns:

On Thursday June 19 2008 10:03:27 am Paul Schulze wrote:
The vfb.ko module has nothing to do with Xen as far as I know. That
is only a dummy module, used for development and testing. What you
need is the Xen framebuffer, you can check which Xen components are
in your DomU's kernel by simply using: "grep 'XEN' /boot/config-$
(uname -r)". You'll want to look for XEN_FRAMEBUFFER in this
particular case (I think that was it).

This would be true for, say, 2.6.21. For a pvops kernel such as 2.6.25, the config setting is XEN_FBDEV_FRONTEND (for the domu), which typically is builtin, not a module (as is also XEN_FRAMEBUFFER). Also note that in Xorg 7.3, with xorg-x11-drv-fbdev installed, and 'fbdev' as your video device in your xorg.conf, it is actually /usr/bin/Xorg that opens the /dev/ fb0 device,
which can be confirmed with 'lsof|grep /dev/fb'.

For your Hardy DomU, the only thing I can tell you is that this has
nothing to do with Xorg, since it isn't even installed.

At one point, Ray did an 'apt-get -y install xorg', but that may have just
been experimentation.

I'm glad that you and Ray are putting your heads together on this. I was very impressed how you researched that Xorg bug in your thread 'PV DomU VNC screen
black and Xorg error'.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFIW4/bYDWOGtiChoARAkj7AJwPKApzxDioe2rqQeFSQPJbgKq7PQCff8f2
u3ysKGSB0i0Z1uzDnP+4xvU=
=o7bm
-----END PGP SIGNATURE-----

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