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] Re: X11 in PV domU: limited success => SOLVED!

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] Re: X11 in PV domU: limited success => SOLVED!
From: Chris Epicier <seuchato@xxxxxxxx>
Date: Mon, 18 Feb 2008 06:49:26 +0100 (CET)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 17 Feb 2008 21:50:05 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=PfHXOGKF+DM07K2TkD513YhGAO2n3W5HujRQDXqDrYYjUg69Y8T/gADbivrkDbO1mxxnNXjAnciwAz7AaRWwlTaXKuENbQ/FjSFewfu6PyeaIq1PBdAX54/jkNT9aYssIm344y1jtdWFGR5JVMFfCjQaKKiIn9x3U4oBx3GPss4=;
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 Todd

got it sorted out meanwhile!


> Did you try pci=['0000:00:06.0'] in the domU config?

yes I did but 0000:00:06.0 (lspci on dom0) is the pci
card. The AGP card 01:00.0 (lspci on dom0). To get it
all up and running using nv I do:

in boot.local:
*************
slot=0000:01:00.0
driver=nv
#not really needed if no nv module is loaded
echo -n $slot >  /sys/bus/pci/drivers/$driver/unbind
#these are a must
echo -n $slot >  /sys/bus/pci/drivers/pciback/new_slot
echo -n $slot >  /sys/bus/pci/drivers/pciback/bind
#need to verify, if this is really required
echo -n $slot > 
/sys/bus/pci/drivers/pciback/permissive
*************
did it work?
*********
dmesg | grep seiz
pciback 0000:00:06.0: seizing device
pciback 0000:00:07.0: seizing device
pciback 0000:00:07.1: seizing device
pciback 0000:00:07.2: seizing device
pciback 0000:00:07.3: seizing device
pciback 0000:01:00.0: seizing device
*********

yess, so the domU config looks like that:
*********
name = "xlic"
kernel = "/boot/vmlinuz-xenpae"
ramdisk = "/boot/initrd-xenpae"
memory = 512
vif = [ 'mac=aa:cc:00:00:00:01, bridge=xenbr0' ]
disk = [ 'phy:system/xlic,hda1,w' ]
root = "/dev/hda1 rw"
#once successful, change to
#extra = "5"
extra = "3"
# remove xencons=tty to avoid xorg missing VT message
and subsequent death of xorg
#extra = "3 xencons=tty"
# activate for pci GF2 MX
#pci = [
'00:06.0','00:07.0','00:07.1','00:07.2','00:07.3' ]
# activate for AGP GF 6200
pci = [
'01:00.0','00:07.0','00:07.1','00:07.2','00:07.3' ]
*********

check card delegation inside domU:
*********
lspci
00:00.0 VGA compatible controller: nVidia Corporation
NV44A [GeForce 6200] (rev a1)
00:01.0 USB Controller: ALi Corporation USB 1.1
Controller (rev 03)
00:01.1 USB Controller: ALi Corporation USB 1.1
Controller (rev 03)
00:01.2 USB Controller: ALi Corporation USB 1.1
Controller (rev 03)
00:01.3 USB Controller: ALi Corporation USB 2.0
Controller (rev 01)
*********
USB has mouse and keyboard attached, 
configuring xorg using sax2:
*********
sax2 -rp 
Chip: 0  is -> NVidia GeForce 6200 (0x0221)    
00:00:0 0x10de 0x0221 PCI nv
sax2 -r
SaX: initializing please wait...
SaX: your current configuration will not be read in

SaX: no X-Server is running
SaX: will start own server if needed
SPP: prepare device [0] profile: NoModelines
SPP: including prepared profile(s)...

SaX: startup
*********
Once you have the grafical screen up, it's time to
yodel: you have made it. Then change/adjust your
settings ccordingly, finally
**********
init 5
*********
Thats a full blown success! ok there is no 3D but that
was not the aim so far (now it is!:-])

greets chris


      Heute schon einen Blick in die Zukunft von E-Mails wagen? 
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>