[CentOS-virt] Xen List

Thu Apr 17 20:53:20 UTC 2008
Ross S. W. Walker <rwalker at medallion.com>

Ross S. W. Walker wrote:
> 
> Joseph L. Casale wrote:
> > 
> > >you should disable NetworkManager with Xen or
> > >bad things will happen.
> > 
> > NetworkMangler is only installed with Gnome right? I did a 
> > minimal install without Gnome.
> 
> Check I think it's include in the 'core' group.
> 
> > >I would just create an ifcfg with no IP address and that
> > >should work.
> > 
> > Ok, I will try that if I cant get the pass through to work.
> > 
> > >There's no need for a custom kernel, all the CentOS Xen kernels
> > >include pciback and pcifront support, and most other distros
> > >pre-compiled Xen kernels do too.
> > 
> > Well, I assumed it wasn't as dmesg says unknown kernel option 
> > passed when I stick the line into grub.conf? The syntax was 
> > righty out of xen doc's and similar to all I found when 
> > searching the net. I also tried unpacking the srpm and 
> > looking at it to see if I could spot anything which might 
> > lead me to believe it was turned on by default but I couldn't 
> > figure out where to look, you're sure the srpm has this option on?
> 
> It's no longer statically compiled, but as a module, so you need
> to define the options in /etc/modprobe.conf and if you need it
> to seize the device early you need to make an initrd that grabs
> it before all else otherwise you need a little modprobe trick.
> 
> Here's an example using my sound card.
> 
> /etc/modprobe.conf:
> options pciback hide=(00:10.1)
> # If you aren't preloading pciback in the initrd uncomment 
> the next line
> #install snd-hda-intel /usr/sbin/modprobe pciback; /sbin/modprobe --first-time --ignore-install snd-hda-intel
> 
> To preload pciback in initrd:
> 
> # mkinitrd -f --preload=pciback /etc/initrd-$(uname -r).img $(uname -r)
> 
> That should do it.

Actually a better way to preload pciback that will work
across kernel updates:

Create a file in /etc/sysconfig/mkinitrd called pciback.

The contents should be 1 line:
PREMODS="$PREMODS pciback"

Then it should preload pciback first on all mkinitrds.

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