git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linus kernel tree corrupt?
@ 2005-07-08 15:57 Jon Smirl
  2005-07-08 17:06 ` Tony Luck
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Smirl @ 2005-07-08 15:57 UTC (permalink / raw)
  To: git

What happened in this session...

[jonsmirl@jonsmirl linus]$ cg update
11:52:32 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.g
it/refs/heads/master [41/41] -> "refs/heads/origin" [1]
progress: 34 objects, 102329 bytes
error: File 9cd17004869977026b473030ebb5b6fb71bfcebf
(http://www.kernel.org/pub/
scm/linux/kernel/git/torvalds/linux-2.6.git/objects/9c/d17004869977026b473030ebb
5b6fb71bfcebf) corrupt

Cannot obtain needed tree 9cd17004869977026b473030ebb5b6fb71bfcebf
while processing commit 0000000000000000000000000000000000000000.
cg-pull: objects pull failed
[jonsmirl@jonsmirl linus]$ cg update
11:53:26 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.g
it/refs/heads/master [41/41] -> "refs/heads/origin" [1]
Up to date.

Applying changes...
Branch already fully merged.
[jonsmirl@jonsmirl linus]$ cg pull
11:53:33 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.g
it/refs/heads/master [41/41] -> "refs/heads/origin" [1]
Up to date.
[jonsmirl@jonsmirl linus]$ cg diff
error: cannot read sha1_file for 9cd17004869977026b473030ebb5b6fb71bfcebf
fatal: unable to read tree object 7fd73e9f39bf6003cc3188a10426b62d8c47ab40
[jonsmirl@jonsmirl linus]$

-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linus kernel tree corrupt?
  2005-07-08 15:57 Linus kernel tree corrupt? Jon Smirl
@ 2005-07-08 17:06 ` Tony Luck
  2005-07-09 10:43   ` Russell King
  0 siblings, 1 reply; 7+ messages in thread
From: Tony Luck @ 2005-07-08 17:06 UTC (permalink / raw)
  To: Jon Smirl; +Cc: git

On 7/8/05, Jon Smirl <jonsmirl@gmail.com> wrote:
> What happened in this session...

Linus has "packed" his GIT tree ... and now http-pull doesn't work. 
rsync still does (provided
you have a new enough cogito).

-Tony

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linus kernel tree corrupt?
  2005-07-08 17:06 ` Tony Luck
@ 2005-07-09 10:43   ` Russell King
  2005-07-09 11:55     ` Petr Baudis
  0 siblings, 1 reply; 7+ messages in thread
From: Russell King @ 2005-07-09 10:43 UTC (permalink / raw)
  To: Tony Luck; +Cc: Jon Smirl, git

On Fri, Jul 08, 2005 at 10:06:09AM -0700, Tony Luck wrote:
> On 7/8/05, Jon Smirl <jonsmirl@gmail.com> wrote:
> > What happened in this session...
> 
> Linus has "packed" his GIT tree ... and now http-pull doesn't work. 
> rsync still does (provided
> you have a new enough cogito).

So does that mean we should ignore cogito's whinging about rsync being
deprecated?

-- 
Russell King

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linus kernel tree corrupt?
  2005-07-09 10:43   ` Russell King
@ 2005-07-09 11:55     ` Petr Baudis
  2005-07-09 18:03       ` H. Peter Anvin
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Baudis @ 2005-07-09 11:55 UTC (permalink / raw)
  To: Russell King; +Cc: Tony Luck, Jon Smirl, git

Dear diary, on Sat, Jul 09, 2005 at 12:43:03PM CEST, I got a letter
where Russell King <rmk@arm.linux.org.uk> told me that...
> On Fri, Jul 08, 2005 at 10:06:09AM -0700, Tony Luck wrote:
> > On 7/8/05, Jon Smirl <jonsmirl@gmail.com> wrote:
> > > What happened in this session...
> > 
> > Linus has "packed" his GIT tree ... and now http-pull doesn't work. 
> > rsync still does (provided
> > you have a new enough cogito).
> 
> So does that mean we should ignore cogito's whinging about rsync being
> deprecated?

Yes, please do. I deprecated rsync a day before Linus "broke" http-pull.
It's un-deprecated again for now in the latest Cogito.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linus kernel tree corrupt?
  2005-07-09 11:55     ` Petr Baudis
@ 2005-07-09 18:03       ` H. Peter Anvin
  2005-07-10 15:23         ` Petr Baudis
  0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2005-07-09 18:03 UTC (permalink / raw)
  To: Petr Baudis; +Cc: Russell King, Tony Luck, Jon Smirl, git

Petr Baudis wrote:
> 
> Yes, please do. I deprecated rsync a day before Linus "broke" http-pull.
> It's un-deprecated again for now in the latest Cogito.
> 

Presumably for packed repos you want to drop the --ignore-existing 
--whole-file options I assume?

Also, pulling with cogito-0.12:

cg-clone -s 
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/

I still get:

receiving file list ... done
master

sent 147 bytes  received 863 bytes  2020.00 bytes/sec
total size is 41  speedup is 0.04

receiving file list ... done
progress: 1929 objects, 5796451 bytes, 100% done
pack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.idx
pack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.pack

sent 42599 bytes  received 73373124 bytes  451789.06 bytes/sec
total size is 73178114  speedup is 1.00

receiving file list ... done
v2.6.11
v2.6.11-tree
v2.6.12
v2.6.12-rc2
v2.6.12-rc3
v2.6.12-rc4
v2.6.12-rc5
v2.6.12-rc6
v2.6.13-rc1
v2.6.13-rc2

sent 339 bytes  received 1802 bytes  4282.00 bytes/sec
total size is 410  speedup is 0.19
Missing object of tag v2.6.11... different source (obsolete tag?)
Missing object of tag v2.6.11-tree... different source (obsolete tag?)
Missing object of tag v2.6.12... different source (obsolete tag?)
Missing object of tag v2.6.12-rc2... different source (obsolete tag?)
Missing object of tag v2.6.12-rc3... different source (obsolete tag?)
Missing object of tag v2.6.12-rc4... different source (obsolete tag?)
Missing object of tag v2.6.12-rc5... different source (obsolete tag?)
Missing object of tag v2.6.12-rc6... different source (obsolete tag?)
Missing object of tag v2.6.13-rc1... different source (obsolete tag?)
Missing object of tag v2.6.13-rc2... different source (obsolete tag?)
New branch: 0109fd37046de64e8459f8c4f4706df9ac7cc82c
Cloned (origin 
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
available as branch "origin")
Cloned to ./ (origin 
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
available as branch "origin")

Is the "missing objects" thing spurious?

	-hpa

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linus kernel tree corrupt?
  2005-07-09 18:03       ` H. Peter Anvin
@ 2005-07-10 15:23         ` Petr Baudis
  2005-07-10 20:35           ` H. Peter Anvin
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Baudis @ 2005-07-10 15:23 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Russell King, Tony Luck, Jon Smirl, git

Dear diary, on Sat, Jul 09, 2005 at 08:03:32PM CEST, I got a letter
where "H. Peter Anvin" <hpa@zytor.com> told me that...
> Petr Baudis wrote:
> >
> >Yes, please do. I deprecated rsync a day before Linus "broke" http-pull.
> >It's un-deprecated again for now in the latest Cogito.
> >
> 
> Presumably for packed repos you want to drop the --ignore-existing 
> --whole-file options I assume?

It _is_ unsafe for individual objects, and your packfile will be corrupt
if you break it in the middle and not have --whole-file turned on, I
assume. It would be ideal if we could make rsync allow resuming download
of the file if interrupted, but not under the final name but in that
hidden file it uses.

> sent 339 bytes  received 1802 bytes  4282.00 bytes/sec
> total size is 410  speedup is 0.19
> Missing object of tag v2.6.11... different source (obsolete tag?)
> Missing object of tag v2.6.11-tree... different source (obsolete tag?)
> Missing object of tag v2.6.12... different source (obsolete tag?)
> Missing object of tag v2.6.12-rc2... different source (obsolete tag?)
> Missing object of tag v2.6.12-rc3... different source (obsolete tag?)
> Missing object of tag v2.6.12-rc4... different source (obsolete tag?)
> Missing object of tag v2.6.12-rc5... different source (obsolete tag?)
> Missing object of tag v2.6.12-rc6... different source (obsolete tag?)
> Missing object of tag v2.6.13-rc1... different source (obsolete tag?)
> Missing object of tag v2.6.13-rc2... different source (obsolete tag?)
> New branch: 0109fd37046de64e8459f8c4f4706df9ac7cc82c
> Cloned (origin 
> rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
> available as branch "origin")
> Cloned to ./ (origin 
> rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
> available as branch "origin")
> 
> Is the "missing objects" thing spurious?

Yes, already fixed. Will release 0.12.1 soon.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linus kernel tree corrupt?
  2005-07-10 15:23         ` Petr Baudis
@ 2005-07-10 20:35           ` H. Peter Anvin
  0 siblings, 0 replies; 7+ messages in thread
From: H. Peter Anvin @ 2005-07-10 20:35 UTC (permalink / raw)
  To: Petr Baudis; +Cc: Russell King, Tony Luck, Jon Smirl, git

Petr Baudis wrote:
> 
> It _is_ unsafe for individual objects, and your packfile will be corrupt
> if you break it in the middle and not have --whole-file turned on, I
> assume. It would be ideal if we could make rsync allow resuming download
> of the file if interrupted, but not under the final name but in that
> hidden file it uses.
> 

I think if you just don't give it --partial you're fine (rsync always 
creates a second copy, --partial decides if a partial file should be 
thrown away or not.)

	-hpa

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-07-10 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-08 15:57 Linus kernel tree corrupt? Jon Smirl
2005-07-08 17:06 ` Tony Luck
2005-07-09 10:43   ` Russell King
2005-07-09 11:55     ` Petr Baudis
2005-07-09 18:03       ` H. Peter Anvin
2005-07-10 15:23         ` Petr Baudis
2005-07-10 20:35           ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).