long tests automatically get interrupted

Andrew Engelbrecht <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
when i run long tests in debian sid, they usually get interrupted:

> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
> # 1  Extended offline    Completed without error       00%        77         -
> # 2  Short offline       Completed without error       00%        74         -
> # 3  Extended captive    Interrupted (host reset)      90%        73         -
> # 4  Extended captive    Interrupted (host reset)      90%         3         -
> # 5  Extended offline    Interrupted (host reset)      40%         3         -
> # 6  Conveyance offline  Completed without error       00%         0         -
> # 7  Short offline       Completed without error       00%         0         -


dmesg shows the following line near the interruption time for test #2:

> [153384.901218] usb 1-1.1: reset high-speed USB device number 6 using ehci-pci

in the one successful long test, i didn't use the "-C" option. in the
prior test, which was interrupted, i did. for the other interrupted
tests, i tested it with and without the "-C" option while using an older
kernel. (perhaps i had "ejected" the disk through the gui before
starting... i don't actually know, since it was a long time ago.)

is the kernel doing this because the drive is not fully accessible
during a test? my online search didn't reveal much, except for a forum
post i found a while back. unfortunately, i didn't save the link. :-(

if anyone knows why this is happening or how to best avoid this problem,
i can add it to the faq for you. thanks!


-andrew

p.s. please CC me in replies.


here is more of the dmesg log, for more context:

> [153143.087642] usb 1-1.1: new high-speed USB device number 5 using ehci-pci
> [153143.599687] usb 1-1.1: new high-speed USB device number 6 using ehci-pci
> [153143.692937] usb 1-1.1: New USB device found, idVendor=1058, idProduct=10a8
> [153143.692943] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [153143.692946] usb 1-1.1: Product: Elements 10A8
> [153143.692949] usb 1-1.1: Manufacturer: Western Digital
> [153143.692951] usb 1-1.1: SerialNumber: <edited>
> [153143.693345] usb-storage 1-1.1:1.0: USB Mass Storage device detected
> [153143.693632] scsi7 : usb-storage 1-1.1:1.0
> [153144.692345] scsi 7:0:0:0: Direct-Access     WD       Elements 10A8    1042 PQ: 0 ANSI: 6
> [153144.696752] sd 7:0:0:0: [sdb] Spinning up disk...
> [153145.699649] .....ready
> [153149.962446] sd 7:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
> [153149.963666] sd 7:0:0:0: [sdb] Write Protect is off
> [153149.963674] sd 7:0:0:0: [sdb] Mode Sense: 53 00 10 08
> [153149.964829] sd 7:0:0:0: [sdb] No Caching mode page found
> [153149.964837] sd 7:0:0:0: [sdb] Assuming drive cache: write through
> [153149.967766] sd 7:0:0:0: [sdb] No Caching mode page found
> [153149.967774] sd 7:0:0:0: [sdb] Assuming drive cache: write through
> [153150.016976]  sdb: sdb1 sdb2
> [153150.021154] sd 7:0:0:0: [sdb] No Caching mode page found
> [153150.021162] sd 7:0:0:0: [sdb] Assuming drive cache: write through
> [153150.021169] sd 7:0:0:0: [sdb] Attached SCSI disk
> [153384.901218] usb 1-1.1: reset high-speed USB device number 6 using ehci-pci

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.