'bad file' error updating from Linus

6 messages, 4 authors, 2016-06-15 · open the first message on its own page

'bad file' error updating from Linus

From: walt <hidden>
Date: 2016-06-15 22:42:07

cg-update this morning is giving me this error:

receiving file list ... done
v2.6.14-rc2

wrote 134 bytes  read 1116 bytes  833.33 bytes/sec
total size is 738  speedup is 0.59
Tree change: 044a500e46742d39d22f1781cfb64ba93b463e39:e98c07b9eabedfb1d7ebef61af475bdebe1dd64d
error: unable to find e98c07b9eabedfb1d7ebef61af475bdebe1dd64d
fatal: git-cat-file e98c07b9eabedfb1d7ebef61af475bdebe1dd64d: bad file
error: unable to find e98c07b9eabedfb1d7ebef61af475bdebe1dd64d
fatal: git-cat-file e98c07b9eabedfb1d7ebef61af475bdebe1dd64d: bad file
Invalid tree id: e98c07b9eabedfb1d7ebef61af475bdebe1dd64d

Is this a kernel.org rsync problem, perhaps?

(I'm running the latest releases of cogito and git from kernel.org.)

Re: 'bad file' error updating from Linus

From: <hidden>
Date: 2016-06-15 22:42:07

You aren't alone.  I had a look at http://www.kernel.org/git/  only to
find that the 2.6 kernel has been taken off the list...  /me thinks
Linus is pushing an update as I type.

On a whim, I'll suggest we relax and go get some breakfast. ;-)   and
try again a little later...

Cheers!
-P

On 9/22/05, walt [off-list ref] wrote:
cg-update this morning is giving me this error:

receiving file list ... done
v2.6.14-rc2

wrote 134 bytes  read 1116 bytes  833.33 bytes/sec
total size is 738  speedup is 0.59
Tree change: 044a500e46742d39d22f1781cfb64ba93b463e39:e98c07b9eabedfb1d7ebef61af475bdebe1dd64d
error: unable to find e98c07b9eabedfb1d7ebef61af475bdebe1dd64d

Re: 'bad file' error updating from Linus

From: walt <hidden>
Date: 2016-06-15 22:42:07

porpen@gmail.com wrote:
You aren't alone.  I had a look at http://www.kernel.org/git/  only to
find that the 2.6 kernel has been taken off the list...  /me thinks
Linus is pushing an update as I type...
I think it was a disk failure, but no matter -- it's fixed now.

For the benefit of future googlers with the same 'bad file' error:

After I repeated the cg-update (successfully) I was still left with
the 'bad file' error.  I tried 'cg-restore' and the error went away.
Very nifty!

Re: 'bad file' error updating from Linus

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:07


On Thu, 22 Sep 2005, walt wrote:
I think it was a disk failure, but no matter -- it's fixed now.
Nope, it's not.

It just depends on which IP address you happen to get when you look at 
www.kernel.org.

www.kernel.org resolves to two addresses:

	Name:   zeus-pub.kernel.org
	Address: 204.152.191.5
	Name:   zeus-pub.kernel.org
	Address: 204.152.191.37

and the .5 address is working, but the .37 address has the broken mirror.

I thought hpa took it out of service while it was re-syncing, but 
apparently not. 

		Linus

Re: 'bad file' error updating from Linus

From: walt <hidden>
Date: 2016-06-15 22:42:07

walt wrote:
[...]
After I repeated the cg-update (successfully) I was still left with
the 'bad file' error.  I tried 'cg-restore' and the error went away.
Oops -- correction!

After encountering the same problem on a different machine, I find
that 'cg-reset' is the one which fixed the error, not 'cg-restore'.

I believe that I tried both commands on the first machine, so I was
uncertain which one actually did the fix.

Re: 'bad file' error updating from Linus

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:42:07

Linus Torvalds wrote:
Nope, it's not.

It just depends on which IP address you happen to get when you look at 
www.kernel.org.

www.kernel.org resolves to two addresses:

	Name:   zeus-pub.kernel.org
	Address: 204.152.191.5
	Name:   zeus-pub.kernel.org
	Address: 204.152.191.37

and the .5 address is working, but the .37 address has the broken mirror.

I thought hpa took it out of service while it was re-syncing, but 
apparently not. 
Well, it had resynched, but the time and date stamp on the 
refs/heads/master file were correct - just the data wrong - so rsync 
didn't flag the file.  I forced rsync --checksum and it's correct now.

	-hpa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help