Date: Tue, 10 Jul 2001 22:42:03 +1000 From: Robert Barta <rho@bigpond.net.au> Message-ID: <20010710224203.A14041@namod.qld.bigpond.net.au> Subject: Re: [suse-sparc] reiserfs for SuSE Sparc?
On Sun, Jul 08, 2001 at 03:52:36PM +0200, Thorsten Kukuk wrote:
> There is a patch for kernel 2.4.x on
> ftp://ftp.suse.com/pub/people/jeffm/reiserfs
As the 7.0 distribution contains 2.4.2.SuSE I picked....
> You need to patch the kernel and the reiserfs tools.
ftp://ftp.suse.com/pub/people/jeffm/reiserfs/old/reiserfs-endian-safe-2.4.2.diff.bz2
for the kernel and
ftp://ftp.suse.com/pub/people/jeffm/reiserfs/reiserfsprogs-3.x.0i-endian-safe.diff.bz2
for the tools.
The tools were patched/compiled/install without problems. For the kernel
victoria:/usr/src # patch -p0 < patches/reiserfs-endian-safe-2.4.2.diff
patching file linux-2.4.2-virgin/fs/reiserfs/bitmap.c
patching file linux-2.4.2-virgin/fs/reiserfs/do_balan.c
patching file linux-2.4.2-virgin/fs/reiserfs/fix_node.c
patching file linux-2.4.2-virgin/fs/reiserfs/ibalance.c
patching file linux-2.4.2-virgin/fs/reiserfs/inode.c
patching file linux-2.4.2-virgin/fs/reiserfs/item_ops.c
patching file linux-2.4.2-virgin/fs/reiserfs/lbalance.c
patching file linux-2.4.2-virgin/fs/reiserfs/namei.c
patching file linux-2.4.2-virgin/fs/reiserfs/objectid.c
patching file linux-2.4.2-virgin/fs/reiserfs/prints.c
patching file linux-2.4.2-virgin/fs/reiserfs/stree.c
patching file linux-2.4.2-virgin/fs/reiserfs/super.c
patching file linux-2.4.2-virgin/fs/reiserfs/tail_conversion.c
patching file linux-2.4.2-virgin/include/linux/reiserfs_fs.h
patching file linux-2.4.2-virgin/include/linux/reiserfs_fs_sb.h
The patched 2.4.2 with NO reiserfs configured compiled and was bootable.
As soon as reiserfs is configured, the compilation aborts with what
appear to me as typos, very suspicious:
root@victoria:/usr/src/linux > diff fs/reiserfs/inode.c fs/reiserfs/inode.c.orig
979c979
< set_v2_mode(sd_v2, inode->i_mode );
--- > set_sd_v2_mode(sd_v2, inode->i_mode ); 998c998 < set_v1_mode(sd_v1, inode->i_mode ); --- > set_sd_v1_mode(sd_v1, inode->i_mode ); 1008c1008 < set_sd_v1_rdev(sd_v1, inode->i_rdev ); --- > set_sd_v1_rdev(sd_v2, inode->i_rdev );There is no macro set_sd_v2_mode and set_sd_v1_mode and mixing v1 and v2 does not make sense.
After creating the filesystem with YaST the kernel boots but behaves strangely:
root@victoria:/usr/local > df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda4 1015424 666352 296656 70% / /dev/hda1 95863 65122 25626 72% /boot /dev/hda5 18669600 32840 18636760 1% /usr/local <---- reiserfs root@victoria:/usr/local > ls -al total 0 root@victoria:/usr/local > touch xxx Killed root@victoria:/usr/local > umount /usr/local <process hangs>
Giving up for today.
\rho
-- To unsubscribe, e-mail: suse-sparc-unsubscribe@suse.com For additional commands, e-mail: suse-sparc-help@suse.com
This archive was generated by hypermail 2.1.0 : Tue Jul 10 2001 - 05:45:20 PDT