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-
<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->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@lists.xensource.com
http://lists.xensource.com/xen-users
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- > <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->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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,
I did read it multiple times and tried to fallow the manual.
### BEGIN /etc/grub.d/20_linux_xen ###
menuentry ''Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN
4.0-amd64'' --class debian --class gnu-linux --class gnu --class os
--class
xen {
insmod part_msdos
insmod ext2
set root=''(hd3,msdos1)''
search --no-floppy --fs-uuid --set
3938bad8-47d5-4c88-a925-4ac0ff4406ef
echo ''Loading Linux 2.6.32-5-xen-amd64 ...''
multiboot /xen-4.0-amd64.gz placeholder iommu=pt iommu=1
module /vmlinuz-2.6.32-5-xen-amd64 placeholder
root=/dev/mapper/DebianLinux-root ro quiet xen-pciback.permissive
pciback.permissive pciback.hide=(05:05.0) xen-pciback.hide=(05:05.0)
echo ''Loading initial ramdisk ...''
module /initrd.img-2.6.32-5-xen-amd64
}
Added it like you told, still won''t show up with: xm
pci-list-assignable-devices
--
View this message in context:
http://xen.1045712.n5.nabble.com/PCI-Passtrought-problem-tp4235784p4237894.html
Sent from the Xen - User mailing list archive at Nabble.com.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Problem solved by removing the pci dvb-t card but now i have new problem. As so soon i try to assign pci device to virtual computer debian squeeze will freeze totally and nothing responds. Motherboard: 890FX Deluxe3 listed on xen wiki for supported motherboards. Asrock 890FX Deluxe3 (reported working by Jens Krehbiel-Gräther) I have latest bios 1.9 with iommu enabled -- View this message in context: http://xen.1045712.n5.nabble.com/PCI-Passtrought-problem-tp4235784p4248933.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users