* Can't clone Linus tree
@ 2006-07-24 8:07 Tomasz Torcz
2006-07-24 9:13 ` Johannes Weiner
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Tomasz Torcz @ 2006-07-24 8:07 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]
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.
--
Tomasz Torcz "God, root, what's the difference?"
zdzichu@irc.-nie.spam-.pl "God is more forgiving."
[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't clone Linus tree
2006-07-24 8:07 Can't clone Linus tree Tomasz Torcz
@ 2006-07-24 9:13 ` Johannes Weiner
2006-07-24 9:55 ` Rene Scharfe
2006-07-24 12:03 ` Mariusz Kozlowski
2 siblings, 0 replies; 5+ messages in thread
From: Johannes Weiner @ 2006-07-24 9:13 UTC (permalink / raw)
To: linux-kernel
Hi,
On Mon, Jul 24, 2006 at 10:07:52AM +0200, Tomasz Torcz wrote:
> Errors occur constantly since yesterday. They of course appear after
> downloading several megabytes of data, which is unpleasant on my 128kbps
> connection.
I am on ISDN here and i'm using rsync transfer since having problems
with other protocols too. Just replace the git:// with rsync:// in your
URI and try again.
Hannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't clone Linus tree
2006-07-24 8:07 Can't clone Linus tree Tomasz Torcz
2006-07-24 9:13 ` Johannes Weiner
@ 2006-07-24 9:55 ` Rene Scharfe
2006-07-24 10:36 ` Rene Scharfe
2006-07-24 12:03 ` Mariusz Kozlowski
2 siblings, 1 reply; 5+ 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] 5+ messages in thread
* Re: Can't clone Linus tree
2006-07-24 9:55 ` Rene Scharfe
@ 2006-07-24 10:36 ` Rene Scharfe
0 siblings, 0 replies; 5+ 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] 5+ messages in thread
* Re: Can't clone Linus tree
2006-07-24 8:07 Can't clone Linus tree Tomasz Torcz
2006-07-24 9:13 ` Johannes Weiner
2006-07-24 9:55 ` Rene Scharfe
@ 2006-07-24 12:03 ` Mariusz Kozlowski
2 siblings, 0 replies; 5+ messages in thread
From: Mariusz Kozlowski @ 2006-07-24 12:03 UTC (permalink / raw)
To: linux-kernel
Witam,
> 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.
>
[cut]
>
> Errors occur constantly since yesterday. They of course appear after
> downloading several megabytes of data, which is unpleasant on my 128kbps
> connection.
I saw that as well many times with both git vesrion 1.2.4 and 1.4.1:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6
Generating pack...
Done counting 293611 objects.
Deltifying 293611 objects.
100% (293611/293611) done
fatal: unexpected EOF)
fatal: packfile '/home/me/linux/linux-2.6/.git/objects/pack/tmp-FtdxDS' 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.
Each time it fails after downloading approx. 60MB of data. Reported to vger
git list with no response.
Regards,
Mariusz Kozłowski
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-07-24 12:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24 8:07 Can't clone Linus tree Tomasz Torcz
2006-07-24 9:13 ` Johannes Weiner
2006-07-24 9:55 ` Rene Scharfe
2006-07-24 10:36 ` Rene Scharfe
2006-07-24 12:03 ` Mariusz Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox