From: Antoine Martin Subject: Re: raw disks no longer work in latest kvm (kvm-88 was fine) Date: Sun, 23 May 2010 15:53:32 +0700 Message-ID: <4BF8ED0C.2070004@nagafix.co.uk> References: <4B92BF97.4040001@nagafix.co.uk> <4B92C90B.4030807@msgid.tls.msk.ru> <4B932829.8090503@nagafix.co.uk> <4B9372B6.3050408@msgid.tls.msk.ru> <20100307100022.GA23201@infradead.org> <4B93A624.8010707@nagafix.co.uk> <4B93AF8A.3070805@nagafix.co.uk> <4B93C2F9.7030904@msgid.tls.msk.ru> <4B93DE3F.4090103@nagafix.co.uk> <4B93DFF0.5050905@redhat.com> <20100307172151.GA24859@infradead.org> <4B93E29E.6090609@redhat.com> <4B93E9EE.6020701@nagafix.co.uk> <4B93F4A4.9050003@redhat.com> <4B93F96E.30508@nagafix.co.uk> <4B93FA18.2090808@redhat.com> <4B93FAD8.9010207@nagafix.co.uk> <4B93FBC1.3000209@redhat.com> <4B93FD94.7060508@nagafix.co.uk> <4B93FFEE.4080007@redhat.com> <4B9B6008.4090902@nagafix.co.uk> <4BBE51F4.6070904@nagafix.co.uk> <4BF7B589.1070808@nagafix.co.uk> <4BF7BD33.2090700@msgid.tls. msk.ru> <4BF7C172.2000508@nagafix.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Christoph Hellwig , kvm@vger.kernel.org To: Michael Tokarev Return-path: Received: from mamba.nagafix.co.uk ([194.145.196.68]:40971 "EHLO mail.nagafix.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752382Ab0EWIxs (ORCPT ); Sun, 23 May 2010 04:53:48 -0400 In-Reply-To: <4BF7C172.2000508@nagafix.co.uk> Sender: kvm-owner@vger.kernel.org List-ID: On 05/22/2010 06:35 PM, Antoine Martin wrote: > On 05/22/2010 06:17 PM, Michael Tokarev wrote: >> 22.05.2010 14:44, Antoine Martin wrote: >>> Bump. >>> >>> Now that qemu is less likely to eat my data, " *[Qemu-devel] [PATCH >>> 4/8] >>> block: fix sector comparism in*" >>> http://marc.info/?l=qemu-devel&m=127436114712437 >>> >>> I thought I would try using the raw 1.5TB partition again with KVM, >>> still no go. >> >> Hm. I don't have so much diskspace (my largest is 750Gb, whole disk), >> but I created 1.5Tb sparse lvm volume. It appears to work for me, >> even 32bit version of qemu-kvm-0.12.4 (with the mentioned patch >> applied). >> >>> I am still having to use: >>> >>> #undef CONFIG_PREADV >>> >>> Host and guest kernel version is 2.6.34, headers 2.6.33, glibc >>> 2.10.1-r1 >>> qemu-kvm 0.12.4 + patch above. >> >> eglibc-2.10.2-6, kernel #2.6.34.0-amd64, >> kernel headers 2.6.32-11~bpo50+1 >> (debian) >> >>> Who do I need to bug? glibc? kvm? >> >> are you running 32bit userspace and 64bit kernel >> by a chance? If yes that's a kernel prob, see >> http://thread.gmane.org/gmane.linux.kernel.aio.general/2891 >> (the fix will be in 2.6.35 hopefully, now it's in >> Andrew Morton's tree). >> >> If not, well, I don't know ;) > I'm not: 64-bit host and 64-bit guest. Just to be sure, I've tested that patch and still no joy: /dev/vdc: read failed after 0 of 512 at 0: Input/output error /dev/vdc: read failed after 0 of 512 at 0: Input/output error /dev/vdc: read failed after 0 of 2048 at 0: Input/output error pread is still broken on this big raw disk. Antoine > > Thanks anyway. > Antoine >> >> /mjt >> -- >> To unsubscribe from this list: send the line "unsubscribe kvm" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >