Skip to contentSkip to conversation

New: I/O error when accessing disk in standby

Bug 107371 [email protected] 1 participant 4 messages Nov 6, 2015 – Aug 27, 2020 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=107371

            Bug ID: 107371
           Summary: I/O error when accessing disk in standby
           Product: SCSI Drivers
           Version: 2.5
    Kernel Version: 4.1.2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

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.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 107371] I/O error when accessing disk in standby

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=107371

Marcel Menzel ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Marcel Menzel ([email protected]) ---
Those messages also appear when using the mpt3sas driver (LSI 9305-24i in my case) on Kernel 5.7.11

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.