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] RE: Yet Another PCI passthrough question

To: "Beasley, Julien" <Julien.Beasley@xxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: Yet Another PCI passthrough question
From: "Beasley, Julien" <Julien.Beasley@xxxxxxx>
Date: Wed, 31 Aug 2011 13:20:48 -0500
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Wed, 31 Aug 2011 11:21:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1FD06C1B2A7E4842A38834B8AB5B3CFE0326599B94@xxxxxxxxxxxxxxxxxxx>
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: <1FD06C1B2A7E4842A38834B8AB5B3CFE0326599B94@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxoAqy9XwFzFlGvRHeUGTlSp/UpHgAAMWZgAAHMXoA=
Thread-topic: Yet Another PCI passthrough question
I wanted to say I also checked that virtualization is runnig:

# xm dmesg
 __  __            _  _    ___   ____      ____ ____      ___   ____    _ 
 \ \/ /___ _ __   | || |  / _ \ |___ \    | ___|___ \    / _ \ |___ \  / |
  \  // _ \ '_ \  | || |_| | | |  __) |   |___ \ __) |__| | | |  __) | | |
  /  \  __/ | | | |__   _| |_| | / __/     ___) / __/|__| |_| | / __/ _| |
 /_/\_\___|_| |_|    |_|(_)___(_)_____|___|____/_____|   \___(_)_____(_)_|
                                     |_____|                              
(XEN) Xen version 4.0.2_52-0.2.1 (abuild@) (gcc version 4.5.1 20101208 
[gcc-4_5-branch revision 167585] (SUSE Linux) ) Tue Jul 26 20:31:58 UTC 2011 ...
(XEN) AMD-Vi: IOMMU 0 Enabled.
(XEN) I/O virtualisation enabled
(XEN)  - Dom0 mode: Relaxed


And also checked that pci pass through was enabled in the xen config

# less /boot/config-2.6.37.6-0.7-xen
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_PCIDEV_BACKEND=y
CONFIG_XEN_PCIDEV_BACKEND_PASS=y


At this point I'm really quite stumped. I'd appreciate any thoughts on what I'm 
doing wrong.

Julien

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Beasley, Julien
Sent: Wednesday, August 31, 2011 10:30 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RE: Yet Another PCI passthrough question

Oh, and I guess I should give my system info. I'm running with Suse 11.4, which 
has Xen 4.0.2_52-0.2.1 that comes built natively

-----Original Message-----
From: Beasley, Julien 
Sent: Wednesday, August 31, 2011 10:25 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Yet Another PCI passthrough question

Hello all,

I'm trying to pass my PCI device through to an HVM. I'm following the steps on 
the xen pci passthrough wiki. 

First I check my pci devices
#lspci -

03:00.0 VGA compatible controller: ATI Technologies Inc Device 671d
03:00.1 Audio device: ATI Technologies Inc Device aa80
04:00.0 Display controller: ATI Technologies Inc Device 671d
04:00.1 Audio device: ATI Technologies Inc Device aa80


Now I edit my grub entry. I'm on SuSE so it's menu.list, not grub.conf #less 
/boot/grub/menu.lst

###Don't change this comment - YaST2 identifier: Original name: xen### title 
Xen -- openSUSE 11.4 - 2.6.37.6-0.7
    root (hd0,1)
    kernel /boot/xen.gz vga=mode-0x375 
    module /boot/vmlinuz-2.6.37.6-0.7-xen 
root=/dev/disk/by-id/ata-ST3250410AS_6RYJWXM7-part2 
resume=/dev/disk/by-id/ata-ST3250410AS_6RYJWXM7-part1 splash=silent quiet 
showopts vga=0x375 xen-pciback.hide=(03:00.0)(04:00.0)
    module /boot/initrd-2.6.37.6-0.7-xen

Now reboot, and look at assignable devices # xm pci-list-assignable-devices


Nothing shows up here. I've also tried adding the xen-pciback.hide line to the 
other module line in grub, that's not doing anything either.

What am I missing? I searched the archives of this list, found this 
(http://lists.xensource.com/archives/html/xen-users/2011-05/msg00517.html) in 
May, same problem. Followed the instructions. Am I missing something dumb?

Julien



_______________________________________________
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>