[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 think you also mentioned not having access to any ARM hardware.
If I can give you an account on an ARM machine, do you think you could
invetigate this issue in more detail?  It would be great to have a
small testcase that could be sent to the GCC folks.

Thanks.


* Michael Prokop <mika@grml.org> [2007-03-14 21:30]:
> 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 been generated on a x86
> system using the filesystem XFS does not work on arm/NSLU2. Mounting
> the partition does not indicate any problems in the syslog, but
> access to the partition/files is definitely not possible:
> 
> # ls -la /mnt/sdb2
> total 4
> drwxr-xr-x 7 root root   76 Oct 13 00:09 /
> drwxr-xr-x 7 root root   76 Oct 13 00:09 /
> drwxr-xr-x 7 root root   76 Oct 13 00:09 /
> drwxr-xr-x 7 root root   76 Oct 13 00:09 /
> drwxr-xr-x 7 root root   76 Oct 13 00:09 ./
> drwxr-xr-x 4 root root 4096 Mar  7 19:46 ../
> #
> 
> Though the disk usage is displayed correct:
> 
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1             773M  606M  128M  83% /
> tmpfs                  15M     0   15M   0% /lib/init/rw
> udev                   10M   44K   10M   1% /dev
> tmpfs                  15M     0   15M   0% /dev/shm
> /dev/sdb2             271G   95G  176G  35% /mnt/sdb2
> 
> The XFS partition can be used without any problems on the x86
> system, there's no data loss. XFS itself is ok on arm/NSLU2 if the
> partition has been generated on the arm platform using mkfs.xfs.
> 
> I played around with xfs_repair, xfs_db, xfs_check,... tons of error
> messages are displayed though the partition itself is ok - it's just
> that there seem to be serious problems on the arm platform.
> 
> The problem is reproducable, just run something like
> 
> # mkfs.xfs -d file,name=/file,size=20m
> 
> on a x86 system and try to mount the file on arm/NSLU2 then.
> 
> If you need any further information, debugging output,... please let
> me know.
> 
> regards,
> -mika-
> 
> 

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: