Skip to contentSkip to conversation

SCSI Mid layer sends READ_10 cmd that starts in the middle of a sector

DISCUSSION Michael Lyulko 1 participant 1 message Oct 4, 2006 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello, all. I'm writing a kind of low level driver and trying to register it with scsi mid layer. During the registration process I receive from the mid layer READ_10 command that tries to read one block starting from the middle of a block (block size is 4K and it reads from address 2048). It doesn't seems normal to me, so what do you say?
As I understand, the right place to tell mid layer about the block size is the answer to READ_CAPACITY command, am I right? Any tips are welcome!
Thanks in advance,
Michael.