RE: [Xen-users] Xen kernel panic on FC5

Petersson, Mats
2006-12-13T10:31:30Z

> -----Original Message-----
> From: xen-users-bounces@lists.xensource.com
> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Xen Help
> Sent: 12 December 2006 22:04
> To: Mike Dopheide
> Cc: xen-users@lists.xensource.com
> Subject: Re: [Xen-users] Xen kernel panic on FC5
>
> Mike Dopheide wrote:
>
> Join the club!
>
> Your initrd file is bad, try without it (as suggested by
> others) but I
> doubt it will work.
> Help us out figure out how to fix this problem once for all
> and I will
> write a how to boot xen doc.

Just "removing" the initrd will absolutely NOT solve the problem.

The general problem with "not finding the root" is that there
isn''t the
right driver for the hard-disk that contains the root-partition
filesystem. Or in relevant cases, not the right file-system driver for
the filesystem that is ON said root-partition.

Figuring out what device you''ve got on the motherboard, and adding the
right kernel drivers to support that device is what you need to do. You
can either enable it as a module or as a built-in driver. I''d suggest
you use built-in driver, as that enables you to just copy the kernel
image, rather than a bunch of steps of copying kernel + modules and
building new initrd file.

You may need more than one driver enabled to make the full boot process.


--
Mats
>
> ++
> >
> > This is my first time working with Xen so I''m hoping
it''s just
> > something easy I''m doing wrong.  I''ve tried several
different
> > combinations, but I''ve started fresh with FC5 to help reduce
the
> > possibility of outside errors.
> >
> > Here were my steps:
> >
> > 1)
> > Fresh Fedora Core 5 installation on /dev/hda1
> > Installed bridge-utils and other dependencies.
> >
> > 2)
> > installed:
> > xen-3.0.3.0-1.i386.rpm
> > xen-devel-3.0.3.0-1.i386.rpm
> > kernel-xen-2.6.16.29-3.0.3.0.i386.rpm
> >
> > 3)
> > Edited grub.conf to add:
> > title Xen
> >     root (hd0,0)
> >     kernel /boot/xen-3.0.3.0.gz noreboot
> >     module /boot/vmlinuz-2.6.16.29-xen_3.0.3.0 ro root=/dev/hda1
> >     module /boot/initrd-2.6.16.29-xen_3.0.3.0.img
> >
> >
> >
> > 4) Reboot into "Xen" and get the following in the last bit
> of output:
> >
> > Creating /dev
> > input: AT Translated Set 2 keyboard as /class/input/input0
> > Creating initial device nodes
> > Setting up hotplug.
> > Creating block device nodes.
> > Loading ide-disk.ko module
> > ide_disk: no version for "struct_module" found: kernel
tainted.
> > Loading jdb.ko module
> > Loading ext3.ko module
> > Creating root device.
> > Mounting root filesystem.
> > mount: could not find filesystem ''/dev/root''
> > Setting up other filesystems.
> > Setting up new root fs
> > setuproot: moving /dev failed: No such file or directory
> > no fstab.sys, mounting internal defaults
> > setuproot: error mounting /proc: No such file or directory
> > setuproot: error mounting /sys: No such file or directory
> > Switching to new root and running init.
> > unmounting old /dev
> > unmounting old /proc
> > unmounting old /sys
> > switchroot: mount failed: No such file or directory
> > Kernel panic - no syncing: Attempted to kill init!
> >
> > Any ideas?
> >
> > Thanks,
> > Mike
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
> >
>
>
> --
> Virtual Space International Inc.
> Steven Dugway USA 206-734-HOST Canada 514-939-HOST (4678) ext 5
> --------------------------------------------------------------
> Internet Is Here To Stay, Make Sure Your Business Is!
> --------------------------------------------------------------