From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 1 22:35:37 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30EC016A420 for ; Wed, 1 Jun 2005 22:35:37 +0000 (GMT) (envelope-from diskiller@diskiller.net) Received: from omta01ps.mx.bigpond.com (omta01ps.mx.bigpond.com [144.140.82.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF12543D4C for ; Wed, 1 Jun 2005 22:35:33 +0000 (GMT) (envelope-from diskiller@diskiller.net) Received: from [10.0.0.2] (really [144.136.214.245]) by omta01ps.mx.bigpond.com with ESMTP id <20050601223532.SDIQ6764.omta01ps.mx.bigpond.com@[10.0.0.2]>; Wed, 1 Jun 2005 22:35:32 +0000 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Thu, 02 Jun 2005 08:05:31 +0930 From: Martin Minkus To: Jung-uk Kim Message-ID: In-Reply-To: <200506011833.12686.jkim@niksun.com> Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Cc: freebsd-ppc@freebsd.org Subject: Re: [CALL FOR TESTERS] ReiserFS on non-i386 hardware patch X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 22:35:37 -0000 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" 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 >=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.)