unicell
2011-Nov-11 06:15 UTC
[Xen-users] Messy "xm console" output and frequently not responding
Hi All, I''m running several linux HVM guests on top of Xen 3.1.2 version. And when I use "xm console" to connect one guest machine, the message is messed up like below and after I hit "Enter" serveral times, the console stops responding. [root@est6 ~#> oot@est6 ~]# > rot@test6 ~# > oot@st6 ~]# root@test6 ~]# > root@est~] > > root@test ~]#If I ssh into the guest, everything just looks fine. No warning message in dmesg or /var/log/message. Settings in guest /etc/inittab co:2345:respawn:/sbin/agetty ttyS0 115200 vt100 Lines in guest /boot/grub/menu.lst title Red Hat Enterprise Linux AS (2.6.9)> root (hd0,0) > kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda1 > console=ttyS0,115200n8 > initrd /boot/initrd-2.6.9.imgOther things I''ve tried. I checked xenstore setting, and this guest domain use /dev/pts/9 to communicate to guest serial interface. So I tried minicom to communicate to guest using /dev/pts/9 device. And it still has the same problem. I highly suspect it has something to do with this guest''s terminal setting, because other Linux HVM guest''s console running on this host just working fine. Guest''s terminal setting after ssh into it. Tried to change terminal setting via "stty speed 115200" but still not working. [root@test6 ~]# stty -a> speed 38400 baud; rows 52; columns 144; line = 0; > intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 > = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; > werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; > -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts > -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon > -ixoff -iuclc -ixany -imaxbel > opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 > vt0 ff0 > isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop > -echoprt echoctl echokeCould anyone kindly provide some advice for me ? Thank you so much! -- uni _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
unicell
2011-Nov-14 02:17 UTC
[Xen-users] Messy "xm console" output and frequently not responding
Hi All, I''m running several linux HVM guests on top of Xen 3.1.2 version. And when I use "xm console" to connect one guest machine, the message is messed up like below and after I hit "Enter" serveral times, the console stops responding. [root@est6 ~#> oot@est6 ~]# > rot@test6 ~# > oot@st6 ~]# root@test6 ~]# > root@est~] > > root@test ~]#If I ssh into the guest, everything just looks fine. No warning message in dmesg or /var/log/message. Settings in guest /etc/inittab co:2345:respawn:/sbin/agetty ttyS0 115200 vt100 Lines in guest /boot/grub/menu.lst title Red Hat Enterprise Linux AS (2.6.9)> root (hd0,0) > kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda1 > console=ttyS0,115200n8 > initrd /boot/initrd-2.6.9.imgOther things I''ve tried. I checked xenstore setting, and this guest domain use /dev/pts/9 to communicate to guest serial interface. So I tried minicom to communicate to guest using /dev/pts/9 device. And it still has the same problem. I highly suspect it has something to do with this guest''s terminal setting, because other Linux HVM guest''s console running on this host just working fine. Guest''s terminal setting after ssh into it. Tried to change terminal setting via "stty speed 115200" but still not working. [root@test6 ~]# stty -a> speed 38400 baud; rows 52; columns 144; line = 0; > intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 > = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; > werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; > -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts > -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon > -ixoff -iuclc -ixany -imaxbel > opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 > vt0 ff0 > isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop > -echoprt echoctl echokeCould anyone kindly provide some advice for me ? Thank you so much! -- uni _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
unicell
2011-Nov-14 02:57 UTC
[Xen-users] Messy "xm console" output and frequently not responding
Resending this message in plain text. Hi All, I''m running several linux HVM guests on top of Xen 3.1.2 version. And when I use "xm console" to connect one guest machine, the message is messed up like below and after I hit "Enter" serveral times, the console stops responding. [root@est6 ~# oot@est6 ~]# rot@test6 ~# oot@st6 ~]# root@test6 ~]# root@est ~] root@test ~]# If I ssh into the guest, everything just looks fine. No warning message in dmesg or /var/log/message. Another thing I''ve tried is using minicom to communicate to guest domain via /dev/pts/9, which is listed in this guest''s xenstore setting. And minicom still shows the same problem. I highly suspect it has something to do with this guest''s terminal setting, because other Linux HVM guest''s console running on this host just working fine. Could anyone kindly provide some advice for me ? Thank you so much! Following settings for your reference -- Settings in guest /etc/inittab co:2345:respawn:/sbin/agetty ttyS0 115200 vt100 Lines in guest /boot/grub/menu.lst title Red Hat Enterprise Linux AS (2.6.9) root (hd0,0) kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda1 console=ttyS0,115200n8 initrd /boot/initrd-2.6.9.img Guest''s terminal setting after ssh into it. Tried to change terminal setting via "stty speed 115200" but still not working. [root@test6 ~]# stty -a speed 38400 baud; rows 52; columns 144; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -- uni _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
unicell
2011-Nov-14 03:26 UTC
[Xen-users] Messy "xm console" output and frequently not responding
Hi All, I''m running several linux HVM guests on top of Xen 3.1.2 version. And when I use "xm console" to connect one guest machine, the message is messed up like below and after I hit "Enter" serveral times, the console stops responding. [root@est6 ~# oot@est6 ~]# rot@test6 ~# oot@st6 ~]# root@test6 ~]# root@est ~] root@test ~]# If I ssh into the guest, everything just looks fine. No warning message in dmesg or /var/log/message. Another thing I''ve tried is using minicom to communicate to guest domain via /dev/pts/9, which is listed in this guest''s xenstore setting. And minicom still shows the same problem. I highly suspect it has something to do with this guest''s terminal setting, because other Linux HVM guest''s console running on this host just working fine. Could anyone kindly provide some advice for me? Thank you so much! Following settings for your reference -- Settings in guest /etc/inittab co:2345:respawn:/sbin/agetty ttyS0 115200 vt100 Lines in guest /boot/grub/menu.lst title Red Hat Enterprise Linux AS (2.6.9) root (hd0,0) kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda1 console=ttyS0,115200n8 initrd /boot/initrd-2.6.9.img Guest''s terminal setting after ssh into it. Tried to change terminal setting via "stty speed 115200" but still not working. [root@test6 ~]# stty -a speed 38400 baud; rows 52; columns 144; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -- uni _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jonathan Tripathy
2011-Nov-14 19:05 UTC
Re: [Xen-users] Messy "xm console" output and frequently not responding
On 14/11/2011 02:57, unicell wrote:> [root@est6 ~# > oot@est6 ~]# > rot@test6 ~# > oot@st6 ~]# root@test6 ~]# > root@est ~] > > root@test ~]# > >This is to do with the newline character being different between *nix and Windows bases systems. Try fiddling with your terminal program and see if this helps. I have to say, that I''ve never experienced this problem before on Xen, only when hacking around with embedded hardware... Not sure about the not responding part. Make sure that you only have one console open at a time per DomU _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
unicell
2011-Nov-15 00:54 UTC
Re: [Xen-users] Messy "xm console" output and frequently not responding
Thank you Jonathan. Actually I''ve already tried both putty and SecureCRT as terminal program, but still the same. And it stops responding after sever hit several "Enter" key, even if one console opened at once. However, if I open several console at the same time, one console stops responding will bring another console back. Hit "Enter" again several times on that usable console, it stops responding again. But one out of opened consoles will response... Still got no clue... :( -- uni On Tue, Nov 15, 2011 at 3:05 AM, Jonathan Tripathy <jonnyt@abpni.co.uk>wrote:> > On 14/11/2011 02:57, unicell wrote: > >> [root@est6 ~# >> oot@est6 ~]# >> rot@test6 ~# >> oot@st6 ~]# root@test6 ~]# >> >> root@est ~] >> >> root@test ~]# >> >> >> This is to do with the newline character being different between *nix > and Windows bases systems. Try fiddling with your terminal program and see > if this helps. > > I have to say, that I''ve never experienced this problem before on Xen, > only when hacking around with embedded hardware... > > Not sure about the not responding part. Make sure that you only have one > console open at a time per DomU >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2011-Nov-15 02:36 UTC
Re: [Xen-users] Messy "xm console" output and frequently not responding
On Mon, Nov 14, 2011 at 7:54 PM, unicell <unicell@gmail.com> wrote:> Thank you Jonathan. Actually I''ve already tried both putty and SecureCRT as > terminal program, but still the same. > And it stops responding after sever hit several "Enter" key, even if one > console opened at once. However, if I open several console at the same time, > one console stops responding will bring another console back. Hit "Enter" > again several times on that usable console, it stops responding again. But > one out of opened consoles will response... Still got no clue... :( >There is typically only one shared Xen console for PV guest. Are you already running the PV drivers on your HVM guest? http://wiki.xen.org/wiki/XenLinuxPVonHVMdrivers As for another debugging idea. Maybe you could try to instrument the xenconsole code. Hope that helps. Thanks, Todd -- Todd Deshane http://www.linkedin.com/in/deshantm http://www.xen.org/community/xenday11.html http://cloudstack.org/about-cloudstack/cloudstack-events/viewevent/29-build-an-open-source-cloud-day-boston.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users