From owner-freebsd-geom@FreeBSD.ORG Tue Dec 10 22:39:07 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED56F10D for ; Tue, 10 Dec 2013 22:39:07 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC0821725 for ; Tue, 10 Dec 2013 22:39:07 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id rBAMd6Le070021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Dec 2013 14:39:07 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id rBAMd6rY070020; Tue, 10 Dec 2013 14:39:06 -0800 (PST) (envelope-from jmg) Date: Tue, 10 Dec 2013 14:39:06 -0800 From: John-Mark Gurney To: Konstantin Belousov Subject: Re: geom_uzip, panic: bio_length in mdstart_vnode() Message-ID: <20131210223906.GY55638@funkthat.com> Mail-Followup-To: Konstantin Belousov , Paolo Pinto , nicolas dumont , freebsd-geom@freebsd.org References: <529F2748.2060900@netasq.com> <20131204162029.GV59496@kib.kiev.ua> <20131205020742.GU55638@funkthat.com> <20131205082556.GA59496@kib.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131205082556.GA59496@kib.kiev.ua> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 10 Dec 2013 14:39:07 -0800 (PST) Cc: nicolas dumont , Paolo Pinto , freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 22:39:08 -0000 Konstantin Belousov wrote this message on Thu, Dec 05, 2013 at 10:25 +0200: > On Wed, Dec 04, 2013 at 06:07:43PM -0800, John-Mark Gurney wrote: > > Konstantin Belousov wrote this message on Wed, Dec 04, 2013 at 18:20 +0200: > > > On Wed, Dec 04, 2013 at 01:59:52PM +0100, Paolo Pinto wrote: > > > > Hi list! > > > > > > > > My kernel is compiled with option INVARIANTS and I get a reproducible > > > > kernel panic when trying to read data from a GEOM based compressed > > > > memory disk: > > > > > > > > Unread portion of the kernel message buffer: > > > > panic: bio_length 140288 > > > > cpuid = 3 > > > > KDB: stack backtrace: > > > > #0 0xffffffff80909726 at kdb_backtrace+0x66 > > > > #1 0xffffffff808d0fa8 at panic+0x1d8 > > > > #2 0xffffffff80595949 at mdstart_vnode+0x619 > > > > > > The issue is that geom_uzip creates bios which are larger than MAXPHYS. > > > > Shouldn't geom_uzip be fixed to honor MAXPHYS? > By all means, fix it. Can one of you at least open a bug report so it's tracked? I see that a commit happened, but no bug was opened to track that this issue needs to be fixed... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."