2008-07-11 03:47:30

by Aneesh Kumar K.V

[permalink] [raw]
Subject: Ext4 patchqueue corrupted ?

Hi All,

[master@ext4-patch-queue]$ git pull
warning: no common commits
remote: Total 0 (delta 0), reused 0 (delta 0)
error: unable to find ec90e41198ede71d186bb7075e2edea7a6daae5a
fatal: object ec90e41198ede71d186bb7075e2edea7a6daae5a not found

kvaneesh@skywalker:/tmp$git clone git://repo.or.cz/ext4-patch-queue.git
Initialized empty Git repository in /tmp/ext4-patch-queue/.git/
remote: Total 0 (delta 0), reused 0 (delta 0)
remote: aborting due to possible repository corruption on the remote side.
error: waitpid (async) failed
fatal: error in sideband demultiplexer

The web interface doesn't list any commits.

-aneesh


2008-07-11 08:47:15

by Petr Baudis

[permalink] [raw]
Subject: Re: Ext4 patchqueue corrupted ?

Hi,

On Fri, Jul 11, 2008 at 09:16:06AM +0530, Aneesh Kumar K.V wrote:
> [master@ext4-patch-queue]$ git pull
> warning: no common commits
> remote: Total 0 (delta 0), reused 0 (delta 0)
> error: unable to find ec90e41198ede71d186bb7075e2edea7a6daae5a
> fatal: object ec90e41198ede71d186bb7075e2edea7a6daae5a not found
>
> kvaneesh@skywalker:/tmp$git clone git://repo.or.cz/ext4-patch-queue.git
> Initialized empty Git repository in /tmp/ext4-patch-queue/.git/
> remote: Total 0 (delta 0), reused 0 (delta 0)
> remote: aborting due to possible repository corruption on the remote side.
> error: waitpid (async) failed
> fatal: error in sideband demultiplexer
>
> The web interface doesn't list any commits.

very puzzling; I have backed up the broken objects store, can you
repush, please? I'm curious about how this could have happenned;
repo.or.cz now uses Git from latest next, which is a rather strange
coincidence. ;-) Or did any of the pushers do anything special about
pushin to the repository recently?

Huge amount of objects is missing, the repository has only few loose
objects and

-rw-rw-r-- 1 repo 65657 1408 2008-07-10 18:56 pack-503b8e3e6f3a650c8bc37df88e8a9d7b6193c900.idx
-rw-rw-r-- 1 repo 65657 3364 2008-07-10 18:56 pack-503b8e3e6f3a650c8bc37df88e8a9d7b6193c900.pack

(By the way, how do I list objects in a pack again? I keep forgetting
the trick...)

--
Petr "Pasky" Baudis
The last good thing written in C++ was the Pachelbel Canon. -- J. Olson

2008-07-11 12:26:17

by Theodore Ts'o

[permalink] [raw]
Subject: Re: Ext4 patchqueue corrupted ?

On Fri, Jul 11, 2008 at 10:47:15AM +0200, Petr Baudis wrote:
> very puzzling; I have backed up the broken objects store, can you
> repush, please? I'm curious about how this could have happenned;
> repo.or.cz now uses Git from latest next, which is a rather strange
> coincidence. ;-) Or did any of the pushers do anything special about
> pushin to the repository recently?

Aneesh, did you try repushing? It looks like the objects store is
broken again.

Pasky, in case it helps, and for the benefit of Linux-ext4 folks, I
have a copy of my repository (which I last pushed to repo.or.cz around
noon US/Eastern yesterday) here:

git://git.kernel.org/pub/scm/fs/ext2/ext4-patch-queue.git

My most recent HEAD is ec90e411; if anyone has something more recent,
they can send it to me via:

git bundle create /tmp/to-send ec90e411

... and then e-mailing me as an attachment the resulting binary file
in /tmp/to-send.

- Ted

2008-07-11 12:31:37

by Aneesh Kumar K.V

[permalink] [raw]
Subject: Re: Ext4 patchqueue corrupted ?

On Fri, Jul 11, 2008 at 08:26:17AM -0400, Theodore Tso wrote:
> On Fri, Jul 11, 2008 at 10:47:15AM +0200, Petr Baudis wrote:
> > very puzzling; I have backed up the broken objects store, can you
> > repush, please? I'm curious about how this could have happenned;
> > repo.or.cz now uses Git from latest next, which is a rather strange
> > coincidence. ;-) Or did any of the pushers do anything special about
> > pushin to the repository recently?
>
> Aneesh, did you try repushing? It looks like the objects store is
> broken again.

I don't have permission to push to the repo. I can only pull.


>
> Pasky, in case it helps, and for the benefit of Linux-ext4 folks, I
> have a copy of my repository (which I last pushed to repo.or.cz around
> noon US/Eastern yesterday) here:
>
> git://git.kernel.org/pub/scm/fs/ext2/ext4-patch-queue.git
>
> My most recent HEAD is ec90e411; if anyone has something more recent,
> they can send it to me via:
>
> git bundle create /tmp/to-send ec90e411
>
> ... and then e-mailing me as an attachment the resulting binary file
> in /tmp/to-send.
>

-aneesh

2008-07-11 12:47:42

by Theodore Ts'o

[permalink] [raw]
Subject: Re: Ext4 patchqueue corrupted ?

On Fri, Jul 11, 2008 at 06:01:09PM +0530, Aneesh Kumar K.V wrote:
> On Fri, Jul 11, 2008 at 08:26:17AM -0400, Theodore Tso wrote:
> > On Fri, Jul 11, 2008 at 10:47:15AM +0200, Petr Baudis wrote:
> > > very puzzling; I have backed up the broken objects store, can you
> > > repush, please? I'm curious about how this could have happenned;
> > > repo.or.cz now uses Git from latest next, which is a rather strange
> > > coincidence. ;-) Or did any of the pushers do anything special about
> > > pushin to the repository recently?
> >
> > Aneesh, did you try repushing? It looks like the objects store is
> > broken again.
>
> I don't have permission to push to the repo. I can only pull.

Right, sorry, I forgot that you didn't have write access to the repo.

Pasky, my attempt to push is failing:

<tytso@closure> {/usr/projects/linux/ext4/.git/patches/ext4dev} [master]
101% git push git+ssh://repo.or.cz/srv/git/ext4-patch-queue.git master:master
Everything up-to-date
error: refs/tags/v2.6.20-ext4-1 does not point to a valid object!
error: refs/tags/v2.6.20-rc5-ext4-1 does not point to a valid object!
<tytso@closure> {/usr/projects/linux/ext4/.git/patches/ext4dev} [master]
102% git push git+ssh://repo.or.cz/srv/git/ext4-patch-queue.git +refs/heads/*:refs/heads/*
error: refs/tags/v2.6.20-ext4-1 does not point to a valid object!
error: refs/tags/v2.6.20-rc5-ext4-1 does not point to a valid object!
Total 0 (delta 0), reused 0 (delta 0)
error: unpack should have generated a1a5e2eaaea5292da062f6dfbed66b5e07d396d3, but I can't find it!
error: unpack should have generated bd5803bec71c494ba3ac7b147fd4d0deed423a5b, but I can't find it!
To git+ssh://repo.or.cz/srv/git/ext4-patch-queue.git
! [remote rejected] 2.6.23-ext4-1 -> 2.6.23-ext4-1 (bad pack)
! [remote rejected] origin -> origin (bad pack)
error: failed to push some refs to 'git+ssh://repo.or.cz/srv/git/ext4-patch-queue.git'

And git ls-remote tells an even sadder tale:

<tytso@closure> {/usr/projects/linux/ext4/.git/patches/ext4dev} [master]
103% git ls-remote git+ssh://repo.or.cz/srv/git/ext4-patch-queue.git
error: missing object referenced by 'refs/tags/2.6.23-ext4-1'
error: missing object referenced by 'refs/tags/2.6.24-ext4-1'
error: missing object referenced by 'refs/tags/2.6.24-ext4-rc4-1'
error: missing object referenced by 'refs/tags/2.6.24-git12-ext4-1'
error: missing object referenced by 'refs/tags/2.6.24-git6-ext4-1'
error: missing object referenced by 'refs/tags/2.6.24-rc1-ext4-1'
error: missing object referenced by 'refs/tags/2.6.24-rc8-ext4-1'
error: missing object referenced by 'refs/tags/2.6.25-git15-ext4-1'
error: missing object referenced by 'refs/tags/2.6.25-rc4-ext4-1'
error: refs/tags/v2.6.20-ext4-1 does not point to a valid object!
error: refs/tags/v2.6.20-rc5-ext4-1 does not point to a valid object!
error: missing object referenced by 'refs/tags/v2.6.20-rc7-ext4-1'
error: missing object referenced by 'refs/tags/v2.6.21-ext4-1'
error: missing object referenced by 'refs/tags/v2.6.22-rc4-ext4-1'
error: missing object referenced by 'refs/tags/v2.6.26-rc2-ext4-1'
ec90e41198ede71d186bb7075e2edea7a6daae5a HEAD
ec90e41198ede71d186bb7075e2edea7a6daae5a refs/heads/master
346bfccb5d3af0ee5bda961d2e2fcbf1c9d71ef6 refs/tags/2.6.23-ext4-1
47f7b357a1468e42a5d16b9f12ceb9d5c0d1da5e refs/tags/2.6.24-ext4-1
558ca8d2472d43341f80627da9bef266a33e29c1 refs/tags/2.6.24-ext4-rc4-1
0f329cb9046106a0bc2ce1e8ba4a1d431e4761fe refs/tags/2.6.24-git12-ext4-1
fb4f7981226285b1cd9230bd584ad8c442441fd1 refs/tags/2.6.24-git6-ext4-1
04ccbce687206f51e8e2d243505381c0da48db2b refs/tags/2.6.24-rc1-ext4-1
058e44f59dc308408ac3558f7d375b1c55e429fe refs/tags/2.6.24-rc8-ext4-1
419fe473159404c4ce0a516e3d435705271de3d8 refs/tags/2.6.25-git15-ext4-1
fe39106438de15396a7083d11cbc1f1511006382 refs/tags/2.6.25-rc4-ext4-1
dfc7edaaea270f4182d748de59ef83d3b679c54b refs/tags/v2.6.20-rc7-ext4-1
fb7f3bc312359e429a7308bf0fcffeb920ab2efc refs/tags/v2.6.21-ext4-1
0db80f52ee3366cae5a0c3276be2f7de1674b09b refs/tags/v2.6.22-rc4-ext4-1
be15cbe06b269fcacb80b8d8484ec606f5788de1 refs/tags/v2.6.26-rc2-ext4-1

Can you completely zap the repository replace it with a freshly
"git init"-ialized files, and I'll try repushing?

Thanks!!

- Ted

2008-07-11 13:13:43

by Petr Baudis

[permalink] [raw]
Subject: Re: Ext4 patchqueue corrupted ?

Hi,

On Fri, Jul 11, 2008 at 08:47:42AM -0400, Theodore Tso wrote:
> Can you completely zap the repository replace it with a freshly
> "git init"-ialized files, and I'll try repushing?

right, I have done that now. For anyone interested in the corrupted
repository, the backed up refs and objects directories are still in the
repository under the name *.broken, e.g. at

http://repo.or.cz/r/ext4-patch-queue.git

I will try to analyze it myself later.

--
Petr "Pasky" Baudis
The last good thing written in C++ was the Pachelbel Canon. -- J. Olson