I got a LSI 2308 SAS controller (using the mpt2sas driver) and are noticing odd I/O errors on my disk. Example: [398374.597662] sd 0:0:4:0: [sde] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x00 [398374.597665] sd 0:0:4:0: [sde] CDB: opcode=0x88 88 00 00 00 00 00 c0 52 c3 90 00 00 00 08 00 00 [398374.597667] blk_update_request: I/O error, dev sde, sector 3226649488 It happenes to all disks on the controller. I can't seem to notice any problems due to this, but something does not seem right about getting this error. I also checked the offending sectors and it's no problem reading them. So i started to investigate this problem and soon found that the problem occurs when the disk is in standby mode. Ie. when I try to access the disk when it is in standby mode. Somehow the system tries to access the disk without spinning it up first, and hence getting this error. I also checked the offending sectors and there is no problem reading them. I don't notice any problems due to this error, but I don't think this error should occur. It's very easy to replicate. 1. run "hdparm -y" on the disk to spin it down. 2. Access the disk in any way, like list a directory. 3. Getting this I/O error above, but this getting the dirlist as if nothing wen't wrong.
still present in 4.19.29
Also in 5.0.7: [52375.260340] sd 0:0:5:0: [sdf] tag#1983 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK [52375.260355] sd 0:0:5:0: [sdf] tag#1983 CDB: Read(16) 88 00 00 00 00 00 95 e1 05 a0 00 00 00 18 00 00 [52375.260363] print_req_error: I/O error, dev sdf, sector 2514552224 flags 80700 [52399.593213] sd 0:0:0:0: [sda] tag#3186 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [52399.593227] sd 0:0:0:0: [sda] tag#3186 Sense Key : Not Ready [current] [52399.593234] sd 0:0:0:0: [sda] tag#3186 Add. Sense: Logical unit not ready, initializing command required [52399.593242] sd 0:0:0:0: [sda] tag#3186 CDB: Read(16) 88 00 00 00 00 00 6c 4f 18 f0 00 00 00 10 00 00 [52399.593250] print_req_error: I/O error, dev sda, sector 1817123056 flags 80700
Those messages also appear when using the mpt3sas driver (LSI 9305-24i in my case) on Kernel 5.7.11