public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* src repo busted?
@ 2012-04-19 17:33 Pedro Alves
  2012-04-19 18:50 ` Christopher Faylor
  0 siblings, 1 reply; 5+ messages in thread
From: Pedro Alves @ 2012-04-19 17:33 UTC (permalink / raw)
  To: overseers

I seem to have managed to do something nasty to the src repo.  I'm getting:

cvs [update aborted]: head attribute does not match file for `/cvs/src/src/gdb/ChangeLog,v

in my regular checkout, and a fresh checkout comes out practically empty.

It seems this has happened before:

 http://sourceware.org/ml/gdb/2004-08/msg00091.html

-- 
Pedro Alves

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

* Re: src repo busted?
  2012-04-19 17:33 src repo busted? Pedro Alves
@ 2012-04-19 18:50 ` Christopher Faylor
  2012-04-19 19:13   ` Pedro Alves
  2012-04-19 19:24   ` Frank Ch. Eigler
  0 siblings, 2 replies; 5+ messages in thread
From: Christopher Faylor @ 2012-04-19 18:50 UTC (permalink / raw)
  To: overseers, Pedro Alves

On Thu, Apr 19, 2012 at 06:33:05PM +0100, Pedro Alves wrote:
>I seem to have managed to do something nasty to the src repo.  I'm getting:
>
>cvs [update aborted]: head attribute does not match file for `/cvs/src/src/gdb/ChangeLog,v
>
>in my regular checkout, and a fresh checkout comes out practically empty.
>
>It seems this has happened before:
>
> http://sourceware.org/ml/gdb/2004-08/msg00091.html

I set up a cron job awhile ago which is supposed to fix this.  Is it
still a problem?

cgf

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

* Re: src repo busted?
  2012-04-19 18:50 ` Christopher Faylor
@ 2012-04-19 19:13   ` Pedro Alves
  2012-04-19 19:24   ` Frank Ch. Eigler
  1 sibling, 0 replies; 5+ messages in thread
From: Pedro Alves @ 2012-04-19 19:13 UTC (permalink / raw)
  To: overseers

On 04/19/2012 07:49 PM, Christopher Faylor wrote:

> On Thu, Apr 19, 2012 at 06:33:05PM +0100, Pedro Alves wrote:
>> I seem to have managed to do something nasty to the src repo.  I'm getting:
>>
>> cvs [update aborted]: head attribute does not match file for `/cvs/src/src/gdb/ChangeLog,v
>>
>> in my regular checkout, and a fresh checkout comes out practically empty.
>>
>> It seems this has happened before:
>>
>> http://sourceware.org/ml/gdb/2004-08/msg00091.html
> 
> I set up a cron job awhile ago which is supposed to fix this.  Is it
> still a problem?


Frank pinged me on irc to try it again, and it works now.  Dunno if that was
your cron job that fixed it.

You probably guessed it, but TBH, last thing I did, was, checking in a patch, and had
one of those "oh, no, this is not what I want to check in, panic, panic, ctrl-c, ctrl-c"
moments.

AFAICS, the /cvs/src/src/gdb/gdbserver/ChangeLog file managed to end up committed
<http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog?rev=1.14136&content-type=text/x-cvsweb-markup&cvsroot=src>
but nothing else did.

Thanks,
-- 
Pedro Alves

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

* Re: src repo busted?
  2012-04-19 18:50 ` Christopher Faylor
  2012-04-19 19:13   ` Pedro Alves
@ 2012-04-19 19:24   ` Frank Ch. Eigler
  2012-04-19 19:39     ` Christopher Faylor
  1 sibling, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2012-04-19 19:24 UTC (permalink / raw)
  To: overseers, Pedro Alves

Hi -

cgf wrote:

> I set up a cron job awhile ago which is supposed to fix this.  [...]

When I tried to rm or mv the fileattrs file by hand, as root, the
kernel gave me -EPERM, for no intelligible reason.  So your cron job
probably couldn't do its job either.  (I could do an echo > ... so the
immediate problem was solved.)

I suspect some sort of mental upset within the kernel, perhaps
justifying a reboot.

- FChE

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

* Re: src repo busted?
  2012-04-19 19:24   ` Frank Ch. Eigler
@ 2012-04-19 19:39     ` Christopher Faylor
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Faylor @ 2012-04-19 19:39 UTC (permalink / raw)
  To: Pedro Alves, overseers, Frank Ch. Eigler

On Thu, Apr 19, 2012 at 03:23:50PM -0400, Frank Ch. Eigler wrote:
>Hi -
>
>cgf wrote:
>
>> I set up a cron job awhile ago which is supposed to fix this.  [...]
>
>When I tried to rm or mv the fileattrs file by hand, as root, the
>kernel gave me -EPERM, for no intelligible reason.  So your cron job
>probably couldn't do its job either.  (I could do an echo > ... so the
>immediate problem was solved.)
>
>I suspect some sort of mental upset within the kernel, perhaps
>justifying a reboot.

The script does a chattr +i on fileattr.  You probably ran afoul of
that.  It zeroes the file with a cp /dev/null ...  so it probably would
have actually fixed the problem eventually.

cgf

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

end of thread, other threads:[~2012-04-19 19:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19 17:33 src repo busted? Pedro Alves
2012-04-19 18:50 ` Christopher Faylor
2012-04-19 19:13   ` Pedro Alves
2012-04-19 19:24   ` Frank Ch. Eigler
2012-04-19 19:39     ` Christopher Faylor

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 read-only IMAP folder(s) and NNTP newsgroup(s).