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] PCI Passtrought problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] PCI Passtrought problem
From: Ady Deac <ady@xxxxxxxxxxx>
Date: Mon, 21 Mar 2011 21:48:09 +0200
Delivery-date: Mon, 21 Mar 2011 12:49:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1300731226323-4235784.post@xxxxxxxxxxxxx>
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: <1300731226323-4235784.post@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11
Hi,

I guess you could use pciback.hide too. Something like:
xen-pciback.permissive pciback.permissive pciback.hide=(05:05.0) xen-pciback.hide=(05:05.0)

I guess you should better RTFM:
http://wiki.xensource.com/xenwiki/XenPCIpassthrough

Adrian

On 21.03.2011 20:13, latdna wrote:
Hello,

I have 890FX Deluxe3 motherboard with latest 1.90 bios and IOMMU enabled.
Linux distro is Debian Squeeze with xen kernel.

I did add my pci device to /boot/grub/grub.cfg and rebooted the machine but:
xm pci-list-assignable-devices won't list anything.


root@DebianLinux:/sys/bus/pci/drivers# xm pci-list-assignable-devices
root@DebianLinux:/sys/bus/pci/drivers#


root@DebianLinux:/sys/bus/pci/drivers# grep hide /boot/grub/grub.cfg
         module  /vmlinuz-2.6.32-5-xen-amd64 placeholder
root=/dev/mapper/DebianLinux-root ro  quiet xen-pciback.hide=(05:05.0)
         linux   /vmlinuz-2.6.32-5-xen-amd64
root=/dev/mapper/DebianLinux-root ro  quiet xen-pciback.hide=(05:05.0)
         linux   /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/DebianLinux-root ro
quiet xen-pciback.hide=(05:05.0)

ls /sys/bus/pci/drivers/pciback*
0000:05:05.0  irq_handlers       module  new_slot    quirks     remove_slot
uevent
bind          irq_handler_state  new_id  permissive  remove_id  slots
unbind

05:05.0 Multimedia video controller: Device 1b07:1204 (rev 30)
         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow>TAbort- SERR-
&lt;PERR- INTx-
         Interrupt: pin A routed to IRQ 20
         Region 0: Memory at fe800000 (32-bit, non-prefetchable) [disabled]
[size=2M]
         Kernel driver in use: pciback
00: 07 1b 04 12 00 00 00 04 30 00 00 04 10 00 00 00
10: 00 00 80 fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 10 28
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

(XEN) ACPI: SRAT C7FAA460, 00E8 (r3 AMD    FAM_F_10        2 AMD         1)
(XEN) ACPI: IVRS C7FAA5C0, 00C8 (r1  AMD     RD890S   202031 AMD         0)
(XEN) ACPI: SSDT C7FAA690, 088C (r1 A M I  POWERNOW        1 AMD         1)
(XEN) AMD-Vi: IOMMU 0 Enabled.
(XEN)  Init. ramdisk: ffffffff816ba000-&gt;ffffffff837ff000
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) I/O virtualisation enabled

--
View this message in context: 
http://xen.1045712.n5.nabble.com/PCI-Passtrought-problem-tp4235784p4235784.html
Sent from the Xen - User mailing list archive at Nabble.com.

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

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

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