{"thread":{"id":"4971","subject":"Re: Can't clone Linus tree","startedAt":"2006-07-24T09:55:58Z","lastAt":"2006-07-24T10:36:03Z","messageCount":2,"participants":["Rene Scharfe"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"24057","messageId":"44C4992E.3070706@lsrfire.ath.cx","threadId":"4971","inReplyTo":"20060724080752.GA8716@irc.pl","subject":"Re: Can't clone Linus tree","fromName":"Rene Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2006-07-24T09:55:58Z","receivedAt":"2006-07-24T09:55:58Z","isPatch":false,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Tomasz Torcz schrieb:\n>  Hi,\n> \n>  yesterdat I wanted to bisect my kernel problem, but failed at first step:\n> cloning Linus' tree. Today I tried it on other system and also failed.\n> \n>  This is git-1.4.0 on Slackware, i586:\n> \n> %  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git\n> fatal: packfile '/home/zdzichu/linux-git/.git/objects/pack/tmp-1jI4AH' SHA1 mismatch\n> error: git-fetch-pack: unable to read from git-index-pack\n> error: git-index-pack died with error code 128\n> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.\n> \n>  And this is 1.4.0-1.fc5 on FC5, x86_64:\n> % git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git\n> fatal: packfile '/home/tomek/linux-git/.git/objects/pack/tmp-BxIcIC' SHA1 mismatch\n> error: git-fetch-pack: unable to read from git-index-pack\n> error: git-index-pack died with error code 128\n> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.\n> \n>  Errors occur constantly since yesterday. They of course appear after\n> downloading several megabytes of data, which is unpleasant on my 128kbps\n> connection.\n\nSame here with both the master and next branch of git.  rsync as\nsuggested by Johannes Weiner works.  You can change the protocol\nback to git in .git/remotes/origin after cloning; pulling small\nchanges seems to work fine.\n\nstrace tells me that safe_read at pkt-line.c:111 gets only 305 of\nthe expected 996 bytes and then dies.  I have no idea how that\nmight happen. :-/\n\nPulling the git repository works using the git protocol, btw.\n\nRené\n"},{"id":"24059","messageId":"44C4A293.8090207@lsrfire.ath.cx","threadId":"4971","inReplyTo":"44C4992E.3070706@lsrfire.ath.cx","subject":"Re: Can't clone Linus tree","fromName":"Rene Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2006-07-24T10:36:03Z","receivedAt":"2006-07-24T10:36:03Z","isPatch":false,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"> Tomasz Torcz schrieb:\n>> %  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git\n>> fatal: packfile '/home/zdzichu/linux-git/.git/objects/pack/tmp-1jI4AH' SHA1 mismatch\n>> error: git-fetch-pack: unable to read from git-index-pack\n>> error: git-index-pack died with error code 128\n>> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.\n\nAh, I just saw this is a known problem and there's a patch by\nMatthias Lederhofer, which Junio just accepted, I think (the\nmail with subject \"[PATCH] upload-pack: fix timeout in\ncreate_pack_file)\" on the git mailing list.\n\nThe problem is apparently that the server expects you (wrongly)\nto finish your download session within ten minutes.  Until the\nserver is fixed you can use rsync:// for the initial clone and\ngit:// for smaller updates.\n\nRené\n"}]}