xfs
[Top] [All Lists]

random ppc observations ...

To: linux-xfs@xxxxxxxxxxx
Subject: random ppc observations ...
From: Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx>
Date: 10 Aug 2000 22:37:00 GMT
Distribution: local
Organization: innominate AG, Berlin, Germany
Reply-to: Thomas Graichen <graichen@xxxxxxxxxxxxx>
Reply-to: thomas.graichen@xxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-local (i586))
before i go to bed - some more observations from the ppc (all is
with the current cvs tree code)

first the good one:

[root@aqua mkfs]# uname -a
Linux aqua 2.4.0-test5 #13 Tue Aug 8 00:30:19 CEST 2000 ppc unknown
[root@aqua mkfs]# ./mkfs.xfs -f /dev/hda8
meta-data=/dev/hda8              isize=256    agcount=8, agsize=65536 blks
data     =                       bsize=4096   blocks=524287, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=1200
realtime =none                   extsz=65536  blocks=0, rtextents=0
[root@aqua mkfs]# 

mkfs.xfs now compiles and works on the ppc - good work - (will try
the alpha tomorrow) - the compilation of xfs_mkfs.c gives the
following:

gcc  -g -DDEBUG -funsigned-char -Wall -Wno-parentheses  '-DVERSION="1.0.2-0"' 
-I../include -I../../../linux/include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-DXFS_BIG_FILES=1 -DXFS_BIG_FILESYSTEMS=1   -c xfs_mkfs.c -o xfs_mkfs.o
xfs_mkfs.c: In function `main':
xfs_mkfs.c:1663: warning: left-hand operand of comma expression has no effect
xfs_mkfs.c:1663: warning: value computed is not used
xfs_mkfs.c:1664: warning: left-hand operand of comma expression has no effect
xfs_mkfs.c:1664: warning: value computed is not used
...

now the expected one:

xfs on the ppc with an mkfs.xfs created filesystem is as buggy as
with my i386 image on ppc :-)

and finally some experiments:

root@aqua mkfs]# ./mkfs.xfs -f /dev/hda8
meta-data=/dev/hda8              isize=256    agcount=8, agsize=65536 blks
data     =                       bsize=4096   blocks=524287, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=1200
realtime =none                   extsz=65536  blocks=0, rtextents=0
[root@aqua mkfs]# mount -t xfs /dev/hda8 /mnt/floppy 
[root@aqua mkfs]# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
...
/dev/hda8              2092348       144   2092204   0% /mnt/floppy
[root@aqua mkfs]# cd /mnt/floppy/
[root@aqua floppy]# ls
[root@aqua floppy]# cp /etc/hosts .
[root@aqua floppy]# ls
[root@aqua floppy]# cat hosts
127.0.0.1               localhost
...
[root@aqua floppy]# cp hosts test
[root@aqua floppy]# ls
[root@aqua floppy]# cat test
127.0.0.1               localhost
...
[root@aqua floppy]# 

... all the problems i see else are the same describes the last time
(illegal inode number etc.) ... ok - and if i unmount the filesystem
after playing with it a bit and try to remount it then it fails with

Start mounting filesystem: ide0(3,8)
XFS: xlog_find_verify_log_record: need to backup
XFS assertion failed: 0, file: xfs_log_recover.c, line: 347
XFS: failed to find log head
XFS: log mount/recovery failed
XFS: log mount failed
xfs: xfs_mountfs failed: error 5.

(btw. the assertfail BUG() is commented out here)

maybe this gives any hints - i will go to bed now ... will have a
look at the alpha tomorrow

t

-- 
thomas.graichen@xxxxxxxxxxxxx
technical director                                       innominate AG
clustering & security                                networking people
tel: +49.30.308806-13  fax: -77                   http://innominate.de

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