Re: smartctl output for Crucial 512Gb SSD
Mike <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <CABfcST8BApyz0FVjcN-eYwGmN2GJMumoWBmP369OxfU9OPC3zg@mail.gmail.com> |
Hi root@w530:/home/user/Downloads/smartmontools-6.3# ./smartctl -l gplog,0x70,0-1 /dev/sdb smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.13.0-34-generic] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org General Purpose Log 0x70 does not exist (override with '-T permissive' option) root@w530:/home/user/Downloads/smartmontools-6.3# ./smartctl -T permissive -l gplog,0x70,0-1 /dev/sdb smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.13.0-34-generic] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org General Purpose Log 0x70 has only 1 sectors, output truncated ATA_READ_LOG_EXT (addr=0x70:0x00, page=0, n=1) failed: scsi error medium or hardware error (serious) The first command took a while to run again, during which the following appeared: [ 241.613661] INFO: task smartctl:2566 blocked for more than 120 seconds. [ 241.613665] Tainted: PF O 3.13.0-34-generic #60-Ubuntu [ 241.613674] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 241.613675] smartctl D ffff88021ddd4440 0 2566 2547 0x00000000 [ 241.613689] ffff8800cffe7b30 0000000000000002 ffff88020d7e5fc0 ffff8800cffe7fd8 [ 241.613694] 0000000000014440 0000000000014440 ffff88020d7e5fc0 ffff8802116a1058 [ 241.613699] ffff8802116a105c ffff88020d7e5fc0 00000000ffffffff ffff8802116a1060 [ 241.613704] Call Trace: [ 241.613717] [<ffffffff817206d9>] schedule_preempt_disabled+0x29/0x70 [ 241.613723] [<ffffffff81722545>] __mutex_lock_slowpath+0x135/0x1b0 [ 241.613729] [<ffffffff817225df>] mutex_lock+0x1f/0x2f [ 241.613735] [<ffffffff811f6c83>] __blkdev_get+0x63/0x4c0 [ 241.613740] [<ffffffff811f72a5>] blkdev_get+0x1c5/0x340 [ 241.613745] [<ffffffff811f59fe>] ? bdget+0x3e/0x150 [ 241.613749] [<ffffffff811f74cb>] blkdev_open+0x5b/0x80 [ 241.613756] [<ffffffff811ba033>] do_dentry_open+0x233/0x2e0 [ 241.613760] [<ffffffff811f7470>] ? blkdev_get_by_dev+0x50/0x50 [ 241.613764] [<ffffffff811ba369>] vfs_open+0x49/0x50 [ 241.613770] [<ffffffff811c8f04>] do_last+0x554/0x1200 [ 241.613779] [<ffffffff81311c6b>] ? apparmor_file_alloc_security+0x5b/0x180 [ 241.613784] [<ffffffff811cc38b>] path_openat+0xbb/0x640 [ 241.613790] [<ffffffff811cd76a>] do_filp_open+0x3a/0x90 [ 241.613797] [<ffffffff811da527>] ? __alloc_fd+0xa7/0x130 [ 241.613802] [<ffffffff811bbe89>] do_sys_open+0x129/0x280 [ 241.613809] [<ffffffff81020d45>] ? syscall_trace_enter+0x145/0x250 [ 241.613814] [<ffffffff811bbffe>] SyS_open+0x1e/0x20 [ 241.613821] [<ffffffff8172c97f>] tracesys+0xe1/0xe6 On 18 August 2014 20:05, Christian Franke <[email protected]> wrote: > Mike wrote: >> >> Great thanks. I've applied the patch and ran the same command, which >> initially takes around 30 seconds to return any data at all, it then >> hung for about 1 minute after printing the GPL table. > > > This is because, with the patch, these large logs are completely read into > memory. Smartctl should only read sectors needed but this requires some > rework. > > >> ... >> >> Self-test execution status: ( 80) The previous self-test completed >> having >> the electrical element of the test failed. > > > This suggests a serious problem with the drive. > > >> ... >> >> >> SMART Extended Comprehensive Error Log Version: 1 (16383 sectors) >> No Errors Logged >> >> SMART Extended Self-test Log Version: 1 (3449 sectors) > > > smartctl should print one entry here but doesn't. There is either a bug in > smartctl or the drive does not fill the self-test log as specified by the > standard. > > Please provide output of "smartctl -l gplog,0x07,0-1 /dev/sdb" as > attachment(!). > > Connecting to another SATA controller with better pass-through support may > help to read the old Self-test Log (don't use -x, use -a or -l selftest). > > Thanks, > Christian > ------------------------------------------------------------------------------