Bug#414932: Processed: Re: Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-07-27 Thread Niv Sardi
Martin Michlmayr [EMAIL PROTECTED] writes: * Eric Sandeen [EMAIL PROTECTED] [2008-06-21 10:50]: It was just recently added to the xfs cvs tree. Message to the list was TAKE 982930 - fix dir2 shortform structures on ARM old ABI * Niv Sardi [EMAIL PROTECTED] [2008-06-23 15:12]:

Bug#414932: Processed: Re: Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-07-26 Thread Martin Michlmayr
* Eric Sandeen [EMAIL PROTECTED] [2008-06-21 10:50]: It was just recently added to the xfs cvs tree. Message to the list was TAKE 982930 - fix dir2 shortform structures on ARM old ABI * Niv Sardi [EMAIL PROTECTED] [2008-06-23 15:12]:

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-06-22 Thread Martin Michlmayr
* Eric Sandeen [EMAIL PROTECTED] [2008-06-21 10:50]: Do you know what the status is of your XFS patch to make it work on ARM (old ABI)? It was just recently added to the xfs cvs tree. Message to the list was TAKE 982930 - fix dir2 shortform structures on ARM old ABI Excellent news,

Bug#414932: Processed: Re: Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-06-22 Thread Niv Sardi
http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs-2.6.git;a=commit;h=7a9ba9bb899933293604a2b3c5ca4f40ad5a92a8 This fixes the issue, and should be pushed in the next kernel.org xfs. Cheers, -- Niv Sardi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble?

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-06-21 Thread Martin Michlmayr
Eric, Do you know what the status is of your XFS patch to make it work on ARM (old ABI)? * Martin Michlmayr [EMAIL PROTECTED] [2008-03-17 09:50]: A patch for this problem has been posted now. Message-ID: [EMAIL PROTECTED] Date: Fri, 14 Mar 2008 22:24:49 -0500 From: Eric Sandeen [EMAIL

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-06-21 Thread Eric Sandeen
Martin Michlmayr wrote: Eric, Do you know what the status is of your XFS patch to make it work on ARM (old ABI)? It was just recently added to the xfs cvs tree. Message to the list was TAKE 982930 - fix dir2 shortform structures on ARM old ABI -Eric -- To UNSUBSCRIBE, email to [EMAIL

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-03-27 Thread andred
Please note that the above patch isn't helpful on armel. We had some very fruitful discussions about armel w/ some XFS guys, and it turns out that a simple patch like the attached is needed. This works fine for me on 2.6.25-rc6, but I assume it will be made to look/behave differently before being

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2008-03-17 Thread Martin Michlmayr
A patch for this problem has been posted now. Message-ID: [EMAIL PROTECTED] Date: Fri, 14 Mar 2008 22:24:49 -0500 From: Eric Sandeen [EMAIL PROTECTED] User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: xfs-oss [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: [PATCH] fix

Bug#414932: Info received (Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm)

2007-09-24 Thread Martin Michlmayr
* Lennert Buytenhek [EMAIL PROTECTED] [2007-04-27 21:06]: The xfstest suite is pretty good, if anyone would like to run through it on arm with the above packed structures... I'll have a look. Did you get a chance to? -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email

Bug#414932: Info received (Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm)

2007-04-27 Thread Lennert Buytenhek
On Thu, Apr 26, 2007 at 11:57:40PM -0500, Eric Sandeen wrote: Maybe the alignment isn't broken; it's just special - I guess there are no actual rules on how the structure must be aligned... hmm... Yep. Padding rules on old-ABI ARM systems are 'special', but still spec-compliant. See:

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-04-27 Thread Lennert Buytenhek
On Thu, Apr 26, 2007 at 11:34:56PM -0500, Eric Sandeen wrote: Root cause seems to be gcc misaligning the xfs shortform directory structures. In the example below, bar.parent has offset 4, while boo.parent has offset 2. The union seems to cause extra padding - I believe c should be at

Bug#414932: Info received (Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm)

2007-04-27 Thread Eric Sandeen
Lennert Buytenhek wrote: Yep. Padding rules on old-ABI ARM systems are 'special', but still spec-compliant. See: Thanks, I've read up a bit since, and I think I grok it now :) So, adding __attribute__((packed)) to xfs_dir2_sf_off_t, xfs_dir2_sf_hdr_t, and perhaps also xfs_dir2_sf_entry_t

Bug#414932: Info received (Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm)

2007-04-27 Thread Lennert Buytenhek
On Fri, Apr 27, 2007 at 08:26:10AM -0500, Eric Sandeen wrote: Yep. Padding rules on old-ABI ARM systems are 'special', but still spec-compliant. See: Thanks, I've read up a bit since, and I think I grok it now :) So, adding __attribute__((packed)) to xfs_dir2_sf_off_t,

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-04-26 Thread Eric Sandeen
Root cause seems to be gcc misaligning the xfs shortform directory structures. In the example below, bar.parent has offset 4, while boo.parent has offset 2. The union seems to cause extra padding - I believe c should be at offset 2 in both structures. This is leading to trouble in

Bug#414932: Info received (Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm)

2007-04-26 Thread Eric Sandeen
Maybe the alignment isn't broken; it's just special - I guess there are no actual rules on how the structure must be aligned... hmm... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-04-25 Thread Martin Michlmayr
Eric, We at Debian received a bug report about XFS on ARM (see below). I noticed your posting at http://oss.sgi.com/archives/xfs/2007-03/msg00053.html in which you said that this was a known issue. I cannot find the workaround you mentioned in your message. Do you know where I can find it? I

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-04-25 Thread Martin Michlmayr
Eric, We at Debian received a bug report about XFS on ARM (see below). I noticed your posting at http://oss.sgi.com/archives/xfs/2007-03/msg00053.html in which you said that this was a known issue. I cannot find the workaround you mentioned in your message. Do you know where I can find it? I

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-04-25 Thread Eric Sandeen
Martin Michlmayr wrote: Eric, We at Debian received a bug report about XFS on ARM (see below). I noticed your posting at http://oss.sgi.com/archives/xfs/2007-03/msg00053.html in which you said that this was a known issue. I cannot find the workaround you mentioned in your message. Do

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-03-17 Thread Martin Michlmayr
Eric mentioned a workaround for this miscompilation. Do you know more about this? Also, do you have any idea whether this issue has actually been reported to the GCC folks? -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe.

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-03-17 Thread Michael Prokop
* Martin Michlmayr [EMAIL PROTECTED] [20070317 21:15]: Eric mentioned a workaround for this miscompilation. Do you know more about this? No, sorry. Also, do you have any idea whether this issue has actually been reported to the GCC folks? I don't think so, as Eric had no access to such a

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-03-17 Thread Martin Michlmayr
* Michael Prokop [EMAIL PROTECTED] [2007-03-17 21:19]: I don't think so, as Eric had no access to such a system to verify and play with it on his own and I wanted to report the bug to Debian's BTS before bugging upstream. Ok, I'm fairly busy right now but I'll try to talk to Eric in about a

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-03-16 Thread Martin Michlmayr
I just found http://oss.sgi.com/archives/xfs/2007-03/msg00078.html which is another XFS problem on NSLU2. Apparently it's because of a miscompilation in XFS on ARM. I'll confirm with the XFS developers whether your problem may be caused by this too after reproducing it on another ARM machine,

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-03-16 Thread Michael Prokop
* Martin Michlmayr [EMAIL PROTECTED] [20070316 21:24]: I just found http://oss.sgi.com/archives/xfs/2007-03/msg00078.html which is another XFS problem on NSLU2. Apparently it's because of a miscompilation in XFS on ARM. I'll confirm with the XFS developers whether your problem may be caused

Bug#414932: linux-image-2.6.18-4-ixp4xx: xfs partition from x86 system can not be used on arm

2007-03-14 Thread Michael Prokop
Package: linux-image-2.6.18-4-ixp4xx Version: 2.6.18.dfsg.1-11 Severity: important I'm using the NSLU2 device with Debian (http://www.cyrius.com/debian/nslu2/): # uname -a Linux NSLU 2.6.18-4-ixp4xx #1 Thu Feb 22 14:00:55 UTC 2007 armv5tel GNU/Linux The problem: using a partition which has