From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: raw disks no longer work in latest kvm (kvm-88 was fine) Date: Sun, 14 Mar 2010 09:34:48 +0200 Message-ID: <4B9C9198.70105@redhat.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Christoph Hellwig , kvm@vger.kernel.org To: Antoine Martin Return-path: Received: from mx1.redhat.com ([209.132.183.28]:5879 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753561Ab0CNHfA (ORCPT ); Sun, 14 Mar 2010 03:35:00 -0400 In-Reply-To: <4B9B6008.4090902@nagafix.co.uk> Sender: kvm-owner@vger.kernel.org List-ID: On 03/13/2010 11:51 AM, Antoine Martin wrote: >> preadv/pwritev was actually introduced in 2.6.30. Perhaps you last >> build glibc before that? If so, a rebuild may be all that's necessary. >> > > To be certain, I've rebuilt qemu-kvm against: > linux-headers-2.6.33 + glibc-2.10.1-r1 (both freshly built) > And still no go! > I'm still having to use the patch which disables preadv > unconditionally... What does strace show? Is the kernel's preadv called? Maybe you have a glibc that has broken emulated preadv and no kernel preadv support. -- error compiling committee.c: too many arguments to function