Re: dmesg flooded with "Very big device. Trying to use READ CAPACITY(16)"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Menion,

> I means, the last_lba is read from the responde of read_capacity_10 in
> scsiReadCapacity10 via this conversion:
>
>     if (last_lbap)
>         *last_lbap = get_unaligned_be32(resp + 0);
>
> so are you sure that if the device return more than about 4TB the
> value of this variable will be 0xFFFFFFFFUL?

The SCSI SBC spec requires a device to report 0xFFFFFFFF if the capacity
is too large to be expressed in the response to a READ CAPACITY(10)
command.

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux