read capacity 16

Frank Borich
2004-12-08T21:07:45Z

Please forgive my ignorance here.

I am unable to get the kernel (2.4.21) to send a read capacity 16 to a
lun
that requires more than 4 bytes to specify it's last LBA, automatically.
If I
use the sg driver to send a read capacity 16 staraight away, it works
fine.
I am using the qlogic device driver 7.00.03 (which I believe supports 16
byte commands).

When I do the bus scan (using modprobe), a READ CAPACITY 10 is sent
and FFFFFFFF is returned in LBA field, this should signal linux kernel
to
send larger READ CAPACITY 16 to get correct size but it's not. Instead
the
lun is seen as 0 MB in size.

I can't seem to find any good documentation on this. Can I patch this
kernel
to do this ?

Regards,

Frank