The silly mistake that always gets me is I forget to put the .img extension on
the initrd file, be careful when running mkinitrd that the exact command is:

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

You can remove the pciback stuff from grub.conf, but make sure the
modprobe.conf options are there prior to running mkinitrd.

-Ross


----- Original Message -----
From: centos-virt-bounces@centos.org <centos-virt-bounces@centos.org>
To: Discussion about the virtualization on CentOS <centos-virt@centos.org>
Sent: Thu Apr 17 17:03:07 2008
Subject: RE: [CentOS-virt] Xen List


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

Ok, this is where I got messed up (No grub line :)). I originally had the rpmforge sk98ln rpm installed to make this realtek nic work before I tried this, then using this procedure which I followed to a "t" didn't mask the device from Dom0? It loaded the driver and setup the nic? I know I had the pci slot number right. I thought the initrd was wrong, so I looked through grub and looked at what it loaded, then checked the timestamp of the one I made with that command and it was consistent? I assume something still wasn't right with my mkinitrd, it completed with zero verbosity, mayeb I should try to use -v and see what happens.

Any ideas?

Thanks!
jlc
_______________________________________________
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


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.