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: Xen PCI Passthrough

To: Frederic Abel <Frederic.Abel@xxxxxxxxxxx>
Subject: Re: [Xen-users] RE: Xen PCI Passthrough
From: Sylvain LALOZE <sylspy20@xxxxxxxxx>
Date: Mon, 30 May 2011 16:44:41 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 31 May 2011 08:27:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=wbFD6ybdmQLNziIKHx4Xuv1ESeXJbkGtao6gN/VLDFI=; b=bPoG6oM35DBlBujcq8JJsfpOijB9J5ukk4nfu4BQoot65fOLIopCGTnfSgzLBF6xtw ZTHZkuVvAevmODmSYUX7XVLzLMsuMx1c0MnSxYqxT5AueYN+9iG1cBEdR66QHr7HNt29 N/eUVQCog9CnbDatAZhrzRUjYjlkYyJDe/nUU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=qZdn0e9RmsSJABTKNAV7avGtNL9JtFjcCIWjq+Fsm8VJXTCq3/5EC5KDKanqZU4u17 NBhsC92wi8MZIh3sigP+7SdjmyqLR6XMf29hD3Sytb1JlfGgPOEOUAmvEnDUdTUPQ13u AAWr8kQCOQvVrkgSFC76SHsyKUb49oRSzj1fE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5373F9B6555CB641A1DAE7E03D7FE1990769EF86@xxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5373F9B6555CB641A1DAE7E03D7FE1990769EE50@xxxxxxxxxxxxxxxxxxxx> <BANLkTikk5ORcOzHcTY0FcyS-shrAWUztdA@xxxxxxxxxxxxxx> <5373F9B6555CB641A1DAE7E03D7FE1990769EF86@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Oula je m'y perd un peu :'(

Voici le retour de mon lspci
# lspci                                                                 
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)              
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (re
v 11)                                                                           
00:08.0 System peripheral: Intel Corporation Core Processor System Management Re
gisters (rev 11)                                                                
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratc
hpad Registers (rev 11)                                                         
00:08.2 System peripheral: Intel Corporation Core Processor System Control and S
tatus Registers (rev 11)                                                        
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Regist
ers (rev 11)                                                                    
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)   
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Prot
ocol Registers (rev 11)                                                         
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset
 HECI Controller (rev 06)                                                       
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Unive
rsal Host Controller (rev 06)                                                   
00:1a.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Unive
rsal Host Controller (rev 06)                                                   
00:1a.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Unive
rsal Host Controller (rev 06)                                                   
00:1a.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enha
nced Host Controller (rev 06)                                                   
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Defini
tion Audio (rev 06)                                                             
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express R
oot Port 1 (rev 06)                                                             
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express R
oot Port 2 (rev 06)                                                             
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express R
oot Port 3 (rev 06)                                                             
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Unive
rsal Host Controller (rev 06)                                                   
00:1d.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Unive
rsal Host Controller (rev 06)                                                   
00:1d.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Unive
rsal Host Controller (rev 06)
00:1d.3 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Unive
rsal Host Controller (rev 06)
00:1d.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enha
nced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller
(rev 06)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 0
6)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (
rev 06)
01:00.0 VGA compatible controller: nVidia Corporation Device 06cd (rev a3)
01:00.1 Audio device: nVidia Corporation Device 0be5 (rev a1)
02:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 Serial ATA Contr
oller (rev 02)
02:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Control
ler (rev 02)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI E
xpress Gigabit Ethernet controller (rev 06)
04:00.0 USB Controller: NEC Corporation Device 0194 (rev 03)
05:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Contro
ller (PHY/Link


2011/5/30 Frederic Abel <Frederic.Abel@xxxxxxxxxxx>

"0000:01:00.0" c'est une adresse physique de bus pci

Il ne faut pas la setter….

Il faut la lire depuis lspci

 

Fait un lspci, au pire on validera que "0000:01:00.0" est bien l'adresse de ta carte vidéo.

 

________________________________________________________________________________________________________________
Frédéric Abel
| RTS France BeNeLux | Quantum Corporation


From: Sylvain LALOZE [mailto:sylspy20@xxxxxxxxx]
Sent: lundi 30 mai 2011 16:29
To: Frederic Abel
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] RE: Xen PCI Passthrough

 

I play this part

echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind
echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind

I adapted this with my config like

 
# lspci -n | grep 01:00.0
01:00.0 0300: 10de:06cd (rev a3)
But I don't have the directory pci-stub, only pciback

And my kernel config

 
title Xen 4.1.0                                                                 
root (hd0,4)
kernel /boot/xen.gz
module /boot/kernel-2.6.34-xen-r4 root=/dev/ram0 real_root=/dev/mapper/isw_dcgdj
hjbdg_Raid55 dodmraid dolvm domodules ro nomodeset pci=resource_alignment=01:00.

 
0 xen-pciback.hide=(01:00.0)
module /boot/initramfs-2.6.34-xen-r4

But I am not sure that is work well.
I tried modprob pciback then


xm pci-list-assignable-devices


Without good result

What I do wrong ?
Do I play again any part of Doc ?

 
 

 

2011/5/30 Frederic Abel <Frederic.Abel@xxxxxxxxxxx>

Simple question, did you hide the right PCI device ?

Run lspci to get the list of devices, no need to remove the pci hide, run it straight in dom0

 

Fr translate:

Vérifies que ta carte graphique est bien celle que tu cache.

lspci dans le dom0 te donnera la liste des adresse et cartes.


The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.


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




--
--------------------------------
[Qui vivra ; verra]
[Errare Humanum Est ; Persavare Diabolicum]
--------------------------------




--
--------------------------------
[Qui vivra ; verra]
[Errare Humanum Est ; Persavare Diabolicum]
--------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>