RE: Git clone stalls at a read(3, ...) saw using strace
- From
- Ribeiro, Humberto Plinio <humberto.ribeiro@siemens.com>
- Date
- Jul 28, 2006, 13:36 UTC
- Message-ID
- <EA24FE8B11562848B4760FD5EB4D2E9401B3F3C2@SAO1016V.ww101.siemens.net>
- In-Reply-To
- <b8bf37780607280258s421faf65o11c5dd241e7a27c6@mail.gmail.com>
Hi, Andre.
After a "ps -ef" I saw two instances of the script defined by GIT_PROXY_COMMAND. Strangely one of those instances was child of the other. A strace showed the scripts were blocked in a "waitpid(-1,". I've killed the child script and the git clone resumed the process.
I didn't understand why this blocking on git happened though. The creation of these two instances (one child of the other) was also strange.
Regards, Humberto
--- Obrigado/Best regards/Mit freundlichen Grüßen/Pozdrawiam Humberto Ribeiro, MSc. SIEMENS Home and Office Communication Phone: +55 92 2129 6205 Mobile: +55 92 8146 3147
-----Original Message----- From: André Goddard Rosa [mailto:andre.goddard@gmail.com] Sent: sexta-feira, 28 de julho de 2006 05:58 To: Pavel Roskin Cc: Git Mailing List; Linus Torvalds; Ribeiro, Humberto Plinio Subject: Re: Git clone stalls at a read(3, ...) saw using strace
On 7/28/06, André Goddard Rosa <andre.goddard@gmail.com> wrote:
Show 55 quoted lines
> On 7/27/06, André Goddard Rosa <andre.goddard@gmail.com> wrote: > > On 7/27/06, Pavel Roskin <proski@gnu.org> wrote: > > > On Thu, 2006-07-27 at 10:50 -0700, Linus Torvalds wrote: > > > > Nope. I have a fairly constant 120kbps, and: > > > > > > > > [torvalds@g5 ~]$ git clone git://source.mvista.com/git/linux-davinci-2.6.git > > > > Checking files out...) > > > > 100% (19754/19754) done > > > > > > Same thing here. Current git from the master branch. > > > > Forgot to say that we are using this script in GIT_PROXY_COMMAND > > environment variable: > > > > (echo "CONNECT $1:$2 HTTP/1.0"; echo; cat ) | nc <proxy_add> <portnum> > > | (read a; read a; cat ) > > > > The first 'read a' removes the 'CONNECT SUCCESS HTTP RESPONSE 200' and > > the second removes an empty line as described here: > > > > http://www.gelato.unsw.edu.au/archives/git/0605/20664.html > > > > I will try from home later again. > > Okey, I tried from home (without the proxy trick) and it behaved a lot > better but my disc went full in the process and I got these messages: > ... > ... > ... > error: git-checkout-index: unable to write file drivers/scsi/mac53c94.c > error: git-checkout-index: unable to write file drivers/scsi/mac53c94.h > error: git-checkout-index: unable to write file drivers/scsi/mac_esp.c > error: git-checkout-index: unable to create file > drivers/scsi/mac_scsi.c (No space left on device) > error: git-checkout-index: unable to create file > drivers/scsi/mac_scsi.h (No space left on device) > error: git-checkout-index: unable to create file > drivers/scsi/mca_53c9x.c (No space left on device) > error: git-checkout-index: unable to create file > drivers/scsi/megaraid.c (No space left on device) > error: git-checkout-index: unable to create file > drivers/scsi/megaraid.h (No space left on device) > fatal: cannot create directory at drivers/scsi/megaraid > > And it finished keeping the downloaded files, but I still cannot see > these files listed above. > I tried to pull but it says that I'm up-to-date: > > doctorture:/opt/downloads/mvista/linux-mvista # git-pull > Already up-to-date. > > I remember that using CVS I just used 'cvs update' after checkout and > it would bring the missing files to me. > > What I'm doing wrong here?
I'm also receiving these messages when trying to change branches:
doctorture:/opt/downloads/mvista/linux-mvista # git-checkout origin fatal: Untracked working tree file '.gitignore' would be overwritten by merge.
Perhaps I will need to download using git-clone again?
Thanks,
-- []s, André Goddard