From owner-freebsd-stable@FreeBSD.ORG Fri Nov 17 14:22:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 264BB16A407 for ; Fri, 17 Nov 2006 14:22:58 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F71943D7F for ; Fri, 17 Nov 2006 14:22:57 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.13.7/8.13.3) with ESMTP id kAHECohL061277 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 17 Nov 2006 14:12:52 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <455DC35F.7080308@unsane.co.uk> Date: Fri, 17 Nov 2006 14:12:47 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061017) MIME-Version: 1.0 To: Philippe Pegon References: <455D9C01.3000905@unsane.co.uk> <455DB601.8060306@crc.u-strasbg.fr> In-Reply-To: <455DB601.8060306@crc.u-strasbg.fr> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: gjournal on 6.x wont build X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 14:22:58 -0000 Philippe Pegon wrote: > Vince wrote: >> Hi all, > > Hi, > >> I was intending on trying out gjournal on a new disk i've added in my >> desktop. I had a look to see what the most recent patch provided by >> Pawel and found >> http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch >> I created the directories as per Pawel's original post >> (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) >> and the patch succeeded with no failed hunks, however adding >> options GEOM_JOURNAL >> options UFS_GJOURNAL >> >> to my kernel config >> then doing a make buildkernel KERNCONF=MYKERNELCONF >> >> errors out with >> /journal/g_journal.c >> /usr/src/sys/geom/journal/g_journal.c: In function `g_journal_do_switch': >> /usr/src/sys/geom/journal/g_journal.c:2872: error: structure has no >> member named `mnt_gjprovider' >> /usr/src/sys/geom/journal/g_journal.c:2885: error: structure has no >> member named `mnt_gjprovider' >> /usr/src/sys/geom/journal/g_journal.c:2890: error: structure has no >> member named `mnt_gjprovider' >> *** Error code 1 >> >> This is on a recent 6-stable system >> 6.2-PRERELEASE #1: Fri Nov 10 14:31:47 GMT 2006 >> any idea what ive done wrong ? > > the latest patch (gjournal6_20061024.patch) doesn't apply cleanly on > fresh RELENG_6 due to the last commit on mount.h : > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/mount.h?only_with_tag=RELENG_6 > > > I have slightly modified the patch so that it works (see attach) > That works a treat. Thanks for the prompt response and patch. i'll start playing with it when i get home. Vince > -- > Philippe Pegon >