Re: Can't get PCI card visible in guest

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

 



Thanks, I'll try to check into this. One quick question, though, which I forgot to ask. When I installed the xen kernel in the guest, it set up this line in grub.conf:

      kernel /xen.gz-2.6.18-92.1.13.el5

Which we haven't referenced anywhere in the config file. Do I need it? Is that the actual kernel to specify, and if so, how do I specify the vmlinuz file that is referenced as a "module" in the grub config?

Ken

Todd Deshane wrote:
On Thu, Oct 30, 2008 at 7:12 PM, Kenneth Tanzer <ktanzer@xxxxxxxx> wrote:

I tried this a couple of ways.  If I add just the kernel file, and not the
parameters, like so:

kernel="/boot/vmlinuz-2.6.18-92.1.13.el5xen"
ramdisk="/boot/initrd-2.6.18-92.1.13.el5xen.img"


good

It starts booting, but then dies with:

:(

Kernel panic - not syncing: Attempted to kill init!

If I add the "ro root=/dev/VolGroup00/LogVol00" to the kernel line, I either
get a kernel not found message (if the parameteres are inside the quotation
marks), or an invalid parameter message (if outside the quotes).  I tried
adding:

root="/dev/VolGroup00/LogVol00"


(with and without a "ro" at the end), and it still boots the kernel but then
panics.  Which is what I'm starting to do! :)


add the ro and any of kernel parameters to an extra boot parameter
example
extra="ro"

I am not seeing the errors in the red hat based boot that I am familiar
with, but it seems that you are running into one of the following (or
similar:

Your guest root file system is not where you expect it to be.
If you haven't already, check the grub.conf in the guest.

OR

You are missing modules in your ramdisk that are needed by your guest
(in which case you would need to use mkinitrd to rebuild your xen initrd
and make sure you include the necessary modules)

OR

Some combination of the above, you should be able to pretty closely
mirror the kernel command line
with the combination of kernel, root, and extra parameters.

The only tricky part would be to rebuild with any missing modules.

Hope that helps,
Cheers,
Todd


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

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux