Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2007 19:14:03 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        freebsd-current@freebsd.org
Subject:   Re: geom_journal panic: wrong offset 500107860990 for sectorsize 512 - RESOLVED
Message-ID:  <46119C4B.3020200@centtech.com>
In-Reply-To: <20070401180125.GE25661@garage.freebsd.pl>
References:  <460FDEF2.2060203@centtech.com> <20070401180125.GE25661@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Address 0x12 out of bounds>) 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.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46119C4B.3020200>