Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't clone Linus tree

4 views
Skip to first unread message

Tomasz Torcz

unread,
Jul 24, 2006, 4:08:25 AM7/24/06
to linux-...@vger.kernel.org

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."

Johannes Weiner

unread,
Jul 24, 2006, 5:14:48 AM7/24/06
to linux-...@vger.kernel.org
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Rene Scharfe

unread,
Jul 24, 2006, 5:56:51 AM7/24/06
to Tomasz Torcz, linux-...@vger.kernel.org, g...@vger.kernel.org, Junio C Hamano, Linus Torvalds
Tomasz Torcz schrieb:

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é

Rene Scharfe

unread,
Jul 24, 2006, 6:36:35 AM7/24/06
to Tomasz Torcz, linux-...@vger.kernel.org, g...@vger.kernel.org, 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-1jI4A
H' 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/torva
lds/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.

Mariusz Kozlowski

unread,
Jul 24, 2006, 8:04:16 AM7/24/06
to linux-...@vger.kernel.org
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 128k
bps
> 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

0 new messages