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

To: "Gregory Newby" <newby@xxxxxxxx>
Subject: Re: [Xen-devel] New kernel won't boot
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 06 Nov 2003 08:04:12 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Thu, 06 Nov 2003 08:05:14 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 05 Nov 2003 15:45:42 -0900." <20031106004542.GA18909@xxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 5. Build everything, merging the Xen source w/ the pristine kernel:
>       tools/misc/xen-clone

The xen-clone script isn't designed to be used like this
-- it's designed for pulling and building a repository from
scratch rather than rebuilding an existing one. It will actually
do what you want if you run it 

If you've got a repository as created by xen-clone, you can
rebuild and install xen and the various tools just by cd'ing into
the xeno.XX.bk directory and doing a 'make install'

To rebuild xenolinux, cd into xenolinux-2.4.22 and
'make dep modules bzImage install'. This will build
xenolinux-2.4.22/arch/xeno/boot/image.gz (which the install
target copies to install/boot)
 
> 6. The xenolinux file was built:
>       cp xeno-clone/install/boot/xenolinux /boot/xenolinux.gz
> 
> 7. But there was no image.gz as expected in xeno-clone/install/boot/,
> it was here:
>       xeno-clone/xenolinux-2.4.22/arch/xeno/boot/image.gz
> and not bootable.

This is actually what becomes xenolinux.gz, not the xen image.gz
which should be in xeno.XX.bk/xen/image.gz (and will have been
copied in to install/boot)

Ian


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