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-12-08 12:14

Message:
Looks like resolved in KVM-80, FreeBSD reboots are working properly.

Thanks!

----------------------------------------------------------------------

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 <QEMU HARDDISK 0.9.1> 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<ATA_MASTER>
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<ATA_MASTER>
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<ATAPI_MASTER>
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<ATAPI_MASTER>
ata1: reinit done ..
ATA PseudoRAID loaded
Trying to mount root from ufs:/dev/ad0s1a

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:da0s1a
  ?                  List valid disk boot devices
  <empty line>       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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to