From: Ian Campbell Subject: Re: xl console regression on xen-unstable Date: Tue, 15 Oct 2013 10:16:09 +0100 Message-ID: <1381828569.31497.12.camel@kazak.uk.xensource.com> References: <52541AF5.6080600@m2r.biz> <20131014140248.GG11739@zion.uk.xensource.com> <525BFE00.8090700@m2r.biz> <20131014142900.GJ11739@zion.uk.xensource.com> <525C066C.7050105@m2r.biz> <20131014152602.GM11739@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131014152602.GM11739@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Fabio Fantoni , Ian Jackson , xen-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2013-10-14 at 16:26 +0100, Wei Liu wrote: > On Mon, Oct 14, 2013 at 04:57:48PM +0200, Fabio Fantoni wrote: > > Il 14/10/2013 16:29, Wei Liu ha scritto: > > >On Mon, Oct 14, 2013 at 04:21:52PM +0200, Fabio Fantoni wrote: > > >>Il 14/10/2013 16:02, Wei Liu ha scritto: > > >>>On Tue, Oct 08, 2013 at 04:47:17PM +0200, Fabio Fantoni wrote: > > >>>>I'm unable to start xl console on latest xen-unstable (build with > > >>>>commit 8e0da8c07f4f80e14314977a11f738bd74a5b62b). > > >>>>>xl -vvv console sid > > >>>>>xenconsole: Could not read tty from store: No such file or directory > > >>>It would be good if you can paste the output here. > > >>Thanks for reply. > > >>The "xenconsole: ..." line is the only output of "xl -vvv console > > >>sid" command, before that it shows nothing for some seconds, then > > >>return to command line. > > >> > > >>>>I also tried "xl create -c", and it shows console from pygrub but > > >>>>when the "xl create" reaches the end I got the same error: > > >>>>>xenconsole: Could not read tty from store: No such file or directory > > >>>Please run xl -vvv create -c, paste output here. > > >>See on attachment. > > >> > > >Could you also attach the output of "xenstore-ls" when your DomU is up > > >and running. > > > > See attachment. > > > > Thanks for any reply. > > > > That's weird. Xenstore-ls log's tty= field is empty while there's no > complain about writing console node in xl -vvv create log. xenconsoled writes that node IIRC. It's possible that this is a kernel side bug? In that the console is not created because of something going on on the guest side. earlyprintk=xen on the guest console + a debug version of Xen + loglvl_guest=all should cause the guest to print to the xen console, which might give a clue. It might also be useful to enable guest console logging and see if anything comes out there http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen#Guest_console_logs Lastly, does "xl console " work once the guest has been created? > Also I don't see any significant change in xenconsole code. I also > tested latest tip for this everything worked. Probably you had some > stale libraries somewhere? Could you use ldd to confirm that the > libraries are the latest version you installed? > > Wei.