From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: console problem Date: Fri, 05 Aug 2005 15:38:34 -0500 Message-ID: <42F3CE4A.4080605@us.ibm.com> References: <1123274121.3703.22.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1123274121.3703.22.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David F Barrera Cc: Stefan Berger , Li Ge , "Li, Xin B" , xen-devel@lists.xensource.com, xen-devel-bounces@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Yes, I'm aware of this. The problem is that we've never had a good=20 dependency system for the daemons we started. The extra daemon has made=20 the problem much worse and now we're seeing timing issues. You can work around the problem by manually starting consoled (you may=20 have to restart xenstored too). Under the right circumstances, xend=20 restart will loop because xenstored gets itself hosed. I'm reworking a lot of this code right now to make it more robust and=20 solve the problem completely. Just hang in there a bit :-) Regards, Anthony Liguori David F Barrera wrote: >On Fri, 2005-08-05 at 10:34 -0500, Li Ge wrote: > =20 > >>I opened a bug(#141) for this yesterday. I am still seeing the problem >>with the latest tree (changeset: 6025).=20 >> =20 >> > >I, too, am seeing this problem on both an FC3 and a SLES 9 SP2 builds. > >[root@dbarrera xen]# xm create -c vm1.cfg >Using config file "vm1.cfg". >Started domain vm1 >xc_console: Could not read tty from store: No such file or directory > >The latest changeset on both builds is: >changeset: 6027:69b7c9c3a9fdf22d840132f274f3fa64101a0ed0 >tag: tip >user: kaf24@firebug.cl.cam.ac.uk >date: Fri Aug 5 10:11:46 2005 >summary: Fix mach2phys table allocation for 32-bit PAE Xen. > > =20 > >>Thanks, >>Li >>Inactive hide details for Li,"Li, Xin B" >> >> >> "Li, Xin B" =20 >> Sent by: xen-devel-bounces@lists.xensou= rce.com=20 >> =20 >> 08/05/2005 12:43 AM >> =20 >> >> To >> >>aliguori@us.ltcfwd.linux.ibm.com >> >> cc >> >>xen- >>devel@lists.xensource.com, Stefan Berger/Watson/IBM@IBMUS >> >> Subject >> >>RE: [Xen-devel] >>console problem >> >> >> >> =20 >> >>>-----Original Message----- >>>From: Anthony Liguori [mailto:aliguori@us.ibm.com]=20 >>>Sent: 2005=E5=B9=B48=E6=9C=885=E6=97=A5 13:41 >>>To: Li, Xin B >>>Cc: Stefan Berger; xen-devel@lists.xensource.com >>>Subject: Re: [Xen-devel] console problem >>> >>>Li, Xin B wrote: >>> >>> =20 >>> >>>>Don't help even I check out a completely new copy! >>>>=20 >>>> >>>> =20 >>>> >>>Did you try killing consoled and restarting it (just invoke consoled >>> =20 >>> >>on >> =20 >> >>>the command line). >>> >>>Please open a bug in bugzilla and provide as much information=20 >>>about your >>>system as possible so I can attempt to reproduce. >>> =20 >>> >>Thanks, I will create a bug! >>-Xin >> >> =20 >> >>>Thanks, >>> >>>Anthony Liguori >>> >>> =20 >>> >>>>-Xin=20 >>>> >>>>=20 >>>> >>>> =20 >>>> >>>>>-----Original Message----- >>>>>From: Anthony Liguori [mailto:aliguori@us.ibm.com]=20 >>>>>Sent: 2005=E5=B9=B48=E6=9C=885=E6=97=A5 11:53 >>>>>To: Li, Xin B >>>>>Cc: Stefan Berger; xen-devel@lists.xensource.com >>>>>Subject: Re: [Xen-devel] console problem >>>>> >>>>>Make sure your trees are fresh. Some folks have been=20 >>>>>experience problems >>>>>because hg pull -u doesn't seem to handle deletes all that well. >>>>> >>>>>Also try restarting consoled. >>>>> >>>>>Regards, >>>>> >>>>>Anthony Liguori >>>>> >>>>>Li, Xin B wrote: >>>>> >>>>> =20 >>>>> >>>>> =20 >>>>> >>>>>>I'm also blocked by this issue when debugging x86_64 xenU smp. >>>>>>-xin >>>>>> >>>>>> >>>>>> >>>>>> =20 >>>>>> >>>>>> =20 >>>>>> >>>>>>>-----Original Message----- >>>>>>>From: xen-devel-bounces@lists.xensource.com=20 >>>>>>>[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of=20 >>>>>>>Anthony Liguori >>>>>>>Sent: 2005=E5=B9=B48=E6=9C=885=E6=97=A5 10:31 >>>>>>>To: Stefan Berger >>>>>>>Cc: xen-devel@lists.xensource.com >>>>>>>Subject: Re: [Xen-devel] console problem >>>>>>> >>>>>>>Stefan Berger wrote: >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>>>I am experiencing a problem with the console as follows: >>>>>>>> >>>>>>>> >>>>>>>> =20 >>>>>>>> >>>>>>>> =20 >>>>>>>> >>>>>>>> =20 >>>>>>>> >>>>>>>This could be a timing issue. I assume that xm console works as=20 >>>>>>>expected correct? >>>>>>> >>>>>>>Now that the store supports watches on non-existent nodes, I=20 >>>>>>>can handle=20 >>>>>>>this properly. I'll submit a patch tomorrow. >>>>>>> >>>>>>>Regards, >>>>>>> >>>>>>>Anthony Liguori >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>>>xm create userdomain-0 -c >>>>>>>>Using config file "/etc/xen/userdomain-0". >>>>>>>>Started domain UserDomain0 >>>>>>>>xc_console: Could not open tty `/dev/pts/3': No such file=20 >>>>>>>> =20 >>>>>>>> >>>>>>>> =20 >>>>>>>> >>>>>or directory >>>>> =20 >>>>> >>>>> =20 >>>>> >>>>>>>>xm list >>>>>>>>Name Id Mem(MB) CPU VCPU(s) State Time(s) >>>>>>>>Domain-0 0 385 - 4 r---- 22.7 >>>>>>>>UserDomain0 1 31 3 1 -b--- 0.9 >>>>>>>> >>>>>>>>ls -l /dev/pts/ >>>>>>>>total 0 >>>>>>>>crw--w---- 1 root tty 136, 0 Aug 4 22:15 0 >>>>>>>>crw--w---- 1 root tty 136, 1 Aug 4 22:21 1 >>>>>>>>crw--w---- 1 root tty 136, 2 Aug 4 22:18 2 >>>>>>>> >>>>>>>>The source tree is up-to-date as of now. >>>>>>>> >>>>>>>>Stefan >>>>>>>> >>>>>>>>_______________________________________________ >>>>>>>>Xen-devel mailing list >>>>>>>>Xen-devel@lists.xensource.com >>>>>>>>http://lists.xensource.com/xen-devel >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> =20 >>>>>>>> >>>>>>>> =20 >>>>>>>> >>>>>>>> =20 >>>>>>>> >>>>>>>_______________________________________________ >>>>>>>Xen-devel mailing list >>>>>>>Xen-devel@lists.xensource.com >>>>>>>http://lists.xensource.com/xen-devel >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>> =20 >>>>>>> >>>>>>> =20 >>>>>>> >>>>>> =20 >>>>>> >>>>>> =20 >>>>>> >>>>> =20 >>>>> >>>>> =20 >>>>> >>>>=20 >>>> >>>> =20 >>>> >>> =20 >>> >>_______________________________________________ >>Xen-devel mailing list >>Xen-devel@lists.xensource.com >>http://lists.xensource.com/xen-devel >> >> >> >>_______________________________________________ >>Xen-devel mailing list >>Xen-devel@lists.xensource.com >>http://lists.xensource.com/xen-devel >> =20 >>