[U-Boot-Users] System hangs while starting: get clone of u-boot-at91.git - part 2 of 2

$ strace git clone http://git.denx.de/u-boot-at91.git
Here is strace output of one iteration of the infinite loop.
90 3571246 [main] git-http-fetch 2780 cygwin_select: 6, 0x22C550, 0x22C530, 0x22C510, 0x22C5B0 42 3571288 [main] git-http-fetch 2780 dtable::select_write: fd 5 20 3571308 [main] git-http-fetch 2780 dtable::select_except: fd 5 19 3571327 [main] git-http-fetch 2780 cygwin_select: to->tv_sec 0, to->tv_usec 0, ms 0 19 3571346 [main] git-http-fetch 2780 cygwin_select: sel.always_ready 0 21 3571367 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 19 3571386 [main] git-http-fetch 2780 socket_cleanup: si 0x0 si->thread 0x0 19 3571405 [main] git-http-fetch 2780 socket_cleanup: returning 19 3571424 [main] git-http-fetch 2780 peek_socket: considering handle 0x5D4 20 3571444 [main] git-http-fetch 2780 peek_socket: adding write fd_set , fd 5 19 3571463 [main] git-http-fetch 2780 peek_socket: adding except fd_set , fd 5 30 3571493 [main] git-http-fetch 2780 peek_socket: WINSOCK_SELECT returned 0 20 3571513 [main] git-http-fetch 2780 select_stuff::poll: returning 0 20 3571533 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 18 3571551 [main] git-http-fetch 2780 select_stuff::~select_stuff: deleting select records 37 3571588 [main] git-http-fetch 2780 cygwin_select: 0, 0x22C748, 0x22C740, 0x22C738, 0x22C730 22 3571610 [main] git-http-fetch 2780 cygwin_select: to->tv_sec 0, to->tv_usec 50000, ms 50 19 3571629 [main] git-http-fetch 2780 cygwin_select: sel.always_ready 0 50415 3622044 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 566 3622610 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 531 3623141 [main] git-http-fetch 2780 select_stuff::~select_stuff: deleting select records
I usually stop it by killing the only current invocation of git-http-fetch. It leaves only an empty ./u-boot-91/.git/clone-tmp, though it does create other directories in .git temporarily.
This problem has been repeatable for nearly the past 2 hours.
I did a clone of the same git repository without any problems earlier today, except it wouldn't build properly.
Any suggestions about what is wrong with the clone attempt and what can be done to fix it?
Thanks,
Ken Fuchs

On Fri, 11 Apr 2008 16:20:00 -0500 Ken.Fuchs@bench.com wrote:
I did a clone of the same git repository without any problems earlier today, except it wouldn't build properly.
Any suggestions about what is wrong with the clone attempt and what can be done to fix it?
I'd have said use the git: protocol, but that doesn't seem to help either:
Initialized empty Git repository in /home/kim/git/hmm.git/.git/ git.denx.de[0: 0.0.0.1]: errno=Success fatal: unable to connect a socket (Success) fetch-pack from 'git://git.denx.de/u-boot.git' failed.
maybe this has something to do with denx.de's new git server. I'll fwd this to root.
Kim
p.s. I suspect if you update your git, it'll error out without hanging.

In message 20080411163714.cf44e98a.kim.phillips@freescale.com you wrote:
I'd have said use the git: protocol, but that doesn't seem to help either:
It worked fine for me...
Initialized empty Git repository in /home/kim/git/hmm.git/.git/ git.denx.de[0: 0.0.0.1]: errno=Success fatal: unable to connect a socket (Success) fetch-pack from 'git://git.denx.de/u-boot.git' failed.
-> git clone git://git.denx.de/u-boot-at91.git Initialized empty Git repository in /tmp/u-boot-at91/.git/ remote: Counting objects: 55824, done. remote: Compressing objects: 100% (11192/11192), done. remote: Total 55824 (delta 44630), reused 55502 (delta 44308) Receiving objects: 100% (55824/55824), 20.08 MiB | 651 KiB/s, done. Resolving deltas: 100% (44630/44630), done. ->
maybe this has something to do with denx.de's new git server. I'll fwd this to root.
...
p.s. I suspect if you update your git, it'll error out without hanging.
... or simply work, at least with git protocol.
Best regards,
Wolfgang Denk

On Fri, 11 Apr 2008 23:40:37 +0200 Wolfgang Denk wd@denx.de wrote:
... or simply work, at least with git protocol.
ok, it works when I s/git.denx.de/www.denx.de/, using the git protocol. This might have something to do with our firewall though.
Kim

Hi Ken,
This problem has been repeatable for nearly the past 2 hours.
I did a clone of the same git repository without any problems earlier today, except it wouldn't build properly.
Any suggestions about what is wrong with the clone attempt and what can be done to fix it?
The problem was an (now) incorrect http-alternates file in the repositories. All repositories have been fixed. Let me know if any further problem appears.
Cheers Detlev
participants (4)
-
Detlev Zundel
-
Ken.Fuchs@bench.com
-
Kim Phillips
-
Wolfgang Denk