Received: from [140.186.70.92] (port=60502 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgkNS-0002np-PN for qemu-devel@nongnu.org; Wed, 04 Aug 2010 16:15:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgkNO-00047B-O6 for qemu-devel@nongnu.org; Wed, 04 Aug 2010 16:15:50 -0400 Received: from adelie.canonical.com ([91.189.90.139]:40831) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgkNO-00046y-F4 for qemu-devel@nongnu.org; Wed, 04 Aug 2010 16:15:46 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OgkNK-00073p-SC for ; Wed, 04 Aug 2010 21:15:43 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 51A632E83B6 for ; Wed, 4 Aug 2010 21:15:40 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 04 Aug 2010 20:09:51 -0000 From: Hadmut Danisch Sender: bounces@canonical.com References: <20100804164344.4635.76028.malonedeb@wampee.canonical.com> Message-Id: <20100804200951.22742.40884.malone@palladium.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 613529] Re: qemu does not accept regular disk geometry Reply-To: Bug 613529 <613529@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Seems to be the same issue as in = http://qemu-forum.ipi.fi/viewtopic.php?f=3D4&t=3D5218 -- = qemu does not accept regular disk geometry https://bugs.launchpad.net/bugs/613529 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: Hi, = I am currently hunting a strange bug in qemu/kvm: I am using an lvm logical volume as a virtual hard disk for a virtual machi= ne. = I use fdisk or parted to create a partition table and partitions, kpartx to= generate the device entries for the partitions, then install linux on ext3= /ext4 with grub or msdos filesystem with syslinux. = But then, in most cases even the boot process fails or behaves strangely, s= ometimes even mounting the file system in the virtual machine fails. It see= ms as if there is a problem with the virtual disk geometry. The problem doe= s not seem to occur if I reboot the host system after creating the partitio= n table on the logical volume. I guess the linux kernel needs to learn the = disk geometry by reboot. A blkdev --rereadpt does not work on lvm volumes. = The first approach to test/fix the problem would be to pass the disk geomet= ry to qemu/lvm with the -drive option. Unfortunately, qemu/kvm does not acc= ept the default geometry with 255 heads and 63 sectors. Seems to limit the = number of heads to 16, thus limiting the disk size.