Hi Sreenaath. See my replies below. Also, let's take the rest of these questions offline from the list - just mail me privately. -Christoffer On Thu, Apr 29, 2010 at 10:16 PM, sreenaath vasudevan <sreenaathkv at gmail.com> wrote: > Christoffer > Currently I am not sure If I ll be able to contribute. Depending on how my > research goes, I should be able to decide, although I hope to contribute. > > On Thu, Apr 29, 2010 at 4:37 AM, Christoffer Dall > <christofferdall at christofferdall.dk> wrote: >> >> Hi Sreenaath. >> >> Do you plan on contributing to the development or just try out the >> existing? >> >> On Thu, Apr 29, 2010 at 4:32 AM, sreenaath vasudevan >> <sreenaathkv at gmail.com> wrote: >> > Hi >> > Yeah. It looks like a server problem. It got it resolved. Thanks... >> > Now I am running in to other issues while following the wiki @ >> > >> > https://wiki.ncl.cs.columbia.edu/wiki/index.php/AndroidVirt:Guides:Development_Environment >> > >> > Problem I - Not able to checkout android-goldfish-2.6.27-kvm >> > 1. I cloned the five repositories linux-android-common, >> > linux-android-msm, >> > linux-guest, linux-kvm-arm and qemu. I cloned them like 'git clone >> > git://git.ncl.cs.columbia.edu/pub/git/linux-android-common.git'. >> > Basically I >> > am doing an anonymous clone as I dont my ssh-key setup in the server. >> > >> > 2. After cloning all the five repos, when I executed the following I ran >> > in >> > to error from git. >> > >> > ------------------------------------------------------------------------------------------------------------------- >> > $ cd linux-android-common >> > $ git checkout -b android-goldfish-2.6.27-kvm --track >> > ncl/android-goldfish-2.6.27-kvm >> > >> > fatal: git checkout: updating paths is incompatible with switching >> > branches. >> > Did you intend to checkout 'ncl/android-goldfish-2.6.27-kvm' which can >> > not >> > be resolved as commit? >> > >> > ------------------------------------------------------------------------------------------------------------------- >> > >> > I know that I did not use -o ncl while cloning the repo >> > 'linux-android-common'. I dont know how to get the above step correct. >> >> well, you answered your own question - any specific reason why you >> didn't want to follow the instructions simply? :) >> >> when not using -o ncl, git uses a default name for the remote - namely >> origin. Do some google'ing and these things will be clearer. For >> instance, try reading this: >> http://www.eecs.harvard.edu/~cduan/technical/git/git-4.shtml >> >> so, you should be able to do: >> git checkout -b android-goldfish-2.6.27-kvm --track >> origin/android-goldfish-2.6.27-kvm >> >> you can also do a 'git remote' to see your remotes. > > Well the reason I did not want to try out too many things is that I just > wanted to follow the instructions in wiki, where it did not mention about > using -o ncl for anonymous (although I should have tried that and later > referenced that while checking out). I am sorry about that. > no problem >> >> > >> > Problem II- Not able to clone 'android-extra' >> > 1. Since I could not checkout the branch android-goldfish-2.6.27-kvm in >> > 'linux-android-common' folder, I went to the git web repo of >> > 'linux-android-common'? and went to the fix where changes for >> > 'android-goldfish-2.6.27-kvm' were made and merged >> > >> > (http://git.ncl.cs.columbia.edu/git/?p=linux-android-common.git;a=commit;h=1ac012fee91c89594c29c79ce9e9c3b74077f35a) >> > and took the snapshot and made sure it has the code changes by verifying >> > from the diffs. >> > >> > 2. With the above step I went ahead with the wiki. But then I could not >> > do >> > anonymous clone of the 'android-extra.git' repository. When I tried to >> > do >> > that this is the error I got >> > >> > >> > ------------------------------------------------------------------------------------------------------------------- >> > root at ubuntu:/media/new_partition/android_kvm# git clone >> > git://git.ncl.cs.columbia.edu/pub/git/android-extra.git >> > Initialized empty Git repository in >> > /media/new_partition/android_kvm/android-extra/.git/ >> > fatal: The remote end hung up unexpectedly >> > >> > ------------------------------------------------------------------------------------------------------------------- >> > >> > How can I do an anonymous clone of 'android-extra' ? Do I need my >> > ssh-key in >> > the server to get that so that I can clone using my username ? >> >> I'll get an anonymous version of android-extra up and running. For >> now, I registered your SSH key, so you can do: >> git clone >> gitosis at git.ncl.cs.columbia.edu:ncl/android-virt/android-extra.git > > > I tried this. Looks like my ssh key is setup in the server, but I dont have > read permissions for the repos. (Since my ssh-key is setup in the server > while I try to do plain ssh login, atleast authentication using my > public-private key pair succeeds.) I am giving the output below. ok, try it again, I changed the way the format of the key. > --------------------------------------------------------------------------------------------------------------------------------- > notroot at ubuntu:~$ git clone > gitosis at git.ncl.cs.columbia.edu:ncl/android-virt/linux-android-common > Initialized empty Git repository in /home/notroot/linux-android-common/.git/ > ERROR:gitosis.serve.main:Repository read access denied > fatal: The remote end hung up unexpectedly > > notroot at ubuntu:~$ ssh -v gitosis at git.ncl.cs.columbia.edu > OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007 > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: Applying options for * > debug1: Connecting to git.ncl.cs.columbia.edu [128.59.18.155] port 22. > debug1: Connection established. > debug1: identity file /home/notroot/.ssh/identity type -1 > debug1: identity file /home/notroot/.ssh/id_rsa type -1 > debug1: identity file /home/notroot/.ssh/id_dsa type -1 > debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 > Debian-6ubuntu2 > debug1: match: OpenSSH_5.1p1 Debian-6ubuntu2 pat OpenSSH* > debug1: Enabling compatibility mode for protocol 2.0 > debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-6ubuntu2 > debug1: SSH2_MSG_KEXINIT sent > debug1: SSH2_MSG_KEXINIT received > debug1: kex: server->client aes128-cbc hmac-md5 none > debug1: kex: client->server aes128-cbc hmac-md5 none > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP > debug1: SSH2_MSG_KEX_DH_GEX_INIT sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY > debug1: Host 'git.ncl.cs.columbia.edu' is known and matches the RSA host > key. > debug1: Found key in /home/notroot/.ssh/known_hosts:3 > debug1: ssh_rsa_verify: signature correct > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug1: SSH2_MSG_NEWKEYS received > debug1: SSH2_MSG_SERVICE_REQUEST sent > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug1: Authentications that can continue: publickey,password > debug1: Next authentication method: publickey > debug1: Offering public key: notroot at ubuntu > debug1: Remote: Forced command: gitosis-serve sreenaath > debug1: Remote: Port forwarding disabled. > debug1: Remote: X11 forwarding disabled. > debug1: Remote: Agent forwarding disabled. > debug1: Remote: Pty allocation disabled. > debug1: Server accepts key: pkalg ssh-dss blen 433 > debug1: Remote: Forced command: gitosis-serve sreenaath > debug1: Remote: Port forwarding disabled. > debug1: Remote: X11 forwarding disabled. > debug1: Remote: Agent forwarding disabled. > debug1: Remote: Pty allocation disabled. > debug1: Authentication succeeded (publickey). > debug1: channel 0: new [client-session] > debug1: Requesting no-more-sessions at openssh.com > debug1: Entering interactive session. > debug1: Sending environment. > debug1: Sending env LANG = en_US.UTF-8 > PTY allocation request failed on channel 0 > ERROR:gitosis.serve.main:Need SSH_ORIGINAL_COMMAND in environment. > ????????????????????????????????????????????????????????????????? debug1: > client_input_channel_req: channel 0 rtype exit-status reply 0 > debug1: client_input_channel_req: channel 0 rtype eow at openssh.com reply 0 > debug1: channel 0: free: client-session, nchannels 1 > Connection to git.ncl.cs.columbia.edu closed. > Transferred: sent 2640, received 3048 bytes, in 0.5 seconds > Bytes per second: sent 5252.8, received 6064.6 > debug1: Exit status 1 > --------------------------------------------------------------------------------------------------------------------------------- > >> >> > >> > It would be great if someone can tell me the steps for cloning >> > anonymously n >> > setting up by? overcoming these problems. >> > >> > >> > >> > >> > >> > On Wed, Apr 28, 2010 at 8:09 PM, Christoffer Dall >> > <christofferdall at christofferdall.dk> wrote: >> >> >> >> hmm, seems like an error on the server. >> >> >> >> try again. >> >> >> >> -Christoffer >> >> >> >> On Thu, Apr 29, 2010 at 12:29 AM, sreenaath vasudevan >> >> <sreenaathkv at gmail.com> wrote: >> >> > Hi Christopher >> >> > I think while writing my previous e-mail I missed the ".git". But >> >> > while >> >> > firing the command I gave the full path. >> >> > I tried it again with ".git" as you have mentioned and the error >> >> > remains >> >> > to >> >> > be the same. Please do let me know if I am doing something wrong. >> >> > >> >> > >> >> > >> >> > ---------------------------------------------------------------------------------------------------------------- >> >> > root at ubuntu:/media/new_partition/android_kvm# git clone >> >> > git://git.ncl.cs.columbia.edu/pub/git/linux-android-common.git >> >> > Initialized empty Git repository in >> >> > /media/new_partition/android_kvm/linux-android-common/.git/ >> >> > remote: error: object directory >> >> > >> >> > >> >> > /home/root/srv/gitosis/repositories/ncl/android-virt/linux-kvm-arm.git/objects >> >> > does not exist; check .git/objects/info/alternates. >> >> > remote: Total 0 (delta 0), reused 0 (delta 0) >> >> > remote: aborting due to possible repository corruption on the remote >> >> > side. >> >> > error: waitpid (async) failed >> >> > fatal: error in sideband demultiplexer >> >> > >> >> > >> >> > ---------------------------------------------------------------------------------------------------------------- >> >> > >> >> > >> >> > On Wed, Apr 28, 2010 at 7:20 PM, Christoffer Dall >> >> > <christofferdall at christofferdall.dk> wrote: >> >> >> >> >> >> I think you simply forgot the .git in the clone path. You should do: >> >> >> >> >> >> git clone >> >> >> git://git.ncl.cs.columbia.edu/pub/git/linux-android-common.git >> >> >> >> >> >> -Christoffer >> >> >> >> >> >> 2010/4/28 sreenaath vasudevan <sreenaathkv at gmail.com>: >> >> >> > Hi >> >> >> > I am new to this forum. >> >> >> > I am trying to follow the wiki @ >> >> >> > >> >> >> > >> >> >> > >> >> >> > https://wiki.ncl.cs.columbia.edu/wiki/index.php/AndroidVirt:Guides:Development_Environment >> >> >> > I have an account setup with the wiki and mailing list but I have >> >> >> > not >> >> >> > sent >> >> >> > my ssh-key. >> >> >> > >> >> >> > When trying to clone the repository 'linux-android-common' I get >> >> >> > the >> >> >> > following error. However I am able to clone repositories like >> >> >> > 'linux-kvm-arm' and 'linux-android-msm'. Is my ssh-key needed to >> >> >> > clone >> >> >> > 'linux-android-common' ? >> >> >> > If so, I am attaching my 1024 bit ssh-key along with this e-mail. >> >> >> > If >> >> >> > not, >> >> >> > please do let me know how to get 'linux-android-common' cloned. >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >> >> >> > notroot at ubuntu:/media/new_partition/android_kvm$ sudo git clone >> >> >> > git://git.ncl.cs.columbia.edu/pub/git/linux-android-common >> >> >> > Initialized empty Git repository in >> >> >> > /media/new_partition/android_kvm/linux-android-common/.git/ >> >> >> > remote: error: object directory >> >> >> > >> >> >> > >> >> >> > >> >> >> > /home/root/srv/gitosis/repositories/ncl/android-virt/linux-kvm-arm.git/objects >> >> >> > does not exist; check .git/objects/info/alternates. >> >> >> > remote: Total 0 (delta 0), reused 0 (delta 0) >> >> >> > remote: aborting due to possible repository corruption on the >> >> >> > remote >> >> >> > side. >> >> >> > error: waitpid (async) failed >> >> >> > fatal: error in sideband demultiplexer >> >> >> > >> >> >> > >> >> >> > >> >> >> > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >> >> >> > >> >> >> > -- >> >> >> > regards >> >> >> > sreenaath >> >> >> > >> >> >> > _______________________________________________ >> >> >> > Android-virt mailing list >> >> >> > Android-virt at lists.cs.columbia.edu >> >> >> > https://lists.cs.columbia.edu/cucslists/listinfo/android-virt >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > regards >> >> > sreenaath >> >> > >> > >> > >> > >> > -- >> > regards >> > sreenaath >> > > > > > -- > regards > sreenaath >