From mboxrd@z Thu Jan 1 00:00:00 1970 From: "SourceForge.net" Subject: [ kvm-Bugs-2143498 ] FreeBSD fails to reboot Date: Sun, 02 Nov 2008 16:04:48 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: noreply@sourceforge.net Return-path: Received: from ch3.sourceforge.net ([216.34.181.60]:8721 "EHLO ch3.sourceforge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754193AbYKBQEy (ORCPT ); Sun, 2 Nov 2008 11:04:54 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Bugs item #2143498, was opened at 2008-10-03 05:38 Message generated for change (Comment added) made by rtg20 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2143498&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matt Lehner (mlehner) Assigned to: Nobody/Anonymous (nobody) Summary: FreeBSD fails to reboot Initial Comment: Xeon E5430, ubuntu 8.04 x86_64, currently kvm-62. Reports of same issue in kvm76: https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/239107 Host kernel: 2.6.24-19 Guest: FreeBSD 6.2, i386 and amd64 Problem: FreeBSD will start normally as a guest OS. When a "reboot" is issued to the guest, it will not come back up without destroying the guest, and then starting it again. Screenshots from a reboot: http://lehner.pair.com/screenshot1.png Note that the drive is listed. http://lehner.pair.com/screenshot2.png In the second screenshot, the drive should be listed right after the Timecounters lines. If the guest is destroyed at that point, and restarted it will come up fine. This can be reproduced 100% of the time. Happens both when using a file or a partition for the guest OS. ---------------------------------------------------------------------- Comment By: Roman Yepishev (rtg20) Date: 2008-11-02 18:04 Message: KVM-78 is affected as well. When FreeBSD is started in verbose output mode, the following messages appear: First Boot: ... ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire ad0: setting PIO4 on PIIX3 chip ad0: setting WDMA2 on PIIX3 chip ad0: 8192MB at ata0-master WDMA2 ad0: 16777216 sectors [16644C/16H/63S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad0 ... Warm reboot: ... ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=58 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0xff msb=0xff ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: reinit done .. ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=58 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0xff msb=0xff ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: reinit done .. ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=58 ostat1=58 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0xff msb=0xff ata1: reset tp2 stat0=00 stat1=00 devices=0x4 ata1: reinit done .. ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=58 ostat1=58 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0xff msb=0xff ata1: reset tp2 stat0=00 stat1=00 devices=0x4 ata1: reinit done .. ATA PseudoRAID loaded Trying to mount root from ufs:/dev/ad0s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> adding -no-kvm-irqchip DOES fix this problem, -no-kvm-pit is not sufficient. ---------------------------------------------------------------------- Comment By: Roman Yepishev (rtg20) Date: 2008-10-20 15:36 Message: kvm-77 on Linux 2.6.24-19-server x86_64 fails to reboot FreeBSD properly as well. ---------------------------------------------------------------------- Comment By: Roman Yepishev (rtg20) Date: 2008-10-09 10:26 Message: KVM-76: When passed --no-kvm option - the reboot is happening without any problems, so this has something to do with kernel kvm module as well. ---------------------------------------------------------------------- Comment By: Roman Yepishev (rtg20) Date: 2008-10-07 23:35 Message: Reproducible for kvm-74,kvm-75,kvm-76 with FreeBSD 6.2, 6.3 and 7.0. This is KVM-specific bug. QEMU 0.9.1 does not suffer from it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2143498&group_id=180599