From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: pv_ops dom0 and kernel console output problem Date: Tue, 30 Dec 2008 16:18:13 +0200 Message-ID: <20081230141813.GB15052@edu.joroinen.fi> References: <20081226115145.GP15052@edu.joroinen.fi> <20081229165130.GR15052@edu.joroinen.fi> <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> 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: <20081230132036.GA15052@edu.joroinen.fi> 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 Tue, Dec 30, 2008 at 03:20:36PM +0200, Pasi K=E4rkk=E4inen wrote: > On Tue, Dec 30, 2008 at 03:07:03PM +0200, Pasi K=E4rkk=E4inen wrote: > > On Tue, Dec 30, 2008 at 10:02:18PM +1100, Jeremy Fitzhardinge wrote: > > > Todd Deshane wrote: > > > >Actually no. I just tested now. The screen goes blank during the d= om0=20 > > > >kernel > > > >boot and then shows back up when I get a login: prompt. > > > > > > > >I have done most of my testing over a serial console and with the = serial > > > >console it shows up. > > > > > > > >Jeremy: would you expect this to work? Were there recent patches t= hat > > > >we could be missing? > > > > =20 > > >=20 > > > Nothing I can think of; it works for me. I don't have my test mach= ine=20 > > > on hand, so I'm not sure what the exact kernel command line is. Bu= t=20 > > > perhaps booting without "console=3Dhvc0" would work, and "earlyprin= tk=3Dvga". > > >=20 > >=20 > > Thanks! > >=20 > > "earlyprintk=3Dvga" solved the problem.. now I can see pv_ops dom0 ke= rnel boot > > messages on the VGA console after Xen hypervisor messages. > >=20 >=20 > Or actually..=20 >=20 > I can see the pv_ops dom0 kernel detect and print the (Xen) memory layo= ut for > dom0, then some misc information and then the console is cleared and no= thing > happens anymore.. I'm not sure if it gets to initrd yet at that point..= at > least I don't see any disk activity (based on the hdd LED). >=20 > My grub configuration atm: >=20 > title dom0-test (2.6.28-rc8-tip) > root (hd0,0) > kernel /xen-3.3.gz dom0_mem=3D1024M loglvl=3Dall guest_loglvl=3Dall > module /vmlinuz-2.6.28-rc8-tip.gz ro root=3D/dev/vg00/lv01 earlyprintk= =3Dvga pci=3Dnomsi > module /initrd-2.6.28-rc8-tip.img >=20 > What is "earlyprintk=3Dxen" supposed to do?=20 >=20 I still haven't gotten VGA console to work, but now _serial_ console seem= s to work using this configuration: title dom0-test (2.6.28-rc8-tip) / serial console root (hd0,0) kernel /xen-3.3.gz dom0_mem=3D1024M loglvl=3Dall guest_loglvl=3Dall com1= =3D19200,8n1 console=3Dcom1 module /vmlinuz-2.6.28-rc8-tip.gz ro root=3D/dev/vg00/lv01 console=3Dhvc= 0 earlyprintk=3Dxen xencons=3DttyS0,19200 pci=3Dnomsi module /initrd-2.6.28-rc8-tip.img I was able to capture the pv_ops dom0 kernel crashes using serial console= .. I'll post another thread about that. -- Pasi