The Error "scsi0 (2:0): rejecting I/O to device being removed" in Netdump Log (Doc ID 787349.1)

Last updated on MARCH 08, 2017

Applies to:

Linux Kernel - Version: 4.4
This problem can occur on any platform.

Symptoms

The machine crashed suddenly with error:
"scsi0 (2:0): rejecting I/O to device being removed"
in the netdump/diskdump/kdump log:

mptscsi: ioc0: attempting task abort! (sc=00000103fe9b22c0)
scsi0 : destination target 2, lun 0
command = Write (10) 00 00 84 1e 29 00 00 90 00
mptscsi: ioc0: task abort: SUCCESS (sc=00000103fe9b22c0)
mptscsi: ioc0: attempting task abort! (sc=00000103fe9b22c0)
scsi0 : destination target 2, lun 0
... ...
... ...
sd 0:0:2:0: Illegal state transition cancel->offline
Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1700

Call Trace:<ffffffffa0008026>{:scsi_mod:scsi_device_set_state+241}
<ffffffffa00063cd>{:scsi_mod:scsi_error_handler+2567}
<ffffffff80110e87>{child_rip+8} <ffffffffa00059c6>{:scsi_mod:scsi_error_handler+0}
<ffffffff80110e7f>{child_rip+0}
scsi0 (2:0): rejecting I/O to device being removed
Buffer I/O error on device sda5, logical block 1302132
lost page write due to I/O error on sda5
SCSI error : <0 0 2 0> return code = 0x10000
end_request: I/O error, dev sda, sector 29245208
... ...
... ...
SCSI error : <0 0 2 0> return code = 0x10000
end_request: I/O error, dev sda, sector 8658609
scsi0 (2:0): rejecting I/O to device being removed
Buffer I/O error on device sda5, logical block 0
lost page write due to I/O error on sda5
EXT3-fs error (device sda5) in ext3_dirty_inode: Journal has aborted
ext3_abort called.
EXT3-fs error (device sda5): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
EXT3-fs error (device sda5) in ext3_reserve_inode_write: Journal has aborted
EXT3-fs error (device sda5) in ext3_dirty_inode: Journal has aborted
... ...


Changes

These errors are most likely found on Dell x900 and x950 servers with SAS/5i or SAS/6iR controllers, or Sun X4100 servers.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms