--------------------------------- ChangeLog for scsirastools (oldest to newest) --------------------------------- 0.8.2 = initial M1, 8/30/01 0.9.3 = candidate for M2 submitted 9/28/01 - added mdctl and mdevt - fixed headers on scsitools - added Fujitsu .mdf files 0.9.4 = post-M2 update - set sg_debug in sgmode.c - clean up sg_debug better in sgdskfl.c - added Hitachi mdf files - increased format timeout from 20 to 50 min in sgdiag.c - fixed mdf files for standard values: 01 0a c4 <-- AWRE, ARRE, PER on 08 12 00 <-- WCE off, not 04 1c 1a 88 <-- SMART off 0.9.5 = candidate for M3 10/18/01 - revised sgdskfl IBM chunk size from 0x10000 to 0x8000. (and use new OEM image for dpss-309.lod) 0.9.6 = update 10/26/01 - minor cosmetic updates to README, scsitools.spec, sgerr.c, sgsub.c 0.9.7 = update 10/30//01 - beautification (indent -kr *.c) - simplified includes in sgerr.c, sgsub.c, added scsierr.h - added LICENSE for Intel CPL - added Seagate 18G & Hitachi disk files 0.9.8 = update 11/14/01 - fixed Seagate overrun with seagate_inquiry - added Seagate 36G disk files - added default directory of /opt/scsitools for sgdskfl & sgmode files - read the CDB bytes in hex when composing a SCSI command via sgdiag 0.9.8 = update 11/19/01 - updated st39173w.mdf, added st39173l.mdf 0.9.9 = update 12/06/01 - updated UserGuide to add SCSI mode parameter references. - fixed bug 113, error reading stdin from sgdiag, fixed in get_func() - updated Makefile to build source rpm also 1.1.0 = update 01/29/02 - fixed core in sgsub.c/scsi_reset(), added timeout user param to sgdiag 1.1.2 = update 04/11/02 - changed log path to /var/log & default path to /usr/share/scsirastools. - changed default sg device names from alpha to numeric 1.1.3 = update 05/08/02 - changed sg_debug level default from 10 to 5 - rewrote sgraidmon.c for streamlined scan loop, added safte commands 1.1.4 = update 05/28/02 - added Send Diagnostic function to sgdiag.c (5/14) - added uniform error messages to each utility if no devices found (5/23) - changed LICENSE to BSD - new sgraidmon v1.1 updates 1.2.0 = update 05/30/02 - added mdadm-1.0.1 to the directory and the spec file - more sgraidmon updates for v1.2 1.2.1 = update 06/27/02 - added sgraid startup script - updated UserGuide for more on RAID configuration and sgraidmon setup. - updated man pages: CONFIG_CHR_DEV_SG=y changed to 'is set' (y or m). - fix to sgraidmon for non-SAFTE insertions 1.2.2 = update 07/10/02 - changed getmd to be more flexible with default device pattern - fixed sgraid not to save partition info if device not active - updated UserGuide for sgdiag -f to point to mdevt 1.2.3 = update 08/27/02 - fixed sgraid script if already running (7/26) - added sgcommon.c, moved common routines there (8/16) - added more Usage text (8/27) - fixed sgraidmon impostor checking logic (8/27) 1.2.4 = update 09/05/02 - added FAQ to UserGuide - sgcommon: streamlined display of errors during get_scsi_info - sgraidmon: add check for (F) in mdstat - sgraidmon: detect blank serial numbers as impostors - spec: sgraid stop before uninstall 1.2.5 = update 09/11/02 - Makefile, scsitools.spec: dynamically download & build mdadm into mdadm.d 1.2.6 = update 10/02/02 - sgraidmon 1.6: added first time check for inserted disks (bug 735) on 9/17/02 - updated UserGuide section 4.0 from validation team feedback - scsiras kernel patches: cleaned up & reformatted, added 2.4.19 versions, added CONFIG_SCSI_RESCAN kernel parameter, changed EPRINTK macro 1.2.7 = update 10/17/02 - sgdiag 1.8: added -t option for format timeout - sgcommon: fixed logfile definition error, caused problem in sgdskfl w showit 1.2.8 = update 11/01/02 - sgcommon: autodetect and handle DevFS naming: sgdefects v1.4, sgdiag v1.8, sgdskfl v1.6, sgmode v1.6, sgraidmon v1.7 1.2.9 = update 11/04/02 - sgraidmon v1.9: use add-single-device if SAF-TE 1.3.0 = update 11/12/02 - sgraidmon v1.11: add SAF-TE mode 4 if mode 3 not supported, handle 12-byte serial numbers for Fujitsu drives (-m). - sgcommon.c: add handle_sense to recover from each command. - include Maxtor Atlas U320 firmware version B430 1.3.1 = update 11/19/02 - sgcommon & sgraidmon: fixed DevFS handling to do tree-walk - kern/scsi_ras.patch: fixed raw sense loop for printk of >26 sense bytes - kern/2.5.36: ported aic* & raid* patches 1.3.2 = update 12/11/02 - sgraidmon: added emulated device logic to skip usb-storage - files: updated atlasu32.lod to B700 firmware - kern: added aic79_overrun.patch against aic79xx v1.1.1 driver 1.3.3 = update 12/20/02 - sgraidmon: fixed remove logic to skip Proc devices - sgcommon.c: show complete inquiry for Proc devices - UserGuide: set CONFIG_SCSI_RESCAN=y if using ext raid encl wo/ SAF-TE - kern/2.4.19: added aic79_*overrun.patch against aic79xx v1.3.0 driver - kern/2.4.18: added raid_oops.patch and raid_rebuild.patch 1.3.4 = update 01/03/02 - sgraidmon: fixed getmd and mdstat for DevFS parsing - sgdiag: added 't' function for stop_unit - mdevt: check for both "recovery" and "resync" in mdstat, sleep first, parse idisk differently for DevFS 1.3.5 = update 01/21/03 - sgdskfl 1.6: include Quantum in getimage:fscanmodel - sgdiag 1.10: added warnings about options f and w. - sgraidmon 1.15: use Read_Slot_Status first instead of Read_Device_Insertions, add write_safte code to set raid disk status LEDs. 1.3.6 = update 03/04/03 - kern/SCSIRAS: more description of new patches - kern/raspatch.sh: updated for new patch filenames - kern/2.4.18/raid_resync.patch: updated for diff -urN format - files/atlasu32.lod: moved back to B300 for Maxtor due to B700 problems - sgraidmon/mdevt: handle grub mbr too, not just lilo - sgraidmon 1.16: more fixes to mdstat for DevFS, added write_safte for disk LEDs, etc. 1.3.7 = update 03/12/03 - sgcommon.c: display more inquiry data for emulated (USB) devices - sgraidmon 1.17: fixed mdstat for failure if md0 not root, display more inquiry data for emulated (USB) devices, reorganized scandev, mdstat, getmd logic - mdevt (for sgraidmon): dont wipe each partition, not needed - kern/2.4.9-e.3/raid_oops.patch: ported raid_oops to RH AS 2.1 1.3.8 = update 03/25/03 - sgraidmon 1.18: change mdevt_Check error to warning & point to sgraid script, check for non-ascii chars in inquiry if impostor - files/sgraid: changed init script for DevFS partition names - doc/UserGuide: updated section 4 with newer raid config scripts - files/md*.sh: added raid config scripts to source files - Makefiles & .spec file: reworked source tree to conform to autoconf/automake includes various changes to source tree - INSTALL added (was README.src), updated mdf & lod file descriptions 1.3.9 = update 04/02/03 - files/*.lod: deleted sample firmware images due to size and limited ability to maintain current firmware versions. 1.4.0 = update 04/10/03 - src/getmd.c: use errno.h instead of extern int errno; - src/sgcommon.c: detect DEVFS with /dev/scsi/host0 instead of just /dev/scsi - src/sgraidmon.c: detect DEVFS with /dev/scsi/host0 instead of just /dev/scsi - files/sgraid: detect DEVFS with /dev/scsi/host0 also 1.4.1 = update 05/08/03 - src/sgraidmon.c: more logic for 12-byte serial numbers - src/sgcommon.c: more logic for 12-byte serial numbers - kern/2.4.9-e.3/raid_iter.patch: added for AS2.1, subset of raid_null.patch 1.4.2 = update 09/25/03 - src/sgmode.c: adjust format dev page if block size changes (based loosely on code from Grant Grundler) - src/sgraidmon 1.20: in getmd, change return from errno to -2, and add debug log if no raidtab, added islast in mdstat to check if dev is last in raid. - src/sgsafte.c: added this util for safte testing, not included in rpm - files/mdevt: handle if grub/menu.lst and not grub/grub.conf - mdadm.d/Makefile updated from mdadm ver 1.0.1 to 1.3.0 - mdadm.d/mdadm-1.3.0.tgz added new version archive 1.4.3 = update 10/09/03 - src/sgcommmon.c: make sure getchar() values are int for 64-bit compiles - src/sgmode.c: make sure getchar() values are int for 64-bit compiles (resolves bug 783775) - directory permissions changed to 'go-w' for non-rpm installations (resolves bug 783777) - src/sgraidmon.c: detect /dev/scsi/host1 also for DEVFS - src/sgsafte.c: detect /dev/scsi/host1 also for DEVFS - files/mdevt: detect /dev/scsi/host1 also for DEVFS, check if lilo before doing grub on Save - doc/scsirastools.spec: removed mdmon, since it is not updated, or needed 1.4.4 = update 10/22/03 - src/sgraidmon.c: In dup_chk, prioritize mdtab & mdactive ahead of sernum (v1.22) In check_devstatus, notice restored sernum. In do_insert, don't insert if already mdactive Fixed mdstat breaking out of loop prematurely due to islast. Write sense_err debug messages to log also. 1.4.5 = update 01/22/04 files/sgraid: added chkconfig enabling files/alarms: added tool for setting disk fault LEDs on mBMC platforms files/Makefile: added alarms tool doc/scsirastools.spec added alarms tool doc/UserGuide added info about alarms tool 1.4.6 = update 04/22/04 files/mdevt: fixed mBMC disk fault LED logic on Fail not to check $4 1.4.7 = update 05/11/04 doc/scsirastools.spec - moved sgraid script to /etc/init.d for LSB. 1.4.8 = update 06/10/04 doc/UserGuide added more about customizing /sbin/mdevt doc/sgraidmon.8 added more about mdevt and mdevents log files/mdevt check for alarm cmd error if no IPMI driver doc/scsirastools.spec show message about 'sgraid start' at postinstall 1.4.9 = update 07/22/04 sgdiag v1.12 increased default format timeout from 50 to 150 min. sgdiag.8 document sgdiag -t option UserGuide document sgdiag -t option 1.4.10 = released 11/10/04, updated 08/03/04 sgraidmon v1.25 if sense 2:4:1, try start_unit before device_reset, also check more conditions in safte_inserted sgraidmon v1.26 write to log in quit() before exiting 1.4.11 = released 02/02/05, updated 01/31/05 sgmode v1.9 added decodemodebuf to decode certain mode pages sgraid modified startup script for SuSE, /var/lock file. 1.4.12 = released 02/04/05, updated 02/02/05 doc/Makefile changes for /usr/share/man doc/scsirastools.spec changes for /usr/share/man, change for rpm -U 1.4.13 = released 02/10/05, updated 02/10/05 sgraid fixed bug in start (from 1.4.11), thought already started Makefile.am Fixed make tarball to do 'make distclean', not distclean-am. 1.4.14 = released 04/27/05, updated 04/27/05 doc/Makefile.am new, for automake extensions files/Makefile.am new, for automake extensions mdadm.d/Makefile.am new, for automake extensions configure.in update for doc/Makefile, files/Makefile 1.4.15 = released 05/11/05, updated 05/11/05 src/sgdefects.c included patch for larger devlist from Nate Dailey src/sgdskfl.c included patch for larger devlist from Nate Dailey src/sgmode.c included patch for larger devlist from Nate Dailey src/sgdiag.c included patch for larger devlist from Nate Dailey src/sgcommon.c included patch for more dev types from Nate Dailey src/sgcommon.h added MAX_SG_DEVS and MAX_DEVLIST_DEVS UserGuide document MAX_DEVLIST_DEVS 1.4.16 = released 09/07/05, updated 09/06/05 doc/UserGuide how to set up sgraid kill scripts in rc0.d, rc6.d src/sgraidmon.c fix for 1281273, don't reset in sense_err if not managed files/mdevt added sample snmptrap logic 1.4.17 = released 12/27/05, updated 09/16/05, 12/27/05 src/sgraidmon.c updated findmatch() for special case (09/16) src/sgsafte.c updated findmatch() for special case (09/16) src/getmd.c updated findmatch() for special case (09/16) src/sgcommon.c updated findmatch() for special case (09/16) src/sgcommon.c init dcap=0 if not real disk (12/27) src/sgdefects.c skip if emulated USB disks. v1.6 (12/27) 1.5.0 = released 01/23/07, updated 01/04/07 src/sg*.c - added -i option for one disk src/Makefile.am src/sgdiskmon.c - new files/Makefile.am files/sgraid - added modprobe sg files/sgdisk - new files/sgevt - new files/rescan-scsi-bus.sh - new doc/Makefile.am doc/sgdiskmon.8 - new doc/scsirastools.spec - added sgdiskmon doc/UserGuide scsirastools-1.5.0 contains: sgdefects.c: 1.6 sgdiag.c: 1.13 sgdiskmon.c: 0.5 sgdskfl.c: 1.8 sgmode.c: 1.10 sgraidmon.c: 1.28 sgsafte.c: 1.20 1.5.1 = released 02/09/07, updated 02/07/07 src/sgdskfl.c - fix seg fault if stale dbgout, add -i option, fix to correct sdname src/sgraidmon.c - fix to correct sdname src/sgdiskmon.c - sense_err mods, fix to correct sdname src/sgcommon.c - more debug code, added get_dev_maj_min, find_mmdev src/sgcommon.h - add maj, min to DEVLIST structure src/sgsub.c - additional protection for dbgout in write_buffer doc/sgdskfl.8 - more explanation of option -r usage doc/UserGuide scsirastools-1.5.1 contains: sgdefects.c: 1.6 sgdiag.c: 1.13 sgdiskmon.c: 0.6 sgdskfl.c: 1.9 sgmode.c: 1.10 sgraidmon.c: 1.28 sgsafte.c: 1.20 1.5.2 = released 03/15/07, updated 03/14/07 src/sgdiskmon.c - fprintf error checking in add/rem_scsi_dev, Fix Fujitsu disk fw bug with inquiry len of 41, allow Encl devtype==13 fix matching dev to a proc in write_slots src/sgraidmon.c - Fix Fujitsu disk fw bug with inquiry len of 41, allow Encl devtype==13 fix matching dev to a proc in write_slots src/sgsafte.c - Fix Fujitsu disk fw bug with inquiry len of 41, allow Encl devtype==13 fix matching dev to a proc in write_slots src/sgcommon.c - Fix Fujitsu disk fw bug with inquiry len of 41. src/sgsubmon.c - new, merged subroutines for sgdiskmon,sgsafte,sgraidmon src/sgsubmon.h - new, merged includes for sgdiskmon,sgsafte,sgraidmon src/Makefile.am - added sgsubmon.[c,h] scsirastools-1.5.2 contains: sgdefects.c ver 1.7 sgdiag.c ver 1.14 sgdiskmon.c ver 1.0 sgdskfl.c ver 1.10 sgmode.c ver 1.11 sgraidmon.c ver 1.29 sgsafte.c ver 1.21 1.5.3 = released 04/13/07, updated 04/13/07 src/sgdiskmon.c - handle SES enclosure slot statuses, cleanup src/sgraidmon.c - handle SES enclosure slot statuses src/sgsafte.c - handle SES enclosure slot statuses src/sgsubmon.c - handle SES enclosure slot statuses src/Makefile.am - allow make sgerr src/sgerr.c - added TEST flag to build separate sgerr utility files/sgevt - fixed lines 128,131 for alarms changed disklist to use /proc/partitions instead of fdisk files/mdevt - changed disklist to use /proc/partitions instead of fdisk doc/sgsafte.8 - new file scsirastools-1.5.3 contains: sgdefects.c ver 1.8 sgdiag.c ver 1.15 sgdiskmon.c ver 1.1 sgdskfl.c ver 1.11 sgmode.c ver 1.12 sgraidmon.c ver 1.30 sgsafte.c ver 1.22 1.5.4 = released 04/16/07, updated 04/16/07 src/sgsubmon.c - handle SES enclosure LED controls files/alarms - new version with alarms -d option for enclosure files/sgevt - invoke alarms -d files/mdevt - invoke alarms -d scsirastools-1.5.4 contains: sgdefects.c ver 1.9 sgdiag.c ver 1.16 sgdiskmon.c ver 1.2 sgdskfl.c ver 1.12 sgmode.c ver 1.13 sgraidmon.c ver 1.31 sgsafte.c ver 1.23 1.5.5 = released 08/06/07, updated 08/06/07 src/sgdiag.c - added -f option to format without prompts src/sgmode.c - added -w to set write cache separately scsirastools-1.5.5 contains: sgdefects.c ver 1.10 sgdiag.c ver 1.17 sgdiskmon.c ver 1.3 sgdskfl.c ver 1.13 sgmode.c ver 1.15 sgraidmon.c ver 1.32 sgsafte.c ver 1.24 1.5.6 = released 11/13/07, updated 09/12/07 src/sgsubmon.c - added new find_blockdev for 2.6.16 sysfs src/sgsubmon.h - added find_blockdev src/sgdiskmon.c - added find_blockdev src/sgraidmon.c - added find_blockdev src/sgsubmon.c - if sysfs, clear devname if not found src/sgdiskmon.c - handle /dev/sg gaps src/sgraidmon.c - handle /dev/sg gaps scsirastools-1.5.6 contains: sgdefects.c ver 1.11 sgdiag.c ver 1.18 sgdiskmon.c ver 1.4 sgdskfl.c ver 1.14 sgmode.c ver 1.16 sgraidmon.c ver 1.33 sgsafte.c ver 1.25