From owner-freebsd-current@FreeBSD.ORG Tue Apr 3 00:14:05 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E1AE16A401 for ; Tue, 3 Apr 2007 00:14:05 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id D621E13C457 for ; Tue, 3 Apr 2007 00:14:04 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l330E3BT061684 for ; Mon, 2 Apr 2007 19:14:04 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <46119C4B.3020200@centtech.com> Date: Mon, 02 Apr 2007 19:14:03 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <460FDEF2.2060203@centtech.com> <20070401180125.GE25661@garage.freebsd.pl> In-Reply-To: <20070401180125.GE25661@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2998/Mon Apr 2 16:34:29 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com X-Mailman-Approved-At: Tue, 03 Apr 2007 02:13:59 +0000 Subject: Re: geom_journal panic: wrong offset 500107860990 for sectorsize 512 - RESOLVED X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 00:14:05 -0000 On 04/01/07 13:01, Pawel Jakub Dawidek wrote: > On Sun, Apr 01, 2007 at 11:33:54AM -0500, Eric Anderson wrote: >> After running: >> >> gjournal load >> gjournal label -s 4G /dev/mirror/data >> >> I got this panic, and now every time I load geom_journal.ko, the system panics this same way. >> >> GEOM_JOURNAL: Journal 4239489025: mirror/data contains data. >> GEOM_JOURNAL: Journal 4239489025: mirror/data contains journal. >> GEOM_JOURNAL: Journal mirror/data clean. >> panic: wrong offset 500107860990 for sectorsize 512 >> >> I have a crash dump to look at if needed. >> Looks something like this: >> #8 0xc06e0f13 in kdb_enter (msg=0x12
) at cpufunc.h:60 >> #9 0xc06c2334 in panic (fmt=0xc0943b8b "wrong offset %jd for sectorsize %u") at /usr/src/sys/kern/kern_shutdown.c:547 >> #10 0xc0685316 in g_io_request (bp=0xc2edaad4, cp=0xc2485140) at /usr/src/sys/geom/geom_io.c:356 >> #11 0xc0685aae in g_write_data (cp=0xc2485140, offset=Unhandled dwarf expression opcode 0x93) at /usr/src/sys/geom/geom_io.c:643 >> >> >> This is running -CURRENT's latest snapshot (from March). > > Could you give me full backtrace? I don't see who calls g_write_data() > exactly. > This has been resolved. Turns out, that you should not use size modifiers like 'G' or 'M' when using the -s option to gjournal. Thanks Pawel for the help!! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------