Heya,
I'm just trying to create a minimal(@core) Fedora 17 guest on F17 host, using Virt- preview.
So, once I create the minimal guest (using the attached script), the guest attempts to reboot, and it's just hung there, I could see that on the serial console. I tried to do a 'virsh list', it's just hung there too, When I tried to look into logs, I see a virsh segfault:
=> Version Info: <= I'm using the packages from 'virt-preview' repo #-----------------------------------------------------------# [root@moon ~]# uname -r ; arch ; rpm -q qemu-kvm libvirt 3.4.6-2.fc17.x86_64 x86_64 qemu-kvm-1.1.0-9.fc17.x86_64 libvirt-0.9.13-3.fc17.x86_64 [root@moon ~]# [root@moon qemu]# cat /etc/fedora-release Fedora release 17 (Beefy Miracle) [root@moon qemu]#
#-----------------------------------------------------------#
=> From /var/log/messages <= #-----------------------------------------------------------#
. . . Jul 28 18:26:08 moon libvirtd[18901]: 2012-07-28 12:56:08.066+0000: 18901: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error Jul 28 18:26:15 moon kernel: [296929.644578] virsh[20063]: segfault at 96 ip 00007f4d5100ff31 sp 00007fffd7978688 error 4 in libc-2.15.so[7f4d50f8a000+1ac000] Jul 28 18:26:15 moon libvirtd[18901]: 2012-07-28 12:56:15.176+0000: 18901: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error . . . .
Jul 28 18:53:09 moon libvirtd[21293]: 2012-07-28 13:23:09.037+0000: 21293: warning : virDriverLoadModule:72 : Module /usr/lib64/libvirt/connection-d river/libvirt_driver_libxl.so not accessible Jul 28 18:53:09 moon libvirtd[21293]: 2012-07-28 13:23:09.656+0000: 21379: error : qemuMonitorOpenUnix:308 : failed to connect to monitor socket: No such process . . . Jul 28 18:54:36 moon libvirtd[21293]: 2012-07-28 13:24:36.640+0000: 21293: error : daemonStreamHandleAbort:622 : stream aborted at client request #-----------------------------------------------------------#
To avoid this, I have to stop libvirtd service (here, it takes a little while to stop the service. Then, again start the libvirtd service). Now, I can use virsh, and start the guest and see the boot progress via serial console.
Just wondering if it's a known issue, before I file a bug.
If needed, I can provide further debugging info by enabling LIBVIRT_DEBUG=1 on the shell when it hangs. Just let me know.
/kashyap
On 07/28/2012 07:40 PM, Kashyap Chamarthy wrote:
Heya,
I'm just trying to create a minimal(@core) Fedora 17 guest on F17 host, using Virt- preview.
So, once I create the minimal guest (using the attached script), the guest attempts to reboot, and it's just hung there, I could see that on the serial console. I tried to do a 'virsh list', it's just hung there too, When I tried to look into logs, I see a virsh segfault:
More specifically, 'virsh list' hangs when I shutdown the guest (I just ran 'init 0' inside the guest)
---- Jul 28 19:45:29 moon libvirtd[22181]: 2012-07-28 14:15:29.176+0000: 22181: error : daemonStreamEvent:237 : stream had unexpected termination ----
Then I try to stop the service, it still hangs.. #--------------------------------------------------# [root@moon qemu]# service libvirtd stop Stopping libvirtd (via systemctl): #--------------------------------------------------# [root@moon ~]# systemctl status libvirtd.service libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled) Active: deactivating (stop-sigterm) since Sat, 28 Jul 2012 19:55:17 +0530; 29s ago Main PID: 22181 (libvirtd) . . . #--------------------------------------------------# [root@moon ~]# systemctl start libvirtd.service [root@moon ~]# systemctl status libvirtd.service libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled) Active: active (running) since Sat, 28 Jul 2012 19:56:47 +0530; 30s ago Main PID: 25081 (libvirtd) . . . #--------------------------------------------------#
Nothing specific I see in '/var/log/libvirt/qemu/regular-guest-f17.log'
Attached stdout of 'virsh list' after enabling LIBVIRT_DEBUG=1.
Anyone else notice this?
=> Version Info: <= I'm using the packages from 'virt-preview' repo #-----------------------------------------------------------# [root@moon ~]# uname -r ; arch ; rpm -q qemu-kvm libvirt 3.4.6-2.fc17.x86_64 x86_64 qemu-kvm-1.1.0-9.fc17.x86_64 libvirt-0.9.13-3.fc17.x86_64 [root@moon ~]# [root@moon qemu]# cat /etc/fedora-release Fedora release 17 (Beefy Miracle) [root@moon qemu]#
#-----------------------------------------------------------#
=> From /var/log/messages <= #-----------------------------------------------------------#
. . . Jul 28 18:26:08 moon libvirtd[18901]: 2012-07-28 12:56:08.066+0000: 18901: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error Jul 28 18:26:15 moon kernel: [296929.644578] virsh[20063]: segfault at 96 ip 00007f4d5100ff31 sp 00007fffd7978688 error 4 in libc-2.15.so[7f4d50f8a000+1ac000] Jul 28 18:26:15 moon libvirtd[18901]: 2012-07-28 12:56:15.176+0000: 18901: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error . . . .
Jul 28 18:53:09 moon libvirtd[21293]: 2012-07-28 13:23:09.037+0000: 21293: warning : virDriverLoadModule:72 : Module /usr/lib64/libvirt/connection-d river/libvirt_driver_libxl.so not accessible Jul 28 18:53:09 moon libvirtd[21293]: 2012-07-28 13:23:09.656+0000: 21379: error : qemuMonitorOpenUnix:308 : failed to connect to monitor socket: No such process . . . Jul 28 18:54:36 moon libvirtd[21293]: 2012-07-28 13:24:36.640+0000: 21293: error : daemonStreamHandleAbort:622 : stream aborted at client request #-----------------------------------------------------------#
To avoid this, I have to stop libvirtd service (here, it takes a little while to stop the service. Then, again start the libvirtd service). Now, I can use virsh, and start the guest and see the boot progress via serial console.
Just wondering if it's a known issue, before I file a bug.
If needed, I can provide further debugging info by enabling LIBVIRT_DEBUG=1 on the shell when it hangs. Just let me know.
/kashyap