Bug#507650: [Pkg-libvirt-maintainers] Bug#507650: virsh console just hangs, cannot connect

2008-12-07 Thread martin f krafft
also sprach Guido Günther [EMAIL PROTECTED] [2008.12.05.1009 +0100]:
 You can't terminate this with ctrl-alt-]? Works here. Can you make
 sure your system really *has* output on the serial console by looking
 at the /dev/pts/X yourself? You can find out the pty by looking at
 /var/log/libvirt/qemu/yourvm.log - it should be the last second pty
 listed. The first one is the monitor pty.

How do you suggest that I look at the /dev/pts/X for output?

-- 
 .''`.   martin f. krafft [EMAIL PROTECTED]  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
not the truth in whose possession any man is, or thinks he is, but
 the honest effort he has made to find out the truth, is what
 constitutes the worth of man.
   -- gotthold lessing


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#507650: [Pkg-libvirt-maintainers] Bug#507650: virsh console just hangs, cannot connect

2008-12-07 Thread martin f krafft
also sprach Guido Günther [EMAIL PROTECTED] [2008.12.05.1009 +0100]:
 You can't terminate this with ctrl-alt-]?

No, ctrl-alt-] does not terminate the console.

 Works here. Can you make sure your system really *has* output on
 the serial console by looking at the /dev/pts/X yourself? You can
 find out the pty by looking at /var/log/libvirt/qemu/yourvm.log
 - it should be the last second pty listed. The first one is the
 monitor pty.

I can use minicom like this:

  minicom -op /dev/pts/3

to connect to the monitor just fine, but connecting to /dev/pts/4
doesn't do anything. There seems to be no output, and minicom does
not accept any input from me either. Yet, the guest is running.

Here is the log file:

khyber:/var/log/libvirt/qemu# cat test1.log 
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 
HOME=/ /usr/bin/kvm -S -M pc -m 256 -smp 3 -name test1 -uuid 
efdc9c86-5bfd-37fb-b878-da615cdd2235 -monitor pty -boot c -drive 
file=/dev/mapper/khyber-test1,if=virtio,index=0,boot=on -net 
nic,macaddr=00:55:50:af:00:01,vlan=0,model=virtio -net 
tap,fd=10,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 
127.0.0.1:4 
char device redirected to /dev/pts/3
char device redirected to /dev/pts/4
info cpus
* CPU #0: pc=0xfff0 thread_id=5285
  CPU #1: pc=0xfff0 thread_id=5286

Cheers,

-- 
 .''`.   martin f. krafft [EMAIL PROTECTED]  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
a woman is like your shadow;
 follow her, she flies;
 fly from her, she follows.
-- sébastien-roch-nicolas chamfort


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#507650: [Pkg-libvirt-maintainers] Bug#507650: virsh console just hangs, cannot connect

2008-12-07 Thread Guido Guenther
martin f krafft schrieb:
 also sprach Guido Günther [EMAIL PROTECTED] [2008.12.05.1009 +0100]:
 You can't terminate this with ctrl-alt-]? Works here. Can you make
 sure your system really *has* output on the serial console by looking
 at the /dev/pts/X yourself? You can find out the pty by looking at
 /var/log/libvirt/qemu/yourvm.log - it should be the last second pty
 listed. The first one is the monitor pty.
 
 How do you suggest that I look at the /dev/pts/X for output?

cat /dev/pts/X
 -- Guido





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#507650: [Pkg-libvirt-maintainers] Bug#507650: virsh console just hangs, cannot connect

2008-12-05 Thread Guido Günther
tags 507650 + moreinfo

On Wed, Dec 03, 2008 at 12:35:06PM +0100, martin f krafft wrote:
 Package: libvirt-bin
 Version: 0.5.0-1
 Severity: normal
 File: /usr/bin/virsh
 
 I have a test domain with
 
 serial type='pty'
   target port='1'/
 /serial
 
 and kvm properly starts it with -monitor pty and -serial pty. When
 I run 'virsh console' on it, virsh just hangs and cannot be
 stopped/interrupted with any of ctrl-c/z/\. SIGTERM works. Strace is
 attached (search for HANGS HERE).
You can't terminate this with ctrl-alt-]? Works here. Can you make
sure your system really *has* output on the serial console by looking
at the /dev/pts/X yourself? You can find out the pty by looking at
/var/log/libvirt/qemu/yourvm.log - it should be the last second pty
listed. The first one is the monitor pty.
Cheers,
 -- Guido



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]