summaryrefslogtreecommitdiff
path: root/spec/iprutils.spec
blob: 36d08e0629d3450e08b1e580e0cfc659dc4f0144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
Summary: Utilities for the IBM Power Linux RAID adapters
Name: iprutils
Version: 2.4.19
# For RC releases, release_prefix should be set to 0.rc1, 0.rc2, etc.
# For GA releases, release_prefix should be set to 1, 2, 3, etc.
%define release_prefix 1
Release: %{release_prefix}
License: CPL
Group: System Environment/Base
Vendor: IBM
URL: http://sourceforge.net/projects/iprdd/
Source0: iprutils-%{version}.%{release_prefix}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: ncurses-devel zlib-devel

# Predicate whether we want to build -static package.
%bcond_with static

##
## Distro specific dependencies.
##

## SUSE
%if 0%{?suse_version}

%if 0%{?suse_version} >= 1210
BuildRequires: systemd-rpm-macros systemd
%{?systemd_requires}
%endif

%if %{?suse_version:1} < 1210
Requires(pre): %insserv_prereq %fillup_prereq
%endif

%endif #SUSE

##RHEL
%if 0%{?rhel}

%if 0%{rhel} >= 7
BuildRequires: systemd
%endif

%if 0%{?rhel} <= 6
Requires(post): /lib/lsb/init-functions, chkconfig, initscripts
Requires(preun): /lib/lsb/init-functions, chkconfig, initscripts
Requires(postun): /lib/lsb/init-functions, chkconfig, initscripts
%endif

# Rhel uses sosreport plugin.
BuildRequires: python python-devel
Requires: python

%endif # RHEL

%if "%{?dist}" == "pkvm3_1"
BuildRequires: systemd
%endif

#
# Compilation parameters.
%{?rhel:%define WITH_SOSREPORT 1}
%{?_unitdir:%define WITH_SYSTEMD 1}
%{!?_unitdir:%define WITH_INITD 1}
%{?with static:%define WITH_STATIC 1}

%description
Provides a suite of utilities to manage and configure SCSI devices
supported by the ipr SCSI storage device driver.

##
## -static package
##
%if 0%{?WITH_STATIC:1}
%package static
Summary: Static version of iprutils.
Group: System Environment/Base
%if 0%{?suse_version:1}
BuildRequires: glibc-static zlib-static
%else
BuildRequires: glibc-static ncurses-static zlib-static
%endif

%description static
Static version of some tools of iprutils.
%endif # with_static

##
## prep
##
%prep
%setup -q -n %{name}-%{version}.%{release_prefix}

##
## build
##
%build
%configure --sbindir=%{_sbindir} --libdir=%{_libdir} \
	   --enable-sosreport=%{?WITH_SOSREPORT:yes}%{!?WITH_SOSREPORT:no} \
	   --enable-build-static=%{?WITH_STATIC:yes}%{!?WITH_STATIC:no} \
	   --with-initscripts=%{?WITH_INITD:%{_initrddir}}%{!?WITH_INITD:no} \
	   --with-systemd=%{?WITH_SYSTEMD:%{_unitdir}}%{!?WITH_SYSTEMD:no}

%{__make} %{?_smp_mflags}

##
## install
##
%install
%{__make} DESTDIR=%{buildroot} install
%if 0%{?suse_version}
%{__mkdir} -p %{buildroot}/usr/lib/supportconfig/plugins
%{__cp} %{buildroot}/%{_sbindir}/iprsos %{buildroot}/usr/lib/supportconfig/plugins
%endif

##
## post
##
%post

%if 0%{?suse_version}

# SLES > 12
%if 0%{?suse_version} >= 1210
%service_add_post iprinit.service
%service_add_post iprupdate.service
%service_add_post iprdump.service
%endif

# SLES <= 11
%if 0%{!?_unitdir:1}
%fillup_and_insserv -f -Y iprinit
%fillup_and_insserv -f -Y iprupdate
%fillup_and_insserv -f -Y iprdump
%endif

%endif #SUSE

%if 0%{?rhel}
%if 0%{!?_unitdir:1} && 0%{?rhel}
/sbin/chkconfig --add iprinit
/sbin/chkconfig --add iprupdate
/sbin/chkconfig --add iprdump
%endif
%endif #RHEL

# Start daemons.
%if 0%{?_unitdir:1}%{!?_unitdir:0}
if [ -d /sys/module/ipr ] ; then
/usr/bin/systemctl start iprutils.target || :
fi
%else
service iprinit start  || :
service iprupdate start  || :
service iprdump start  || :
%endif

##
## preun
##
%preun

%if 0%{?suse_version}

# SLES > 12
%if 0%{?suse_version} >= 1210
%service_del_preun iprinit.service
%service_del_preun iprupdate.service
%service_del_preun iprdump.service
%endif

# SLES <= 11
%if 0%{!?_unitdir:1}
%stop_on_removal iprinit
%stop_on_removal iprupdate
%stop_on_removal iprdump
%endif

%endif #SUSE

# RHEL
%if 0%{?rhel}

%if 0%{?rhel} >= 7
%systemd_preun iprinit.service
%systemd_preun iprupdate.service
%systemd_preun iprdump.service
%endif

# RHEL <= 6
%if 0%{!?_unitdir:1}
if [ $1 -eq 0 ] ; then
    /sbin/service iprinit stop >/dev/null 2>&1
    /sbin/service iprupdate stop >/dev/null 2>&1
    /sbin/service iprdump stop >/dev/null 2>&1

    /sbin/chkconfig --del iprinit
    /sbin/chkconfig --del iprupdate
    /sbin/chkconfig --del iprdump
fi
%endif

%endif # RHEL

%if "%{?dist}" == "pkvm3_1"
%systemd_preun iprinit.service
%systemd_preun iprupdate.service
%systemd_preun iprdump.service
%endif

##
## postun
##
%postun

# SLES > 12
%if 0%{?suse_version} >= 1210
%service_del_postun iprinit.service
%service_del_postun iprupdate.service
%service_del_postun iprdump.service
%endif

# SLES <= 11
%if 0%{?suse_version}

%if 0%{!?_unitdir:1}
%restart_on_update iprinit
%restart_on_update iprupdate
%restart_on_update iprdump
%insserv_cleanup
%endif

%endif # SUSE

# RHEL
%if 0%{?rhel}

%if 0%{?rhel} >= 7
%systemd_postun_with_restart iprinit.service
%systemd_postun_with_restart iprupdate.service
%systemd_postun_with_restart iprdump.service
%endif

# RHEL <= 6
%if 0%{!?_unitdir:1}
if [ "$1" -ge "1" ] ; then
    /sbin/service iprinit condrestart >/dev/null 2>&1 || :
    /sbin/service iprupdate condrestart >/dev/null 2>&1 || :
    /sbin/service iprdump condrestart >/dev/null 2>&1 || :
fi
%endif

%endif #RHEL

%if "%{?dist}" == "pkvm3_1"
%systemd_postun iprinit.service
%systemd_postun iprupdate.service
%systemd_postun iprdump.service
%endif

##
## files
##
%files
%defattr(-,root,root)
%{_sbindir}/iprconfig
%{_sbindir}/iprdump
%{_sbindir}/iprupdate
%{_sbindir}/iprinit
%{_sbindir}/iprdbg
%{_sbindir}/iprsos

%if 0%{?rhel}
%{python_sitelib}/sos/plugins/*
%endif

%if 0%{?suse_version}
/usr/lib/supportconfig
/usr/lib/supportconfig/plugins
/usr/lib/supportconfig/plugins/iprsos
%endif

%{_mandir}/man8/*
%{_sysconfdir}/ha.d
%{_sysconfdir}/ha.d/resource.d
%{_sysconfdir}/ha.d/resource.d/iprha
%{_sysconfdir}/bash_completion.d/*

%if 0%{?_unitdir:1}%{!?_unitdir:0}
%{_unitdir}/iprinit.service
%{_unitdir}/iprupdate.service
%{_unitdir}/iprdump.service
%{_unitdir}/iprutils.target
%{_usr}/lib/udev/rules.d/90-iprutils.rules
%else
%{_initrddir}/iprinit
%{_initrddir}/iprupdate
%{_initrddir}/iprdump
%endif # WITH_SYSTEMD

%if 0%{?WITH_STATIC}
%files static

%defattr(-,root,root)
%{_sbindir}/iprconfig-static

%endif #WITH_STATIC

%changelog
* Fri May 8 2020 Brian King <brking@linux.ibm.com> 2.4.19
- Build issue: Fix quoting of ncurses flags
- Fix potential crash in RAID creation menus
- Fix iprdump sigserv on non-existing dump file
- Add support for descriptor format sense data
* Fri May 31 2019 Brian King <brking@linux.ibm.com> 2.4.18
- Fix format for RAID hang
- Fix driver unbind on format
* Fri Oct 26 2018 Brian King <brking@linux.ibm.com> 2.4.17
- Additional speedup for show-details
- Utilize udev rules for systemd daemon activation
- Miscellaneous build fixes
* Tue May 1 2018 Brian King <brking@linux.ibm.com> 2.4.16
- Speedup for show-details 
- Improve error messages when creating the arrays with RI and non-RI disks
- Fix download microcode to all devices
- Fix microcode image sorting on little endian systems
* Mon Jun 19 2017 Brian King <brking@linux.vnet.ibm.com> 2.4.15
- Released iprutils 2.4.15
- Enable write cache policy for JBODs
- Fix data direction for some SG_IO ioctls
- improve README documentation
- Display RAID migration status
- Add reserved bits in page 2 of ses device
* Tue Oct 25 2016 Brian King <brking@linux.vnet.ibm.com> 2.4.14
- Released iprutils 2.4.14
* Wed Oct 19 2016 Brian King <brking@linux.vnet.ibm.com>
- Remove sleeps from iprconfig initialization
- Filter out JBOD HDDs from the device statistics menu
* Wed Oct 05 2016 Brian King <brking@linux.vnet.ibm.com>
- Allow VSET write cache in bare metal mode
* Tue Oct 04 2016 Brian King <brking@linux.vnet.ibm.com>
- Fix raid-create on dual adapter setups
- Wait for sg module
- Disable rebuild verify by default for single adapter configurations
- Remove stale debug printf
- Vset cache enable fixes
- Backwards compatibility for endian swapped device_id
- Fix iprconfig dump option to log full IOA details
* Tue Aug 16 2016 Brian King <brking@linux.vnet.ibm.com> 2.4.13
- Additional fixes for tracking known zeroed state
* Thu Aug 04 2016 Brian King <brking@linux.vnet.ibm.com> 2.4.12
- Display higher link rates in path details
- Flush unused multipaths prior to array delete
- Collect additional logs with iprsos
- Display sr device name
- Fix format timeout issue on little endian systems
- Format timeout and format block size fixes
- Remove unnecessary iprconfig prompt on exit
- Save known zeroed state for command line format
- Fix find_multipath_jbod to never return itself
- Ensure device known zeroed state gets saved after format
- Fix for hotplug disk with Slider drawers
* Wed Apr 06 2016 Brian King <brking@linux.vnet.ibm.com> 2.4.11
- Miscellaneous fixes, code cleanups, build infrastructure cleanup
- Support for new disk enclosures
- Add maximum queue depth in GUI when creating an array
- Remove system calls from log viewing commands
- Show RAID initialization state during T10-DIF initialization
* Tue Jan 19 2016 Brian King <brking@linux.vnet.ibm.com> 2.4.10
- Released iprutils 2.4.10
* Wed Jan 13 2016 Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
- Add Device Statistics menu to ncurses interface
* Mon Jan 11 2016 Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
- Fix RAID Migration failure on Little Endian systems
* Wed Dec 02 2015 Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
- Implement ssd_report command to display SSD usage statistics
* Wed Dec 02 2015 Heitor Ricardo Alves de Siqueira <halves@linux.vnet.ibm.com>
- Implement ipr dump formatting tool
* Wed Nov 04 2015 Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
- Add a command to update all devices to the latst microcode levels.
* Mon Oct 26 2015 Brian King <brking@linux.vnet.ibm.com> 2.4.9
* Mon Oct 26 2015 Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
- Add support for sync cache managed array write cache on supported adapters
* Tue Sep 1 2015 Daniel Kreling <dbkreling@linux.vnet.ibm.com>
- Add supportconfig plugin
* Fri Aug 21 2015 Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
- Misc build cleanups and fixes
- Microcode download UI enhancements
- Add new show-ucode-levels to list all microcode levels for all ipr devices
* Mon Jul 6 2015 Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
- Add support to change rebuild rate from ncurses
* Fri Jun 19 2015 Brian King <brking@linux.vnet.ibm.com> 2.4.8
- Add RAID creation warnings when creating arrays with non zeroed disks
- Add bash smart completion
- Misc build fixes
- Add support for optional static linking of iprconfig
- Add device write cache attribute in iprconfig for JBOD disks
* Wed May 6 2015 Brian King <brking@linux.vnet.ibm.com> 2.4.7
- Add iprutils plugin for sosreport
- Fix to ensure daemons are enabled by default
- Add new set-write-cache-policy and query-write-cache-policy
  CLI commands for JBOD devices to enable drive write cache
- Add CLI support for configurable rebuild rate
- Add support to speed up array rebuilds
- Misc fixes
* Fri Mar 13 2015 Brian King <brking@linux.vnet.ibm.com> 2.4.6
- Build with autotools
- Fix bug causing iprutils daemons to die
- Add easy tier prerequisite checking
- Fixup FRU and PN swap in iprconfig
- Add dump iprconfig CLI command, including a sosreport plugin
- Improve device attribute binding algorithm for new adapters
- Misc fixes
* Fri Nov 7 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.4.5
- Raid migration fails on LE systems
- Set known zeroed after format
* Mon Sep 8 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.4.4
- Add support to catch cache hit
- Change the filesnameof firmware to be case insentive.
* Tue Sep 2 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.4.3
- On PowerNV, some of IOAs showed the wrong physical location
- Read Intensive SDs are not showed up in iprconifg
- Capacity is not reported for JBOD disk greater than 2TB
- Add code for supporting DVD/Tape hotplug
- allow systemd dameons to be activated laster during boot
- add DVD/Tape support in dispaly hardware staut menu
* Tue Jun 10 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.4.2
- Creation of systemd files for the ipr daemons and proper changes on the spec
  file
- Adds three new CLI APIs: query-array/device/location
- Doesn't show "Redusant Paths" in dual config<LE>
- Couldn't create iprudmp file
- allow iprconfig to load sg module
- Segmentation fault when rebuild an array
- Fix blan space on array member strings
* Tue Apr 08 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.4.1
- Release 2.4.1
- Avoid bashisms
- remove libpci dependency
- Failed to write attribute: delte when hot removing disks
- segment fault when trying to show details of missing devices
* Fri Feb 07 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.4.0
- Release 2.4.0
- Eliminate libsysfs dependency
* Fri Feb 07 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.3.18
- Release 2.3.18
- array start enhancement patch
- compliation fails on ununtu
* Sat Feb 01 2014 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.3.17
- Release 2.3.17
- creating an array fails for T2 disks.
- Several fixes for LE system.
- Enable actie/active by default
* Tue Nov 05 2013 Wen Xiong<wenxionglinux.vnet.ibm.com> 2.3.16
- Release 2.3.16
- Fixes a bug for 4K bytes/sector disks in iprutils
- Fixes a bug for disk hot swap in VSES on P8
- Release 2.3.15
- Add support for 4K bytes/sector disks in iprutils
- Release 2.3.14
- Fixes stale information after hot plug a disk into an array
- Segmentation fault when removing a disk with hot spare disk
- Fxied sysfs error when updating microcode
- Fixes the platform location issue for Tres drawer
- Fix hop count defines
- Release 2.3.13
- Fixes Platform Location for 32bit adapter.
- Adds support for optical devices.
- Fixes platform location for disks.
- Changes %post and %preun sections of spec file.
- Fixes release date on the spec file.
* Wed Sep 05 2012 Wen Xiong <wenxiong@linux.vnet.ibm.com> 2.3.12
- Release 2.3.12
- Addes supporting suspend/resume utility for BlueHawk.
- Fixes raid array delete error.
* Tue Jun 12 2012 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.11
- Release 2.3.11
- Fixes deleting an array logs I/O errors.
- Fixes buffer overflow in disk details.
- Fixes wrong status on an array for the secondary controller.
- Fixes add_string_to_body() for non-interactive interface.
- Fixes IOA asymmetric access mode change.
- Gets location code when SES page 4 is unavailable.
- Fixes physical location error if disk is vses disk.
* Mon Apr 02 2012 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.10
- Release 2.3.10
- Displays Hardware Location Code for disk/expander.
- Changes concurrent maintenance GUI to 3 ways toggle.
- Changes README for concurrent maintenance command line.
- Adds structures and functions for query resource paths aliases.
- Fixes a bug in suspend/resume device bus.
- Supports concurrent maintenance for 64bit adapter.
- Supports not physical remove disk.
- Fixes header problem when query-remove/add-device.
- Sometimes receive diag failed at first time after update adapter firmware.
- If the disk in a RAID, iprutils itself has to delete sysfs name for secondary
  adapter.
- Old drawers don't support query page 4 for physical location.
- Adds display sas path detail for 64bit adapter.
- Fixes GUI version of raid consistency check.
- Adds new chip details entries.
- Fixes SES microcode update failures.
- Fixes SES microcode image version on CLI.
- Adds a flag to raid create command for known zeroed drives.
* Fri Dec 16 2011 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.9
- Release 2.3.9
- Fixes disks and arrays status.
- Uses C4 inquiry page for DRAM size.
- Sets allow_restart to zero before raid delete.
- Fixes raid consistency check for 64 bit adapters.
- Fixes compile warning.
- Updates queue depth values.
* Thu Nov 24 2011 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.8
- Release 2.3.8
- Adds support for FPGA updates.
- Bumps up number of command status records.
- Only uses primary adapter for initialize and format disk task.
- Fixes check for hotspare devices.
- Removes unnecessary call to find_dev().
* Thu Aug 18 2011 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.7
- Release 2.3.7
- Adds support for vset device asymmetric config.
- Fixes display details for array devices.
- Increases buffer size for new adapter config data.
- Fixes query command status functionality.
* Thu Jul 14 2011 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.6
- Release 2.3.6
- Fixes segmentation fault when qac is not available.
- Fixes serial number comparison.
* Thu Jun 16 2011 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.5
- Release 2.3.5
- Fixes suspend and resume device bus commands.
* Wed Apr 27 2011 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.4
- Release 2.3.4
- Fixes data types for C4 page definition.
- Fixes setting qac cdb[3] and rename ipr_is_array_record.
- Fixes array migration funcionality.
- Increases maximum dump size.
* Mon Mar 07 2011 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.3.3
- Release 2.3.3
- Adds initial support for sis64 asymmetric access changes.
- Fixes segmentation faults when trying to display certain information.
- Fixes some file permissions and a compilation warning.
* Thu Nov 18 2010 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.2
- Release 2.3.2
- Fixes code incompatibility with libsysfs version 1.
- Changes get_scsi_max_xfer_len return value.
* Fri Nov 12 2010 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.1
- Release 2.3.1
- Fixes display of empty slots.
- Fixes IOA description indentation.
- Adds Resource Path display for SIS64 devices.
- Adds support for the new live dump functionality.
- Fixes mode sense page24 for little endian architectures.
- Fixes battery info for little endian architectures.
* Thu Aug 12 2010 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.3.0
- Release 2.3.0
- Fixes type of pointers provided to scandir.
- Fixes buffer overflow when the SCSI Host ID is equal or greater than 1000.
- Fixes function names on comments in iprlib.c.
- Fixes memory leak when ioctl() returns EINVAL.
- Adds support to identify sis64 capability.
- Adds support for new sysfs attributes.
- Adds support for type 3 QAC command.
- Adds support for type 3 records.
* Mon May 10 2010 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.2.21
- Release 2.2.21
- Fixes firmware image files left open after getting firmware level.
- Changes IOA DRAM size display from hex to decimal base.
- Handles SG_IO ioctl error with older distros which caused disk microcode
  download to fail with JBOD's.
* Wed Apr 07 2010 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.2.20
- Release 2.2.20
- Adds resource address parsing based on encoding format flag.
* Fri Mar 19 2010 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.2.19
- Release 2.2.19
- Fixes platform location display on blades.
* Fri Oct 30 2009 Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> 2.2.18
- Release 2.2.18
- Changes the default write buffer mode for writing to SES devices.
- Fixes the CLI show-details command for SES devices.
- Comments out the get_write_buffer_dev() routine to suppress compilation
  warnings as it is not being used at the moment.
- Fixes the Platform Location Information display for hotplug adapters and
  displays the information for non-hotplug adapters.
- Fixes the indentation problem when IOA host number is equal to or greater
  than 10.
* Wed Sep 16 2009 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.17
- Release 2.2.17
- Fixes a NULL pointer dereference which caused the daemons to silently fail.
* Fri Aug 14 2009 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.16
- Release 2.2.16
- Fixes a bug where CLI raid create is broken.
- Fixes several potential memory leak problems.
- Adds man page entries for the disable cache query and command.
* Tue Jun 30 2009 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.15
- Release 2.2.15
- Fixes a bug where cache reclaim can time out too soon.
- Fixes some problems with the disable caching support.
* Tue Apr 07 2009 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.14
- Release 2.2.14
- Add support for disabling IOA caching.
- Remove #include of <linux/byteorder/swab.h> as it is not used.
- Allow giving a relative path for a microcode image file when doing an upgrade
  from the command line.
- Add support for SSD drives.
* Mon Nov 17 2008 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.13
- Release 2.2.13
- Additional fixes for the active-active functionality.
- Fixes for iprdump to recognize a /sys/devices path.
* Thu Oct 23 2008 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.12
- Release 2.2.12
- Additional GUI support and fixes for the active-active functionality.
- Fixes for CLI RAID create and delete.
* Fri Sep 26 2008 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.11
- Release 2.2.11
- Add support for the active-active functionality.
* Wed Aug 20 2008 Wayne Boyer <wayneb@linux.vnet.ibm.com>
- Fixed a compilation failure on small endian systems.
* Wed Aug 13 2008 Wayne Boyer <wayneb@linux.vnet.ibm.com> 2.2.10
- Release 2.2.10
- Add support for the array migration functionality.
* Wed May 14 2008 Tseng-Hui Lin <tsenglin@us.ibm.com>
- Under heavy traffic, download microcode to a disk through /dev/sgX
  may get -ENOMEM SG_IO ioctl. Change to use /dev/sdX. Fall back
  to /dev/sgX if: (1) /dev/sdX does not exist or (2) max_sectors_kb
  is not set large enough for microcode download.
* Wed Apr 09 2008 Tseng-Hui Lin <tsenglin@us.ibm.com> 2.2.9
- Release 2.2.9
- Do not save preferred primary attribute to fix an infinite failover
  problem in HA two system RAID configuration.
* Thu Sep 20 2007 Brian King <brking@us.ibm.com> 2.2.8
- Release 2.2.8
* Mon Aug 27 2007 Brian King <brking@us.ibm.com>
- Add support for setting dual adapter HA mode.
* Thu Jun 21 2007 Brian King <brking@us.ibm.com> 2.2.7
- Fixes for init.d scripts to fix problems installing them on
  some systems.
* Wed Jun 13 2007 Brian King <brking@us.ibm.com>
- rpm spec file updates
* Tue May 1 2007 Brian King <brking@us.ibm.com> 2.2.6
- Fix iprinit dual initiator failover device rescanning code.
* Wed Apr 25 2007 Brian King <brking@us.ibm.com>
- Add iprha init.d script to enable/disable primary adapter mode
  for dual initiator configs.
* Fri Apr 13 2007 Brian King <brking@us.ibm.com>
- Add adapter config option in iprconfig for setting primary/secondary
  adapter in dual adapter environment.
* Mon Mar 19 2007 Brian King <brking@us.ibm.com>
- Add iprconfig option to display SAS dual pathing information.
* Mon Mar 12 2007 Brian King <brking@us.ibm.com>
- Increase time waiting for new devices to show up in
  iprconfig when doing concurrent add.
* Fri Feb 9 2007 Brian King <brking@us.ibm.com>
- Add filename date to microcode download screen. (Ryan Hong)
- Fix to prevent unnecessarily writing sysfs attributes. (Ryan Hong)
* Tue Feb 6 2007 Brian King <brking@us.ibm.com>
- Return standard error code according to send_dev_init() return code.
* Mon Feb 5 2007 Brian King <brking@us.ibm.com>
- Fix incorrect memory free in analyze log menus.
* Wed Jan 10 2007 Brian King <brking@us.ibm.com>
- Fix send diagnostics buffer transfer length to be only what was
  received in the receive diagnostics. Fixes disk hotplug on
  some SAS disk enclosures.
* Thu Jan 4 2007 Brian King <brking@us.ibm.com>
- Sourceforge patch 1627673: iprutils fix to buffer overflow
- Add checking to iprconfig command "set-qdepth" input queue
  depth value. If the given value is larger than 255, fail the command.
- Fix a bug in which the iprconfig command "raid-create"
  may create an illegal queue depth value to the ipr
  config file.
* Thu Jan 4 2007 Brian King <brking@us.ibm.com>
- Sourceforge patch 1627672: iprutils fix to buffer overflow
- Fix a bug in which the iprconfig command "raid-create"
  may create an illegal queue depth value to the ipr
  config file.
* Wed Nov 29 2006 Brian King <brking@us.ibm.com>
- Fixes for SES microcode download on SAS.
* Mon Nov 20 2006 Brian King <brking@us.ibm.com>
- Change to handle UA responses in the JBOD iprinit sequence.
* Thu Nov 16 2006 Brian King <brking@us.ibm.com>
- Fix segfault in iprconfig if /var/log does not exist.
- Allow IOA microcode download to a secondary IOA.
- Fix to prevent errors during SAS SES microcode download.
* Tue Oct 10 2006 Brian King <brking@us.ibm.com>
- Add a couple utility functions for SAS
	ipr_query_sas_expander_info
	ipr_query_res_redundancy_info
* Wed Sep 27 2006 Brian King <brking@us.ibm.com> 2.2.3
- Fix SAS disk hotplug dual path bug.
* Tue Sep 12 2006 Brian King <brking@us.ibm.com>
- Change default QERR setting for SAS to 0.
* Tue Sep 12 2006 Brian King <brking@us.ibm.com> 2.2.2
- Fix iprconfig set-format-timeout.
* Mon Sep 11 2006 Brian King <brking@us.ibm.com> 2.2.1
* Fri Sep 8 2006 Brian King <brking@us.ibm.com>
- Reduce default JBOD queue depth to 3.
- Fix iprconfig -c set-bus-speed.
* Wed Aug 23 2006 Brian King <brking@us.ibm.com>
- Fix a race condition with hotplug events which could
  cause the ipr daemons to run before newly added devices
  are completed added to the system.
* Wed Aug 9 2006 Brian King <brking@us.ibm.com>
- Fix a segfault in iprdbg when using the macro function
* Tue Jul 25 2006 Brian King <brking@us.ibm.com> 2.2.0
- Fix for command line SES microcode update.
* Mon May 8 2006 Brian King <brking@us.ibm.com>
- Use IOA's default format timeout for AF DASD instead
  of using a hard coded default.
- Remove RAID support for some older drives that should never
  have been supported.
* Mon May 1 2006 Brian King <brking@us.ibm.com>
- Add support to iprinit for it to handle disks going
  from JBOD <-> AF format across an adapter reset. When this
  is detected, iprinit will now attempt to delete the disk
  and then rescan that slot.
- Fixed an ncurses screen drawing bug which resulted in the
  screen getting paged down if the cursor was on the last item
  on the screen and 't' was pressed to toggle the display.
- Added disk concurrent maintenance support for handling
  dual pathed SAS disks.
* Fri Mar 17 2006 Brian King <brking@us.ibm.com>
- Improve iprdbg's logging
* Thu Mar 16 2006 Brian King <brking@us.ibm.com>
- Print better status for devices when IOA is offline/dead.
* Tue Mar 14 2006 Brian King <brking@us.ibm.com>
- Fix to allow for compiling with libsysfs 2.0.0
* Tue Mar 14 2006 Brian King <brking@us.ibm.com> 2.1.4
- Concurrent maintenance fix for certain iSeries
  enclosures which would result in non existent
  drive slots being displayed in iprconfig.
* Wed Mar 8 2006 Brian King <brking@us.ibm.com>
- Remove some redundant code in disk hotplug path
* Thu Mar 2 2006 Brian King <brking@us.ibm.com>
- Fixup status of RAID 10 arrays to print a better status
  under multiple failure scenarios.
* Fri Feb 24 2006 Brian King <brking@us.ibm.com> 2.1.3
- Prevent duplicate mode sense commands from being issued.
- More uevent handling improvements.
- Automatically create hotplug directory if it doesn't
  already exist so adapter microcode update works.
* Thu Feb 9 2006 Brian King <brking@us.ibm.com>
- Improve robustness of uevents failure handling. Fall
  back to polling method if needed. 
* Fri Feb 3 2006 Brian King <brking@us.ibm.com>
- Auxiliary cache adapter fixes.
* Fri Jan 27 2006 Brian King <brking@us.ibm.com>
- Fix iprconfig -c update-ucode to properly report an
  error if the wrong microcode level is specified.
* Mon Jan 23 2006 Brian King <brking@us.ibm.com>
- Fixed a compiler issue.
* Fri Jan 20 2006 Brian King <brking@us.ibm.com>
- Fixed a bug in iprconfig query-raid-create that prevented
  JBOD candidates from being displayed if there were no
  AF candidates as well.
* Thu Jan 5 2006 Brian King <brking@us.ibm.com> 2.1.2
- Make iprupdate return success/failure indication
  when invoked with --force.
* Tue Jan 3 2006 Brian King <brking@us.ibm.com>
- Concurrent maintenance fix for 7031-D24/T24.
* Tue Dec 20 2005 Brian King <brking@us.ibm.com> 2.1.1
- Fix compile error in iprconfig
* Sun Dec 18 2005 Brian King <brking@us.ibm.com> 2.1.0
- Updates for aux cache IOAs
- Updates for SAS adapters
- Misc fixes for new iprconfig command line options
* Wed Dec 7 2005 Brian King <brking@us.ibm.com>
- Add command line options to iprconfig to perform virtually
  every iprconfig function available in the ncurses interface.
* Tue Nov 15 2005 Brian King <brking@us.ibm.com> 2.0.15.6
- Fix concurrent maintenance with disk drawers reporting
  multiple SES devices on the same SCSI bus.
* Fri Oct 7 2005 Anton Blanchard <anton@samba.org>
- Fix string length calculation in ipr_get_hotplug_dir
* Wed Aug 17 2005 Brian King <brking@us.ibm.com> 2.0.15.4
- Fix a couple of uninitialized variable compile errors
* Wed Jul 27 2005 Brian King <brking@us.ibm.com> 2.0.15.3
- Fix: iprconfig: IOA microcode update would leave AF DASD
  (disks that are in disk arrays) in a state where they were
  no longer tagged queueing. Fix iprconfig to run iprinit on the
  adapter after a microcode download to ensure all attached devices
  are properly setup after a microcode download.
- Fix iprinit: If an IOA was reset for some reason at runtime,
  this would cause AF DASD devices to get tagged queueing turned
  off and it would never get turned back on. Change iprinit to
  detect this and turn tagged queueing back on if this happens.
- Changing the queue depth for a disk array was broken. Fix iprinit
  to properly restore the queue depth from the ipr configuration file.
- Fix iprconfig to handle disk format failures better
- Fix potential iprutils segfaults when iterating over disk arrays
* Wed Jun 1 2005 Brian King <brking@us.ibm.com> 2.0.15.1
- Fix iprconfig Analyze Log options
* Wed May 18 2005 Brian King <brking@us.ibm.com> 2.0.15
- Clarify format options
- Setup mode page 0 for IBM drives to ensure command aging is
  enabled. This ensures commands are not starved on some drives.
- Fix so that iprdump properly names dump files once 100 dumps
  have been made.
- Make iprconfig handle failures of scsi disk formats better
- Fix iprconfig Set root kernel message log directory menu
- Properly display RAID level on all iprconfig screens
- Don't disable init.d daemons on an rpm -U
* Tue Apr 12 2005 Brian King <brking@us.ibm.com> 2.0.14.2
- Fixed bug preventing disk microcode update from working.
* Mon Apr 4 2005 Brian King <brking@us.ibm.com>
- Add ability to force RAID consistency check
* Fri Mar 25 2005 Brian King <brking@us.ibm.com> 2.0.14.1
- Removed mention of primary/secondary adapters in some error
  screens since multi-initiator RAID is not supported and the
  messages will just cause confusion.
* Thu Mar 24 2005 Brian King <brking@us.ibm.com>
- iprconfig: During disk hotplug, wait for sd devices to show
  up. Fixes errors getting logged by iprconfig during hotplug.
* Wed Mar 23 2005 Brian King <brking@us.ibm.com>
- iprconfig: Fix cancel path on concurrent add/remove of disks
- Don't display current bus width and speed for SAS disks
* Mon Mar 21 2005 Brian King <brking@us.ibm.com>
- Fix scoping bug caught by gcc 4.0.
* Fri Mar 18 2005 Brian King <brking@us.ibm.com>
- Stop iprupdate from continually logging errors for adapters with
  backlevel adapter firmware.
* Mon Mar 7 2005 Brian King <brking@us.ibm.com> 2.0.14
- Add support for non-interactive array creation and deletion through
  iprconfig.
- Use kobject_uevent notifications instead of polling if the kernel
  supports it.
- Fix iprconfig to set the actual queue depth for advanced function disks
- Allow user to force tagged queuing on to drives that do not support
  QERR=1.
- Fix handling of medium format corrupt drives for drives
- iprconfig: Download microcode. Fix blank screen when displaying
  lots of microcode images.
- Fix iprinit to wait for scsi generic devices to show up in case we are
  racing with hotplug. Fixes the following error:
      0:255:0:0: Mode Sense failed. rc=1, SK: 5 ASC: 24 ASCQ: 0
- Add "known to be zeroed" tracking to iprconfig to drastically reduce the
  time required to create a RAID array when starting with 512 formatted disks
- Add ability to query multi-adapter status for dual initiator RAID configs
- Add ability to set "preferred primary" adapter when running dual initiator RAID configs
- Add iprconfig screen to display dual adapter status for dual initiator RAID configs
- Prevent RAID configuration from occurring on "secondary" adapter in dual initiator RAID configs
- Use /dev/sd for SG_IO instead of /dev/sg when possible
- Set QERR=3 rather than 1 for multi-initiator configurations
- Set TST=1 for multi-initiator configurations
- Allow Format device for JBOD function to work for JBOD adapters
- Fix handling of dead adapters in all of iprutils.
- Fix iprconfig RAID start bug for systems with multiple RAID adapters.
- Fix iprconfig RAID include bug for systems with multiple RAID adapters.
- Fix failing array add device due to race condition with iprinit.
* Tue Oct 5 2004 Brian King <brking@us.ibm.com> 2.0.13
- Improve iprupdate error logs to indicate where to download microcode from.
- Set default tcq queue depth for AS400 disks to 16.
- Don't log errors in iprdump if CONFIG_IPR_DUMP not enabled in the kernel
- Fix sysfs parsing to handle new sdev target kernel change
- Rescan JBOD devices following recovery format to make the device usable if
  it was originally in an unsupported sector size.
- Display correct adapter serial number in iprconfig.
- Support for microcode download to new adapters.
- Support for iSeries disk microcode update using microcode images from
  the pSeries microcode website.
* Fri Jun 11 2004 Brian King <brking@us.ibm.com> 2.0.12
- Fix bug preventing ucode download to iSeries disks from working
* Thu Jun 10 2004 Brian King <brking@us.ibm.com> 2.0.11
- Fix segmentation fault in _sg_ioctl that was causing a silent
  failure of microcode update to disks. The microcode update would
  fail, but no error would be logged. The seg fault was in a child
  process, so the parent process kept running.
* Sun May 23 2004 Brian King <brking@us.ibm.com> 2.0.10
- Don't let iprdbg sg ioctls be retried.
- Add --force flag to iprconfig to allow user to workaround buggy
  drive firmware.
- Don't initialize read/write protected disks
- Fix some reclaim cache bugs
- Don't setup Mode Page 0x0A if test unit ready fails
* Sun May 2 2004 Brian King <brking@us.ibm.com> 2.0.9
- Add --debug option to all utilities
- Make utilities behave better when ipr is not loaded
- Fix dependencies in init.d scripts
- Only enable init.d scripts on ppc
- Don't log an error if ipr is not loaded
* Wed Apr 28 2004 Brian King <brking@us.ibm.com> 2.0.8
- Fix to properly enable init.d scripts when the rpm is installed
- Fix memory leak in code download path
- Increase size of page 0 inquiry buffer so that extended vpd is displayed
- Decrease write buffer timeout to 2 minutes
* Fri Apr 16 2004 Brian King <brking@us.ibm.com> 2.0.7
- Load sg module in init.d scripts if not loaded
- Load sg module in iprconfig if not loaded
* Wed Apr 14 2004 Brian King <brking@us.ibm.com> 2.0.6
- Battery maintenance fixes.
- Fix to properly display failed status for pulled physical disks.
* Tue Apr 6 2004 Brian King <brking@us.ibm.com> 2.0.5
- Battery maintenance fixes.
- Fix init.d scripts to work properly with yast runlevel editor.
- Fix device details screen in iprconfig for Failed array members
- Allow formatting devices even if qerr cannot be disabled 
* Mon Mar 29 2004 Brian King <brking@us.ibm.com> 2.0.4
- Fixed some sysfs calls that changed their calling interfaces
* Wed Mar 17 2004 Brian King <brking@us.ibm.com> 2.0.2-3
- Fixed