From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 15:44:16 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 35AB916A41C for ; Wed, 8 Jun 2005 15:44:16 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B7A343D4C for ; Wed, 8 Jun 2005 15:44:15 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j58FiB4J018744 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 8 Jun 2005 17:44:13 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j58FhWhs061493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Jun 2005 17:43:32 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j58FhWf7009990; Wed, 8 Jun 2005 17:43:32 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j58FhVEQ009989; Wed, 8 Jun 2005 17:43:31 +0200 (CEST) (envelope-from ticso) Date: Wed, 8 Jun 2005 17:43:31 +0200 From: Bernd Walter To: "Raphael H. Becker" Message-ID: <20050608154331.GC9844@cicely12.cicely.de> References: <20050608122324.C41471@p-i-n.com> <42A6D850.2070603@centtech.com> <20050608123953.GG95969@cicely12.cicely.de> <20050608154312.D41471@p-i-n.com> <20050608135229.GK95969@cicely12.cicely.de> <20050608161548.F41471@p-i-n.com> <20050608142409.GM95969@cicely12.cicely.de> <20050608165527.G41471@p-i-n.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050608165527.G41471@p-i-n.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de Cc: freebsd-current@freebsd.org, ticso@cicely.de Subject: Re: Accessing SCSI-Devices >2TB 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, 08 Jun 2005 15:44:16 -0000 On Wed, Jun 08, 2005 at 04:55:27PM +0200, Raphael H. Becker wrote: > On Wed, Jun 08, 2005 at 04:24:10PM +0200, Bernd Walter wrote: > > > And 1kb would extend the 2TB limit to 4TB, what would work for me here. > > > > Obviously, but that's not required - you can have SCSI disks with more > > than 2^32 512 Byte blocks since more than 2 years. > > Then we might have some other problems accessing that RAID. When > configured as a large 2620354MB logical drive (no logical drive partitions): > > [...] > (da1:ahc1:0:0:0): No or incomplete CDB sent to device. > (da1:ahc1:0:0:0): Protocol violation in Message-in phase. Attempting to abort. > (da1:ahc1:0:0:0): Abort Message Sent > (da1:ahc1:0:0:0): SCB 9 - Abort Completed. > (da1:ahc1:0:0:0): No or incomplete CDB sent to device. > (da1:ahc1:0:0:0): Protocol violation in Message-in phase. Attempting to abort. > (da1:ahc1:0:0:0): Abort Message Sent > (da1:ahc1:0:0:0): SCB 14 - Abort Completed. Obviously something wents wrong. You might want to add CAM and/or ahc debugging. Asking on freebsd-scsi list would also a good idea. > Using 1 logical drive with two partitions mapped to two LUNs (resulting > in da1 and da2 in FreeBSD) works perfectly. > > BTW: I'm actually running a nearly-GENERIC kernel 5.4-RELEASE here, just > with > options SMP > device ccd > > added. Maybe I will need some other options? What about GEOM? > > But for me it smells more about the SCSI-protocol between RAID and > Controller (Adaptec 39160), something about LBA-64? > Maybe running -current will give me this feature? > > Running ccd upon a partitioned RAID is "A Bad Idea[tm]". > > Any pointers to documentation? Maybe I just need some deeper > knowledge about whats going on here. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de