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 device not owned by pciback.

To: James Pifer <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] pci device not owned by pciback.
From: "Sergio Charpinel Jr." <sergiocharpinel@xxxxxxxxx>
Date: Wed, 28 Apr 2010 19:14:35 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Apr 2010 15:17:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=bIxatOdxKHLH6gebhtnYH8MjFcBGUBzaeOrC3u/9eFI=; b=R7WSoTOatZNFTm6/9V9bX5gWOMHwBiH9m0DTPX+8on7jO6pzC5RwfgbWaj993B5T5G DLWivQdze+2HvUXs0Po9/gLKJKeis+oBW7BHBB7DcEavcNsYdU2rhZizRSKHuwXAisuB 9XmdVzFIWrTsnZ492Io0gPu4P/TYwyOlx93ss=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DHe5AgR87XOBOMniG5uQZkpWyvnOqJqxWlGTvoUjPuhPASh/DWMey8OJOtVFZziQWW o8eqOy2P3/cyavLQvmMhaCqLfWHSitb/vt+4AmM44fVgU80MmZhsCwSf5AveHRvRAMi9 H8xfyrNfNGocFaelrmyYZSVQ8yIi4Yr9tbG0M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1272481985.3080.50.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <1272373556.19411.47.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <ca7c6f78eceaa0d46f54b6972db893fa.squirrel@xxxxxxxxxxxxxxxxx> <1272386381.3080.21.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4BD717D2.4020802@xxxxxxxxxxxx> <1272391712.3080.31.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <A5447537-D9FB-435C-84E9-B2293F263B19@xxxxxxxxx> <1272393974.3080.37.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <o2nfca1d54a1004280749u46e92074o5ceb2b86dc1801b@xxxxxxxxxxxxxx> <1272476279.3080.46.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <1272481985.3080.50.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I think you forgot to make the new initrd with this options.
A time ago, I tried something similar to what you did, but i didnt work here. I didnt get deep into this, so I recompiled the kernel.
Maybe I missed something too.

2010/4/28 James Pifer <jep@xxxxxxxxxxxxxxxx>
> Ok, I think I found it:
>
> # cat /boot/config-2.6.27.45-0.1-xen | grep CONFIG_XEN_PCIDEV_BACKEND
> CONFIG_XEN_PCIDEV_BACKEND=m
> CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
> # CONFIG_XEN_PCIDEV_BACKEND_PASS is not set
> # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
> # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
>
>
> So it looks like it's compiled as a module. I added this
> to /etc/modprobe.conf.local (which is what SLES wants you to use):
>
> # hide pci card for xen passthrough
> options pciback hide=(0000:0e:04.0)
> options pciback hide=(0000:0e:04.1)
> install mptspi /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install mptspi
>
> mptspi is the driver that was being used on the card at the host level.
> Just need to try rebooting and see what happens.
>
> Please let me know if anyone sees any issues with this.

Tried it. Doesn't look like it worked. When we rebooted the
server mptspi is still the kernel driver on the card, not pciback.
Anyone see what I may have missed?

Thanks,
James

0e:04.0 SCSI storage controller: Atto Technology Ultra320 SCSI Host Adapter (rev 08)
       Subsystem: Atto Technology ExpressPCI UL5D Low Profile
       Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 30
       I/O ports at 5000 [size=256]
       Memory at fafc0000 (64-bit, non-prefetchable) [size=256K]
       Memory at faf80000 (64-bit, non-prefetchable) [size=256K]
       [virtual] Expansion ROM at e8100000 [disabled] [size=1M]
       Capabilities: [50] Power Management version 2
       Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
       Capabilities: [68] PCI-X non-bridge device
       Kernel driver in use: mptspi
       Kernel modules: mptspi

0e:04.1 SCSI storage controller: Atto Technology Ultra320 SCSI Host Adapter (rev 08)
       Subsystem: Atto Technology ExpressPCI UL5D Low Profile
       Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 37
       I/O ports at 5400 [size=256]
       Memory at faf40000 (64-bit, non-prefetchable) [size=256K]
       Memory at faf00000 (64-bit, non-prefetchable) [size=256K]
       [virtual] Expansion ROM at e8200000 [disabled] [size=1M]
       Capabilities: [50] Power Management version 2
       Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
       Capabilities: [68] PCI-X non-bridge device
       Kernel driver in use: mptspi
       Kernel modules: mptspi




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



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