{"thread":{"id":"2385","subject":"Problem in update from the linux-2.6 repository","startedAt":"2005-11-07T16:18:13Z","lastAt":"2005-11-07T23:22:08Z","messageCount":5,"participants":["Marcel Holtmann","Petr Baudis","Nick Hengeveld"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"11259","messageId":"1131380293.5824.139.camel@blade","threadId":"2385","inReplyTo":null,"subject":"Problem in update from the linux-2.6 repository","fromName":"Marcel Holtmann","fromEmail":"marcel@holtmann.org","sentAt":"2005-11-07T16:18:13Z","receivedAt":"2005-11-07T16:18:13Z","isPatch":false,"sender":{"key":"marcel@holtmann.org","avatar":null},"body":"Hi guys,\n\nI run into a weird problem when trying to update my clone of the\nlinux-2.6 repository from Linus:\n\n---\n# cg-update -f\n17:09:00 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/HEAD [41/41] -> \"refs/heads/.origin-fetching\" [1]\nGetting alternates list\nGetting pack list\nerror: Unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c under http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n\nCannot obtain needed object 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\nwhile processing commit 0000000000000000000000000000000000000000.\ncg-fetch: objects fetch failed\n---\n\nI use the latest available git and cogito for this and I have no idea\nwhich is at fault. Using rsync as transport it even looks more worse:\n\n---\n# cg-update -f\nWARNING: The rsync access method is DEPRECATED and will be REMOVED in the future!\n\nreceiving file list ... done\n\nsent 111 bytes  received 774 bytes  354.00 bytes/sec\ntotal size is 41  speedup is 0.05\n\nreceiving file list ... done\nprogress: 2631 objects, 9754798 bytes, 100% done\ninfo/packs\n\nsent 58020 bytes  received 10252045 bytes  74982.29 bytes/sec\ntotal size is 121158464  speedup is 11.75\n\nreceiving file list ... done\n\nsent 118 bytes  received 1095 bytes  346.57 bytes/sec\ntotal size is 902  speedup is 0.74\nTree change: f912696ab330bf539231d1f8032320f2a08b850f:2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\nerror: unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\nfatal: git-cat-file 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c: bad file\nerror: unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\nfatal: git-cat-file 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c: bad file\nInvalid tree id: 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\n\nApplying changes...\nerror: unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\nfatal: git-cat-file 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c: bad file\nerror: unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\nfatal: git-cat-file 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c: bad file\nInvalid commit id: 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\n---\n\nMaybe this is a problem of the kernel.org synchronization, but otherwise\nit should be fixed. Will there be a way to get some useful messages to\nthe end user in case of an error or some sanity checks that the tree you\nare pulling from is in sane state or not?\n\nRegards\n\nMarcel\n"},{"id":"11273","messageId":"1131401931.5824.149.camel@blade","threadId":"2385","inReplyTo":"1131380293.5824.139.camel@blade","subject":"Re: Problem in update from the linux-2.6 repository","fromName":"Marcel Holtmann","fromEmail":"marcel@holtmann.org","sentAt":"2005-11-07T22:18:51Z","receivedAt":"2005-11-07T22:18:51Z","isPatch":false,"sender":{"key":"marcel@holtmann.org","avatar":null},"body":"Hi,\n\n> I run into a weird problem when trying to update my clone of the\n> linux-2.6 repository from Linus:\n> \n> ---\n> # cg-update -f\n> 17:09:00 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/HEAD [41/41] -> \"refs/heads/.origin-fetching\" [1]\n> Getting alternates list\n> Getting pack list\n> error: Unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c under http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> \n> Cannot obtain needed object 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\n> while processing commit 0000000000000000000000000000000000000000.\n> cg-fetch: objects fetch failed\n> ---\n\nforget about this thing. The reason for this problem was the kernel.org\nmirroring and the repository wasn't in a sane state. However it would be\ngreat if we can detect this somehow.\n\nRegards\n\nMarcel\n"},{"id":"11275","messageId":"20051107222353.GV1431@pasky.or.cz","threadId":"2385","inReplyTo":"1131401931.5824.149.camel@blade","subject":"Re: Problem in update from the linux-2.6 repository","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-11-07T22:23:53Z","receivedAt":"2005-11-07T22:23:53Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hi,\n\nDear diary, on Mon, Nov 07, 2005 at 11:18:51PM CET, I got a letter\nwhere Marcel Holtmann <marcel@holtmann.org> told me that...\n> > I run into a weird problem when trying to update my clone of the\n> > linux-2.6 repository from Linus:\n> > \n> > ---\n> > # cg-update -f\n> > 17:09:00 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/HEAD [41/41] -> \"refs/heads/.origin-fetching\" [1]\n> > Getting alternates list\n> > Getting pack list\n> > error: Unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c under http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> > \n> > Cannot obtain needed object 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\n> > while processing commit 0000000000000000000000000000000000000000.\n> > cg-fetch: objects fetch failed\n> > ---\n> \n> forget about this thing. The reason for this problem was the kernel.org\n> mirroring and the repository wasn't in a sane state. However it would be\n> great if we can detect this somehow.\n\n  well, we did detect this and error out. ;-) What else would you like\nGIT/Cogito to do? Anything particular that could make this less\nconfusing?\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nVI has two modes: the one in which it beeps and the one in which\nit doesn't.\n"},{"id":"11276","messageId":"1131402521.5824.154.camel@blade","threadId":"2385","inReplyTo":"20051107222353.GV1431@pasky.or.cz","subject":"Re: Problem in update from the linux-2.6 repository","fromName":"Marcel Holtmann","fromEmail":"marcel@holtmann.org","sentAt":"2005-11-07T22:28:41Z","receivedAt":"2005-11-07T22:28:41Z","isPatch":false,"sender":{"key":"marcel@holtmann.org","avatar":null},"body":"Hi Petr,\n\n> > > I run into a weird problem when trying to update my clone of the\n> > > linux-2.6 repository from Linus:\n> > > \n> > > ---\n> > > # cg-update -f\n> > > 17:09:00 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/HEAD [41/41] -> \"refs/heads/.origin-fetching\" [1]\n> > > Getting alternates list\n> > > Getting pack list\n> > > error: Unable to find 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c under http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> > > \n> > > Cannot obtain needed object 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c\n> > > while processing commit 0000000000000000000000000000000000000000.\n> > > cg-fetch: objects fetch failed\n> > > ---\n> > \n> > forget about this thing. The reason for this problem was the kernel.org\n> > mirroring and the repository wasn't in a sane state. However it would be\n> > great if we can detect this somehow.\n> \n>   well, we did detect this and error out. ;-) What else would you like\n> GIT/Cogito to do? Anything particular that could make this less\n> confusing?\n\nI actually have no real idea, but the \"object fetch failed\" doesn't tell\nme anything besides that an object seems to be missing. Maybe this is a\nproblem we have to live with when using the kernel.org mirroring.\n\nRegards\n\nMarcel\n"},{"id":"11283","messageId":"20051107232208.GB3788@reactrix.com","threadId":"2385","inReplyTo":"1131401931.5824.149.camel@blade","subject":"Re: Problem in update from the linux-2.6 repository","fromName":"Nick Hengeveld","fromEmail":"nickh@reactrix.com","sentAt":"2005-11-07T23:22:08Z","receivedAt":"2005-11-07T23:22:08Z","isPatch":false,"sender":{"key":"nickh@reactrix.com","avatar":null},"body":"On Mon, Nov 07, 2005 at 11:18:51PM +0100, Marcel Holtmann wrote:\n\n> forget about this thing. The reason for this problem was the kernel.org\n> mirroring and the repository wasn't in a sane state. However it would be\n> great if we can detect this somehow.\n\nIs this an issue with the two servers (or virtual servers?) behind the\nkernel.org DNS name being out of sync?\n\nWould it make sense to configure the individual servers to be http-alternates\nof each other?\n\n-- \nFor a successful technology, reality must take precedence over public\nrelations, for nature cannot be fooled.\n"}]}