qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] qemu hangs


From: Nerijus Baliūnas
Subject: Re: [Qemu-discuss] qemu hangs
Date: Tue, 16 Aug 2016 19:50:48 +0300
User-agent: Roundcube Webmail/1.2.1

I tried to debug with gdb:

# gdb /usr/bin/qemu-system-alpha
Reading symbols from /usr/bin/qemu-system-alpha...Reading symbols from /usr/lib/debug/usr/bin/qemu-system-alpha.debug...done.
done.
(gdb) r -S -no-user-config -nodefaults -nographic -M none -qmp unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile /var/lib/libvirt/qemu/capabilities.pidfile -daemonize Starting program: /usr/bin/qemu-system-alpha -S -no-user-config -nodefaults -nographic -M none -qmp unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile /var/lib/libvirt/qemu/capabilities.pidfile -daemonize
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffc9708700 (LWP 12596)]
Detaching after fork from child process 12597.
^C
Thread 1 "qemu-system-alp" received signal SIGINT, Interrupt.
0x00007fffdabc2dad in read () at ../sysdeps/unix/syscall-template.S:84
84      T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)

(gdb) bt
#0  0x00007fffdabc2dad in read () at ../sysdeps/unix/syscall-template.S:84
#1 0x00005555557d63d3 in os_daemonize (__nbytes=1, __buf=0x7fffffffdfdf, __fd=<optimized out>)
    at /usr/include/bits/unistd.h:44
#2 0x00005555557d63d3 in os_daemonize () at /usr/src/debug/qemu-2.7.0-rc2/os-posix.c:224 #3 0x000055555573ac9e in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
    at /usr/src/debug/qemu-2.7.0-rc2/vl.c:3989

2016-08-16 12:45, Nerijus Baliūnas rašė:
Hello,

qemu 2.7.0-0.1.rc2.fc24, but the same happened with 2.6.0.
I start systemctl start libvirtd, and systemctl status libvirtd
shows:

   Active: active (running) since Pr 2016-08-15 22:41:43 EEST; 30s ago
   CGroup: /system.slice/libvirtd.service
           ├─2907 /usr/sbin/libvirtd
├─2932 /usr/bin/qemu-system-alpha -S -no-user-config -nodefaults -nographic -M none -qmp
unix:/var/lib
└─2934 /usr/bin/qemu-system-alpha -S -no-user-config -nodefaults -nographic -M none -qmp
unix:/var/lib

These processes (/usr/bin/qemu-system-alpha -S -no-user-config -nodefaults -nographic -M none -qmp
unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile
/var/lib/libvirt/qemu/capabilities.pidfile -daemonize) hang indefinitely.
The same happens if I run it manually. Disabling selinux does not help.
If I kill qemu-system-alpha, qemu-system-arm is started and so on.
I cannot connect to libvirt with virt-manager.
Any ideas why qemu hangs?

Regards,
Nerijus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]