Date: Fri, 31 Dec 2004 00:50:35 +0100 From: Pierre Beyssac <beyssac@enst.fr> To: Scott Long <scottl@freebsd.org> Cc: freebsd-scsi@freebsd.org Subject: Re: unable to access disk block number > 2^32 Message-ID: <20041230235035.GA37715@bofh.enst.fr> In-Reply-To: <41D45C30.5060809@freebsd.org> References: <20041230164822.GA29784@bofh.enst.fr> <20041230192818.GA2987@odin.ac.hmc.edu> <20041230193105.GA33479@bofh.enst.fr> <41D45C30.5060809@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041230235035.GA37715>