Custom Query (1469 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (319 - 321 of 1469)

Ticket Resolution Summary Owner Reporter
#303 wontfix In smart test captive mode, extend the timeout as described by the ATA device Christian Franke gwendal1
Description

When we use smartctl -C -t long /dev/sdX, the ATA SMART command we send has the usual 20s timeout. This is not enough, the drive usually needs several minutes for the test to complete.

On the command line: smartctl -C -t long /dev/sda

smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.8.11] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in captive mode".
Drive command "Execute SMART Extended self-test routine immediately in captive mode" successful.
Testing has begun.
Please wait 10 minutes for test to complete.
Test will complete after Tue Oct 22 16:44:49 2013

In /var/log/messages, with SCSI debug log enabled:

 [  122.121623] sd 0:0:0:0: [sda] sd_ioctl: disk=sda, cmd=0x2285
 [  122.121640] scsi_block_when_processing_errors: rtn: 1
 [  122.121655] sd 0:0:0:0: [sda] Send:
 [  122.121662] 0xffff88015c86d300
 [  122.121672] sd 0:0:0:0: [sda] CDB:
 [  122.121679] ATA command pass through(16): 85 06 0c 00 d4 00 00 00 82 00 4f 00 c2 00 b0 00
 [  122.121772] buffer = 0x          (null), bufflen = 0, queuecommand 0xffffffff9df1d70c
 [  122.121785] leaving scsi_dispatch_cmnd()
 [  142.735081] sd 0:0:0:0: [sda] Done:
 [  142.735102] 0xffff88015c86d300 TIMEOUT 
 [  142.735121] sd 0:0:0:0: [sda]
 [  142.735134] Result: hostbyte=DID_OK driverbyte=DRIVER_OK
 [  142.735150] sd 0:0:0:0: [sda] CDB:
 [  142.735162] ATA command pass through(16): 85 06 0c 00 d4 00 00 00 82 00 4f 00 c2 00 b0 00
 [  142.735267] sd 0:0:0:0: [sda] scsi host busy 1 failed 0
 [  142.735287] Waking error handler thread
 [  142.735329] Error handler scsi_eh_0 waking up
 [  142.735365] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
 [  142.735386] ata1.00: failed command: SMART
 [  142.735407] ata1.00: cmd b0/d4:00:82:4f:c2/00:00:00:00:00/00 tag 0
 [  142.735407]          res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
 [  142.735436] ata1.00: status: { DRDY }
 [  142.735459] ata1: hard resetting link

The command times out after 20s. Instead, the command should have a 10 + x minutes timeout, to be sure the device can complete the command before the error handler kicks in. We do know the test will last 10 minutes from SMART data information.

However, looking at the code it seems there is no way today to pass the desired timeout with an ATA passthrough command.

#305 wontfix smartctl loses 1 byte from response to scsiModeSense in FreeBSD Alex Samorukov fedsim
Description

smartctl -a (and smartd as well) gives an error when trying to examine some disks because the response to a mode sense command cannot be parsed (see attached file smartctl.log).

However, if the same command is sent with camcontrol, the response is correct (note the leading byte in camcontrol.log, which is not present in smartctl.log).

#309 wontfix Use drive letter of Truecrypt mounted drive in Windows somebody dgray512
Description

Trying to use smartctl to access a truecrypt mounted drive in Windows using the drive letter. Smartctl says "Function not implemented". When I use the device name (e.g. /dev/sdb) everything works fine. See sample output below.

C:\>smartctl --health F: smartctl 6.2 2013-07-26 r3841 [x86_64-w64-mingw32-win7-sp1] (sf-6.2-1) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Standard Inquiry (36 bytes) failed [Function not implemented] Retrying with a 64 byte Standard Inquiry Standard Inquiry (64 bytes) failed [Function not implemented] A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.