xfs
[Top] [All Lists]

Re: PROBLEM: XFS on ARM corruption 'Structure needs cleaning'

To: Török Edwin <edwin@xxxxxxxxxxxx>
Subject: Re: PROBLEM: XFS on ARM corruption 'Structure needs cleaning'
From: Karanvir Singh <karanvir.singh@xxxxxxxx>
Date: Fri, 12 Jun 2015 21:41:25 +0000
Accept-language: en-US
Authentication-results: skylable.com; dkim=none (message not signed) header.d=none;
Cc: Luca Gibelli <luca@xxxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>, Christopher Squires <christopher.squires@xxxxxxxx>, Wayne Burri <wayne.burri@xxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>, Brian Foster <bfoster@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <557B3EDD.3030502@xxxxxxxxxxx>
References: <5579296A.8010208@xxxxxxxxxxxx> <20150611151620.GB59168@xxxxxxxxxxxxxxx> <5579A904.3020204@xxxxxxxxxxxx> <5579AE85.5080203@xxxxxxxxxxx> <5579B034.4070503@xxxxxxxxxxx> <5579B804.9050707@xxxxxxxxxxxx> <20150612122108.GB60661@xxxxxxxxxxxxxxx> <557AD4D4.3010901@xxxxxxxxxxxx> <20150612135404.GC60661@xxxxxxxxxxxxxxx>,<557B3EDD.3030502@xxxxxxxxxxx>
Thread-index: AQHQpQ3pjQ80TeP1RkiZuEUNqbtz9p2o5GAAgABrvoCAABYcLA==
Thread-topic: PROBLEM: XFS on ARM corruption 'Structure needs cleaning'
Hi Edwin,


PFA the  newer uimages: 

uImage3.14.44.gcc.4.9.2:  its a 3.14.44 compiled with gcc 4.9.4 
uImage.gcc.4.7.2-1: its 3.14.3 compiled with gcc 4.7.2

Regards,
Karanvir


________________________________________
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Sent: Friday, June 12, 2015 2:19 PM
To: Brian Foster; Török Edwin
Cc: Karanvir Singh; Luca Gibelli; xfs@xxxxxxxxxxx; Christopher Squires; Wayne 
Burri
Subject: Re: PROBLEM: XFS on ARM corruption 'Structure needs cleaning'

On 6/12/15 8:54 AM, Brian Foster wrote:

>>> I managed to get an updated kernel on a beaglebone I had sitting around,
>>> but I don't reproduce any errors with the "corrupted" image (I think
>>> we've established that the image is fine on-disk and something is going
>>> awry at runtime):
>>>
>>> root@beaglebone:~# uname -a
>>> Linux beaglebone 3.14.1+ #5 SMP Thu Jun 11 20:58:02 EDT 2015 armv7l 
>>> GNU/Linux
>>> root@beaglebone:~# mount ./xfs2.test.corrupted /mnt/
>>> root@beaglebone:~# ls -al /mnt/a/
>>> total 12
>>> drwxr-xr-x 3 root root   14 Jun 11 16:11 .
>>> drwxr-xr-x 3 root root   14 Jun 11 16:11 ..
>>> drwxr-x--- 2 root root 8192 Jun 11 16:11 b
>>> root@beaglebone:~# ls -al /mnt/a/b/
>>> total 17996
>>> drwxr-x--- 2 root root    8192 Jun 11 16:11 .
>>> drwxr-xr-x 3 root root      14 Jun 11 16:11 ..
>>> -rw-r--r-- 1 root root   12288 Jun 11 16:11 events.db
>>> -rw-r--r-- 1 root root   15360 Jun 11 16:11 f00000000.db
>>> -rw-r--r-- 1 root root   15360 Jun 11 16:11 f00000001.db
>>> -rw-r--r-- 1 root root   15360 Jun 11 16:11 f00000002.db
>>> -rw-r--r-- 1 root root   15360 Jun 11 16:11 f00000003.db
>>> ...
>>> root@beaglebone:~#
>>>
>>> I echo Dave's suggestion down thread with regard to toolchain. This
>>> kernel was compiled with the following cross-gcc (installed via Fedora
>>> package):
>>>
>>>     gcc version 4.9.2 20150212 (Red Hat Cross 4.9.2-5) (GCC)
>>>
>>> Are you using something different?
>>
>> /proc/version says:
>>
>> Linux version 3.14.3-00088-g7651c68 (jenkins@boulder-jenkins) (gcc version 
>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #24 Thu Apr 9 16:13:46 MDT 2015
>>
>> I'll get back to you when I have a new kernel running.
>>
>
> Ok. FWIW, I just tried rebuilding with the following 4.6.3 toolchain:
>
> https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/x86_64-gcc-4.6.3-nolibc_arm-unknown-linux-gnueabi.tar.xz
>
> ... and still didn't reproduce any errors. Of course, this probably
> doesn't have whatever patches and whatnot might be included in the
> distro 4.6.3 toolchain. It could be worth a try depending on what
> happens with a newer kernel, though.

FWIW, I tried mounting the corrupted image and running the ls on
Fedora 22, kernel 4.0.4-303.fc22.armv7hl, gcc version 5.1.1, and had no
problems there either.

-Eric

Attachment: uImage.gcc.4.7.2-1
Description: uImage.gcc.4.7.2-1

Attachment: uImage3.14.44.gcc.4.9.2
Description: uImage3.14.44.gcc.4.9.2

<Prev in Thread] Current Thread [Next in Thread>