Bug#670333: st0: Sense Key : Medium Error [deferred]
Package: linux-image-2.6.32-5-amd64
Version: 2.6.32-41
Hi,
today our backup did not complete successfully because of this error I
found with dmesg:
------------------------------------------------------------------------------
[16186645.419007] st0: Sense Key : Medium Error [deferred]
[16186645.419014] Info fld=0x2800
[16186645.419016] st0: Add. Sense: Write error
[16186783.801594] INFO: task tar:2574 blocked for more than 120 seconds.
[16186783.801598] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[16186783.801600] tar D 0000000000000000 0 2574 1830 0x00000000
[16186783.801606] ffffffff814611f0 0000000000000046 0000000000000000 ffff880187fd9300
[16186783.801611] 0000000000000020 ffffffffa001aa90 000000000000f9e0 ffff88001b9a3fd8
[16186783.801616] 0000000000015780 0000000000015780 ffff880193eaf100 ffff880193eaf3f8
[16186783.801620] Call Trace:
[16186783.801645] [<ffffffffa00f5aa8>] ? mpt_get_msg_frame+0xaf/0xba [mptbase]
[16186783.801653] [<ffffffffa010c2e4>] ? mptscsih_qcmd+0x4cb/0x4fa [mptscsih]
[16186783.801660] [<ffffffff812fb53d>] ? schedule_timeout+0x2e/0xdd
[16186783.801667] [<ffffffff8117ed4a>] ? blk_peek_request+0x18b/0x19f
[16186783.801671] [<ffffffff812fb3f4>] ? wait_for_common+0xde/0x15b
[16186783.801677] [<ffffffff8104a450>] ? default_wake_function+0x0/0x9
[16186783.801684] [<ffffffffa0154079>] ? st_do_scsi+0x2c4/0x2f4 [st]
[16186783.801690] [<ffffffffa0155600>] ? st_flush+0x101/0x2d0 [st]
[16186783.801695] [<ffffffff810d04ad>] ? remove_vma+0x6b/0x72
[16186783.801700] [<ffffffff810ed09e>] ? filp_close+0x37/0x62
[16186783.801705] [<ffffffff8104fa24>] ? put_files_struct+0x64/0xc1
[16186783.801709] [<ffffffff810512e9>] ? do_exit+0x236/0x6c6
[16186783.801713] [<ffffffff810517ef>] ? do_group_exit+0x76/0x9d
[16186783.801716] [<ffffffff81051828>] ? sys_exit_group+0x12/0x16
[16186783.801721] [<ffffffff810114ce>] ? common_interrupt+0xe/0x13
[16186783.801725] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b
[16186890.198229] st0: Sense Key : Medium Error [current]
[16186890.198236] Info fld=0x0
[16186890.198237] st0: Add. Sense: Write error
[17396097.187524] st0: Sense Key : Medium Error [deferred]
[17396097.187531] Info fld=0x2800
[17396097.187533] st0: Add. Sense: Write error
[17396230.538614] INFO: task tar:10658 blocked for more than 120 seconds.
[17396230.538618] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[17396230.538621] tar D 0000000000000002 0 10658 9921 0x00000000
[17396230.538627] ffffffff814611f0 0000000000000046 000000204f970650 ffff880194df4f00
[17396230.538632] 0000000000000020 ffffffffa001aa90 000000000000f9e0 ffff88015800dfd8
[17396230.538636] 0000000000015780 0000000000015780 ffff8800731f1c40 ffff8800731f1f38
[17396230.538641] Call Trace:
[17396230.538666] [<ffffffffa00f5aa8>] ? mpt_get_msg_frame+0xaf/0xba [mptbase]
[17396230.538674] [<ffffffffa010c2e4>] ? mptscsih_qcmd+0x4cb/0x4fa [mptscsih]
[17396230.538681] [<ffffffff812fb53d>] ? schedule_timeout+0x2e/0xdd
[17396230.538688] [<ffffffff8117ed4a>] ? blk_peek_request+0x18b/0x19f
[17396230.538692] [<ffffffff812fb3f4>] ? wait_for_common+0xde/0x15b
[17396230.538698] [<ffffffff8104a450>] ? default_wake_function+0x0/0x9
[17396230.538705] [<ffffffffa0154079>] ? st_do_scsi+0x2c4/0x2f4 [st]
[17396230.538711] [<ffffffffa0155600>] ? st_flush+0x101/0x2d0 [st]
[17396230.538716] [<ffffffff810d04ad>] ? remove_vma+0x6b/0x72
[17396230.538720] [<ffffffff810ed09e>] ? filp_close+0x37/0x62
[17396230.538725] [<ffffffff8104fa24>] ? put_files_struct+0x64/0xc1
[17396230.538729] [<ffffffff810512e9>] ? do_exit+0x236/0x6c6
[17396230.538733] [<ffffffff810517ef>] ? do_group_exit+0x76/0x9d
[17396230.538737] [<ffffffff81051828>] ? sys_exit_group+0x12/0x16
[17396230.538741] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b
------------------------------------------------------------------------------
The SCSI tape is (from HAL):
udi = '/org/freedesktop/Hal/devices/pci_1000_58_scsi_host_scsi_device_lun0'
info.linux.driver = 'st' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_1000_58_scsi_host' (string)
info.product = 'SCSI Device' (string)
info.subsystem = 'scsi' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_1000_58_scsi_host_scsi_device_lun0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'scsi' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.0/0000:07:00.0/host4/port-4:0/end_device-4:0/target4:0:0/4:0:0:0' (string)
scsi.bus = 0 (0x0) (int)
scsi.host = 4 (0x4) (int)
scsi.lun = 0 (0x0) (int)
scsi.model = 'Ultrium 2-SCSI' (string)
scsi.target = 0 (0x0) (int)
scsi.type = 'tape' (string)
scsi.vendor = 'HP' (string)
The SCSI controller is (from lspci):
07:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 08)
Subsystem: Hewlett-Packard Company SC44Ge Host Bus Adapter
Flags: bus master, fast devsel, latency 0, IRQ 24
I/O ports at 4000 [size=256]
Memory at fbff0000 (64-bit, non-prefetchable) [size=16K]
Memory at fbfe0000 (64-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at ec000000 [disabled] [size=2M]
Capabilities: [50] Power Management version 2
Capabilities: [68] Express Endpoint, MSI 00
Capabilities: [98] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: mptsas
Is this really a medium error or a kernel bug?
Thanks,
Giuseppe
Reply to: