Re: RIP on discard, JMicron USB adaptor

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

 



Hi Martin,

On 2024-02-28 21:19:25, Martin K. Petersen wrote:

In the code comments above the WARN, this condition indicates "the
discard granularity isn't set by buggy device driver". The block layer
needs this set if your driver also sets the max_discard_sectors limit.

Please provide the output of:

# sg_readcap -l /dev/sdN
# sg_vpd -l /dev/sdN
# sg_vpd -p 0xb0 /dev/sdN
# sg_vpd -p 0xb1 /dev/sdN
# sg_vpd -p 0xb2 /dev/sdN
# sg_opcodes /dev/sdN

Thanks!


I am not in the office anymore, so I cannot plugin the USB device to run
the commands you requested. First thing tomorrow in the morning, promised.


Regards

Harri




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux