Android开源工程官方网站http://android.git.kernel.org/不能访问,打开后出现“Nothing to see here - only dreams of electric sheep“页面。
使用git clone git://android.git.kernel.org/kernel/common.git下载出现问题,如下:Initialized empty Git repository in /home/liuyangping/android/kernel/common/.git/
android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)是该网站不能访问,那我该到哪个网站上去下载,有成功下载的么,给个地址,万分感谢!

解决方案 »

  1.   

    刚好遇到这个问题在查, 昨天下载其他一个库还可以的, 现在查到问题了, 可能是运营商禁掉了git的端口,或是其他原因, 用网页还是可以访问http://android.git.kernel.org/kernel/这个地址的, 所以载源码的时候可以用git clone http://android.git.kernel.org/kernel/common.git 源码下载中, 呵呵
      

  2.   

    这样操作下载Kernel部分源码可以, Android部分的暂时没操作过
      

  3.   

    Android源码部分使用repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread然后repo sync是可以下载的。
      

  4.   

    yangpingliu,你是怎么解决问题的?我一直无法下载。
    这是我错误信息:
    ./repo init -u http://android.kit.kernel.org/platform/manifest.git -b gingerbread
    Getting repo ...
       from git://android.git.kernel.org/tools/repo.git
    android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
    android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
    android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
    android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
    android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
    android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
    android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
    fatal: unable to connect a socket (Network is unreachable)
      

  5.   

    有人说是firewall 端口的问题,我用了sock5代理也仍然不行,还是会提示:
    errno=Connection refused
      

  6.   

    可能正如一楼zhpy_0825所说,网络被禁掉了,我是在一个月前下载这一部分的,当时一点问题都没有,可以下载,不知现在怎么回事。内核下载按照zhpy_0825的方法是可以下载的。
      

  7.   

    发现问题了,是你网址打错了
    repo init -u http://android.kit.kernel.org/platform/manifest.git -b gingerbread
    应该是git而不是kit
    你再试一下
      

  8.   

    那是我笔误,用git也还是一样
      

  9.   

    我下载linux kernel 用下面命令,是成功的:
    git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y.git kernel_imx
    就是android的搞不下来,郁闷
      

  10.   

    Android kernel跟Linux kernel不一样吧,上面的是下载Linux kernel。
      

  11.   

    Repo 超时了 .
    分类: Android 2011-03-24 15:35 227人阅读 评论(0) 收藏 举报 
        下载Android源码是比较简单的事情,我在自己家的电脑上轻松搞定。具体下载步骤此处略去不表,详细步骤请参考Android官网的《Get Android Source Code》一章。    参考网址:http://source.android.com/source/download.html
        然而奇怪的是,我在公司的电脑上怎么也下载不下来。我的环境是Windows7下使用VirtualBox虚拟出来的x64 Ubuntu 10.10。当我执行到下面一步时,错误发生了:    $ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread
        repo报告的错误内容大概是:     connected time out ...    ...    fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)        很显然,Repo找不不到android.git.kernel.org服务器!!!!!
        然而有三件事情让我觉得这事实在是诡异万分:
            第一、我的Win7系统和Ubuntu系统,使用网页浏览器都能访问网址  http://android.git.kernel.org                 第二、我所在的项目组有一另外一台机器,装的是x64bit Ubuntu10.10系统,它能成功的下载Android源Source (之前我一直是依靠它来下载Source的)。 
           第三、我尝试过不使用VirtualBox虚拟Ubuntu系统,而是直接装双系统:Win7 + 32bit Ubuntu 10.04。但仍然出现相同的错误。
        我苦思敏想中.......
        只剩下一种可能了,我机器的9418端口被封掉了。
        因为公司出于各种原因考虑,给我们开的端口非常有限,记得上次为了调查实现gmail邮箱需要用到SSH这玩意儿,特地向网管申请开了SSH的端口的.......
        我信心十足的去找网管。果然,我项目组那台机器端口比我的机器的端口开的要多啊!只好请网管帮忙开一下9418端口。
        然而,回来一试,我便再次绝望了,脑细胞死了一个军团的数量,error依旧向我笑啊......Repo依然是connected time out!     我苦思敏想中.......
        这时我想到了一点:9418的端口没戏了,但是不是还有http的80端口吗?死马当成活马医吧:
        Step 1. 编辑 /home/username/bin/repo文件        -  REPO_URL='git://android.git.kernel.org/tools/repo.git'  + REPO_URL='http://android.git.kernel.org/tools/repo.git'
        Step 2. 运行新的命令 $ repo init -u http://android.git.kernel.org/platform/manifest.git -b gingerbread
        Step 3. 修改文件.repo/manifests/default.xml 将   fetch="git://android.git.kernel.org/"  改成fetch="http://android.git.kernel.org/"
        Step 4. 运行命令 repo sync
        搞定!!!
      

  12.   

    http://blog.csdn.net/seker_xinjian/article/details/6274255
      

  13.   

    我出现了相同的状况,但是根据某人的思路改了下。
    repo init-u http://android.git.kernel.org/platform/manifest.git把原来的git 改成http即可。
      

  14.   

    repo init-u http://android.git.kernel.org/platform/manifest.git is OK, but the following error occurs:$ repo sync
    Fetching projects:   1% (2/172)  android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
    android.git.kernel.org[0: 149.20.4.77]: errno=Connection timed out
    android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
    android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
    android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
    android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
    android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
    fatal: unable to connect a socket (Network is unreachable)
    error: Cannot fetch platform/bionic
      

  15.   

    已验证此法可行,关键是修改git为http。谢谢!
      

  16.   

    请参考以下信息(貌似kernel源码被黑了):
    http://php.webtutor.pl/en/2011/09/01/kernel-org-has-been-hacked/
    Kernel.org has been hacked… Google requested to take android repo offline.This hack was discovered on August 28th. Currently all kernel.org boxes are offline to do a backup and are in the process of doing complete reinstalls.How the hackers managed to gain root access is currently unknown and is being investigated. The maintainers of kernel.org are in the process of doing an analysis on the code within git, and the tarballs to confirm that nothing has been modified.Until then, say goodbye to the Android repository:
      

  17.   

    以下信息来自kernel官方:
    http://www.kernel.org/Security breach on kernel.org
    Earlier this month, a number of servers in the kernel.org infrastructure were compromised. We discovered this August 28th. While we currently believe that the source code repositories were unaffected, we are in the process of verifying this and taking steps to enhance security across the kernel.org infrastructure.
    What happened?
        Intruders gained root access on the server Hera. We believe they may have gained this access via a compromised user credential; how they managed to exploit that to root access is currently unknown and is being investigated.
        Files belonging to ssh (openssh, openssh-server and openssh-clients) were modified and running live.
        A trojan startup file was added to the system start up scripts
        User interactions were logged, as well as some exploit code. We have retained this for now.
        Trojan initially discovered due to the Xnest /dev/mem error message w/o Xnest installed; have been seen on other systems. It is unclear if systems that exhibit this message are susceptible, compromised or not. If developers see this, and you don't have Xnest installed, please investigate.
        It *appears* that 3.1-rc2 might have blocked the exploit injector, we don't know if this is intentional or a side affect of another bugfix or change.
    What Has Been Done so far:
        We have currently taken boxes off line to do a backup and are in the process of doing complete reinstalls.
        We have notified authorities in the United States and in Europe to assist with the investigation
        We will be doing a full reinstall on all boxes on kernel.org
        We are in the process of doing an analysis on the code within git, and the tarballs to confirm that nothing has been modified
      

  18.   

    以前我下源码的时候一次就搞定了,没想到现在hacker来了,楼上好运!
      

  19.   

    谁下完了能给我一份吗?我访问不了http://android.git.kernel.org,也下不了。
      

  20.   

    怎么回事? 我也访问不了http://android.git.kernel.org
      

  21.   


    补充下:
    REPO_URL='http://android.git.kernel.org/tools/repo.git'改为:
    REPO_URL='git://codeaurora.org/tools/repo.git'因为 android.git.kernel.org 被封了
      

  22.   

    为什么我的
    repo init -u http://android.git.kernel.org/platfm/manifest.git -b gingerbread
    而且REPO_URL='git://codeaurora.org/tools/repo.git',却还是不能下载,就是没反映啊
      

  23.   

    苦逼。。
    还是下不了,怎么办。android.git.kernel.org 服务器还是挂着的,怎么办
      

  24.   

    还是下载不到,谁知道哪里可以下nexus s的kernel源码的?
      

  25.   

    有人下载 Android 4.0 的源码么
      

  26.   

    git clone msm.git出问题啊
      

  27.   

    怎样下载android内核呢?我已经把android源码下载了。但是下载android内核使用
    git clone git://android.git.kernel.org/kernel/common.git
    出现以下错误
    Initialized empty Git repository in /home/dou/android/kernel/common/.git/
    android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
    fatal: unable to connect a socket (Connection refused)
      

  28.   

    我现在也有同样的需求啊,急求一份android kernel2.6.35啊,哪位好心大侠提供一份啊,跪谢
      

  29.   

    谁下了给我一份version 2.6.29    [email protected]