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

Re: [Xen-devel] New kernel won't boot

On Tue, Nov 04, 2003 at 03:55:19AM +0000, Ian Pratt wrote:
> > Now, I'm back at the original problem, which is the same as
> > for the image.gz and xenoimage.gz from the 1.0 CD image:
> > 
> > - I'm able to boot image.gz via Grub (I renamed image.gz to xenimage.gz):
> >     root (hd0,0)
> >         kernel /xenimage.gz dom0_mem=512000 ser_baud=115000 noht
> >         module /xenolinux.gz root=/dev/sda2 ro console=/dev/tty0 DOMID=0
> > - There is a message about "guest OS address is 0x0c000000" 
> >   then my system reboots.  Unfortunately, I cannot catch the
> >   exact message because it's gone too quickly.
> 
> 
> Please can you add 'noreboot' to the xen (kernel) command line so
> that you'll be able to see the last lines of debug
> output. Alternatively, perhaps you could connect a serial console?

Done.  Here's what I get:

For grub with 'noreboot' it goes through the whole boot
process, identifies the SCSI drives and network:

...
Device eth0 opened and ready for use
DOM0: Guest OS virtual load address is c0000000

Without the "reboot" option, the system would immediately reboot.

The full grub commands are:

        root (hd0,0)
        kernel /xenimage.gz dom0_mem=512000 ser_baud=115000 noht
        module /xenolinux.gz root=/dev/sda2 ro console=/dev/tty0 DOMID=0

As mentioned, /dev/sda2 is ReiserFS.  

Also as mentioned, I do not think any of the binaries built
during xeno-clone were copied to /bin or /usr/bin.  Maybe these
are the missing piece.

In case you'll suggest building an initrd, it looks like
no modules were installed (I then tried "make install" by hand
in the kernel build directory, but it still didn't install any 
modules.  Strange, because I think that some were selected
in the kernel's .config):

# mkinitrd -k xenimage.gz -i xeno-initrd
using "/dev/sda2" as root device (mounted on "/" as "reiserfs")

creating initrd "//boot/xeno-initrd" for kernel "//boot/xenimage.gz" ()
no version "" modules found


> Just to make sure that what you have as the 'module' line is
> actually a xen guest image, please can you do:
> 
>  "zcat xenolinux.gz | strings | head -1"
> 
> You should get the string "XenoGues".

Yes, no problem:

zcat /boot/xenolinux.gz | strings | head -1 
XenoGues

> How much memory has the machine got? You're configuring domain0
> with 512MB, and Xen will have taken some for itself, so you
> should have at least 576MB. 

It's got 2GB.  The kernel it usually runs is:
# uname -a
Linux peabody 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC 2002 i686 unknown

I could not get high memory (either 4GB or 64GB) to compile with the
new kernel, but it should be able to utilize 2GB with no problem.

> > So, I hope you are able to provide some guidance.  I'll try to
> > help you tune the documentation, at the same time....
> 
> Thanks. Our current documentation is very poor. There's a lot of
> good information that's been posted in the xen-devel mailing
> list, but we need to pull it into a FAQ.
>  
> > My application, BTW, is Grid services deployment (I'm co-chair
> > of one of the working groups at http://www.gridforum.org).
> 
> We're keen to see take-up of Xen by the GRID community...

I will help, definitely!  If successful, Xen will be a really
great platform for developing/testing Grid applications.
  -- Greg


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel