repo sync hangs

3,671 views
Skip to first unread message

Wei Liao

unread,
Dec 22, 2011, 9:24:25 AM12/22/11
to Android Building
repo sync hangs at various point, I searched around the forum, it is
exactly as mentioned in "repo sync stalling"

http://groups.google.com/group/android-building/browse_thread/thread/dddb7820b4bc8260/2a049fe1d9efd31d?lnk=gst&q=repo+sync#2a049fe1d9efd31d

I tried the suggestions mentioned there but didn't work for me, still
hangs, I've been at this for days. What am I to do?

Also, here's an excerpt of the repo sync output, look at the crazy
percentage?!

Downloading dalvik: 1800% (36MB/2MB) Receiving objects: 6%
(254/4215), 67.99
Downloading development: 336% (37MB/11MB) Receiving objects: 17%
(729/4215), 1
Downloading dalvik: 1850% (37MB/2MB) Receiving objects: 71%
(3020/4215), 1.00

rohit mishra

unread,
Dec 22, 2011, 12:04:35 PM12/22/11
to android-...@googlegroups.com
I would suggest that u install latest GIT download it from and install 1.7.7 version of GIT

http://git-scm.com/download


--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

Wei Liao

unread,
Dec 22, 2011, 12:17:21 PM12/22/11
to Android Building
Hi, I already have 1.7.7.4 though. I was looking at this post:
http://stackoverflow.com/questions/2091474/repo-sync-problem, someone
mentioned this could be an issue with TCP Window Scaling, I followed
the suggestion to disable current session with $ sudo sysctl -w
net.ipv4.tcp_window_scaling=0, that did get the sync progress a lot
further, but...still hangs.


On Dec 22, 12:04 pm, rohit mishra <rohit.rk.mis...@gmail.com> wrote:
> I would suggest that u install latest GIT download it from and install
> 1.7.7 version of GIT
>
> http://git-scm.com/download
>
>
>
>
>
>
>
> On Thu, Dec 22, 2011 at 7:54 PM, Wei Liao <wliao...@gmail.com> wrote:
> > repo sync hangs at various point, I searched around the forum, it is
> > exactly as mentioned in "repo sync stalling"
>
> >http://groups.google.com/group/android-building/browse_thread/thread/...

Michael Breuer

unread,
Dec 25, 2011, 1:49:49 PM12/25/11
to android-...@googlegroups.com
Found something in the repo group that solved this for me. Long story short: make sure there are no spaces in your name when you do the repo init.

Wei Liao

unread,
Dec 28, 2011, 4:13:52 PM12/28/11
to Android Building
Thanks. I ended up doing a combination:
$ sudo sysctl -w net.ipv4.tcp_window_scaling=0
$ repo sync -j1
to force a single thread, that did get me the source ok, so maybe the
parallel download wasn't working for me.

Kevin Wilcox

unread,
Feb 23, 2012, 1:43:13 PM2/23/12
to android-...@googlegroups.com
note: if you are running your linux machine as a VM in VMware ESX check to see if your nic is set up using the "flexible" adapter.  If so, install vmware tools and replace it with the VMXNET3 adapter.  Installing tools will add drivers for this type of NIC which is optimized for use with the ESX hypervisor in a VM.  This is what ultimately fixed my issue.
Reply all
Reply to author
Forward
0 new messages