Re: 2.6.4-mm1

From: Andi Kleen
Date: Thu Mar 11 2004 - 18:35:10 EST


On Thu, Mar 11, 2004 at 09:38:03PM +0000, Joe Thornber wrote:
> On Thu, Mar 11, 2004 at 02:45:35PM +0100, Mickael Marchand wrote:
> > hmm right now, dm/lvm absolutely does not work on amd64/32 bits. all ioctls
> > calls are failling...
>
> This one has me stumped. I've tested on sparc64/debian and Kevin
> Corry has tested on PPC and neither of us have problems. So it looks

ppc and sparc64 are different from x86-64 and ia64.

The problem on i386 is that alignof(long long) is different between
32bit and 64bit. That's not the case on the riscs.

This causes problems either with moving fields around/after 64bit
values and worse it changes the alignment of whole structures in
arrays too (because alignof(struct) is the largest alignment needed
by any members)

> like an amd64 only problem, does 2.6.4 vanilla work ? (I don't have
> access to one of these machines).

Most likely it's one of your arrays. You pass arrays, right?

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/