From: Douglas G. <do...@to...> - 2004-07-15 15:07:44
|
Stehpan, Your email was forwarded to me by Bruce Allen. I have put code in to cope with unexpected "unit attention" warnings that I believe caused the problem you described below. The changes are in CVS. If you can fetch the latest version of smartmontools, retest the problem and report the results then I would be grateful. Doug Gilbert Bruce Allen wrote: > This one's for you... > > ---------- Forwarded message ---------- > Date: Sat, 10 Jul 2004 02:22:33 +0200 > From: Stephan Grossklass <sgr...@t-...> > To: sma...@li... > Subject: [smartmontools-support]Quirky ST318406LW > > Hi, > > my Cheetah 36ES (ST318406LW) seems to suffer from some kind of firmware > quirk. Frequently when I do a smartctl -a /dev/scsi01 (5.31, Win32, > 53C895, Adaptec ASPI 4.71a), I only get > > scsiModePageOffset: response length too short, resp_len=1 offset=4 > bd_len=0 > >>>Terminate command early due to bad response to IEC mode page > > A mandatory SMART command failed: exiting. To continue, add one or more > '-T permissive' options. > > Doing just that yields most of the desired output, and finally running > smartctl again with the original command line yields the full output. > Another run will still produce the correct output. (See below. As for a > theory, maybe the data cannot be gathered quickly enough internally. > Reducing the pace of mode page queries may be worth a shot.) Some time > later, the drive reverts to the original behavior. (Caching?) I once had > an X15 36LP here, and that didn't do this. Also, the power up time is > off by some factor. > > Stephan > > Now, the detailed smartctl output: > > > smartctl -a -r ioctl,3 /dev/scsi01 >st318406lw-bad.txt > ====================================================== > > smartctl version 5.31 Copyright (C) 2002-4 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > [inquiry: 12 00 00 00 24 00 ] > OK > Incoming data, len=36: > 00 00 00 03 12 8b 00 01 3e 53 45 41 47 41 54 45 20 > 10 53 54 33 31 38 34 30 36 4c 57 20 20 20 20 20 20 > 20 30 31 30 41 > Device: SEAGATE ST318406LW Version: 010A > [mode sense: 1a 00 1c 00 40 00 ] > >>> Sense buffer, len=18: > 00 70 00 06 00 00 00 00 0a 00 00 00 00 29 02 02 00 > 10 00 00 > sense_key=6 asc=29 ascq=2 > scsiModePageOffset: response length too short, resp_len=1 offset=4 > bd_len=0 > >>>Terminate command early due to bad response to IEC mode page > > A mandatory SMART command failed: exiting. To continue, add one or more > '-T permissive' options. > > > smartctl -a -r ioctl,3 -T permissive /dev/scsi01 > >>st318406lw-permissive.txt > > ====================================================== > > smartctl version 5.31 Copyright (C) 2002-4 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > [inquiry: 12 00 00 00 24 00 ] > OK > Incoming data, len=36: > 00 00 00 03 12 8b 00 01 3e 53 45 41 47 41 54 45 20 > 10 53 54 33 31 38 34 30 36 4c 57 20 20 20 20 20 20 > 20 30 31 30 41 > Device: SEAGATE ST318406LW Version: 010A > [mode sense: 1a 00 1c 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 9c 0a 00 03 > 10 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > [mode sense: 1a 00 5c 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 9c 0a 8d 0f > 10 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > [inquiry: 12 01 80 00 40 00 ] > OK > Incoming data, len=64: > 00 00 80 00 14 33 46 45 31 31 4d 54 48 30 30 30 30 > 10 37 32 33 35 46 31 41 45 4c 57 20 20 20 20 20 20 > 20 30 31 30 41 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Serial number: 3FE11MTH00007235F1AE > Device type: disk > [mode sense: 1a 00 19 00 40 00 ] > >>> Sense buffer, len=18: > 00 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 01 cd > 10 00 02 > sense_key=5 asc=24 ascq=0 > Local Time is: Fri Jul 09 23:44:26 2004 GMT > [test unit ready: 00 00 00 00 00 00 ] > OK > Device supports SMART and is Enabled > Temperature Warning Disabled or Not Supported > [log sense: 4d 00 40 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 00 00 00 09 > [log sense: 4d 00 40 00 00 00 00 00 0e 00 ] > OK > Incoming data, len=14: > 00 00 00 00 09 00 02 03 05 06 10 37 3d 3e 00 > [request sense: 03 00 00 00 12 00 ] > OK > Incoming data, len=18: > 00 70 00 00 00 15 d1 19 0a 00 00 00 00 00 00 00 00 > 10 00 00 > SMART Health Status: OK > [log sense: 4d 00 77 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 37 00 00 28 > [log sense: 4d 00 77 00 00 00 00 00 2c 00 ] > OK > Incoming data, len=44: > 00 37 00 00 28 00 00 20 04 08 ca 44 2b 00 01 20 04 > 10 01 6b 7f f1 00 02 20 04 02 14 aa b2 00 03 20 04 > 20 00 13 68 b8 00 04 20 04 00 00 0d c4 > Vendor (Seagate) cache information > Blocks sent to initiator = 147473451 > Blocks received from initiator = 23822321 > Blocks read from cache and sent to initiator = 34908850 > Number of read and write commands whose size <= segment size = 1271992 > Number of read and write commands whose size > segment size = 3524 > [log sense: 4d 00 7e 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 3e 00 00 10 > [log sense: 4d 00 7e 00 00 00 00 00 14 00 ] > OK > Incoming data, len=20: > 00 3e 00 00 10 00 00 20 04 00 00 06 7e 00 08 20 04 > 10 00 00 00 12 > Vendor (Seagate) factory information > number of hours powered up = 27.70 > number of minutes until next internal SMART test = 18 > [log sense: 4d 00 43 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 03 00 00 3c > [log sense: 4d 00 43 00 00 00 00 00 40 00 ] > OK > Incoming data, len=64: > 00 03 00 00 3c 00 00 20 04 00 00 07 7f 00 01 20 04 > 10 00 00 00 00 00 02 20 04 00 00 00 00 00 03 20 04 > 20 00 00 07 7f 00 04 20 04 00 00 07 7f 00 05 20 08 > 30 00 00 00 21 5c 20 ba 00 00 06 20 04 00 00 00 00 > [log sense: 4d 00 42 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 02 00 00 34 > [log sense: 4d 00 42 00 00 00 00 00 38 00 ] > OK > Incoming data, len=56: > 00 02 00 00 34 00 01 20 04 00 00 00 00 00 02 20 04 > 10 00 00 00 00 00 03 20 04 00 00 00 00 00 04 20 04 > 20 00 00 00 00 00 05 20 08 00 00 00 00 5b 5f 6a 00 > 30 00 06 20 04 00 00 00 00 > [log sense: 4d 00 45 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 05 00 00 3c > [log sense: 4d 00 45 00 00 00 00 00 40 00 ] > OK > Incoming data, len=64: > 00 05 00 00 3c 00 00 20 04 00 00 00 00 00 01 20 04 > 10 00 00 00 00 00 02 20 04 00 00 00 00 00 03 20 04 > 20 00 00 00 00 00 04 20 04 00 00 00 00 00 05 20 08 > 30 00 00 00 00 00 00 10 00 00 06 20 04 00 00 00 00 > > Error counter log: > Errors Corrected Total Total Correction > Gigabytes Total > delay: [rereads/ errors algorithm > processed uncorrected > minor | major rewrites] corrected invocations [10^9 > bytes] errors > read: 1919 0 0 1919 1919 > 143.280 0 > write: 0 0 0 0 0 > 1.533 0 > verify: 0 0 0 0 0 > 0.000 0 > [log sense: 4d 00 46 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 06 00 00 08 > [log sense: 4d 00 46 00 00 00 00 00 0c 00 ] > OK > Incoming data, len=12: > 00 06 00 00 08 00 00 20 04 00 00 00 01 > > Non-medium error count: 1 > [mode sense: 1a 00 0a 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 8a 0a 02 00 > 10 00 00 00 00 00 00 01 f0 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S > on'] > [log sense: 4d 00 50 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 10 00 01 90 > [log sense: 4d 00 50 00 00 00 00 01 94 00 ] > OK > Incoming data, len=404 [only first 256 bytes shown]: > 00 10 00 01 90 00 01 03 10 40 00 00 17 ff ff ff ff > 10 ff ff ff ff 00 00 00 00 00 02 03 10 20 00 00 13 > 20 ff ff ff ff ff ff ff ff 00 00 00 00 00 03 03 10 > 30 40 00 00 07 ff ff ff ff ff ff ff ff 00 00 00 00 > 40 00 04 03 10 20 00 00 07 ff ff ff ff ff ff ff ff > 50 00 00 00 00 00 05 03 10 20 00 00 06 ff ff ff ff > 60 ff ff ff ff 00 00 00 00 00 06 03 10 40 00 00 03 > 70 ff ff ff ff ff ff ff ff 00 00 00 00 00 07 03 10 > 80 20 00 00 03 ff ff ff ff ff ff ff ff 00 00 00 00 > 90 00 08 03 10 20 00 00 00 ff ff ff ff ff ff ff ff > a0 00 00 00 00 00 09 03 10 20 00 00 00 ff ff ff ff > b0 ff ff ff ff 00 00 00 00 00 0a 03 10 00 00 00 00 > c0 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 03 10 > d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > e0 00 0c 03 10 00 00 00 00 00 00 00 00 00 00 00 00 > f0 00 00 00 00 00 0d 03 10 00 00 00 00 00 00 00 00 > > SMART Self-test log > Num Test Status segment LifeTime > LBA_first_err [SK ASC ASQ] > Description number (hours) > # 1 Background long Completed - > 23 - [- - -] > # 2 Background short Completed - > 19 - [- - -] > # 3 Background long Completed - > 7 - [- - -] > # 4 Background short Completed - > 7 - [- - -] > # 5 Background short Completed - > 6 - [- - -] > # 6 Background long Completed - > 3 - [- - -] > # 7 Background short Completed - > 3 - [- - -] > # 8 Background short Completed - > 0 - [- - -] > # 9 Background short Completed - > 0 - [- - -] > > [mode sense: 1a 00 0a 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 8a 0a 02 00 > 10 00 00 00 00 00 00 01 f0 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Long (extended) Self Test duration: 496 seconds [8.3 minutes] > > > smartctl -a -r ioctl,3 /dev/scsi01 >st318406lw-good.txt > ======================================================= > > smartctl version 5.31 Copyright (C) 2002-4 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > [inquiry: 12 00 00 00 24 00 ] > OK > Incoming data, len=36: > 00 00 00 03 12 8b 00 01 3e 53 45 41 47 41 54 45 20 > 10 53 54 33 31 38 34 30 36 4c 57 20 20 20 20 20 20 > 20 30 31 30 41 > Device: SEAGATE ST318406LW Version: 010A > [mode sense: 1a 00 1c 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 9c 0a 00 03 > 10 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > [mode sense: 1a 00 5c 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 9c 0a 8d 0f > 10 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > [inquiry: 12 01 80 00 40 00 ] > OK > Incoming data, len=64: > 00 00 80 00 14 33 46 45 31 31 4d 54 48 30 30 30 30 > 10 37 32 33 35 46 31 41 45 4c 57 20 20 20 20 20 20 > 20 30 31 30 41 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Serial number: 3FE11MTH00007235F1AE > Device type: disk > [mode sense: 1a 00 19 00 40 00 ] > >>> Sense buffer, len=18: > 00 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 01 cd > 10 00 02 > sense_key=5 asc=24 ascq=0 > Local Time is: Fri Jul 09 23:44:44 2004 GMT > [test unit ready: 00 00 00 00 00 00 ] > OK > Device supports SMART and is Enabled > Temperature Warning Disabled or Not Supported > [log sense: 4d 00 40 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 00 00 00 09 > [log sense: 4d 00 40 00 00 00 00 00 0e 00 ] > OK > Incoming data, len=14: > 00 00 00 00 09 00 02 03 05 06 10 37 3d 3e 00 > [request sense: 03 00 00 00 12 00 ] > OK > Incoming data, len=18: > 00 70 00 00 00 16 70 78 0a 00 00 00 00 00 00 00 00 > 10 00 00 > SMART Health Status: OK > [log sense: 4d 00 77 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 37 00 00 28 > [log sense: 4d 00 77 00 00 00 00 00 2c 00 ] > OK > Incoming data, len=44: > 00 37 00 00 28 00 00 20 04 08 ca 44 2f 00 01 20 04 > 10 01 6b 80 f9 00 02 20 04 02 14 aa b3 00 03 20 04 > 20 00 13 68 d9 00 04 20 04 00 00 0d c4 > Vendor (Seagate) cache information > Blocks sent to initiator = 147473455 > Blocks received from initiator = 23822585 > Blocks read from cache and sent to initiator = 34908851 > Number of read and write commands whose size <= segment size = 1272025 > Number of read and write commands whose size > segment size = 3524 > [log sense: 4d 00 7e 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 3e 00 00 10 > [log sense: 4d 00 7e 00 00 00 00 00 14 00 ] > OK > Incoming data, len=20: > 00 3e 00 00 10 00 00 20 04 00 00 06 7e 00 08 20 04 > 10 00 00 00 12 > Vendor (Seagate) factory information > number of hours powered up = 27.70 > number of minutes until next internal SMART test = 18 > [log sense: 4d 00 43 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 03 00 00 3c > [log sense: 4d 00 43 00 00 00 00 00 40 00 ] > OK > Incoming data, len=64: > 00 03 00 00 3c 00 00 20 04 00 00 07 7f 00 01 20 04 > 10 00 00 00 00 00 02 20 04 00 00 00 00 00 03 20 04 > 20 00 00 07 7f 00 04 20 04 00 00 07 7f 00 05 20 08 > 30 00 00 00 21 5c 3d 24 00 00 06 20 04 00 00 00 00 > [log sense: 4d 00 42 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 02 00 00 34 > [log sense: 4d 00 42 00 00 00 00 00 38 00 ] > OK > Incoming data, len=56: > 00 02 00 00 34 00 01 20 04 00 00 00 00 00 02 20 04 > 10 00 00 00 00 00 03 20 04 00 00 00 00 00 04 20 04 > 20 00 00 00 00 00 05 20 08 00 00 00 00 5b 60 d2 00 > 30 00 06 20 04 00 00 00 00 > [log sense: 4d 00 45 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 05 00 00 3c > [log sense: 4d 00 45 00 00 00 00 00 40 00 ] > OK > Incoming data, len=64: > 00 05 00 00 3c 00 00 20 04 00 00 00 00 00 01 20 04 > 10 00 00 00 00 00 02 20 04 00 00 00 00 00 03 20 04 > 20 00 00 00 00 00 04 20 04 00 00 00 00 00 05 20 08 > 30 00 00 00 00 00 00 10 00 00 06 20 04 00 00 00 00 > > Error counter log: > Errors Corrected Total Total Correction > Gigabytes Total > delay: [rereads/ errors algorithm > processed uncorrected > minor | major rewrites] corrected invocations [10^9 > bytes] errors > read: 1919 0 0 1919 1919 > 143.281 0 > write: 0 0 0 0 0 > 1.533 0 > verify: 0 0 0 0 0 > 0.000 0 > [log sense: 4d 00 46 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 06 00 00 08 > [log sense: 4d 00 46 00 00 00 00 00 0c 00 ] > OK > Incoming data, len=12: > 00 06 00 00 08 00 00 20 04 00 00 00 01 > > Non-medium error count: 1 > [mode sense: 1a 00 0a 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 8a 0a 02 00 > 10 00 00 00 00 00 00 01 f0 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S > on'] > [log sense: 4d 00 50 00 00 00 00 00 04 00 ] > OK > Incoming data, len=4: > 00 10 00 01 90 > [log sense: 4d 00 50 00 00 00 00 01 94 00 ] > OK > Incoming data, len=404 [only first 256 bytes shown]: > 00 10 00 01 90 00 01 03 10 40 00 00 17 ff ff ff ff > 10 ff ff ff ff 00 00 00 00 00 02 03 10 20 00 00 13 > 20 ff ff ff ff ff ff ff ff 00 00 00 00 00 03 03 10 > 30 40 00 00 07 ff ff ff ff ff ff ff ff 00 00 00 00 > 40 00 04 03 10 20 00 00 07 ff ff ff ff ff ff ff ff > 50 00 00 00 00 00 05 03 10 20 00 00 06 ff ff ff ff > 60 ff ff ff ff 00 00 00 00 00 06 03 10 40 00 00 03 > 70 ff ff ff ff ff ff ff ff 00 00 00 00 00 07 03 10 > 80 20 00 00 03 ff ff ff ff ff ff ff ff 00 00 00 00 > 90 00 08 03 10 20 00 00 00 ff ff ff ff ff ff ff ff > a0 00 00 00 00 00 09 03 10 20 00 00 00 ff ff ff ff > b0 ff ff ff ff 00 00 00 00 00 0a 03 10 00 00 00 00 > c0 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 03 10 > d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > e0 00 0c 03 10 00 00 00 00 00 00 00 00 00 00 00 00 > f0 00 00 00 00 00 0d 03 10 00 00 00 00 00 00 00 00 > > SMART Self-test log > Num Test Status segment LifeTime > LBA_first_err [SK ASC ASQ] > Description number (hours) > # 1 Background long Completed - > 23 - [- - -] > # 2 Background short Completed - > 19 - [- - -] > # 3 Background long Completed - > 7 - [- - -] > # 4 Background short Completed - > 7 - [- - -] > # 5 Background short Completed - > 6 - [- - -] > # 6 Background long Completed - > 3 - [- - -] > # 7 Background short Completed - > 3 - [- - -] > # 8 Background short Completed - > 0 - [- - -] > # 9 Background short Completed - > 0 - [- - -] > > [mode sense: 1a 00 0a 00 40 00 ] > OK > Incoming data, len=64: > 00 17 00 10 08 02 22 ee 56 00 00 02 00 8a 0a 02 00 > 10 00 00 00 00 00 00 01 f0 00 00 00 00 00 00 00 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Long (extended) Self Test duration: 496 seconds [8.3 minutes] > |