threads / discuss / 10124

Clone corruption to G4 MacOSX

Subject: Clone corruption to G4 MacOSX

## tl;dr

4 messages between Oct 3, 2007 and Oct 3, 2007.

replies: 3people: 3as markdown or json

Perry Wagle· Oct 3, 2007, 04:29 UTC · lore

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· Oct 3, 2007, 05:28 UTC · re: Perry Wagle · lore

Re: Clone corruption to G4 MacOSX

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
Perry Wagle· Oct 3, 2007, 05:50 UTC · re: Kyle McMartin · lore

Re: Clone corruption to G4 MacOSX

Yeah, that'd be it.  Thanks!
-- Perry
On Oct 2, 2007, at 10:28 PM, Kyle McMartin wrote:
Show 14 quoted lines
> 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
Junio C Hamano· Oct 3, 2007, 05:44 UTC · re: Perry Wagle · lore

Re: Clone corruption to G4 MacOSX

Perry Wagle <wagle@cs.indiana.edu> writes:
Show 30 quoted lines
> 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?

← back to recent threads