[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] pci device not owned by pciback.


  • To: James Pifer <jep@xxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.