* logerrors on armv5te hardware rendering xfs-partition unmountable
@ 2010-09-09 18:40 Marcus Osdoba
2010-09-09 18:49 ` Richard Sharpe
0 siblings, 1 reply; 2+ messages in thread
From: Marcus Osdoba @ 2010-09-09 18:40 UTC (permalink / raw)
To: xfs; +Cc: Eric Sandeen
Dear mailinglist,
I run a kernel 2.6.35.4 on my SeagateDockStar which is based on the
sheevaplug (kirkwood armv5te).
Once searching the archive of the this mailinglist, I figured out, that
there problems in the past with running xfs on CPUs with virtually
indexed caches (like arm). A series of patches was applied in Febuary
2010 with the purpose to resolve the problems on arm devices.
With the recent linux kernel I'm using, I still discover errors. I was
forced to run xfs_repair -l /dev/sdx1 before I could mount the partition
again.
I was asked by one of the respectable mailinglist members to give the
complete output of the commands I launched.
Please find below the hardcopy of my terminal output and let me know,
what debug information do you need and how (and when) this must be obtained.
Thank you and kind regards,
Marcus
$ mkfs.xfs -f /dev/sda1
meta-data=/dev/sda1 isize=256 agcount=4, agsize=19535620
blks
= sectsz=512 attr=2
data = bsize=4096 blocks=78142479, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=38155, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
$ mount -t xfs /dev/sda1 /data
$ dmesg|tail
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
SGI XFS with ACLs, security attributes, large block/inode numbers, no
debug enabled
SGI XFS Quota Management subsystem
XFS mounting filesystem sda1
Ending clean XFS mount for filesystem: sda1
$ cp /bin/* /data
$ umount /data
$ xfs_logprint /dev/sda1|tail
----------------------------------------------------------------------------
Oper (0): tid: 22e742e6 len: 4 clientid: TRANS flags: WAS_CONT END
Left over region from split log item
----------------------------------------------------------------------------
Oper (1): tid: 22e742e6 len: 512 clientid: TRANS flags: none
Left over region from split log item
----------------------------------------------------------------------------
Oper (2): tid: 22e742e6 len: 256 clientid: TRANS flags: none
xfs_logprint: unknown log operation type (e3cf)
**********************************************************************
* ERROR: data block=66 *
**********************************************************************
Bad data in log
$ mount -t xfs /dev/sda1 /data
$ dmesg|tail
SGI XFS with ACLs, security attributes, large block/inode numbers, no
debug enabled
SGI XFS Quota Management subsystem
XFS mounting filesystem sda1
Ending clean XFS mount for filesystem: sda1
XFS mounting filesystem sda1
Ending clean XFS mount for filesystem: sda1
XFS mounting filesystem sda1
Ending clean XFS mount for filesystem: sda1
XFS mounting filesystem sda1
Ending clean XFS mount for filesystem: sda1
$ mkdir /data/usr;cp -r /usr /data/usr
$ umount /data
$ xfs_logprint /dev/sda1|tail
xfs_logprint: unknown log operation type (e3cf)
Bad data in log
Oper (0): tid: 22e742e6 len: 4 clientid: TRANS flags: WAS_CONT END
Left over region from split log item
----------------------------------------------------------------------------
Oper (1): tid: 22e742e6 len: 512 clientid: TRANS flags: none
Left over region from split log item
----------------------------------------------------------------------------
Oper (2): tid: 22e742e6 len: 256 clientid: TRANS flags: none
**********************************************************************
* ERROR: data block=66 *
**********************************************************************
$ mount -t xfs /dev/sda1 /data
mount: mounting /dev/sda1 on /data failed: Input/output error
$ dmesg|tail
Ending clean XFS mount for filesystem: sda1
XFS mounting filesystem sda1
Ending clean XFS mount for filesystem: sda1
XFS mounting filesystem sda1
Starting XFS recovery on filesystem: sda1 (logdev: internal)
XFS: xlog_recover_process_data: bad clientid
XFS: log mount/recovery failed: error 5
XFS: log mount failed
$
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: logerrors on armv5te hardware rendering xfs-partition unmountable
2010-09-09 18:40 logerrors on armv5te hardware rendering xfs-partition unmountable Marcus Osdoba
@ 2010-09-09 18:49 ` Richard Sharpe
0 siblings, 0 replies; 2+ messages in thread
From: Richard Sharpe @ 2010-09-09 18:49 UTC (permalink / raw)
To: Marcus Osdoba; +Cc: Eric Sandeen, xfs
On Thu, Sep 9, 2010 at 11:40 AM, Marcus Osdoba
<marcus.osdoba@googlemail.com> wrote:
> Dear mailinglist,
>
> I run a kernel 2.6.35.4 on my SeagateDockStar which is based on the
> sheevaplug (kirkwood armv5te).
> Once searching the archive of the this mailinglist, I figured out, that
> there problems in the past with running xfs on CPUs with virtually indexed
> caches (like arm). A series of patches was applied in Febuary 2010 with the
> purpose to resolve the problems on arm devices.
The Marvell 78x00 processors have VIVT caches. Is the Kirkwood series
different? Would a VIVT cache require different patches to a VIPT
cache, and what types of cache architectures were the patches for?
> With the recent linux kernel I'm using, I still discover errors. I was
> forced to run xfs_repair -l /dev/sdx1 before I could mount the partition
> again.
> I was asked by one of the respectable mailinglist members to give the
> complete output of the commands I launched.
>
> Please find below the hardcopy of my terminal output and let me know, what
> debug information do you need and how (and when) this must be obtained.
>
> Thank you and kind regards,
> Marcus
>
> $ mkfs.xfs -f /dev/sda1
> meta-data=/dev/sda1 isize=256 agcount=4, agsize=19535620
> blks
> = sectsz=512 attr=2
> data = bsize=4096 blocks=78142479, imaxpct=25
> = sunit=0 swidth=0 blks
> naming =version 2 bsize=4096 ascii-ci=0
> log =internal log bsize=4096 blocks=38155, version=2
> = sectsz=512 sunit=0 blks, lazy-count=1
> realtime =none extsz=4096 blocks=0, rtextents=0
> $ mount -t xfs /dev/sda1 /data
> $ dmesg|tail
> sd 0:0:0:0: [sda] Assuming drive cache: write through
> sd 0:0:0:0: [sda] Attached SCSI disk
> SGI XFS with ACLs, security attributes, large block/inode numbers, no debug
> enabled
> SGI XFS Quota Management subsystem
> XFS mounting filesystem sda1
> Ending clean XFS mount for filesystem: sda1
> $ cp /bin/* /data
> $ umount /data
> $ xfs_logprint /dev/sda1|tail
> ----------------------------------------------------------------------------
> Oper (0): tid: 22e742e6 len: 4 clientid: TRANS flags: WAS_CONT END
> Left over region from split log item
> ----------------------------------------------------------------------------
> Oper (1): tid: 22e742e6 len: 512 clientid: TRANS flags: none
> Left over region from split log item
> ----------------------------------------------------------------------------
> Oper (2): tid: 22e742e6 len: 256 clientid: TRANS flags: none
> xfs_logprint: unknown log operation type (e3cf)
> **********************************************************************
> * ERROR: data block=66 *
> **********************************************************************
> Bad data in log
> $ mount -t xfs /dev/sda1 /data
> $ dmesg|tail
> SGI XFS with ACLs, security attributes, large block/inode numbers, no debug
> enabled
> SGI XFS Quota Management subsystem
> XFS mounting filesystem sda1
> Ending clean XFS mount for filesystem: sda1
> XFS mounting filesystem sda1
> Ending clean XFS mount for filesystem: sda1
> XFS mounting filesystem sda1
> Ending clean XFS mount for filesystem: sda1
> XFS mounting filesystem sda1
> Ending clean XFS mount for filesystem: sda1
> $ mkdir /data/usr;cp -r /usr /data/usr
> $ umount /data
> $ xfs_logprint /dev/sda1|tail
> xfs_logprint: unknown log operation type (e3cf)
> Bad data in log
> Oper (0): tid: 22e742e6 len: 4 clientid: TRANS flags: WAS_CONT END
> Left over region from split log item
> ----------------------------------------------------------------------------
> Oper (1): tid: 22e742e6 len: 512 clientid: TRANS flags: none
> Left over region from split log item
> ----------------------------------------------------------------------------
> Oper (2): tid: 22e742e6 len: 256 clientid: TRANS flags: none
> **********************************************************************
> * ERROR: data block=66 *
> **********************************************************************
> $ mount -t xfs /dev/sda1 /data
> mount: mounting /dev/sda1 on /data failed: Input/output error
> $ dmesg|tail
> Ending clean XFS mount for filesystem: sda1
> XFS mounting filesystem sda1
> Ending clean XFS mount for filesystem: sda1
> XFS mounting filesystem sda1
> Starting XFS recovery on filesystem: sda1 (logdev: internal)
> XFS: xlog_recover_process_data: bad clientid
> XFS: log mount/recovery failed: error 5
> XFS: log mount failed
> $
>
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
--
Regards,
Richard Sharpe
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-09 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-09 18:40 logerrors on armv5te hardware rendering xfs-partition unmountable Marcus Osdoba
2010-09-09 18:49 ` Richard Sharpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox