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

[Xen-users] X11 in PV domU on AMD X2 64

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] X11 in PV domU on AMD X2 64
From: Chris Epicier <seuchato@xxxxxxxx>
Date: Sun, 24 Feb 2008 07:39:26 +0100 (CET)
Delivery-date: Sat, 23 Feb 2008 22:40:00 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=HeLQwDy900D2AlDGKnSzFFfVrLGfFrqBO2GqqIWLBlR1yehT0r2uMcALORRdagI0EBLpP4gWWEOCSd+yXnSLN/FnEUEWtsQXRC42eKw1sI9kOwgpdU3S2ceH5TBImQlVJQC59nQZJKOqMlJ4pax56WDY75Dzl7sfBkshefjxmro=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0802171817p3c5efff4qbe47d0cf88cbe34e@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all

after my success with a rather outdated system (see
http://lists.xensource.com/archives/html/xen-users/2008-02/msg00643.html),
i tried on a new box:

Asus M2N WS Pro, Athlon 64 X2 4600+, 4G Ram, 3x Sata
Raid 5, LVM, Suse 10.3, kernel 2.6.22.17-0.1-xen SMP
i686 athlon i386 GNU/Linux, xen 3.1

lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation
GeForce 8600 GT (rev a1)
02:06.0 VGA compatible controller: ATI Technologies
Inc 264VT [Mach64 VT] (rev 40)

hidden away from  to dom0 through
/etc/init.d/boot.local:

    # hide 8600 GT so it can be used in domU (not
activated as of 080117)
    slot=0000:01:00.0
    echo -n $slot >
/sys/bus/pci/drivers/pciback/new_slot
    echo -n $slot > /sys/bus/pci/drivers/pciback/bind
    echo -n $slot >
/sys/bus/pci/drivers/pciback/permissive

    #02:06.0 VGA compatible controller: ATI
Technologies Inc 264VT [Mach64 VT] (rev 40)
    slot=0000:02:06.0
    echo -n $slot >
/sys/bus/pci/drivers/pciback/new_slot
    echo -n $slot > /sys/bus/pci/drivers/pciback/bind
    echo -n $slot >
/sys/bus/pci/drivers/pciback/permissive

domU config

name = "lic"
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
memory = 512
vif = [ 'mac=aa:cc:00:00:00:CA, bridge=xenbr0' ]
disk = [ 'phy:system/lic-32bit,hda1,w' ]
root = "/dev/hda1 rw"
#remove xencons=tty to avoid VT errors when starting X
#extra = "3 xencons=tty"
extra = "3"
# nVidia Corporation GeForce 8600 GT
# pci = [
'01:00.0','00:0a.0','00:0a.1','00:0e.0','00:0e.1' ]
# ATI Technologies Inc 264VT [Mach64 VT]
pci = [
'02:06.0','00:0a.0','00:0a.1','00:0e.0','00:0e.1' ]

in above sample the ATI Mach64 VT is delegated to
domU.
sax2 -rp
Chip: 0  is -> ATI Mach64 VT                   
00:00:0 0x1002 0x5654 PCI ati 
sax2 -r
SaX: initializing please wait...
SaX: no X-Server is running
SaX: will start own server if needed
ISaX: could not import file:
/var/cache/sax/files/config at /usr/sbin/isax line
199.
ISaX: could not import file:
/var/cache/sax/files/config at /usr/sbin/isax line
199.
ISaX: could not import file:
/var/cache/sax/files/config at /usr/sbin/isax line
199.
ISaX: could not import file:
/var/cache/sax/files/config at /usr/sbin/isax line
199.
ISaX: could not import file:
/var/cache/sax/files/config at /usr/sbin/isax line
199.
ISaX: could not import file:
/var/cache/sax/files/config at /usr/sbin/isax line
199.
ISaX: could not import file:
/var/cache/sax/files/config at /usr/sbin/isax line
199.

SaX: startup

xc: sorry could not start configuration server
xc: for details refer to the log file:

    /var/log/SaX.log

xc: abort...

tail /var/logSaX.log
        (II) Module int10: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 1.2
        (EE) ATI(0): Cannot map SYS BIOS
        (WW) ATI(0): Unable to initialise int10
interface.

        Fatal server error:
        xf86MapVidMem: Could not mmap framebuffer
(0x000a0000,0x10000) (Bad address)

I get a similar error when delegating the 8600 GT to
the domU (Jfyi: the delegation works as described
above, but with 01:00.0 instead of 02:06.0. pci
delegation works for sound and usb):


tail Xorg.0.log.old
(II) NV(0): Initializing int10
(EE) NV(0): Cannot map SYS BIOS
(EE) NV(0): Failed to initialize the int10 module;
this screen will not be initialized.
(II) UnloadModule: "nv"
(II) UnloadModule: "int10"
(II) Unloading /usr/lib/xorg/modules//libint10.so
(EE) Screen(s) found, but none have a usable
configuration.

Fatal server error:
no screens found


It looks as video memory is not accessible in domU. Do
I have to set some quirky stuff? If so where and what?

greets chris




      Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel 
mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail

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

<Prev in Thread] Current Thread [Next in Thread>