kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Problem in Getting Mainline Kernel
@ 2014-12-04 12:21 Freeman Zhang
  2014-12-04 12:30 ` Vinícius Tinti
  2014-12-04 13:12 ` Kristof Provost
  0 siblings, 2 replies; 6+ messages in thread
From: Freeman Zhang @ 2014-12-04 12:21 UTC (permalink / raw)
  To: kernelnewbies

Hi list,

I cloned it for nearly 30 hours due to the poor connection :( How I wish
the cloning process is resumable.

Finally I cloned the mainline kernel from
"git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git".
However, when I'm looking at the git directory, I got nothing but:

	.   ..	arch  .DS_Store  .git  .gitignore  .mailmap

I'm confused. I thought it would be like this:

	arch           include      mm               security
	block          init         modules.builtin  sound
	COPYING        ipc          modules.order    System.map
	CREDITS        Kbuild       Module.symvers   tools
	crypto         Kconfig      net              usr
	Documentation  kernel       README           virt
	drivers        lib          REPORTING-BUGS   vmlinux
	firmware       MAINTAINERS  samples          vmlinux.o
	fs             Makefile     scripts

Is my clone broken? I ran `git pull` and it said the clone is
up-to-date. And the size of .git directory is over 1 GB.

Now I'm using `tar.xz` from kernel.org and it works just fine. But I
still want to know what I should do with my git clone.


All the best!

Freeman Zhang


	
	

-------------- 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/20141204/b0316941/attachment.bin 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problem in Getting Mainline Kernel
  2014-12-04 12:21 Problem in Getting Mainline Kernel Freeman Zhang
@ 2014-12-04 12:30 ` Vinícius Tinti
  2014-12-04 13:12 ` Kristof Provost
  1 sibling, 0 replies; 6+ messages in thread
From: Vinícius Tinti @ 2014-12-04 12:30 UTC (permalink / raw)
  To: kernelnewbies

On Thu, Dec 4, 2014 at 10:21 AM, Freeman Zhang
<freeman.zhang1992@gmail.com> wrote:
> Hi list,
>
> I cloned it for nearly 30 hours due to the poor connection :( How I wish
> the cloning process is resumable.
>
> Finally I cloned the mainline kernel from
> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git".
> However, when I'm looking at the git directory, I got nothing but:
>
>         .   ..  arch  .DS_Store  .git  .gitignore  .mailmap
>
> I'm confused. I thought it would be like this:
>
>         arch           include      mm               security
>         block          init         modules.builtin  sound
>         COPYING        ipc          modules.order    System.map
>         CREDITS        Kbuild       Module.symvers   tools
>         crypto         Kconfig      net              usr
>         Documentation  kernel       README           virt
>         drivers        lib          REPORTING-BUGS   vmlinux
>         firmware       MAINTAINERS  samples          vmlinux.o
>         fs             Makefile     scripts
>
> Is my clone broken? I ran `git pull` and it said the clone is
> up-to-date. And the size of .git directory is over 1 GB.

What does 'git status' give you?
If you have not modified anything try running `git reset --hard HEAD`
it will restore all changes made in the repository.

Regards

> Now I'm using `tar.xz` from kernel.org and it works just fine. But I
> still want to know what I should do with my git clone.
>
>
> All the best!
>
> Freeman Zhang
>
>
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Simplicity is the ultimate sophistication

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problem in Getting Mainline Kernel
  2014-12-04 12:21 Problem in Getting Mainline Kernel Freeman Zhang
  2014-12-04 12:30 ` Vinícius Tinti
@ 2014-12-04 13:12 ` Kristof Provost
  2014-12-04 13:58   ` Freeman Zhang
  1 sibling, 1 reply; 6+ messages in thread
From: Kristof Provost @ 2014-12-04 13:12 UTC (permalink / raw)
  To: kernelnewbies

On 2014-12-04 20:21:58 (+0800), Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
> Finally I cloned the mainline kernel from
> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git".
> However, when I'm looking at the git directory, I got nothing but:
> 
> 	.   ..	arch  .DS_Store  .git  .gitignore  .mailmap
> 
Are you by any chance trying to do this on an OS X machine?
That's going to lead to pain and suffering.

For example, there are a couple of files which have the same name with
different case, which isn't going to work on a default OS X install.
By default OS X has a case insensitive file system. It's possible to
change that, but you *really* want a Linux system to build the kernel.

Regards,
Kristof

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problem in Getting Mainline Kernel
  2014-12-04 13:12 ` Kristof Provost
@ 2014-12-04 13:58   ` Freeman Zhang
  2014-12-04 16:09     ` Kernel Apprentice
  0 siblings, 1 reply; 6+ messages in thread
From: Freeman Zhang @ 2014-12-04 13:58 UTC (permalink / raw)
  To: kernelnewbies

Hi Kristof,

You are right, I did clone the source on mac os. And I am really
suffering :(


All the best!

Freeman

-------- Original Message --------
> On 2014-12-04 20:21:58 (+0800), Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
>> Finally I cloned the mainline kernel from
>> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git".
>> However, when I'm looking at the git directory, I got nothing but:
>>
>> 	.   ..	arch  .DS_Store  .git  .gitignore  .mailmap
>>
> Are you by any chance trying to do this on an OS X machine?
> That's going to lead to pain and suffering.
> 
> For example, there are a couple of files which have the same name with
> different case, which isn't going to work on a default OS X install.
> By default OS X has a case insensitive file system. It's possible to
> change that, but you *really* want a Linux system to build the kernel.
> 
> Regards,
> Kristof
> 

-------------- 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/20141204/08c2a4e0/attachment.bin 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problem in Getting Mainline Kernel
  2014-12-04 13:58   ` Freeman Zhang
@ 2014-12-04 16:09     ` Kernel Apprentice
  2014-12-05  1:29       ` Freeman Zhang
  0 siblings, 1 reply; 6+ messages in thread
From: Kernel Apprentice @ 2014-12-04 16:09 UTC (permalink / raw)
  To: kernelnewbies

Am 04.12.14 um 14:58 schrieb Freeman Zhang:
> Hi Kristof,
>
> You are right, I did clone the source on mac os. And I am really
> suffering :(

I just tried it myself. Cloning works at least without *visible* errors. 
Cross compiling on OSX will lead to errors though I guess because of the 
aforementioned case insensivity.

I'm on Yosemity, btw.

>
>
> All the best!
>
> Freeman
>
> -------- Original Message --------
>> On 2014-12-04 20:21:58 (+0800), Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
>>> Finally I cloned the mainline kernel from
>>> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git".
>>> However, when I'm looking at the git directory, I got nothing but:
>>>
>>> 	.   ..	arch  .DS_Store  .git  .gitignore  .mailmap
>>>
>> Are you by any chance trying to do this on an OS X machine?
>> That's going to lead to pain and suffering.
>>
>> For example, there are a couple of files which have the same name with
>> different case, which isn't going to work on a default OS X install.
>> By default OS X has a case insensitive file system. It's possible to
>> change that, but you *really* want a Linux system to build the kernel.
>>
>> Regards,
>> Kristof
>>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problem in Getting Mainline Kernel
  2014-12-04 16:09     ` Kernel Apprentice
@ 2014-12-05  1:29       ` Freeman Zhang
  0 siblings, 0 replies; 6+ messages in thread
From: Freeman Zhang @ 2014-12-05  1:29 UTC (permalink / raw)
  To: kernelnewbies

My cloning process showed no visible errors, but 'git status' print
thousands of [Deleted]. I think that is why I miss nearly all the
directories in my git directory.

Anyway, now I'm using:

	rsync -av --progress
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git .

rsync is resumable. Hope it works :)


All the best!
Freeman
-------- Original Message --------
> Am 04.12.14 um 14:58 schrieb Freeman Zhang:
>> Hi Kristof,
>>
>> You are right, I did clone the source on mac os. And I am really
>> suffering :(
> 
> I just tried it myself. Cloning works at least without *visible* errors.
> Cross compiling on OSX will lead to errors though I guess because of the
> aforementioned case insensivity.
> 
> I'm on Yosemity, btw.
> 
>>
>>
>> All the best!
>>
>> Freeman
>>
>> -------- Original Message --------
>>> On 2014-12-04 20:21:58 (+0800), Freeman Zhang
>>> <freeman.zhang1992@gmail.com> wrote:
>>>> Finally I cloned the mainline kernel from
>>>> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git".
>>>> However, when I'm looking at the git directory, I got nothing but:
>>>>
>>>>     .   ..    arch  .DS_Store  .git  .gitignore  .mailmap
>>>>
>>> Are you by any chance trying to do this on an OS X machine?
>>> That's going to lead to pain and suffering.
>>>
>>> For example, there are a couple of files which have the same name with
>>> different case, which isn't going to work on a default OS X install.
>>> By default OS X has a case insensitive file system. It's possible to
>>> change that, but you *really* want a Linux system to build the kernel.
>>>
>>> Regards,
>>> Kristof
>>>
>>
>>
>>
>> _______________________________________________
>> 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/20141205/1c49d500/attachment.bin 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-05  1:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04 12:21 Problem in Getting Mainline Kernel Freeman Zhang
2014-12-04 12:30 ` Vinícius Tinti
2014-12-04 13:12 ` Kristof Provost
2014-12-04 13:58   ` Freeman Zhang
2014-12-04 16:09     ` Kernel Apprentice
2014-12-05  1:29       ` Freeman Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).