Re: XFS filesystem corruption on the arm(el) architecture

2008-10-19 Thread Christoph Hellwig
On Sat, Oct 18, 2008 at 10:06:45PM -0500, Eric Sandeen wrote: This is probably the vmap cache aliasing problem that we paid a bit of attention to a few months ago, no? Shouldn't the cachepolicy switch take care of that? But yes, there are various problems with I/O on vmap regions with

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-19 Thread Lennert Buytenhek
On Sun, Oct 19, 2008 at 05:07:02AM -0400, Christoph Hellwig wrote: This is probably the vmap cache aliasing problem that we paid a bit of attention to a few months ago, no? Shouldn't the cachepolicy switch take care of that? Setting cachepolicy=uncached should make aliasing issues

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-18 Thread Martin Michlmayr
* Eric Sandeen [EMAIL PROTECTED] [2008-10-17 09:15]: If you unmount remount, does the ls work then? I cannot even mount it: debian:~# mkfs.xfs -f /dev/sda5 meta-data=/dev/sda5 isize=256agcount=4, agsize=94380 blks = sectsz=512 attr=2 data =

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-18 Thread Tobias Frost
I tried xfs both on the old and new ABI. (my first try was Jan 2008, old ABI) ASAIR at kernel version 2.6.18 On Fri, 2008-10-17 at 11:46 +0200, Gaudenz Steinlin wrote: On Fri, Oct 17, 2008 at 09:01:09AM +0200, Martin Michlmayr wrote: * Eric Sandeen [EMAIL PROTECTED] [2008-10-16 17:13]: So

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-18 Thread Eric Sandeen
Martin Michlmayr wrote: * Eric Sandeen [EMAIL PROTECTED] [2008-10-17 09:15]: Do you know what cachepolicy you're booted with? If it's writeallocate, you might try cachepolicy=writeback, otherwise try cachepolicy=uncached (which will be horribly slow) and see if the problem goes away or not;

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-18 Thread Christoph Hellwig
On Sat, Oct 18, 2008 at 10:48:53PM +0300, Kirill A. Shutemov wrote: Our team have experience with XFS on ARM OABI on NAS. It worked fine on 2.6.12, but got broken on 2.6.17. So any chance to bisect it down to at least a kernel release where it stopped working? -- To UNSUBSCRIBE, email to

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-18 Thread Dave Chinner
On Sat, Oct 18, 2008 at 10:57:56AM +0200, Martin Michlmayr wrote: * Eric Sandeen [EMAIL PROTECTED] [2008-10-17 09:15]: If you unmount remount, does the ls work then? I cannot even mount it: debian:~# mkfs.xfs -f /dev/sda5 meta-data=/dev/sda5 isize=256agcount=4,

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-18 Thread Eric Sandeen
Dave Chinner wrote: On Sat, Oct 18, 2008 at 10:57:56AM +0200, Martin Michlmayr wrote: * Eric Sandeen [EMAIL PROTECTED] [2008-10-17 09:15]: If you unmount remount, does the ls work then? I cannot even mount it: debian:~# mkfs.xfs -f /dev/sda5 meta-data=/dev/sda5 isize=256

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-18 Thread Martin Michlmayr
* Dave Chinner [EMAIL PROTECTED] [2008-10-19 12:48]: That's the log replay indicating that there's a bad transaction header in the log. Very strange - it shoul dbe a clean log. What does xfs_logprint -t /dev/sda5 tell you about the transactions in the log? mdebian:~# mkfs.xfs -f /dev/sda5

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-17 Thread Martin Michlmayr
* Eric Sandeen [EMAIL PROTECTED] [2008-10-16 17:13]: So is this a regression? did it used to work? If so, when? :) The original report was with 2.6.18 but that was with the old ABI: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423562 I just installed a 2.6.22 kernel with EABI and I can

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-17 Thread Eric Sandeen
Gaudenz Steinlin wrote: On Fri, Oct 17, 2008 at 09:01:09AM +0200, Martin Michlmayr wrote: * Eric Sandeen [EMAIL PROTECTED] [2008-10-16 17:13]: So is this a regression? did it used to work? If so, when? :) The original report was with 2.6.18 but that was with the old ABI:

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-17 Thread Eric Sandeen
Martin Michlmayr wrote: * Eric Sandeen [EMAIL PROTECTED] [2008-10-16 17:13]: So is this a regression? did it used to work? If so, when? :) The original report was with 2.6.18 but that was with the old ABI: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423562 I just installed a 2.6.22

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-16 Thread Martin Michlmayr
Hi Eric, I tried to reproduce this problem on my ARM machine and it's really easy to trigger. See the transcript below. I tried with 2.6.26.6 (without the ARM old ABI fix) and 2.6.27 (with the fix), and with xfsprogs 2.9.8-1. Note that I'm actually using the ARM EABI, and not the old ABI. I'm

XFS filesystem corruption on the arm(el) architecture

2008-10-01 Thread Tobias Frost
(Note: Please CC me, as I am NOT on the lkml!!) Some time ago, I discovered some problems with xfs. Unfortunatly, I had no time diving into it. However, some weeks ago some other people running debian on ARM machines confirmed the problem on their machines starting at [1], so I think it is

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-01 Thread Dave Chinner
Adding [EMAIL PROTECTED] to the cc list so all the XFS folk see this. On Wed, Oct 01, 2008 at 10:38:22PM +0200, Tobias Frost wrote: (Note: Please CC me, as I am NOT on the lkml!!) Some time ago, I discovered some problems with xfs. Unfortunatly, I had no time diving into it. However, some

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-01 Thread Eric Sandeen
Dave Chinner wrote: Adding [EMAIL PROTECTED] to the cc list so all the XFS folk see this. On Wed, Oct 01, 2008 at 10:38:22PM +0200, Tobias Frost wrote: (Note: Please CC me, as I am NOT on the lkml!!) Some time ago, I discovered some problems with xfs. Unfortunatly, I had no time diving

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-01 Thread Eric Sandeen
Dave Chinner wrote: Adding [EMAIL PROTECTED] to the cc list so all the XFS folk see this. On Wed, Oct 01, 2008 at 10:38:22PM +0200, Tobias Frost wrote: (Note: Please CC me, as I am NOT on the lkml!!) Some time ago, I discovered some problems with xfs. Unfortunatly, I had no time diving

Re: XFS filesystem corruption on the arm(el) architecture

2008-10-01 Thread Eric Sandeen
Dave Chinner wrote: Adding [EMAIL PROTECTED] to the cc list so all the XFS folk see this. On Wed, Oct 01, 2008 at 10:38:22PM +0200, Tobias Frost wrote: (Note: Please CC me, as I am NOT on the lkml!!) Some time ago, I discovered some problems with xfs. Unfortunatly, I had no time diving