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

[Xen-devel] Re: Run X in other domains?

Ok, I'm not nearly done experimenting, but since I won't have much time the 
comming weeks/months (I'm getting married :-), I'll post here what I have 
found so far.

Booting two domains each with their own USB card, graphics card, and
sound card.
Domain 0 works as expected :-); lspci and lsusb show that the 'hidden'
hardware is indeed hidden :-)
Domain 1 correctly recognises the devices, and the lsusb and lspci show
the correct information.
I have not been able to get the framebuffer console to work on domain 1
yet, although I feel this should be possible if I just spent some more time
tweaking my system.
The usb devices seem to work correctly in domain 1.

Here's my grub.conf:
Here's my domain1 config:
And here's the xenolinux config:

There may be another way to get X up and running in domain 1, there
seems to be an X patch that enables raw event drivers to be used instead
of the default keyboard.
I downloaded and installed the patched version for Fedora Core 2 (it's 
available from here: http://cambuca.ldhs.cetuc.puc-rio.br/multiuser ) and 
want to get this functional in domain 0 first, before trying domain 1. So 
far, I got it to work somewhat, X responds to the usb keyboard, and not the 
standard keyboard, however, the graphics behaviour is corrupted.
Looks like a promising path, but I need more time to experiment with this.

I wanted to try a 2.6 kernel, but so far, I have not been able to find any 
setting that enables USB support... I did read some posts about people having 
USB working on 2.6, can someone point me to a working config?
The 2.6 kernel is reported to work better with the X solution chosen under 2), 
and so I would like to try this as well :-)

If anyone has more info on what to try, or has some more succes, I would be 
very interested to know.

Warm regards,

Another interesting place, where I found patches to get true dual head 
functionality up on my Gentoo system can be found here:

On Tuesday 24 August 2004 14:56, Mark Hurenkamp wrote:
> Hi,
> Trying out the various possibilities of Xen, I found a way to boot a
> second domain with my secondary graphics and usb cards.In the second
> machine, the devices show up exactly as expected when using lspci and
> lsusb, and cat /dev/mouse0 shows that the mouse generates correct output.
> So I decided to try and boot X within this machine, and adapted my X
> config to match the PCI id of the second card, and use my USB mouse and
> keyboard.However, when I try to startup X, it complains about being unable
> to access a free tty...I had not honestly thought that this would instantly
> work, so it is not really a surprise that it fails. However, this seems to
> me a bit of a strange message, since obviously I am on tty1 of the machine,
> and it should be able to start when I use 'vt1' as a start parameter, or am
> I mistaken here?Anyway, it seems to me that this particular problem should
> not be that hard to solve... if anyone can point me in the right direction,
> I can even give it a try myself :-)
> Well any hints/tips on how to get X running in a second domain are welcome!
> Best wishes,
> Mark.

This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
Xen-devel mailing list



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