From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 20 06:34:52 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F39A16A46B for ; Thu, 20 Sep 2007 06:34:52 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id E8E4E13C467 for ; Thu, 20 Sep 2007 06:34:51 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so483760mue for ; Wed, 19 Sep 2007 23:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=VGkLkuGwvDIjADB05yWTqY725p09ogXV6dp90ZDiy+A=; b=i3nIsPVrGQiM6L19KSf893ZjsY0Be1iJkANGHFWIK2i7F69GLkB59JDNdCIxbmoDFADj6XpEJ6T0rmyt7AVsIloyoehXssZiSGPFdOEnCJQWI9DjNiSzXBlCD/q/vzDUwBE794/EBsZvrpS1f7g7HsakRdfsWIi0hjpxcgZs4YU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=atkjJknOkDIyFgnziRz72ehBVuGJR8G9OnXGi7B+B5Kn76ULJd/nAKv5BQwexGVzIknZBP74I7QwWqIYjglpU3Zww1ET3NhFS/QQ1QLGox8EEdR/9M5Dp1rS173oIFV+sOJnGACEf3g4ptLKwSPwZVxbV7tqw8CjKZLlOKvfmQ4= Received: by 10.86.62.3 with SMTP id k3mr1117350fga.1190270090306; Wed, 19 Sep 2007 23:34:50 -0700 (PDT) Received: from ?192.168.1.185? ( [213.152.137.35]) by mx.google.com with ESMTPS id f31sm3133500fkf.2007.09.19.23.34.47 (version=SSLv3 cipher=RC4-MD5); Wed, 19 Sep 2007 23:34:48 -0700 (PDT) Message-ID: <46F2147F.3090406@gmail.com> Date: Thu, 20 Sep 2007 10:34:39 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Boris Samorodov References: <46EF7E05.5040405@gmail.com> <20070918074332.GA30053@freebsd.org> <88000019@srv.sem.ipt.ru> <20070918082119.GA30932@freebsd.org> <89768331@srv.sem.ipt.ru> <41596338@srv.sem.ipt.ru> <20070919085405.GA24442@freebsd.org> <18395962@srv.sem.ipt.ru> <20070919111557.GA28377@freebsd.org> <75502368@srv.sem.ipt.ru> <20070919132546.GA35553@freebsd.org> <09429788@srv.sem.ipt.ru> In-Reply-To: <09429788@srv.sem.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator problem on i386 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2007 06:34:52 -0000 > Seems that there is something that should keep this value not less > than LINUX_DIRBLKSIZ (or 512 bytes for now). > > >> can you try >> buflen = min(nbytes, MAXBSIZE); >> > > Actually, I don't see a reason. The code is clean to mee... > nbytes is always 4096 here and so do buflen (I did some printf's). > > #uname -a Linux evil 2.6.22-gentoo-r6-sss-test-build #23 Mon Sep 17 14:38:03 EEST 2007 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux ============ctrace.out(hlds_stable_work)============================================= http://81.176.175.14/files/temp/strace.dump.log /Vladimir Ermakov