How to git clone kernel source fast?
Hi, Ming Lin
I'm a college student in China. My research for the master degree is related to Linux kernel, which has driven me to learn a lot about the kernel. Thus It makes me eager to be a kernel contributor. I want to participate the project "Block layer projects that I haven't had time for" raised by Kent. I have read the mails about it in lkml and the source code.
But there is still two problems.
1. Until now my way of getting source is directly download tar package from kernel.org. I know it will be better to use git, but I found that it is quite slow with the speed of only 20 KB per second. I have configured my PC to by pass the annoying GFW so I think it is nothing with it.
I guess you're also in China from your name and you are also participating in this project. So could you help me with it?
2. I'm not quite sure about which tree should I clone and whether the bcache branch is contained in mainline kernel tree. If not, should I clone the bcache tree from this address http://evilpiepirate.org/git/linux-bcache.git?
And I found the address https://github.com/dongsupark/linux%3E gives me a 404 not found response, which is mentioned in lkml by Donsu Park
Thanks a lot!
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141211/46f47bad/attachment.html
Hi Michael,
I am an undergraduate from China. I asked a similar question in the list several days ago.
Considering the connecting situation in my city(Nanjing, Jiangsu), I used CHINATELECOM and it can speed up over 2MB/s when cloning the souce tree. I don't think it is the GFW that causes trouble.
My suggestion is changing to another ISP. Alternatively, I can share my mainline kernel tree(git cloned from git.kernel.org) with you via Baidu Pan:
http://pan.baidu.com/s/1pJ5akjD
You need to git pull to update it after uncompressing because it is a little bit out-of-date.
Hope this can help!
Freeman
-------- Original Message --------
Quoted 27 lines
Hi, Ming Lin
I'm a college student in China. My research for the master degree is related to Linux kernel, which has driven me to learn a lot about the kernel. Thus It makes me eager to be a kernel contributor. I want to participate the project "Block layer projects that I haven't had time for" raised by Kent. I have read the mails about it in lkml and the source code.
But there is still two problems.
1. Until now my way of getting source is directly download tar package from kernel.org. I know it will be better to use git, but I found that it is quite slow with the speed of only 20 KB per second. I have configured my PC to by pass the annoying GFW so I think it is nothing with it.I guess you're also in China from your name and you are also participating in this project. So could you help me with it?
2. I'm not quite sure about which tree should I clone and whether the bcache branch is contained in mainline kernel tree. If not, should I clone the bcache tree from this address http://evilpiepirate.org/git/linux-bcache.git?
And I found the address https://github.com/dongsupark/linux%3E gives me a 404 not found response, which is mentioned in lkml by Donsu ParkThanks a lot!
Michael
Quoted 5 lines
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141211/4c768d1a/attachment.bin
Hi Ming,
I could clone code from your address, but it is much more slower with the speed of only several KB per second. Oh my God!
Fortunately I got pretty useful help from Freeman Zhang in the mailing list. I will be able to clone code soon.
Thanks all the same!
Best regards
Michael
Quoted 39 lines · Ming Lin
Hi Michael,
Can you clone the tree?
git clone https://github.com/dongsupark/linux.gitMing
Quoted 31 lines · ???
Hi, Ming Lin
I'm a college student in China. My research for the master degree is related to Linux kernel, which has driven me to learn a lot about the kernel. Thus It makes me eager to be a kernel contributor. I want to participate the project "Block layer projects that I haven't had time for" raised by Kent. I have read the mails about it in lkml and the source code.
But there is still two problems.
1. Until now my way of getting source is directly download tar package from kernel.org. I know it will be better to use git, but I found that it is quite slow with the speed of only 20 KB per second. I have configured my PC to by pass the annoying GFW so I think it is nothing with it.I guess you're also in China from your name and you are also participating in this project. So could you help me with it?
2. I'm not quite sure about which tree should I clone and whether the bcache branch is contained in mainline kernel tree. If not, should I clone the bcache tree from this address http://evilpiepirate.org/git/linux-bcache.git?
And I found the address https://github.com/dongsupark/linux%3E gives me a 404 not found response, which is mentioned in lkml by Donsu ParkThanks a lot!
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141211/350c1e9f/attachment.html