[PATCH 0/1][SRU][F][G][OEM-5.6] blk_update_request error when mount nvme partition
acelan.kao at canonical.com
Tue Jul 28 08:45:53 UTC 2020
Got below error message after upgraded to Focal kernel(v5.4)
[ 576.793852] blk_update_request: operation not supported error, dev
nvme1n1, sector 4218887 op 0x9:(WRITE_ZEROES) flags 0x0 phys_seg 0 prio
This issue was introduced by below commit from v5.1-rc1 which added write
6e02318eaea5 nvme: add support for the Write Zeroes command
SK hynix firmware has a bug that it treats NLB as max value instead
of a range, so the NLB passed isn't a valid value to the firmware.
Add a quirk to disable write zeros support
Verified on the machine with SK hynix PC400 nvme machine.
Low, it's a quirk to a specific PCI ID.
Kai-Heng Feng (1):
nvme-pci: prevent SK hynix PC400 from using Write Zeroes command
drivers/nvme/host/pci.c | 2 ++
1 file changed, 2 insertions(+)
More information about the kernel-team