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

RE: [Xen-users] CentOS and pciback


  • To: "Florian Heigl" <florian.heigl@xxxxxxxxx>, "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
  • Date: Sun, 30 Mar 2008 15:55:47 -0400
  • Delivery-date: Sun, 30 Mar 2008 12:56:23 -0700
  • Importance: normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Priority: normal
  • Thread-index: AciRK59woRYc2g2BToemvXxaxIb+fABc4QlA
  • Thread-topic: [Xen-users] CentOS and pciback

Florian Heigl wrote:
> 
> hi,
> 
> i wonder if there is anyone on this list who successfully uses pciback
> on CentOS, especially for delegating usb/graphics.
> I already found out they turned it into a module, thereby disabling
> the (safe) grub.conf way of hiding devices. I downloaded and build the
> kernel source SRPM but it's just "a" kernel source, not the Xen
> patched & configured one I hoped for - in that case I'd be done just
> by changing the single option I'm after :)
> 
> I opened a bug ( # 2767 ) in their bugzilla, but I'd hope for some
> input from someone who as already dealt with the issue instead of
> waiting 3 months for someone to pick up on the issue :(
> 
> I know a few people had this issue but so far found no notes from
> anyone who actually set out to just build a kernel with the single
> option changed :)

I have pciback running on CentOS, here's the trick to get pciback
to grab the devices early in the boot process,

In /etc/modprobe.conf set your pciback options like such:
options pciback hide=(00:1b.0)(00:1d.0)(00:1d.1)

Then make a new initrd preloading the pciback driver before all
others:

# mkinitrd -f --preload=pciback /boot/initrd-$(uname -r).img $(uname -r)

Voila! Now reboot. If you are delegating your primary VGA interface
then make sure to have a serial console setup before hand.


-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


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