[U-Boot-Users] System hangs while starting: get clone http://git.denx.de/u-boot-at91.git

Ken.Fuchs at bench.com Ken.Fuchs at bench.com
Fri Apr 11 22:50:23 CEST 2008


$ git clone http://git.denx.de/u-boot-at91.git
Initialized empty Git repository in
/cygdrive/n/ken/U-Boot/git/u-boot-at91/.git/
Getting alternates list for http://git.denx.de/u-boot-at91.git
Also look at http://git.denx.de/git/u-boot.git/
Getting pack list for http://git.denx.de/u-boot-at91.git
Getting index for pack 81da41f7a1148cfa60fc9aef9f72cd94f5267927
Getting index for pack e08fa2dfbf5cec4a1c3f5999e3dc83e7d3292f13
Getting pack e08fa2dfbf5cec4a1c3f5999e3dc83e7d3292f13
 which contains b5873f1732b92a25690e1513b90dfb0d644f6697
walk b5873f1732b92a25690e1513b90dfb0d644f6697
walk 3ca7c558eba36332556bc470d45e2f5d42bd0ca6
Getting pack list for http://git.denx.de/git/u-boot.git/
error: Unable to find 7c56594381a62abb57f0dcd63c0ccccfc4f5e55e under
http://git.denx.de/u-boot-at91.git
Cannot obtain needed blob 7c56594381a62abb57f0dcd63c0ccccfc4f5e55e
while processing commit 3ca7c558eba36332556bc470d45e2f5d42bd0ca6.
Waiting for
http://git.denx.de/git/u-boot.git//objects/63/8cbc2567ba46bb41c2ed6da0d6
bf0d57af3d87
Waiting for
http://git.denx.de/git/u-boot.git//objects/73/d9625beadea1a39a4073f95da9
be2f944806a8
Received DONE message for unknown request!
Received DONE message for unknown request!
Received DONE message for unknown request!
Received DONE message for unknown request!
<Hang>

$ 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




More information about the U-Boot mailing list