[kvm-devel] kvm-29 failing to exit or reboot
Per subject. Running 2.6.20-gentoo-r6 with the kvm-29 kernel module on an Intel chip; both host and guest are 64-bit. The end of the installer I'm trying to test goes like this: === snip + sync + reboot -f md: stopping all md devices. Restarting system. machine restart === snip ...and there it sits (eating no CPU time, at least) until I kill the process. I'm running with -nographic, and "ctrl+a x" [like the other console commands] is nonresponsive after the child goes into this state (though it works fine beforehand). Normally, this wouldn't be particularly annoying -- but since I'm trying to use qemu scriptably, this means I may need to use an expect script to monitor output, figure out when the guest is intended to shut down or reboot, and forcefully kill the process -- not exactly my preferred way of doing things. Is this known behavior? If not, is there something I can do to help diagnose its cause? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
[kvm-devel] [RESOLVED] Re: kvm-29 failing to exit or reboot
On rereading this post, I find that I forgot to mention my use of -no-reboot. As I wish the VM to exit on a reboot attempt (and "kvm --help" documents -no-reboot as "exit instead of rebooting"), I am using said flag. If I leave out -no-reboot, "reboot -f" causes kvm to exit rather than hang. Not the behavior described by the documentation -- but it works! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
[kvm-devel] kvm-36 losing (tap-based) network connectivity mid-session
kvm-36 is repeatedly timing out partway through a long network transfor and failing to resume. Both host and guest are 64-bit. This has happened with a number of prior releases as well; it does not appear to be a recently-introduced issue. My command line looks like the following: $ qemu-system-x86_64 -kernel kernel-x86_64-2.6.20-gentoo-r8 -initrd initramfs.igz -hda hda -hdb hdb -append "panic=30 console=ttyS0 action=install" -nographic -net nic -net 'tap,ifname=tap0,script=./tap0-start' /dev/kvm is quite certainly being used, as KVM immediately segfaults on startup without it (or in the presence of the -no-kvm option). dmesg on the host shows a great number of "rtc: lost some interrupts at 1024Hz" messages. The end of a typical session looks much like the following: 79000K .. .. .. .. .. 4% 5.43M 4:33 79050K .. .. .. .. .. 4% 6.10M 4:03 79100K .. .. .. .. .. 4% 8.14M 3:02 79150K .. 4% 5.96M 4:09 02:45:23 (2.06 MB/s) - Read error at byte 81055847/1639127012 (Connection timed out). Retrying. --02:45:23-- http://10.0.0.30/gentoo-installer/deployed_server-stage4-amd64-2007.0.tar.bz2 (try: 2) => `/mnt/gentoo/deployed_server-stage4-amd64-2007.0.tar.bz2' Connecting to 10.0.0.30:80... Hangcheck: hangcheck value past margin! failed: Connection timed out. Retrying. --02:45:53-- http://10.0.0.30/gentoo-installer/deployed_server-stage4-amd64-2007.0.tar.bz2 (try: 3) => `/mnt/gentoo/deployed_server-stage4-amd64-2007.0.tar.bz2' Connecting to 10.0.0.30:80... failed: Connection timed out. Retrying. --02:46:23-- http://10.0.0.30/gentoo-installer/deployed_server-stage4-amd64-2007.0.tar.bz2 (try: 4) => `/mnt/gentoo/deployed_server-stage4-amd64-2007.0.tar.bz2' Network access works, and then suddenly doesn't. I am more reliably able to reproduce this issue using -net tap than -net user. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm-36 losing (tap-based) network connectivitymid-session
Dor Laor wrote: > Can you try it without rtc (either use -no-rtc, I'm not sure we have > this flag or just rm /dev/rtc before you run the vm). Tried it (and -tdf) without effect. > What's your host HZ configuration? CONFIG_HZ=250 > If the above doesn't work, can you repeat the test with -no-kvm? -no-kvm segfaults immediately on startup. === Starting program: /usr/bin/kvm -no-kvm -kernel kernel-x86_64-2.6.20-gentoo-r8 -hda grubdisk.img [Thread debugging using libthread_db enabled] [New Thread 47987424286272 (LWP 13655)] Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal error, but for better emulation accuracy either use a 2.6 host Linux kernel or type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47987424286272 (LWP 13655)] 0x in ?? () (gdb) bt #0 0x in ?? () #1 0x00481e8b in cpu_x86_exec (env1=) at /usr/src/debug/app-emulation/kvm-36/kvm-36/qemu/cpu-exec.c:750 #2 0x00409a6d in main_loop () at /usr/src/debug/app-emulation/kvm-36/kvm-36/qemu/vl.c:6311 #3 0x0040de7a in main (argc=0, argv=0x7fffba1c59c8) at /usr/src/debug/app-emulation/kvm-36/kvm-36/qemu/vl.c:7774 #4 0x2ba4f12ea5e6 in __libc_start_main () from /usr/local/lib/libc.so.6 #5 0x00405689 in _start () === - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm-36 losing (tap-based) network connectivitymid-session
Avi Kivity wrote: > Can you check with the other emulated nic? (-nic model=...) Happens with both ne2k_pci and rtl8139; I haven't tried with others. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
[kvm-devel] [RESOLVED] kvm-36 losing (tap-based) network connectivity mid-session
As of kvm-43, this is no longer happening. I haven't tested intermediate versions to locate the exact place where the issue ceased. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] Attaching to the virtual console/keyboard/mouse of kvm instance using a unix/socket
Thomas Glanzmann wrote: > Hello, > is it possible to connect to the virtual monitor/keyboard/mouse of > an already running kvm instance using a socket when started without an > x-window system and _not_ using vnc? I have something in the back of my > head using libvirt but I am unable to find it. Well -- if you're not doing anything graphical, you could use the new ncurses display mode. Set your scripts up to allocate a new PTY each time, connect those PTYs to screen, and you're golden. If your needs are simpler, something similar could be done using serial console support. While libvirt doesn't currently know anything about serial console configuration or ncurses display / PTY support, it's just waiting on someone with time to implement it -- might eventually be me, if nobody else gets there first. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] [ANNOUNCE] kvm-guest-drivers-windows-1
Avi Kivity wrote: > No plans at this point. SCSI emulation should provide decent performance. Are there plans for addressing QEMU's issues w/ the SCSI emulation for Windows guests? https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1895893&group_id=180599 [posting this in part as a warning, lest others go through the process of setting Windows up on a guest using SCSI and end up needing to throw out the install -- XP doesn't seem to take well to its SCSI drive becoming IDE without a reinstall]. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] disappointing speed with virtio_blk
My understanding is that virtio is very latency-sensitive. Do you know whether your system is configured for high-resolution timer support, and (more to the point) which clock source KVM is using on your host? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel