unable to access disk block number > 2^32
Pierre Beyssac
beyssac at enst.fr
Thu Dec 30 15:50:43 PST 2004
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 at 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 at 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 at 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 at enst.fr
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?
More information about the freebsd-scsi
mailing list