Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jun 2005 08:05:31 +0930
From:      Martin Minkus <diskiller@diskiller.net>
To:        Jung-uk Kim <jkim@niksun.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: [CALL FOR TESTERS] ReiserFS on non-i386 hardware patch
Message-ID:  <BEC46E4B.333AE%diskiller@diskiller.net>
In-Reply-To: <200506011833.12686.jkim@niksun.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Holyyyy shitttt we're getting reiserfs in FreeBSD? I've been waiting for
this for a while :)

*excited*

Martin.


On 2/6/2005 8:03, "Jung-uk Kim" <jkim@niksun.com> wrote:

> On Wednesday 01 June 2005 02:29 pm, Jean-S=E9bastien P=E9dron wrote:
>> Sten Spans wrote:
>>> A sample reiserfs image would be nice for testing.
>>=20
>> You're right, an image is available here (14 Mb compressed):
>> http://people.freebsd.org/~dumbbell/reiserfs/images/REISERFS.bz2
>=20
> I was able to mount and read it on amd64 but I had to modify
> src/sys/modules/reiserfs/Makefile a bit (I will explain it later).
>=20
> beastie# bunzip2 REISERFS.bz2
> beastie# mdconfig -a -t vnode -f REISERFS -u 0
> beastie# mount_reiserfs /dev/md0 /mnt
> beastie# ls -l /mnt
> total 8056
> drwxr-xr-x  2 root  wheel       96  8  6  2004 Evanescence
> drwxr-xr-x  5 1000  1000       120  9  1  2004 GNUstep
> -rw-r--r--  1 1000  1000   4548644  8 23  2004 Shrek.mp3
> lrwxrwxrwx  1 root  wheel       27  9  1  2004 dir_symlink ->
> GNUstep/Library/WindowMaker
> lrwxrwxrwx  1 root  wheel       41  9  1  2004 evanesnce.mp3 ->
> Evanescence/Evanescence - My Immortal.mp3
> -rw-r--r--  2 1000  1000      3176  9  1  2004 file_hardlink
> lrwxrwxrwx  1 root  wheel       23  9  1  2004 file_symlink ->
> GNUstep/Defaults/WPrefs
> -r-xr-xr-x  1 root  wheel  3680076 10 28  2004 ls
> -rw-r--r--  1 root  wheel       70  8  6  2004 motd
> beastie# cat /mnt/motd
> Linux yui 2.4.26 #1 SMP Tue Jun 15 11:04:53 CEST 2004 i686 GNU/Linux
>=20
> beastie# uname -a
> FreeBSD beastie.xxx.xxx.xxx 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed Jun  =
1
> 17:22:23 EDT 2005
> jkim@beastie.xxx.xxx.xxx:/usr/src/sys/amd64/compile/BEASTIE  amd64
> beastie# umount /mnt
> beastie# mdconfig -d -u 0
>=20
> The kernel module doesn't load because of an amd64-specific GCC 3.4
> optimization bug.  To work around:
>=20
> Index: Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /home/ncvs/src/sys/modules/reiserfs/Makefile,v
> retrieving revision 1.1
> diff -u -r1.1 Makefile
> --- Makefile    24 May 2005 12:30:13 -0000      1.1
> +++ Makefile    1 Jun 2005 22:22:52 -0000
> @@ -8,4 +8,8 @@
>         reiserfs_namei.c reiserfs_prints.c reiserfs_stree.c \
>         reiserfs_vfsops.c reiserfs_vnops.c
> =20
> +.if ${MACHINE_ARCH} =3D=3D "amd64"
> +CFLAGS+=3D       -minline-all-stringops
> +.endif
> +
>  .include <bsd.kmod.mk>
>=20
> Without this, I get:
>=20
> link_elf_obj: symbol memset undefined
> kldload: Unsupported file type
>=20
> Note: 'Unsupported file type' is somewhat misleading here.  It just
>       means linker failed to find a symbol, in this case.
>=20
> For more information about the GCC bug, follow the thread:
>=20
> http://docs.freebsd.org/cgi/mid.cgi?IDTR9T00.LMF
>=20
> Thanks a lot for your work!
>=20
> Jung-uk Kim
>=20
> * Postscript: Is it legal to redistribute your MP3 files? ;-)
> _______________________________________________
> freebsd-ppc@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"

--
diskiller@diskiller.net | www.diskiller.net | irc.diskiller.net
=20
(No trees were destroyed in the sending of this message. However, a
large number of electrons were significantly inconvenienced.)






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BEC46E4B.333AE%diskiller>