{"thread":{"id":"1174","subject":"Linus kernel tree corrupt?","startedAt":"2005-07-08T15:57:11Z","lastAt":"2005-07-10T20:35:17Z","messageCount":7,"participants":["Jon Smirl","Tony Luck","Russell King","Petr Baudis","H. Peter Anvin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"5825","messageId":"9e473391050708085756bd463e@mail.gmail.com","threadId":"1174","inReplyTo":null,"subject":"Linus kernel tree corrupt?","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2005-07-08T15:57:11Z","receivedAt":"2005-07-08T15:57:11Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"What happened in this session...\n\n[jonsmirl@jonsmirl linus]$ cg update\n11:52:32 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.g\nit/refs/heads/master [41/41] -> \"refs/heads/origin\" [1]\nprogress: 34 objects, 102329 bytes\nerror: File 9cd17004869977026b473030ebb5b6fb71bfcebf\n(http://www.kernel.org/pub/\nscm/linux/kernel/git/torvalds/linux-2.6.git/objects/9c/d17004869977026b473030ebb\n5b6fb71bfcebf) corrupt\n\nCannot obtain needed tree 9cd17004869977026b473030ebb5b6fb71bfcebf\nwhile processing commit 0000000000000000000000000000000000000000.\ncg-pull: objects pull failed\n[jonsmirl@jonsmirl linus]$ cg update\n11:53:26 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.g\nit/refs/heads/master [41/41] -> \"refs/heads/origin\" [1]\nUp to date.\n\nApplying changes...\nBranch already fully merged.\n[jonsmirl@jonsmirl linus]$ cg pull\n11:53:33 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.g\nit/refs/heads/master [41/41] -> \"refs/heads/origin\" [1]\nUp to date.\n[jonsmirl@jonsmirl linus]$ cg diff\nerror: cannot read sha1_file for 9cd17004869977026b473030ebb5b6fb71bfcebf\nfatal: unable to read tree object 7fd73e9f39bf6003cc3188a10426b62d8c47ab40\n[jonsmirl@jonsmirl linus]$\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"5827","messageId":"12c511ca05070810065db87043@mail.gmail.com","threadId":"1174","inReplyTo":"9e473391050708085756bd463e@mail.gmail.com","subject":"Re: Linus kernel tree corrupt?","fromName":"Tony Luck","fromEmail":"tony.luck@gmail.com","sentAt":"2005-07-08T17:06:09Z","receivedAt":"2005-07-08T17:06:09Z","isPatch":false,"sender":{"key":"tony.luck@gmail.com","avatar":null},"body":"On 7/8/05, Jon Smirl <jonsmirl@gmail.com> wrote:\n> What happened in this session...\n\nLinus has \"packed\" his GIT tree ... and now http-pull doesn't work. \nrsync still does (provided\nyou have a new enough cogito).\n\n-Tony\n"},{"id":"5858","messageId":"20050709114303.B2175@flint.arm.linux.org.uk","threadId":"1174","inReplyTo":"12c511ca05070810065db87043@mail.gmail.com","subject":"Re: Linus kernel tree corrupt?","fromName":"Russell King","fromEmail":"rmk@arm.linux.org.uk","sentAt":"2005-07-09T10:43:03Z","receivedAt":"2005-07-09T10:43:03Z","isPatch":false,"sender":{"key":"rmk@arm.linux.org.uk","avatar":null},"body":"On Fri, Jul 08, 2005 at 10:06:09AM -0700, Tony Luck wrote:\n> On 7/8/05, Jon Smirl <jonsmirl@gmail.com> wrote:\n> > What happened in this session...\n> \n> Linus has \"packed\" his GIT tree ... and now http-pull doesn't work. \n> rsync still does (provided\n> you have a new enough cogito).\n\nSo does that mean we should ignore cogito's whinging about rsync being\ndeprecated?\n\n-- \nRussell King\n"},{"id":"5864","messageId":"20050709115530.GC26343@pasky.ji.cz","threadId":"1174","inReplyTo":"20050709114303.B2175@flint.arm.linux.org.uk","subject":"Re: Linus kernel tree corrupt?","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-07-09T11:55:30Z","receivedAt":"2005-07-09T11:55:30Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Sat, Jul 09, 2005 at 12:43:03PM CEST, I got a letter\nwhere Russell King <rmk@arm.linux.org.uk> told me that...\n> On Fri, Jul 08, 2005 at 10:06:09AM -0700, Tony Luck wrote:\n> > On 7/8/05, Jon Smirl <jonsmirl@gmail.com> wrote:\n> > > What happened in this session...\n> > \n> > Linus has \"packed\" his GIT tree ... and now http-pull doesn't work. \n> > rsync still does (provided\n> > you have a new enough cogito).\n> \n> So does that mean we should ignore cogito's whinging about rsync being\n> deprecated?\n\nYes, please do. I deprecated rsync a day before Linus \"broke\" http-pull.\nIt's un-deprecated again for now in the latest Cogito.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\n<Espy> be careful, some twit might quote you out of context..\n"},{"id":"5871","messageId":"42D01174.4050501@zytor.com","threadId":"1174","inReplyTo":"20050709115530.GC26343@pasky.ji.cz","subject":"Re: Linus kernel tree corrupt?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-07-09T18:03:32Z","receivedAt":"2005-07-09T18:03:32Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Petr Baudis wrote:\n> \n> Yes, please do. I deprecated rsync a day before Linus \"broke\" http-pull.\n> It's un-deprecated again for now in the latest Cogito.\n> \n\nPresumably for packed repos you want to drop the --ignore-existing \n--whole-file options I assume?\n\nAlso, pulling with cogito-0.12:\n\ncg-clone -s \nrsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n\nI still get:\n\nreceiving file list ... done\nmaster\n\nsent 147 bytes  received 863 bytes  2020.00 bytes/sec\ntotal size is 41  speedup is 0.04\n\nreceiving file list ... done\nprogress: 1929 objects, 5796451 bytes, 100% done\npack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.idx\npack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.pack\n\nsent 42599 bytes  received 73373124 bytes  451789.06 bytes/sec\ntotal size is 73178114  speedup is 1.00\n\nreceiving file list ... done\nv2.6.11\nv2.6.11-tree\nv2.6.12\nv2.6.12-rc2\nv2.6.12-rc3\nv2.6.12-rc4\nv2.6.12-rc5\nv2.6.12-rc6\nv2.6.13-rc1\nv2.6.13-rc2\n\nsent 339 bytes  received 1802 bytes  4282.00 bytes/sec\ntotal size is 410  speedup is 0.19\nMissing object of tag v2.6.11... different source (obsolete tag?)\nMissing object of tag v2.6.11-tree... different source (obsolete tag?)\nMissing object of tag v2.6.12... different source (obsolete tag?)\nMissing object of tag v2.6.12-rc2... different source (obsolete tag?)\nMissing object of tag v2.6.12-rc3... different source (obsolete tag?)\nMissing object of tag v2.6.12-rc4... different source (obsolete tag?)\nMissing object of tag v2.6.12-rc5... different source (obsolete tag?)\nMissing object of tag v2.6.12-rc6... different source (obsolete tag?)\nMissing object of tag v2.6.13-rc1... different source (obsolete tag?)\nMissing object of tag v2.6.13-rc2... different source (obsolete tag?)\nNew branch: 0109fd37046de64e8459f8c4f4706df9ac7cc82c\nCloned (origin \nrsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \navailable as branch \"origin\")\nCloned to ./ (origin \nrsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \navailable as branch \"origin\")\n\nIs the \"missing objects\" thing spurious?\n\n\t-hpa\n"},{"id":"5895","messageId":"20050710152309.GE24249@pasky.ji.cz","threadId":"1174","inReplyTo":"42D01174.4050501@zytor.com","subject":"Re: Linus kernel tree corrupt?","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-07-10T15:23:09Z","receivedAt":"2005-07-10T15:23:09Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Sat, Jul 09, 2005 at 08:03:32PM CEST, I got a letter\nwhere \"H. Peter Anvin\" <hpa@zytor.com> told me that...\n> Petr Baudis wrote:\n> >\n> >Yes, please do. I deprecated rsync a day before Linus \"broke\" http-pull.\n> >It's un-deprecated again for now in the latest Cogito.\n> >\n> \n> Presumably for packed repos you want to drop the --ignore-existing \n> --whole-file options I assume?\n\nIt _is_ unsafe for individual objects, and your packfile will be corrupt\nif you break it in the middle and not have --whole-file turned on, I\nassume. It would be ideal if we could make rsync allow resuming download\nof the file if interrupted, but not under the final name but in that\nhidden file it uses.\n\n> sent 339 bytes  received 1802 bytes  4282.00 bytes/sec\n> total size is 410  speedup is 0.19\n> Missing object of tag v2.6.11... different source (obsolete tag?)\n> Missing object of tag v2.6.11-tree... different source (obsolete tag?)\n> Missing object of tag v2.6.12... different source (obsolete tag?)\n> Missing object of tag v2.6.12-rc2... different source (obsolete tag?)\n> Missing object of tag v2.6.12-rc3... different source (obsolete tag?)\n> Missing object of tag v2.6.12-rc4... different source (obsolete tag?)\n> Missing object of tag v2.6.12-rc5... different source (obsolete tag?)\n> Missing object of tag v2.6.12-rc6... different source (obsolete tag?)\n> Missing object of tag v2.6.13-rc1... different source (obsolete tag?)\n> Missing object of tag v2.6.13-rc2... different source (obsolete tag?)\n> New branch: 0109fd37046de64e8459f8c4f4706df9ac7cc82c\n> Cloned (origin \n> rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \n> available as branch \"origin\")\n> Cloned to ./ (origin \n> rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \n> available as branch \"origin\")\n> \n> Is the \"missing objects\" thing spurious?\n\nYes, already fixed. Will release 0.12.1 soon.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\n<Espy> be careful, some twit might quote you out of context..\n"},{"id":"5911","messageId":"42D18685.1000307@zytor.com","threadId":"1174","inReplyTo":"20050710152309.GE24249@pasky.ji.cz","subject":"Re: Linus kernel tree corrupt?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-07-10T20:35:17Z","receivedAt":"2005-07-10T20:35:17Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Petr Baudis wrote:\n> \n> It _is_ unsafe for individual objects, and your packfile will be corrupt\n> if you break it in the middle and not have --whole-file turned on, I\n> assume. It would be ideal if we could make rsync allow resuming download\n> of the file if interrupted, but not under the final name but in that\n> hidden file it uses.\n> \n\nI think if you just don't give it --partial you're fine (rsync always \ncreates a second copy, --partial decides if a partial file should be \nthrown away or not.)\n\n\t-hpa\n"}]}