From owner-freebsd-current@FreeBSD.ORG Wed Nov 23 23:04:07 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 CE83416A429 for ; Wed, 23 Nov 2005 23:04:07 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from ant.bwct.de (ant.bwct.de [85.159.14.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44DF043D72 for ; Wed, 23 Nov 2005 23:03:33 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by ant.bwct.de (8.12.11/8.12.11) with ESMTP id jANN3EgE012287; Thu, 24 Nov 2005 00:03:27 +0100 (CET) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id jANN2xEo025527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Nov 2005 00:02:59 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id jANN2wMC012929; Thu, 24 Nov 2005 00:02:58 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id jANN2t8N012928; Thu, 24 Nov 2005 00:02:55 +0100 (CET) (envelope-from ticso) Date: Thu, 24 Nov 2005 00:02:55 +0100 From: Bernd Walter To: Christian Brueffer Message-ID: <20051123230254.GA12630@cicely12.cicely.de> References: <200511150403.jAF43B6f001417@jerry.xoo.net> <20051119162011.I88861@carver.gumbysoft.com> <20051120011438.GA4194@unixpages.org> <20051122141101.G24336@carver.gumbysoft.com> <20051123210156.GC1856@unixpages.org> <20051123212600.GQ8256@cicely12.cicely.de> <20051123221734.GD1856@unixpages.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051123221734.GD1856@unixpages.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Report: * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on cicely12.cicely.de Cc: Ulf Kieber , ticso@cicely.de, freebsd-current@freebsd.org Subject: Re: GEOM error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 23:04:08 -0000 On Wed, Nov 23, 2005 at 11:17:34PM +0100, Christian Brueffer wrote: > On Wed, Nov 23, 2005 at 10:26:01PM +0100, Bernd Walter wrote: > > On Wed, Nov 23, 2005 at 10:01:56PM +0100, Christian Brueffer wrote: > > > On Tue, Nov 22, 2005 at 02:11:23PM -0800, Doug White wrote: > > > > On Sun, 20 Nov 2005, Christian Brueffer wrote: > > > > > Nov 20 02:03:30 haakonia kernel: g_vfs_done():da3s2c.bde[WRITE(offset=383341297664, length=65536)]error = 1 > > I don't know if the offset is in Bytes or sector, but even in case of > > Bytes the second example is at 714G, which is obviously out of disk > > size unless you are using multiple drives, which is not likely for an > > USB drive. > > In my case it is a 400GB PATA drive in an external enclosure. It only > happens with this drive, tried it on two boxes (connection via USB or > FireWire doesn't make a difference either). Damn - I managed to misscalculate the offsets (did /512 once itstead of 1024), but nevertheless it may fit here. The given write is near the end of your 400G drive. You should carefully check your partition sizes - not that your FS is just a few sectors longer than the partition. Don't forget to check the offset + 64k, which marks the end of the data range that the transfer wants to access and check all partition layers (slice, disklabel, etc) about correctness. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de