git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Can't clone Linus tree
       [not found] <20060724080752.GA8716@irc.pl>
@ 2006-07-24  9:55 ` Rene Scharfe
  2006-07-24 10:36   ` Rene Scharfe
  0 siblings, 1 reply; 2+ messages in thread
From: Rene Scharfe @ 2006-07-24  9:55 UTC (permalink / raw)
  To: Tomasz Torcz; +Cc: linux-kernel, git, Junio C Hamano, Linus Torvalds

Tomasz Torcz schrieb:
>  Hi,
> 
>  yesterdat I wanted to bisect my kernel problem, but failed at first step:
> cloning Linus' tree. Today I tried it on other system and also failed.
> 
>  This is git-1.4.0 on Slackware, i586:
> 
> %  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git
> fatal: packfile '/home/zdzichu/linux-git/.git/objects/pack/tmp-1jI4AH' SHA1 mismatch
> error: git-fetch-pack: unable to read from git-index-pack
> error: git-index-pack died with error code 128
> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.
> 
>  And this is 1.4.0-1.fc5 on FC5, x86_64:
> % git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git
> fatal: packfile '/home/tomek/linux-git/.git/objects/pack/tmp-BxIcIC' SHA1 mismatch
> error: git-fetch-pack: unable to read from git-index-pack
> error: git-index-pack died with error code 128
> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.
> 
>  Errors occur constantly since yesterday. They of course appear after
> downloading several megabytes of data, which is unpleasant on my 128kbps
> connection.

Same here with both the master and next branch of git.  rsync as
suggested by Johannes Weiner works.  You can change the protocol
back to git in .git/remotes/origin after cloning; pulling small
changes seems to work fine.

strace tells me that safe_read at pkt-line.c:111 gets only 305 of
the expected 996 bytes and then dies.  I have no idea how that
might happen. :-/

Pulling the git repository works using the git protocol, btw.

René

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can't clone Linus tree
  2006-07-24  9:55 ` Can't clone Linus tree Rene Scharfe
@ 2006-07-24 10:36   ` Rene Scharfe
  0 siblings, 0 replies; 2+ messages in thread
From: Rene Scharfe @ 2006-07-24 10:36 UTC (permalink / raw)
  To: Tomasz Torcz; +Cc: linux-kernel, git, Junio C Hamano, Linus Torvalds

> Tomasz Torcz schrieb:
>> %  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git
>> fatal: packfile '/home/zdzichu/linux-git/.git/objects/pack/tmp-1jI4AH' SHA1 mismatch
>> error: git-fetch-pack: unable to read from git-index-pack
>> error: git-index-pack died with error code 128
>> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.

Ah, I just saw this is a known problem and there's a patch by
Matthias Lederhofer, which Junio just accepted, I think (the
mail with subject "[PATCH] upload-pack: fix timeout in
create_pack_file)" on the git mailing list.

The problem is apparently that the server expects you (wrongly)
to finish your download session within ten minutes.  Until the
server is fixed you can use rsync:// for the initial clone and
git:// for smaller updates.

René

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-24 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060724080752.GA8716@irc.pl>
2006-07-24  9:55 ` Can't clone Linus tree Rene Scharfe
2006-07-24 10:36   ` Rene Scharfe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).