Custom Query (1386 matches)
Results (10 - 12 of 1386)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#22 | fixed | smartctl segfaults on 3ware | ||
Description |
I'm running smartctl from SVN head (revision 2985) on an AMD64 system with Linux kernel 2.6.30-2 (Debian unstable) Calling smartctl -d 3ware,0 -a /dev/sda results in a Segmentation fault. Backtrace: #0 0x000000000042e2de in os_linux::linux_escalade_device::ata_pass_through (this=0x674010, in=..., out=...) at os_linux.cpp:1610 #1 0x000000000040cb99 in smartcommandhandler (device=0x674010, command=IDENTIFY, select=0, data=0x662d40 "\036") at atacmds.cpp:569 #2 0x000000000040e82d in ataReadHDIdentity (device=0x674010, buf=0x662d40) at atacmds.cpp:774 #3 0x0000000000413891 in ataPrintMain (device=0x674010, options=...) at ataprint.cpp:1758 #4 0x000000000040600d in main_worker (argc=5, argv=0x7fffffffe4e8) at smartctl.cpp:949 #5 0x000000000040614c in main (argc=5, argv=0x7fffffffe4e8) at smartctl.cpp:967 Debugging reveals: passthru is initialized in os_linux.cpp:1471 in the (m_escalade_type==AMCC_3WARE_678K) section. It is then reset to NULL at os_linux.cpp:1576 The subsequent access at os_linux.cpp:1610 dereferences the NULL-Pointer, which segfaults. |
|||
#24 | fixed | configure option '--with-docdir' is obsolete and breaks '--docdir' | ||
Description |
Recent autoconf releases provide a '--docdir' option with default value 'DATAROOTDIR/doc/smartmontools'. The '--with-docdir' defined in configure.in always overwrites this setting and uses a different default value 'PREFIX/share/doc/smartmontools-VERSION'. |
|||
#27 | fixed | Improve error handling of SMART STATUS if output registers are unknown | ||
Description |
The ATA SMART RETURNS STATUS command provides the result in the ATA output registers. Buggy ATA/SATA drivers and SAT Layers often do not properly return the registers values. If a SAT Layer does not provide an ATA Return Descriptor with the output registers, smartctl 5.39 prints the following message and aborts: Error SMART Status command failed Please get assistance from http://smartmontools.sourceforge.net/ A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. Smartctl should not abort in this case and print a more specific warning message. The output for 'smartctl -H ...' should be as follows: SMART overall-health self-assessment test result: UNKNOWN |