Nicolas Muñoz
2009-Oct-20 11:04 UTC
[Xen-users] Timeout when automatically getting linux 2.6.18 sources
Hi, I am currently trying to (re)install Xen 3.5 unstable on a Debian lenny machine. Although I never had troubles with that in the past, it seems that the automatic download of linux 2.6.18 sources does not work this time. I did not change anything to my method of installation, I just do the necessary modifications for vTPM handling: - VTPM_TOOLS ?= y *in Config.mk* - BUILD_EMULATOR = n *in tools/vtpm/Rules.mk* - dmi_type = VTPM_TYPE_MIGRATABLE *in tools/vtpm_manager/manager/dmictl.c* - #define TPM_STRONG_PERSISTENCE *in tools /vtpm/vtpm/tpm/tpm_emulator.h* Then I just perform a make dist, and here is what I get: + git clone http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-pvops.git.tmp Initialized empty Git repository in /usr/src/xen-unstable/linux-2.6-pvops.git.tmp/.git/ error: Connection time-out warning: remote HEAD refers to nonexistent ref, unable to checkout. + cd linux-2.6-pvops.git.tmp + git checkout xen/master error: pathspec ''xen/master'' did not match any file(s) known to git. make[2]: *** [linux-2.6-pvops.git/.valid-src] Error 1 make[2]: Leaving directory `/usr/src/xen-unstable'' make[1]: *** [linux-2.6-pvops-install] Error 2 make[1]: Leaving directory `/usr/src/xen-unstable'' make: *** [install-kernels] Error 1 I don''t know much things about Git, but it seems that the problem comes from the repos, not from Git itself, right? Here are some precisions about my running system: - I am working behind a proxy. In order to have Git working, I use the following script : #!/bin/sh # chmod +x /bin/gitproxy # git config --global core.gitproxy gitproxy _proxy=myproxy _proxyport=myport exec socat STDIO PROXY:$_proxy:$1:$2,proxyport=$_proxyport It used to work, so I guess the problem does not come from here, but just to be sure I thought it could be useful to notice it. - I can successfully access to the address indicated for the git clone ( http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git) Cobra:/home/nicolas# wget http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git --2009-10-20 11:53:00-- http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git Resolving myproxy... 16.25.132.170, 15.25.0.20 Connecting to myproxy|16.25.132.170|:8088... connected. Proxy request sent, awaiting response... 301 Moved Permanently Location: http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git/[following] --2009-10-20 11:53:01-- http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git/ Connecting to myproxy|16.25.132.170|:8088... connected. Proxy request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `index.html'' [ <=> ] 1,320 --.-K/s in 0s 2009-10-20 11:53:01 (180 MB/s) - `index.html'' saved [1320] *So two questions I guess* : - How can I solve my problem? - If the problem is apparently unsolvable, can I just download 2.6.18 sources here (*http://xenbits.xensource.com/linux-2.6.18-xen.hg*) and have the same result I would have with automatic download? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Oct-21 02:57 UTC
Re: [Xen-users] Timeout when automatically getting linux 2.6.18 sources
On Tue, Oct 20, 2009 at 6:04 PM, Nicolas Muñoz <nicolas.munoz.zz@gmail.com> wrote:> Hi, > > I am currently trying to (re)install Xen 3.5 unstable on a Debian lenny > machine. Although I never had troubles with that in the past, it seems that > the automatic download of linux 2.6.18 sources does not work this time.3.5 unstable does not use 2.6.18 by default> I did not change anything to my method of installation, I just do the > necessary modifications for vTPM handling:> + git clone http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-pvops.git.tmpexactly.> error: Connection time-outProbably network or server error. You could probably do this to compile xen and userland only - make xen - make tools - make install-xen - make install-tools ... and then compile the kernel separately. Snapshot of Jeremy''s kernel tree is also available from http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=summary -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users