From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: pv_ops dom0 and kernel console output problem Date: Wed, 31 Dec 2008 13:00:55 +0200 Message-ID: <20081231110055.GM15052@edu.joroinen.fi> References: <1e16a9ed0812290855j59e80e3ei37cb4d2ea75b8ae5@mail.gmail.com> <20081229170238.GS15052@edu.joroinen.fi> <1e16a9ed0812290915x6c72a28fhc0e7ffcdbc456f60@mail.gmail.com> <20081229173041.GU15052@edu.joroinen.fi> <1e16a9ed0812290941i2534abfcsbcc67293b8da1608@mail.gmail.com> <4959FFBA.4080501@goop.org> <20081230130703.GZ15052@edu.joroinen.fi> <20081230132036.GA15052@edu.joroinen.fi> <20081230150331.GF15052@edu.joroinen.fi> <495AA464.6080501@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <495AA464.6080501@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: deshantm@gmail.com, xen-devel@lists.xensource.com, Andrew Lyon List-Id: xen-devel@lists.xenproject.org On Wed, Dec 31, 2008 at 09:44:52AM +1100, Jeremy Fitzhardinge wrote: > Pasi K=E4rkk=E4inen wrote: > >Reading pv_ops wiki page I noticed this: > > > >"If the domain crashes very early, before any output appears on the=20 > >console, > >then booting with: "earlyprintk=3Dxen" should provide some useful=20 > >information. > >If you are running a debug build of Xen hypervisor (set "debug =3D y" = in > >Config.mk in the Xen source tree), then you should get crash dumps on = the > >Xen console. You can view those with "xm dmesg"." > > > >So I guess earlyprintk=3Dxen is only useful if you're running debug bu= ild of > >Xen hypervisor.. ? >=20 > earlyprintk=3Dxen has the effect of directing the kernel's console outp= ut=20 > via the console output hypercall. domU kernel's are not generally=20 > allowed to do this, but it is when you compile Xen in debug mode. dom0= ,=20 > however, uses the Xen console in the normal case, so it doesn't need a=20 > debug Xen build. But when Xen switches its console output to serial th= e=20 > kernel's output goes with it, so if you want it to appear on VGA you=20 > need to use the VGA console output (make sure your kernel has all the V= T=20 > console options enabled). >=20 Thanks for clearing that up! -- Pasi