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 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs