| 1 |
Tue Sep 2 12:14:04 CDT 2008 |
| 2 |
Added fan, temperature and power supply status |
| 3 |
reporting (thanks to Christian Hofstaedtler) |
| 4 |
Tue Sep 19 14:55:25 CDT 2006 |
| 5 |
Autoconfiscated cciss_vol_status |
| 6 |
Tue Mar 6 14:44:14 EST 2007 |
| 7 |
Added support for more than 16 logical drives. |
| 8 |
Added -x option for exhaustive search |
| 9 |
Mon Nov 2 04:56:55 CST 2009 |
| 10 |
Added support for hpsa driver |
| 11 |
Added support for hpahcisr driver |
| 12 |
|
| 13 |
Added support for new controllers: |
| 14 |
Smart Array P700m |
| 15 |
Smart Array P212 |
| 16 |
Smart Array P410 |
| 17 |
Smart Array P410i |
| 18 |
Smart Array P411 |
| 19 |
Smart Array P812 |
| 20 |
|
| 21 |
Cache some serial numbers to cut down on redundant i/o |
| 22 |
when rummaging around trying to figure out what's what. |
| 23 |
|
| 24 |
Assume 16 possible storage boxes for SAS based controllers |
| 25 |
|
| 26 |
Wed Nov 18 10:18:22 MST 2009 |
| 27 |
* Fixed bug that if a logical drive had an active spare, and thus was |
| 28 |
"ok", the exit code was still zero, so it acted as though nothing |
| 29 |
were wrong, even though the failed drive needed replacing to get back |
| 30 |
to original good status with spares. |
| 31 |
* Fixed bug in spare status messages. One message was left out, and so |
| 32 |
some of the others were wrong, being off-by-one. |
| 33 |
* Bumped version up to 1.06 |
| 34 |
|
| 35 |
2010/05/20 07:12:06 |
| 36 |
* Change weird "uint" to normal "unsigned int" Thanks to Frank Bergmann for this patch. |
| 37 |
* Fix strnlen that should have been a strlen. Thanks to Frank Bergmann for noticing this. |
| 38 |
|
| 39 |
2010/10/11 09:41:23 |
| 40 |
* get rid of typedefs |
| 41 |
|
| 42 |
2010/10/13 07:02:37 |
| 43 |
* cosmetic whitespace fixes |
| 44 |
|
| 45 |
Date: 2010/10/13 07:40:06 |
| 46 |
* Do not treat hpsa and hpahcisr as if they were MSA1000, but instead treat |
| 47 |
as cciss devices. This means, use the CCISS_PASSTHRU ioctl, not SG_IO |
| 48 |
(the drivers for the MSA1000 are qlogic or emulex, and do not have the |
| 49 |
CCISS_PASSTHRU ioctl, and so must use SG_IO. The difference in power between |
| 50 |
the SG_IO and CCISS_PASSTHRU is mainly that the CCISS_PASSTHRU allows specifying |
| 51 |
the 8-byte LUNID, and thus can aim commands at any attached device, whereas |
| 52 |
SG_IO is aimed by means of which device node you open. However, there |
| 53 |
are devices (e.g. external controllers, MSA20, etc.) which do not have any |
| 54 |
exposed device nodes and so are unreachable by SG_IO. By treating hpsa and |
| 55 |
hpahcisr as cciss, we get access to those devices. |
| 56 |
|
| 57 |
* Factor out msa1000_status() |
| 58 |
|
| 59 |
* Cleaned up -Wall warnings. |
| 60 |
|
| 61 |
* Factor out device type sanity checking code into cciss_device_type_is_correct(), |
| 62 |
and get rid of the ugly goto for hpsa and hpahcisr cases. |
| 63 |
|
| 64 |
* Factor out cciss_logical_drive_status() |
| 65 |
|
| 66 |
* Rename the final parameter of cciss_logical_drive_status from 'i' to more |
| 67 |
sensible 'volume_number' |
| 68 |
|
| 69 |
* Make all functions static |
| 70 |
|
| 71 |
2010/10/14 09:36:32 |
| 72 |
* Zero out controller_lun_list at the beginning init_cciss_to_bmic and num_controllers. |
| 73 |
init_cciss_to_bmic is called once per controller on the command line to find external |
| 74 |
controllers, and should be zeroed out each time. |
| 75 |
|
| 76 |
2010/11/05 08:44:13 |
| 77 |
* Provided local cciss_ioctl.h and cciss_defs.h to aid distros which |
| 78 |
come with a broken variant of cciss_ioctl.h, and added instructions in |
| 79 |
INSTALL which explain how to use these fixed headers. |
| 80 |
* Added note about aclocal-1.10, and corrected note about how to deal with |
| 81 |
broken cciss_ioctl.h header files. |
| 82 |
* Clarified that configure failing to #define __user is not the only reason |
| 83 |
that cciss_ioctl.h might not compile. |
| 84 |
* Added linux_alternate_makefile.mk to allow sidestepping autoconf problems. |
| 85 |
|
| 86 |
2010/11/19 14:54:44 |
| 87 |
* Now reports physical drive serial numbers, firmware revision, connector, box and bay information. |
| 88 |
* Factor out find_bus_target() function |
| 89 |
* Factor out format_phys_drive_location() |
| 90 |
* Report S.M.A.R.T. predictive failures |
| 91 |
|
| 92 |
Changes since 1.07: |
| 93 |
|
| 94 |
2010/12/02 09:35:54 |
| 95 |
* Added examples to man page of S.M.A.R.T predictive failure reporting. |
| 96 |
* make it compile on freebsd |
| 97 |
* Fix a file descriptor leak |
| 98 |
|
| 99 |
Changes since 1.08: |
| 100 |
|
| 101 |
2010/12/03 08:23:26 |
| 102 |
* Remove unused bogus variable declarations at the end of a function |
| 103 |
that didn't compile on older gcc versions. (Thanks to Simon Matter) |
| 104 |
* Print error information if sense bus parameters encounters a target |
| 105 |
status. |
| 106 |
* Remove bogus incorrect initialization of controller_lun_list (it's |
| 107 |
done later down in the code correctly.) |
| 108 |
* Make it compile with no warnings after "configure CFLAGS=-Wall" |
| 109 |
|
| 110 |
Changes since 1.09: |
| 111 |
* Clean up uninitialized variables detected by valgrind. |
| 112 |
* Added some new smart array controllers to the list of known |
| 113 |
controllers |
| 114 |
* Replace the too specific is_hpsa() and is_hpahcisr() functions with |
| 115 |
a more generic is_smart_array(). This was preventing -u option from |
| 116 |
working with the hpsa driver. |
| 117 |
* Remove inquiry_vendor_model_matches() function which is now no |
| 118 |
longer used. |
| 119 |
* Added -W and -Wall flags to gcc in linux_alternate_makefile.mk |
| 120 |
and fixed up all the warnings that those found. |
| 121 |
* Add -V (verbose) option which prints out extra information |
| 122 |
about the controller (board ID, running firmware revision, |
| 123 |
ROM firmware revision, and number of logical drives). |
| 124 |
* Make the --verbose option print out more information about the |
| 125 |
controllers and physical drives. For each controller, the board ID, |
| 126 |
number of logical drives, currently running firmware revision and ROM |
| 127 |
firmware revision are printed. For each physical drive, the location, |
| 128 |
vendor, model, serial number, and firmware revision are printed. |
| 129 |
* Added .gitignore and cvsignore files |
| 130 |
* regenerated configure, aclocal.m4, and Makefile.in on RHEL6u2. |
| 131 |
* Made -p shortcut for --persnickety actualy work. |
| 132 |
|
| 133 |
Changes since 1.10 |
| 134 |
|
| 135 |
* Added support for new controllers |
| 136 |
* Now can report status of nonvolatile cache |
| 137 |
* Misc. code cleanup and refactoring |
| 138 |
* Do not spin up sleeping spare drives. This is done by using |
| 139 |
"extended" CISS_REPORT_LUNS to obtain the device type instead of |
| 140 |
sending inquiries to every device returned by standard |
| 141 |
CISS_REPORT_LUNS to get the device type. |
| 142 |
|
| 143 |
Changes since 1.11 |
| 144 |
|
| 145 |
* Fixed Gen8 controller names |
| 146 |
* Added support for Gen9 controllers |
| 147 |
* Fixed some compilation warnings |
| 148 |
* Print out Total Cache memory and Cache Ratio |
| 149 |
|
| 150 |
Changes since 1.12 |
| 151 |
|
| 152 |
* Correct some logic, use bitwise instead of logical ands |