From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kelvin Middleton Subject: Re: Building Xen 4.2.2 w/EFI on Ubuntu Server 12.04.2 Date: Mon, 15 Jul 2013 21:37:46 +0100 Message-ID: References: <51E3BC1202000078000E4CF8@nat28.tlf.novell.com> <51E3C8CA02000078000E4D60@nat28.tlf.novell.com> <51E3DE5502000078000E4DCF@nat28.tlf.novell.com> <05d9f0f88a664f0d9bc052ce7df7c6e2@hagsted-cserver.hagsted.dk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2843229613076475242==" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1UypWo-00080Q-LF for xen-devel@lists.xenproject.org; Mon, 15 Jul 2013 20:37:50 +0000 Received: by mail-ie0-f180.google.com with SMTP id f4so26555151iea.39 for ; Mon, 15 Jul 2013 13:37:47 -0700 (PDT) In-Reply-To: <05d9f0f88a664f0d9bc052ce7df7c6e2@hagsted-cserver.hagsted.dk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Kristian Hagsted Rasmussen Cc: "xen-devel@lists.xenproject.org" , Jan Beulich List-Id: xen-devel@lists.xenproject.org --===============2843229613076475242== Content-Type: multipart/alternative; boundary=001a113322ac4d813204e192d573 --001a113322ac4d813204e192d573 Content-Type: text/plain; charset=ISO-8859-1 Hi Jan, Hi Kristian, thanks for the feedback & help. For EFI_VENDOR I've now corrected my build step to be "make install-xen EFI_VENDOR=EFI/ubuntu EFI_MOUNTPOINT=/boot/" and this puts all the files where they should be. The .cfg file I think you'll say is a school-boy error....I was using the debug EFI shell that Virtualbox provides to create the .cfg file. Turns out this is just wrong as I recreated the file once in ubuntu bash and Xen attempted to load the Dom0 kernel image. I'm now getting Xen boot kernel screen output but I have a new problem which is a kernel panic and a hang, progress though so I'm pretty happy. Kernel Panic is... do_device_not_available ****************************** Panic on CPU 0: Xen BUG at traps.c: 3393 ****************************** Some googling on this error seems to point to the FPU setup (don't really know what this is) http://copilotco.com/mail-archives/xen.2008/msg14478.html ?? On 15 July 2013 16:57, Kristian Hagsted Rasmussen wrote: > > > > -----Original Message----- > > From: xen-devel-bounces@lists.xen.org [mailto:xen-devel- > > bounces@lists.xen.org] On Behalf Of Jan Beulich > > Sent: 15. juli 2013 11:35 > > To: Kelvin Middleton; Kristian Hagsted Rasmussen > > Cc: xen-devel@lists.xenproject.org > > Subject: Re: [Xen-devel] Building Xen 4.2.2 w/EFI on Ubuntu Server > 12.04.2 > > > > >>> On 15.07.13 at 11:10, Kristian Hagsted Rasmussen < > kristian@hagsted.dk> > > wrote: > > >> From: Jan Beulich [mailto:JBeulich@suse.com] > > >> Sent: 15. juli 2013 10:03 > > >> To: Kelvin Middleton; Kristian Hagsted Rasmussen > > >> Cc: xen-devel@lists.xenproject.org > > >> Subject: RE: [Xen-devel] Building Xen 4.2.2 w/EFI on Ubuntu Server > > >> 12.04.2 > > >> > > >> >>> On 15.07.13 at 09:48, Kristian Hagsted Rasmussen > > >> >>> > > >> wrote: > > >> >> > [global] > > >> >> > default=xen > > >> >> > > > >> >> > [xen] > > >> >> > options=console=vga loglvl=all noreboot > > >> >> > kernel=vmlinuz-3.5.0-36-generic ignore_loglevel > > >> >> > ramdisk=initrd-3.5.0-36-generic > > Are you sure your ramdisk image is called > initrd-3.5.0-36-generic > and not: > initrd.img-3.5.0-36-generic > Which seems to be the name on my Ubuntu system. > > Best regards Kristian Hagsted Rasmussen > --001a113322ac4d813204e192d573 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Jan, Hi Kristian, thanks for the feedback & help.
For EFI_VENDOR I've now corrected my build step to be= "make install-xen EFI_VENDOR=3DEFI/ubuntu EFI_MOUNTPOINT=3D/boot/&quo= t; and this puts all the files where they should be.

The .cfg file I think you'll say is a school-boy er= ror....I was using the debug EFI shell that Virtualbox provides to create t= he .cfg file. =A0Turns out this is just wrong as I recreated the file once = in ubuntu bash and Xen attempted to load the Dom0 kernel image.

I'm now getting Xen boot kernel screen output but I= have a new problem which is a kernel panic and a hang, progress though so = I'm pretty happy.

Kernel Panic is...

do_device_not_available

******= ************************
Panic on CPU 0:
Xen BUG at= traps.c: 3393
******************************

Some googling on this error seems to point to the FPU setup = (don't really know what this is)=A0http://copilotco.com/mail-archives/xen.20= 08/msg14478.html??






On 15 July 2013 16:57, Kristian Ha= gsted Rasmussen <kristian@hagsted.dk> wrote:


> -----Original Message-----
> From: xen-devel-bou= nces@lists.xen.org [mailto:xen-devel-=
> bounces@lists.xen.org] On= Behalf Of Jan Beulich
> Sent: 15. juli 2013 11:35
> To: Kelvin Middleton; Kristian Hagsted Rasmussen
> Cc: xen-devel@lists.= xenproject.org
> Subject: Re: [Xen-devel] Building Xen 4.2.2 w/= EFI on Ubuntu Server 12.04.2
>
> >>> On 15.07.13 at 11:10, Kristian Hagsted Rasmussen <kristian@hagsted.dk>
> wrote:
> >> From: Jan Beulich [mailto:JBeulich@suse.com]
> >> Sent: 15. juli 2013 10:03
> >> To: Kelvin Middleton; Kristian Hagsted Rasmussen
> >> Cc: xen-dev= el@lists.xenproject.org
> >> Subject: RE: [Xen-devel] Building Xen 4.2.2 w/EFI on Ubuntu S= erver
> >> 12.04.2
> >>
> >> >>> On 15.07.13 at 09:48, Kristian Hagsted Rasmussen=
> >> >>> <krist= ian@hagsted.dk>
> >> wrote:
> >> >> > [global]
> >> >> > default=3Dxen
> >> >> >
> >> >> > [xen]
> >> >> > options=3Dconsole=3Dvga loglvl=3Dall noreboot > >> >> > kernel=3Dvmlinuz-3.5.0-36-generic ignore_loglev= el
> >> >> > ramdisk=3Dinitrd-3.5.0-36-generic

Are you sure your ramdisk image is called
initrd-3.5.0-36-generic
and not:
initrd.img-3.5.0-36-generic
Which seems to be the name on my Ubuntu system.

Best regards Kristian Hagsted Rasmussen

--001a113322ac4d813204e192d573-- --===============2843229613076475242== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2843229613076475242==--