From owner-freebsd-scsi@FreeBSD.ORG Thu Dec 30 23:50:43 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1942A16A4CE; Thu, 30 Dec 2004 23:50:43 +0000 (GMT) Received: from smtp2.enst.fr (revol1.enst.fr [137.194.32.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A20743D1D; Thu, 30 Dec 2004 23:50:40 +0000 (GMT) (envelope-from beyssac@bofh.enst.fr) Received: from localhost (localhost.enst.fr [127.0.0.1]) by smtp2.enst.fr (Postfix) with ESMTP id 4BDEA164E84; Fri, 31 Dec 2004 00:50:39 +0100 (CET) Received: from smtp2.enst.fr ([127.0.0.1]) by localhost (revol1.enst.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28943-02; Fri, 31 Dec 2004 00:50:35 +0100 (CET) Received: from bofh.enst.fr (bofh.enst.fr [137.194.32.191]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bofh.enst.fr", Issuer "ENST CA" (not verified)) by smtp2.enst.fr (Postfix) with ESMTP id 83006164CBE; Fri, 31 Dec 2004 00:50:35 +0100 (CET) Received: from bofh.enst.fr (localhost [127.0.0.1]) by bofh.enst.fr (8.13.1/8.13.1) with ESMTP id iBUNoZ4C038446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 31 Dec 2004 00:50:35 +0100 (CET) (envelope-from beyssac@bofh.enst.fr) Received: (from beyssac@localhost) by bofh.enst.fr (8.13.1/8.13.1/Submit) id iBUNoZKS038445; Fri, 31 Dec 2004 00:50:35 +0100 (CET) (envelope-from beyssac) Date: Fri, 31 Dec 2004 00:50:35 +0100 From: Pierre Beyssac To: Scott Long Message-ID: <20041230235035.GA37715@bofh.enst.fr> References: <20041230164822.GA29784@bofh.enst.fr> <20041230192818.GA2987@odin.ac.hmc.edu> <20041230193105.GA33479@bofh.enst.fr> <41D45C30.5060809@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41D45C30.5060809@freebsd.org> User-Agent: Mutt/1.4.2.1i X-message-flag: Warning! Use of Microsoft Outlook makes your system susceptible to worms and viruses X-Virus-Scanned: amavisd-new at enst.fr cc: freebsd-scsi@freebsd.org Subject: Re: unable to access disk block number > 2^32 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 23:50:43 -0000 On Thu, Dec 30, 2004 at 12:51:12PM -0700, Scott Long wrote: > I've looked through the sym driver and it indeed seems to be able to > support 16 byte CDBs. Can you turn on some of the CAM debug options > and send back the output that you get? Here's with debug flags 0x2b (info+trace+cdb+xpt+periph). After all it might be related to the phase problem message from the Symbios driver: it appears during READ(16) but not during READ(6). # dd if=/dev/da3 skip=9000000000 count=1 of=/dev/null 0+0 records in 0+0 records out 0 bytes transferred in 0.000751 secs (0 bytes/sec) => Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): daopen: disk=da3 (unit 3) Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): entering cdgetccb Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_schedule Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): camisr Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): SERVICE ACTION IN(16). CDB: 9e 10 0 0 0 0 0 0 0 0 0 0 0 c 0 0 Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): phase change 2-7 16@5e8e8168 resid=10. Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): camisr Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_schedule Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): READ(16). CDB: 88 0 0 0 0 2 18 71 1a 0 0 0 0 1 0 0 Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): phase change 2-7 16@5e8e8168 resid=10. Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): camisr Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): entering cdgetccb Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_schedule Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:11:42 libre kernel: (da3:sym0:0:9:0): camisr # dd if=/dev/da3 skip=1000 count=1 of=/dev/null 1+0 records in 1+0 records out 512 bytes transferred in 0.000801 secs (639132 bytes/sec) => Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): daopen: disk=da3 (unit 3) Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): entering cdgetccb Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_schedule Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): camisr Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): SERVICE ACTION IN(16). CDB: 9e 10 0 0 0 0 0 0 0 0 0 0 0 c 0 0 Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): phase change 2-7 16@62b3af68 resid=10. Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): camisr Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_schedule Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): READ(06). CDB: 8 0 3 e8 1 0 Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): camisr Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): entering cdgetccb Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_schedule Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_setup_ccb Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): sym_action Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): xpt_done Dec 31 00:10:19 libre kernel: (da3:sym0:0:9:0): camisr -- A: Yes. Pierre Beyssac pb@enst.fr >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting annoying in email?