# Clone corruption to G4 MacOSX

4 messages from 2007-10-03 to 2007-10-03. Participants: Perry Wagle, Kyle McMartin, Junio C Hamano.
Thread: https://gitlist.dev/t/10124

## Perry Wagle, 2007-10-03 04:29

Subject: Clone corruption to G4 MacOSX
Message-ID: <82638874-6766-4DCD-BF5B-3893F9B5046F@cs.indiana.edu>
URL: https://gitlist.dev/e/82638874-6766-4DCD-BF5B-3893F9B5046F%40cs.indiana.edu

```
I have a G4 iBook running MacOSX 10.4.10.  If I build the most recent  
production git (git-1.5.3.2) from the tarball from the git website, I  
get a corrupt copy of Linus's kernel repository (git://git.kernel.org/ 
pub/scm/linux/kernel/git/torvalds/linux-2.6.git) when I try to clone  
it.  Specifically, my copy is missing several files, including ./ 
include/linux/netfilter/xt_CONNMARK.h.  The involved files seem to be:

include/linux/netfilter/xt_CONNMARK.h
include/linux/netfilter/xt_DSCP.h
include/linux/netfilter/xt_MARK.h
include/linux/netfilter/xt_TCPMSS.h
include/linux/netfilter_ipv4/ipt_CONNMARK.h
include/linux/netfilter_ipv4/ipt_DSCP.h
include/linux/netfilter_ipv4/ipt_ECN.h
include/linux/netfilter_ipv4/ipt_MARK.h
include/linux/netfilter_ipv4/ipt_TCPMSS.h
include/linux/netfilter_ipv4/ipt_TOS.h
include/linux/netfilter_ipv4/ipt_TTL.h
include/linux/netfilter_ipv6/ip6t_HL.h
include/linux/netfilter_ipv6/ip6t_MARK.h
net/ipv4/netfilter/ipt_ECN.c
net/ipv4/netfilter/ipt_TOS.c
net/ipv4/netfilter/ipt_TTL.c
net/ipv6/netfilter/ip6t_HL.c
net/netfilter/xt_CONNMARK.c
net/netfilter/xt_DSCP.c
net/netfilter/xt_MARK.c
net/netfilter/xt_TCPMSS.c

I first noticed this corruption around August 14, 2007, when it  
seemed to be in the head of the clone of Linus's repository.  I was  
able to make it go away by committing the HEAD.  I was just starting  
with git, and figured I got some incomplete copy because Linus was in  
the middle of something.  Now I cannot find any commits for  
xt_CONNMARK.h or xt_connmark.h since 2006, especially around August  
14, but that might be my naivete.

If I clone Linus's repository to a x86 machine, I get no corruption.

My wild ass guess is that being big-endian is causing trouble.

-- Perry

```

## Kyle McMartin, 2007-10-03 05:28

Subject: Re: Clone corruption to G4 MacOSX
Message-ID: <20071003052834.GC13738@fattire.cabal.ca>
URL: https://gitlist.dev/e/20071003052834.GC13738%40fattire.cabal.ca
In-Reply-To: <82638874-6766-4DCD-BF5B-3893F9B5046F@cs.indiana.edu>

```
On Tue, Oct 02, 2007 at 09:29:07PM -0700, Perry Wagle wrote:
> If I clone Linus's repository to a x86 machine, I get no corruption.
> 
> My wild ass guess is that being big-endian is causing trouble.
> 

The problem is MacOSX uses a case-insensitive filesystem by default...

Cheers,
	Kyle

```

## Junio C Hamano, 2007-10-03 05:44

Subject: Re: Clone corruption to G4 MacOSX
Message-ID: <7v3awshhvi.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v3awshhvi.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <82638874-6766-4DCD-BF5B-3893F9B5046F@cs.indiana.edu>

```
Perry Wagle <wagle@cs.indiana.edu> writes:

> include/linux/netfilter/xt_CONNMARK.h.  The involved files seem to be:
>
> include/linux/netfilter/xt_CONNMARK.h
> include/linux/netfilter/xt_DSCP.h
> include/linux/netfilter/xt_MARK.h
> include/linux/netfilter/xt_TCPMSS.h
> include/linux/netfilter_ipv4/ipt_CONNMARK.h
> include/linux/netfilter_ipv4/ipt_DSCP.h
> include/linux/netfilter_ipv4/ipt_ECN.h
> include/linux/netfilter_ipv4/ipt_MARK.h
> include/linux/netfilter_ipv4/ipt_TCPMSS.h
> include/linux/netfilter_ipv4/ipt_TOS.h
> include/linux/netfilter_ipv4/ipt_TTL.h
> include/linux/netfilter_ipv6/ip6t_HL.h
> include/linux/netfilter_ipv6/ip6t_MARK.h
> net/ipv4/netfilter/ipt_ECN.c
> net/ipv4/netfilter/ipt_TOS.c
> net/ipv4/netfilter/ipt_TTL.c
> net/ipv6/netfilter/ip6t_HL.c
> net/netfilter/xt_CONNMARK.c
> net/netfilter/xt_DSCP.c
> net/netfilter/xt_MARK.c
> net/netfilter/xt_TCPMSS.c
>
> I first noticed this corruption around August 14, 2007, when it seemed
> ...
>
> If I clone Linus's repository to a x86 machine, I get no corruption.
>
> My wild ass guess is that being big-endian is causing trouble.

Is the filesystem HFS+ that is case-losing?

```

## Perry Wagle, 2007-10-03 05:50

Subject: Re: Clone corruption to G4 MacOSX
Message-ID: <AF1E5F5F-84BF-47DC-B893-23B459B75193@cs.indiana.edu>
URL: https://gitlist.dev/e/AF1E5F5F-84BF-47DC-B893-23B459B75193%40cs.indiana.edu
In-Reply-To: <20071003052834.GC13738@fattire.cabal.ca>

```
Yeah, that'd be it.  Thanks!

-- Perry


On Oct 2, 2007, at 10:28 PM, Kyle McMartin wrote:

> On Tue, Oct 02, 2007 at 09:29:07PM -0700, Perry Wagle wrote:
>> If I clone Linus's repository to a x86 machine, I get no corruption.
>>
>> My wild ass guess is that being big-endian is causing trouble.
>>
>
> The problem is MacOSX uses a case-insensitive filesystem by default...
>
> Cheers,
> 	Kyle
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

```
