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

[Xen-devel] Just another PCI VGA passthru report

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Just another PCI VGA passthru report
From: Pavel Matěja <pavel@xxxxxxxxxx>
Date: Sun, 9 Jan 2011 14:41:16 +0100
Delivery-date: Sun, 09 Jan 2011 05:42:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Netsafe Solutions s.r.o.
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.5 (Linux/2.6.35.10; KDE/4.4.5; x86_64; ; )
Hey guys,
I have new toy and I there is something I want to tell you about it.

Hardware:
AMD Phenom(tm) II X6 1075T Processor
16GB of DDR3 ECC
3x ASUS EAH6850
Intel X25-M SSD 160GB G2
2x USB headset Tactic 3D alpha
1x headphones with jack
3x USB keyboard
3x USB mouse
3x LCD monitor with 4-port USB HUB

Software:
dom0:
xen-unstable.hg with original AMD passthru patch
linux-xen 2.6.32.26-g3147caa with backported patch for Marvell 88E8059
Samba, bind, etc.

3x domU:
Win XP SP3 32b
gplpv_XP_0.11.0.238.msi
10-12_xp32_dd_ccc_enu.exe

domU configuration:
Every domU has:
2 dedicated cores
4GB RAM
8GB partition/disk image
passthru to USB and VGA
1GB NIC
USB keyboard
USB mouse
one domU has PCI passthru to onboard soundcard
two have USB headset

Some problems:
Disk performance is poor even when I use gplpv drivers.

I can't read valid CPU frequency from /proc/cpuinfo

I can't power computer off. It's working normaly when running non XEN
kernel.

Onboard sound:
I had to add kernel parameter
xen-pciback.hide=(00:14.2)
I got error 10 in windows driver when I just unbound it from PCI.

USB:
Sometimes I need normal login before XEN start so I unbind USB controller just 
before start of guest.
I was unable to pass EHCI. Just OHCI was working which caused problems when 
detecting USB devices. It took long time and sometimes some keys on keyboard 
were ignored.
I had to:
a) change PCI resource alignment
cd /sys/bus/pci
echo "00:12.2;00:13.2;00:16.2" > /sys/bus/pci/resource_alignment
b) turn power controllers off
echo 0 > slots/0000:00:12.2/power
echo 0 > slots/0000:00:13.2/power
echo 0 > slots/0000:00:16.2/power
c) rescan PCI
echo 1 > rescan
When I tried to use kernel parameter only first PCI device alignment was 
altered.

VGA:
I can see Windows starting just on primary VGA. Booting other instances causes 
image damage to primary VGA Windows instance. I have to start that domU last.

Current status:
I'm successfully running three instances of Windows XP. Every one has fully 
accelerated VGA and it's own keybord, mouse and soudcard.
I took some video by my phone. Check (no comment, poor quality)
http://tinypic.com/player.php?v=34qtx8p&s=7 XEN boot, WXP start
http://tinypic.com/player.php?v=1679kzb&s=7 3x Counter Strike, very short

What is it good for?
Think about offices, schools,.. You can save lot of money when you get three 
computers for price of two or less. My computer is gaming machine so it's more 
expensive than usual one. But you need VGA PCI passthru.
--
Pavel Mateja

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