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

martin f krafft madduck at debian.org
Sun Dec 7 17:45:26 UTC 2008


also sprach Guido Günther <agx at sigxcpu.org> [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=0x00000000fffffff0 thread_id=5285
  CPU #1: pc=0x00000000fffffff0 thread_id=5286

Cheers,

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20081207/504c3935/attachment.pgp 


More information about the Pkg-libvirt-maintainers mailing list