From: <Chr...@t-...> - 2004-09-18 13:43:21
|
[Please move this discussion in smartmontools-support, it is not a database issue.] Hi Manfred, thanks for your feedback. The reported behavior is a result of this change: http://cvs.sourceforge.net/viewcvs.py/smartmontools/sm5/os_win32.c?r1=1.8&r2=1.9 We got some reports about broken IOCTL_IDE_PASS_THROUGH (see WARNINGS file). Starting with 5.31, smartctl/smartd checks if this ioctl returns a nonzero data block. If this is not the case, it prints the "... does not work ..." warning and does not reuse this IOCTL. But this heuristics does not work for your drive. On your system, the IOCTL works, but the drive returns an empty log with a (bad!) revision number of 0. Smarctl detects a null block, reports a bad ioctl, and reports the following call (selftest log) as unimplemented. The command "smartctl -l selftest hd?." should work to read the selftest log. I try to fix this issue for revision 5.34. Thanks again. Cheers, Christian >Hi, >today I tried smartctl on one of my win2000 boxes. >using smartmontools 5.33, the self test logs no longer appear. >In 5.30, I could see the logs (smartctl -a): > >smartctl version 5.33 [i386-pc-mingw32] Copyright (C) 2002-4 Bruce Allen >Home page is http://smartmontools.sourceforge.net/ > >=== START OF INFORMATION SECTION === >Device Model: MAXTOR 6L040J2 >Serial Number: 662207645866 >Firmware Version: AR1.0500 >User Capacity: 40,027,029,504 bytes >Device is: In smartctl database [for details use: -P show] >ATA Version is: 5 >ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1 >Local Time is: Fri Sep 17 16:45:27 2004 CET >SMART support is: Available - device has SMART capability. >SMART support is: Disabled > ><snip> between everything OK <snip> > >IOCTL_IDE_PASS_THROUGH does not work on your version of Windows >Error SMART Error Log Read failed: Function not implemented >Smartctl: SMART Error Log Read Failed >Error SMART Error Self-Test Log Read failed: Function not implemented >Smartctl: SMART Self Test Log Read Failed >Device does not support Selective Self Tests/Logging > > >smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen >Home page is http://smartmontools.sourceforge.net/ > >=== START OF INFORMATION SECTION === >Device Model: MAXTOR 6L040J2 >Serial Number: 662207645866 >Firmware Version: AR1.0500 >Device is: In smartctl database [for details use: -P show] >ATA Version is: 5 >ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1 >Local Time is: Fri Sep 17 16:42:59 2004 CET >SMART support is: Available - device has SMART capability. >SMART support is: Disabled > ><snip> between everything OK <snip> > >SMART Error Log Version: 0 >No Errors Logged > >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% 1477 - ># 2 Extended offline Aborted by host 50% 1476 - ># 3 Short offline Completed without error 00% 591 - > > >I could reproduce this behavior just on one single win2000 box, the others show >log entries with both smartctl versions. >Notice the entry "SMART support is: Disabled" >I was not able to activate this. >The board is an asus p4t-e with some intel components on it, and corresponding >drivers from the Intel chipset software installation utility. >For the IDE-Controller, an "intel ultra ata storage controller" is installed by the >abovementioned utility. >I then tried an standard ide driver from microsoft, but I had no luck... > >Thanks for any hints. >Manfred > > |