From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Fantoni Subject: Re: xl console regression on xen-unstable Date: Tue, 15 Oct 2013 10:28:39 +0200 Message-ID: <525CFCB7.9090206@m2r.biz> 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"; Format="flowed" 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: xen-devel , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Il 14/10/2013 17:26, Wei Liu ha scritto: > 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. > > 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. Thanks for reply. I checked and seems that all xen libraries is installed and to latest version. The only library missed is linux-vdso that I not found on debian 7 repository. Below there are the ldd command and ls of libxen* on my last xen compilation. ldd /usr/sbin/xl linux-vdso.so.1 => (0x00007fff87bff000) libxlutil.so.4.3 => /usr/lib/libxlutil.so.4.3 (0x00007fa4fb195000) libxenlight.so.4.3 => /usr/lib/libxenlight.so.4.3 (0x00007fa4faf35000) libxenctrl.so.4.3 => /usr/lib/libxenctrl.so.4.3 (0x00007fa4fad10000) libyajl.so.2 => /usr/lib/x86_64-linux-gnu/libyajl.so.2 (0x00007fa4fab06000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa4fa8ea000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa4fa55f000) libxenguest.so.4.3 => /usr/lib/libxenguest.so.4.3 (0x00007fa4fa335000) libxenstore.so.3.0 => /usr/lib/libxenstore.so.3.0 (0x00007fa4fa12c000) libblktapctl.so.1.0 => /usr/lib/libblktapctl.so.1.0 (0x00007fa4f9f24000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fa4f9d21000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fa4f9b1c000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa4f9917000) /lib64/ld-linux-x86-64.so.2 (0x00007fa4fb3b2000) libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fa4f9707000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fa4f94e4000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa4f92cc000) ls -alh /mnt/vm/xen/Xen/dist/install/usr/lib/libxen* -rw-r--r-- 1 root root 1,6M ott 14 10:47 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenctrl.a lrwxrwxrwx 1 root root 17 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenctrl.so -> libxenctrl.so.4.3 lrwxrwxrwx 1 root root 19 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenctrl.so.4.3 -> libxenctrl.so.4.3.0 -rwxr-xr-x 1 root root 822K ott 14 10:47 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenctrl.so.4.3.0 -rw-r--r-- 1 root root 1,3M ott 14 10:47 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenguest.a lrwxrwxrwx 1 root root 18 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenguest.so -> libxenguest.so.4.3 lrwxrwxrwx 1 root root 20 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenguest.so.4.3 -> libxenguest.so.4.3.0 -rwxr-xr-x 1 root root 717K ott 14 10:47 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenguest.so.4.3.0 -rw-r--r-- 1 root root 3,2M ott 14 10:50 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenlight.a lrwxrwxrwx 1 root root 18 ott 14 12:10 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenlight.so -> libxenlight.so.4.3 lrwxrwxrwx 1 root root 20 ott 14 12:10 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenlight.so.4.3 -> libxenlight.so.4.3.0 -rwxr-xr-x 1 root root 1,7M ott 14 10:50 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenlight.so.4.3.0 -rw-r--r-- 1 root root 110K ott 14 10:49 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstat.a lrwxrwxrwx 1 root root 15 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstat.so -> libxenstat.so.0 lrwxrwxrwx 1 root root 17 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstat.so.0 -> libxenstat.so.0.0 -rwxr-xr-x 1 root root 77K ott 14 10:49 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstat.so.0.0 -rw-r--r-- 1 root root 107K ott 14 10:47 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstore.a lrwxrwxrwx 1 root root 18 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstore.so -> libxenstore.so.3.0 lrwxrwxrwx 1 root root 20 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstore.so.3.0 -> libxenstore.so.3.0.3 -rwxr-xr-x 1 root root 89K ott 14 10:47 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenstore.so.3.0.3 -rw-r--r-- 1 root root 71K ott 14 10:49 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenvchan.a lrwxrwxrwx 1 root root 18 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenvchan.so -> libxenvchan.so.1.0 lrwxrwxrwx 1 root root 20 ott 14 12:06 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenvchan.so.1.0 -> libxenvchan.so.1.0.0 -rwxr-xr-x 1 root root 50K ott 14 10:49 /mnt/vm/xen/Xen/dist/install/usr/lib/libxenvchan.so.1.0.0