From owner-freebsd-current Thu Jan 2 10:50:48 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A69F037B401; Thu, 2 Jan 2003 10:50:47 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59BF143ED1; Thu, 2 Jan 2003 10:50:46 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA04136; Fri, 3 Jan 2003 05:50:34 +1100 Date: Fri, 3 Jan 2003 05:50:40 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: phk@freebsd.org Cc: Jos Backus , Subject: Re: spec_getpages I/O read failure on md0 In-Reply-To: <734.1041511344@critter.freebsd.dk> Message-ID: <20030103052246.V486-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2 Jan 2003 phk@freebsd.org wrote: > In message <20021229152736.N39955-100000@gamplex.bde.org>, Bruce Evans writes: > > > >The md driver doesn't set any of the si_ size parameters so it has no chance > >of getting this stuff right when the parameters are not the defaults. > > It does however set its sectorsize to 4k. The problem was GEOM not > setting si_bsize_phys on the dev_t. The problem must be deeper, since setting it in GEOM doesn't affect the non-GEOM case. GEOM can't set it, since it might be different from the sector size. Stefan Esser reported some ordering and/or cloning problems. GEOM apparently creates an extra device whose si_bsize_phys can't be touched by the md driver. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message