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] CentOS and pciback

To: "Florian Heigl" <florian.heigl@xxxxxxxxx>, "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] CentOS and pciback
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: normal
In-reply-to: <77abe410803281629q26ff0056u5783f9230a105f72@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Priority: normal
References: <77abe410803281629q26ff0056u5783f9230a105f72@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>