From: Bill Lear Subject: Re: Error "fatal: cannot pread pack file: Success" Date: Wed, 28 Feb 2007 09:28:15 -0600 Message-ID: <17893.40847.313519.283218@lisa.zopyra.com> References: <17892.64236.443170.43061@lisa.zopyra.com> <20070228035713.GC5597@spearce.org> <20070228044719.GA6068@spearce.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org To: "Shawn O. Pearce" X-From: git-owner@vger.kernel.org Wed Feb 28 16:28:26 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HMQj9-0007Yo-Nh for gcvg-git@gmane.org; Wed, 28 Feb 2007 16:28:24 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751712AbXB1P2W (ORCPT ); Wed, 28 Feb 2007 10:28:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751723AbXB1P2W (ORCPT ); Wed, 28 Feb 2007 10:28:22 -0500 Received: from mail.zopyra.com ([65.68.225.25]:60370 "EHLO zopyra.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751710AbXB1P2V (ORCPT ); Wed, 28 Feb 2007 10:28:21 -0500 Received: (from rael@localhost) by zopyra.com (8.11.6/8.11.6) id l1SFSHe19072; Wed, 28 Feb 2007 09:28:17 -0600 In-Reply-To: <20070228044719.GA6068@spearce.org> X-Mailer: VM 7.18 under Emacs 21.1.1 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Tuesday, February 27, 2007 at 23:47:19 (-0500) Shawn O. Pearce writes: >"Shawn O. Pearce" wrote: >> Bill Lear wrote: >> > Using 1.5.0.1. Can't see what is wrong with this clone... >> ... >> > Indexing 4589 objects. >> > remote: Total 4589 (delta 2209), reused 4589 (delta 2209) >> > 100% (4589/4589) done >> > Resolving 2209 deltas. >> > fatal: cannot pread pack file: Success >> > fatal: index-pack died with error code 128 >> > fetch-pack from '/home/rael/devel/project/.git' failed. >> >> I think the pread() in get_data_from_pack of index-pack is wrong, >> it really should be looping until we fill the buffer in case the >> OS doesn't fully satisfy our read request the first time. > >Does this fix your problem? Just got back: I will try applying this patch and testing with it and let you know. Yes, this is a mounted filesystem --- I did post the 'df -h' to show this because I suspected something awry with it being a mounted drive. I'll let you know if this fixes it... Bill