File: changelog

package info (click to toggle)
crash 7.2.9-2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 38,404 kB
  • sloc: ansic: 157,159; makefile: 529; sh: 16
file content (8048 lines) | stat: -rw-r--r-- 444,340 bytes parent folder | download
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
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
crash (7.2.9-2) unstable; urgency=medium

  * Backporting future patches to support printk in kernel 5.10+ based on:
    https://github.com/crash-utility/crash/compare/bf57c44...71e159c
  * Update to current debhelper 13. 

 -- Troy Heber <troyh@debian.org>  Tue, 08 Dec 2020 12:58:57 -0700

crash (7.2.9-1) unstable; urgency=medium

  * Patch from Sebastian Andrzej Siewior <sebastian@breakpoint.cc>: The crash
    project moved recently to github. The attached patch updates the
    information within the package. It also adds a watch file which points to
    the latest release (closes: #976195)

  * Fix for an ARM64 gcc-10 compilation error.  Without the patch, the build
    of the embedded gdb module fails with an error message that indicates
    "multiple definition of 'tdesc_aarch64'".

  * Fix for the "log" command.  Without the patch, the command's output may be
    truncated, ending with the error message "log: invalid log_buf entry
    encountered".

  * Fix to allow the translation of ARM64 FIXMAP addresses located in the
    virtual memory region between the end of the vmalloc region and the
    beginning of the vmemmap region.  Without the patch, reads of virtual
    addresses within that region are not recognized properly and will fail.

  * Introduction of a new "extend -s" option, which shows all available shared
    object extension modules that are located in the directories that are part
    of the normal search path that is used when a shared object is loaded
    without a fully-qualified pathname.

  * Fix for the "bpf -m|-M" options on Linux 5.3 and later kernels that
    contain commit 3539b96e041c06e4317082816d90ec09160aeb11, titled "bpf:
    group memory related fields in struct bpf_map_memory".  Without the patch,
    the options prints "(unknown)" for MEMLOCK and UID.

  * Enhancement to the "bpf -p|-P" options to display the eBPF program name
    string.

  * Fix for reading compressed kdump dumpfiles from systems with physical
    memory located at extraordinarily high addresses.  In a system with a
    physical address range from 0x602770ecf000 to 0x6027ffffffff, the crash
    utility fails during session initialization due to an integer overflow,
    ending with the error message "crash: vmlinux and vmcore do not match!".

  * Enhancement of the "struct -r" option to support the raw memory display of
    a single data structure member.  Without the patch, the option only
    supported the raw display of a complete data structure.

  * Modify the display behavior of the "struct -r" option so as to scale the
    minimum display size from the size of a per-architecture long (32-bits or
    64-bits) down to 8-bits, 16-bits or 32-bits when the requested size is
    equal to one of the smaller sizes.

  * Introduce a new ARM64 "--machdep vabits_actual=<value>" command line
    option for Linux 5.4 and later dumpfiles, which require the kernel's
    dynamically-determined "vabits_actual" value for virtual address
    translation.  Without the patch, the crash session fails during
    initialization with the error message "crash: cannot determine
    VA_BITS_ACTUAL".  This option will become unnecessary when the proposed
    TCR_EL1.T1SZ vmcoreinfo entry is incorporated into the kernel.

  * Fix for "kmem -[sS]" options on Linux 4.14 and later kernels built with
    CONFIG_SLAB_FREELIST_HARDENED enabled. Without the patch, there will error
    messages of the type "kmem: <cache name> slab: <address> invalid
    freepointer: <obfuscated address>" for caches created during SLUB
    bootstrap, as they are likely to have s->random == 0.

  * If readmem() receives a user-space address in a page that has been swapped
    to the zswap compressed swap cache, an attempt will be made to find and
    decompress the page.

  * Fix for the "mount -n [pid|task]" option when running on a live system.
    Without the patch, if the [pid|task] has been created since the last
    internal task table refresh, the command fails with the error message
    "mount: invalid task or pid value: <value>".

  * Introduction of the "log -T" option, which translates the leading
    timestamp value of each message into human readable format.

  * When kernels are built with LLVM, the names of many symbols may be
    appended with an ".llvm.<number>" string.  As a result, commands such as
    "irq" fail with the error message irq: neither irq_desc, _irq_desc,
    irq_desc_ptrs or irq_desc_tree symbols exist".  This patch adds the
    LLVM-generated string to the other strings that are stripped from symbols
    before they are stored.

  * Prepare for the introduction of ARM64 8.3 Pointer Authentication as
    in-kernel feature.  The value of CONFIG_ARM64_KERNELPACMASK will be
    exported as a vmcoreinfo entry, and will be used with text return
    addresses on the kernel stack.

  * Several fixes for ARM64 kernels:
    (1) Linux kernel patch "arm64: mm: Introduce vabits_actual"
        introduced "physvirt_offset", which is not equal to
        (PHYS_OFFSET - PAGE_OFFSET) when KASLR is enabled.
        physvirt_offset is caculated in arch/arm64/mm/init.c
        before memstart_addr (PHYS_OFFSET) is randomized.  Let
        arm64_VTOP() and arm64_PTOV() use physvirt_offset instead,
        whose default value is set to (phys_offset - page_offset)
    (2) For ARM64 RAM dumps without any vmcoreinfo and KASLRpassed as
        argument, " _stext_vmlinux" is not set.  This causes incorrect
        calculation of vmalloc_start with VA_BITS_ACTUAL.
    (3) For ARM64 RAM dumps For ramdumps without vmcoreinfo, get
        CONFIG_ARM64_VA_BITS from in-kernel config. Without this,
        vmemmap size is calculated incorrectly.
    (4) Fix the vmemmap_start to match with what the kernel uses.

  * Replace people.redhat.com references with github equivalents.

  * Implement support for user-space zram reads on x86_64 for recent
   Fedora kernel version 5.6.7-200.fc31.  The patch adds the following:
    (1) Redefine _PFN_BITS() macro to use MAX_POSSIBLE_PHYSMEM_BITS.
    (2) Fix to determine whether address_space.i_pages is a radix tree
        or an xarray.
    (3) Fix to not mistakenly select the "lzo" compressor when the
        kernel has used the default "lzo-rle" compressor.
    (4) Since zram may be provided as a kernel module, it would be
        necessary to load its debuginfo during the crash session;
        therefore perform the zram structure-size/member-offset
        initializations when first required instead of during
        session initialization.
    (5) Handle the zram_table_entry structure member name change
        from "value" to "flags".

  * Add support for 1GB huge pages to "vtop" command on x86_64.  Without this
    patch, the command with a user virtual address corresponding to a 1GB huge
    page fails with the error message "vtop: seek error: physical address:
    <address>  type: "page table".

  * Fix six spelling typos in help.c.

  * Change tcr_el1_t1sz vmcoreinfo entry name to TCR_EL1_T1SZ according to
    kernel commit bbdbc11804ff ("arm64/crash_core: Export TCR_EL1.T1SZ in
    vmcoreinfo").

  * Fix for a failure of calculating kaslr_offset due to an sadump format
    restriction.  Without the patch set, calculating kaslr_offset fails
    because it is based on the assumption that unused part of register values
    in the sadump format are always zero cleared.

  * Support for huge holes in vmem of VMware VMSS dumpfiles.  Without the
    patch, if the hole is big enough, the multiplication by page size will
    truncate as it's operating on a uint32_t.

  * Beautify and extend debug log for VMware VMSS dumpfiles.  Without the
    patch, the parser's debug log is missing a few line breaks as well as some
    crucial information, like control register dumps.

  * Support core files with unusual layout that the ELF program headers do not
    directly follow the ELF header, such as vmcores generated with 'vmss2core'
    tool.

  * Fix for the "log -T" option when crash is started with "--minimal" option.
    Without the patch, crash will spin at 100% and continuously crash at a
    divide by zero.  Disallow the option in minimal mode.

  * Remove raw-view from s390bpf.  With kernel commit ecb1ff6833c4
    ("s390/debug: remove raw view"), the raw-view is no longer supported by
    s390 debug feature.  Since there has never been a single user of the
    raw-view, remove it from crash as well.

  * Support s390 debug feature version 3, which was introduced by kernel
    commit 0990d836cecb ("s390/debug: debug feature version 3").

  * Basic support for PaX's split module layout.  PaX and grsecurity kernels
    split module memory into dedicated r/x and r/w mappings using '*_rw' and
    '*_rx' named member variables in 'struct module'.  To add basic support
    for such kernels, detect the split layout by testing for the corresponding
      structure members and use these instead.

  * Fix for the "kmem -i" option on Linux 5.9-rc1 and later kernels that
    contain commit 1008fe6dc36d ("block: remove the all_bdevs list").  Without
    the patch, the option fails halfway with the error message 'kmem: cannot
    resolve: "all_bdevs"'.

  * Fix for the "irq -a" option on Linux 4.3 or later kernels that contain
    commit 9df872faa7e1 ("genirq: Move field 'affinity' from irq_data into
    irq_common_data").  Without the patch, the option cannot work with the
    message "irq: -a option not supported or applicable on this architecture
    or kernel".

  * Append time zone explicitly to each output of date and time like "DATE:
    Thu Nov 29 06:44:02 JST 2018".

  * Fixes for the "trace.so" extension module on Linux 5.6 and later kernels
    that contain commit: (1) 1c5eb4481e01 ("tracing: Rename trace_buffer to
    array_buffer") (2) 13292494379f ("tracing: Make struct ring_buffer less
    ambiguous") With the patch set, rename trace_buffer to array_buffer and
    ring_buffer to trace_buffer respectively.

  * Fix for the "help -D" option listing uninteresting register entries for
    SADUMP dumpfiles.

  * Fix for an initialization-time failure due to offset change of the name
    member of struct uts_namespace that might be introduced by linux-next
    commit 9a56493f6942 ("uts: Use generic ns_common::count").

  * Add support for VMware guestdump (debug.guest) and vmem (debug.vmem)
    files.  To use, the companion debug.vmem file must be present in the same
    directory as the debug.guest file.

  * Fix for the "extend" command on a PPC64 targeted x86_64 crash binary.
    Without the patch, the command on an x86_64 crash binary that can be used
    to analyze ppc64le dumpfiles fails with the error message "extend: <path
    to extension>: not an ELF format object".

  * Fix for a failure to match arm/aarch64 ELF format of xendump file.

  * Fix for the x86_64 "bt" command in cases where the pt_regs is not present
    in the stack.  Without the patch, the command can be incomplete with the
    error message 'bt: seek error: kernel virtual address: <address> type:
    "pt_regs"'.

  * Fix for the crash.ko memory driver build with Linux 5.8 and later kernels
    that contain commit fe557319aa06 ("maccess: rename
    probe_kernel_{read,write} to copy_{from,to}_kernel_nofault").
    Additionally, due to commit 0493cb086353 ("maccess: unexport
    probe_kernel_write()"), writing kernel memory is no longer possible from a
    module.  Without this patch, build with the kernels fails with the error
    message "error: implicit declaration of function 'probe_kernel_write'".

  * Fix for the memory_driver/Makefile for Linux 5.4 and later kernels that
    contain commit 7e35b42591c0 ("kbuild: remove SUBDIRS support").  Without
    the patch, the "make" command in the memory_driver directory doesn't build
    crash memory driver module as expected.

  * Improvements of KASLR offset detection for QEMU, VMware VMSS and SADUMP
    dumpfiles: (1) Try all CPUs to provide CR3 and IDTR, because these
    registers on CPU0 can be not initialized or clobbered.  (2) Support
    5-level page table by using LA57 bit in CR4.  (3) Get KASLR offset by
    walking page tree.

  * Fix for an initialization-time failure with QEMU dumpfiles with Linux
    5.8 and later x86_64 kernels that contain commit 9d06c4027f21 ("x86/entry:
    Convert Divide Error to IDTENTRY"), renamed divide_error handler to
    asm_exc_divide_error.

  * Fix for several compiler warnings on 32-bit architectures when building
    with "make warn".  Without the patch, gcc generates the message "warning:
    format '%ld' expects argument of type 'long int', but argument 4 has type
    'uint64_t' [-Wformat=]" and similar ones as a result of crash commit
    3fedbee9bfbb ("vmware_guestdump: new input format").

  * Speed up session initialization by avoiding unnecessary processing in the
    stkptr_to_task() function when sp is 0 on some architectures.  Without the
    patch, as it runs through each task's stack to find whether the given
    address is in its range, on a system with about
    1500 CPUs and 165k running tasks, it takes about a day to finish session
    initialization.  With the patch applied, it only takes about 5-10 minutes.

 -- Troy Heber <troyh@debian.org>  Thu, 03 Dec 2020 09:53:49 -0700

crash (7.2.8-1) unstable; urgency=medium

  * New upstream (Closes: #950544)

  * Fix for Linux 5.4-rc1 and later kernels that contain commit
    688fcbfc06e4fdfbb7e1d5a942a1460fe6379d2d, titled "mm/vmalloc: modify
    struct vmap_area to reduce its size".  Without the patch "kmem -v" will
    display nothing; other architectures that utilize the vmap_area_list to
    determine the base of mapped/vmalloc address space will fail.

  * Fix for Linux 5.4-rc1 and later kernels that contain commit/merge
    e0703556644a531e50b5dc61b9f6ea83af5f6604, titled "Merge tag 'modules-
    for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
    which introduces symbol namespaces.  Without the patch, and depending upon
    the architecture:
    (1) the kernel module symbol list will contain garbage entries
    (2) the session fails during session initialization with a dump of
       the internal buffer allocation stats followed by the message
       "crash: cannot allocate any more memory!"
    (3) the session fails during session initialization with a
       segmentation violation.

  * Fix for the "timer -r" option on Linux 5.4-rc1 and later kernels that
    contain commit 511885d7061eda3eb1faf3f57dcc936ff75863f1, titled
    "lib/timerqueue: Rely on rbtree semantics for next timer".  Without the
    patch, the option fails with the following error "timer: invalid structure
    member offset: timerqueue_head_next".

  * Fix for a "[-Wstringop-truncation]" compiler warning emitted when
    symbols.c is built in a Fedora Rawhide environment with gcc-9.0.1 or
    later.

  * Fix for the "kmem -n" option on Linux-5.4-rc1 and later kernels that
    contain commit b6c88d3b9d38f9448e0fcf44847a075ea81d5ca2, titled
    "drivers/base/memory.c: don't store end_section_nr in memory blocks".
    Without the patch, the command option fails with the error message "kmem:
    invalid structure member offset: memory_block_end_section_nr".

  * Fix for Linux 4.19.5 and later 4.19-based x86_64 kernels which are NOT
    configured with CONFIG_RANDOMIZE_BASE and have backported kernel commit
    d52888aa2753e3063a9d3a0c9f72f94aa9809c15, titled "x86/mm: Move LDT remap
    out of KASLR region on 5-level paging", which modified the 4-level and
    5-level paging PAGE_OFFSET values.  Without this patch, the crash session
    fails during initialization with the error message "crash: seek error:
    kernel virtual address: <address> type: "tss_struct ist array".

  * Additional fix for the "kmem -n" option on Linux-5.4-rc1 and later kernels
    that contain commit b6c88d3b9d38f9448e0fcf44847a075ea81d5ca2, titled
    "drivers/base/memory.c: don't store end_section_nr in memory blocks".  The
    initial fix only addressed the x86_64 architecture; this incremental patch
    addresses the other architectures.

  * In the unlikely event that the panic task in a dumpfile cannot be
    determined by the normal means, scan the kernel log buffer for panic
    keywords, and if found, generate the panic task from the CPU number that
    is specified following the panic message.

  * Adjust a crash-7.1.8 patch for support of /proc/kcore as the live memory
    source in Linux 4.8 and later x86_64 kernels configured with
    CONFIG_RANDOMIZE_BASE, which randomizes the unity-mapping PAGE_OFFSET
    value.  Since the problem only arises before the determination of the
    randomized PAGE_OFFSET value, restrict the patch such that it only takes
    effect during session initialization.

  * Add support for extended numbering support in ELF dumpfiles to handle more
    than PN_XNUM (0xffff) program headers.  If the real number of program
    header table entries is equal to or greater than PN_XNUM, the e_phnum
    field of the ELF header is set to PN_XNUM, and the actual number is set in
    the sh_info field of the section header at index 0.

  * Fix for a "warning: large integer implicitly truncated to unsigned type
    [-Woverflow]" compiler message generated on 32-bit architectures as a
    result of the "Additional fix for the kmem -n option" patch above.

  * Add support for handling openSUSE vmlinux files which will be shipped in
    .xz compressed format.  Without the patch, only gzip and bzip2 formats are
    supported.

  * Fix for the determination of the ARM64 page size on Linux 4.4 and earlier
    kernels that do not have vmcoreinfo data.  Without the patch, the crash
    session fails during initialization with the error message "crash: "cannot
    determine page size".

  * Determine the ARM64 kernel's "vabits_actual" value by reading the new
    TCR_EL1.T1SZ vmcoreinfo entry.

  * Fix to determine the ARM64 kernel's "vabits_actual" value from the ELF
    header of a dumpfile created with the "snap.so" extension module.

  * Fix two typos in the examples section of the "help bt" display, which
    mistakenly show "bf -f" and "bf -FF" instead of "bt -f" and "bt -FF".

  * Similar to ARM64, the X86_64, PPC64 and S390x architectures will use the
    exported value of MAX_PHYSMEM_BITS from the vmcoreinfo data as the
    preferred method if it is available.

  * If an S390X kernel crashes before vmcoreinfo initialization, there is no
    way to extract the KASLR offset for such early dumps.  In a new S390X
    kernel patch, the KASLR offset will be stored in the lowcore memory during
    early boot and then overwritten after vmcoreinfo is initialized.  This
    patch allows crash to identify the KASLR offset that is stored in the
    lowcore memory.

  * Fix for a crash-7.2.7 regression that determined the value of the ARM64
    kernel SECTION_SIZE_BITS by reading the in-kernel configuration data if
    there is no VMCOREINFO data available.  In that case, without the patch, a
    double-free exception may occur.

  * Fix for segmentation violation if the gdb_readmem_callback() function gets
    called from other than a crash command, such as from an epython command
    from the mypkdump.so extension module.

  * Fix for the "dis -s" option when running against kernels that have been
    configured with CONFIG_RANDOMIZE_BASE=y (KASLR).  Without the patch, the
    command option indicates that the FILE and LINE numbers are "(unknown)",
    and that "source code is not available".

  * Fix for newer Xen hypervisors, which fail during initialization with the
    error message "crash: cannot resolve init_tss".  This is caused by a
    change in the Xen hypervisor with commit 78884406256, from
    4.12.0-rc5-763-g7888440625.  In that patch the tss_struct structure was
    renamed to tss64 and the tss_page structure was introduced, which contains
    a single tss64.  Now tss information is accessible via the symbol
    "per_cpu__tss_page".

  * When accessing the ARM64 kernel's "crash_notes" array, continue to read
    the per-cpu NT_PRSTATUS note contents if an invalid note is encountered.
    Without the patch, if an invalid note is found, all other notes were
    ignored, and subsequent "bt" attempts on the active tasks would fail.

  * When accessing the 32-bit ARM kernel's "crash_notes" array, continue to
    read the per-cpu NT_PRSTATUS note contents if an invalid note is
    encountered.  Without the patch, if an invalid note is found, all other
    notes were ignored, and subsequent "bt" attempts on the active tasks would
    fail.

  * Fix for the "log -a" option.  The kernel's sk_buff.len field is a 32-bit
    unsigned int, but crash was reading its 32-bit value into a 64-bit
    unsigned long stack variable.  All extra bits that pre-existed in the
    upper 32-bits of the stack variable were passed along as part of a buffer
    size request; if the upper 32-bit bits were non-zero, then the command
    would fail with a dump of the internal buffer allocation stats followed by
    the message "log: cannot allocate any more memory!".

  * When determining the ARM64 kernel's "vabits_actual" value by reading the
    new TCR_EL1.T1SZ vmcoreinfo entry, display its value during session
    initialization only when invoking crash with "-d1" or larger -d debug
    value.

  * Update copyright to 2020 in crash version output.

  * Fix for ARM64 when running against Linux 5.5-rc1 and later kernels that
    contain commit b6e43c0e3129ffe87e65c85f20fcbdf0eb86fba0, titled "arm64:
    remove __exception annotations".  Without the patch, the ARM64 crash
    session fails during initialization with the error message "crash: cannot
    resolve __exception_text_start".

  * Fix for support of ELF format kdump vmcores from S390X KASLR kernels.
    Without the patch, the crash session fails during initialization with the
    error message "crash: vmlinux and vmcore do not match!".

  * Fix for support of S390X standalone dumpfiles and LKCD dumpfiles that were
    taken from S390X KASLR kernels.

  * Rework the previous patch for support of S390X standalone dumpfiles and
    LKCD dumpfiles that were taken from S390X KASLR kernels to avoid calling
    an s390x-specific function from generic code.

  * Fix for a gcc-10 compilation error.  Without the patch, the build of the
    crash library fails with a stream of error messages indicating "multiple
    definition of 'diskdump_flags'"

 -- Troy Heber <troyh@debian.org>  Tue, 11 Feb 2020 19:19:46 -0700

crash (7.2.7-1) UNRELEASED; urgency=medium

  * Document the "-N", "-g" and "-z" options in the "help" command's help
    page.

  * Fix for a crash-7.2.6 regression to the "p" command.  Without the patch, a
    gdb pass-through command construct such as: p ((struct zone
    *)0xffff901e3ffda000)->min_slab_pages gets parsed incorrectly, and the "-"
    is mistaken for an argument option, and each of the subsequent characters
    are marked as an "invalid option".

  * Export the get_mount_list() and get_dump_level() functions in defs.h for
    use by extension modules.

  * Change the gating of a debug message in the do_xarray_dump_cb() function
    from CRASHDEBUG(0) to CRASHDEBUG(1).  Without the patch, users of the
    XArray callback functionality may see messages of the sort "entry has
    XARRAY_TAG_MASK bits set: 239ab0024001" without setting a debug number.

  * Fix for Linux 5.2 and later x86_64 kernels that contain kernel commit
    e6401c13093173aad709a5c6de00cf8d692ee786, titled "x86/irq/64: Split the
    IRQ stack into its own".  Without the patch, the per-cpu IRQ stack
    addresses cannot be determined, and as a result backtraces that utilize an
    IRQ stack will fail.

  * Fix to allow live system analysis of s390x kernels that have been
    configured with CONFIG_RANDOMIZE_BASE=y (KASLR).  Without the patch, the
    "--kaslr=<offset>" command line option is required.

  * Fix for Linux 5.2 and later x86_64 kernels that contain kernel commit
    019b17b3ffe48100e52f609ca1c6ed6e5a40cba1, titled "x86/exceptions: Add
    structs for exception stacks".  Without the patch, the exception stack
    sizes cannot be determined, and as a result backtraces that initiate from
    an exception stack will fail with error messages indicating "bt: invalid
    kernel virtual address: <address> type: stack contents" and then "bt: read
    of stack at <address> failed".

  * Two fixes for the "sys -c" option, one that significantly shortens the
    time consumed by the option, and a second fix that addresses occasional
    situations where the file and line number data are not displayed.

  * Fix for a signed/unsigned comparison bug in vmcoreinfo_read_string() which
    could lead to a segmentation violation in the highly unlikely event of a
    zero length or severely truncated VMCOREINFO note.

  * Fix for the determination of the ARM64 "kimage_voffset" value in Linux 4.6
    and later kernels if an ELF format dumpfile: (1) does not contain its
    value in a VMCOREINFO note, and (2) if the kernel image was loaded at a
    higher address than the system's physical base address.  This may happen,
    for example, when analyzing a dynamically-created ramdump-to-ELF dumpfile.

  * Fix for Linux 4.16 and later ARM64 kernels that contain kernel commit
    fa2a8445b1d3810c52f2a6b3a006456bd1aacb7e, titled "arm64: allow ID map to
    be extended to 52 bits", and which have been configured with both
    CONFIG_DEVMEM=y and CONFIG_STRICT_DEVMEM=y.  Without the patch, an
    inconsequential error message indicating "crash: read error: kernel
    virtual address: <address> type: idmap_ptrs_per_pgd" is displayed during
    initialization.

  * Introduction of a new "bt -p" option that generates a backtrace of the
    panic task, regardless of the current context.  This option is only
    applicable when running against dumpfiles in which the panic task is
    known.

  * When the gdb-7.6.patch file is updated in an existing source tree, it gets
    re-applied during the next build using "patch -N --fuzz=0", which ignores
    patches that have already been applied.  However, if a gdb file has been
    modified multiple times, the secondary patching may fail to recognize that
    a given patch has been previously applied, and will attempt to re-apply
    it.  To prevent any uninintended consequences, the gdb-7.6.patch file will
    also act as a shell script invoked by the Makefile, which restores any
    selected gdb file to its original state prior to all secondary patch
    applications.

  * As an addendum to the previous patch for updating the gdb-7.6.patch in an
    existing pre-built source tree, when rebuilding for the ppc64
    architecture, do not restore the selected gdb files.  This is because the
    gdb-7.6-ppc64le-support.patch will have modified the selected files during
    the initial build.

  * Extend the "timer" command with a new "TTE" column that displays the
    remaining time in jiffies until the expiration of a timer entry, and where
    a negative value displays the number of jiffies that have elapsed since a
    timer has expired.

  * Fix for a "warning: cast to pointer from integer of different size
    [-Wint-to-pointer-cast]" compiler message generated by the previous
    "timer" patch when compiling kernel.c on 32-bit architectures.

  * Fix to the x86_64 "--machdep phys_base=<value>" command line option to
    allow the use of a negative decimal number as the value.  Without the
    patch, only the hexadecimal representation of the value would be accepted.

  * Introduction of a new "rd -R" option, which will display memory in reverse
    order.  Memory will be displayed up to and including the address argument,
    which requires that the count argument be greater than 1 in order to
    display memory before the specified address.

  * Add support for the "count" argument to be used in conjunction with the
    "dis -r" and "dis -f" reverse/forward modes of operation.  In reverse
    mode, the specified "count" number of instructions leading up to and
    including the target address will be displayed.  In forward mode, the
    display will be limited to "count" instructions.  Without the patch, using
    a count argument in either mode generates a "count argument ignored"
    message, and the command proceeds as if it had not been entered.

  * Fix a memory leak in the previous "dis" commit.

  * Implemented a new "error" environment variable that sets the destination
    of error messages.  It can be set to either: "default": error messages are
    always displayed on the console; if the output of a command is piped to an
    external command or redirected to a file, the error messages are also sent
    to the pipe or file.  "redirect": if the output of a command is piped to
    an external command or redirected to a file, error messages are only sent
    to the pipe or file; otherwise they are displayed on the console.
    "filename": error messages are only sent to the specified filename; they
    are not displayed on the console and are not sent to a pipe or file.

  * Fix for the "kmem -n" option on Linux 5.3-rc1 and later kernels that
    contain commit 326e1b8f83a4318b09033ef754f40c785aed5e68, titled
    "mm/sparsemem: introduce a SECTION_IS_EARLY flag".  Without the patch,
    mem_map addresses containing the flag in bit 3 incorrectly show it as part
    of the virtual address; with the patch, the option displays the new "E"
    state flag.

  * Fix for the "timer" command in RHEL7.6 and later RHEL7 kernels.  Without
    the patch, the command emits extra faulty timer entries because the
    tvec_root.vec[] and tvec.vec[] arrays are tracked using hlist_head
    structures where list_head structures should be used.

  * crash-7.2.4 commit 6596f1121b added a "list -B" option to allow more
    efficient enumeration of longer lists.  There is a small bug with this
    option where it may incorrectly flag a loop length of "0" on list of
    length 1, indicating "list: loop detected, loop length: 0".  Since it is
    impossible to have a loop of length 0, the erroneous message can be
    prevented by ensuring the list count is non-zero.

  * Create the specified installation directory if it does not exist.  Without
    the patch, the Makefile's "make install" target will fail if the
    INSTALLDIR and/or DESTDIR macros resolve to a non-existent directory.

  * Fix for the internal caching of the kernel's mem_map array of page
    structures.  Without the patch, in rare circumstances, commands such as
    "kmem -p" may erroneously receive zero-filled page structures.

  * Fix to prevent a potential segmentation violation when accessing the
    compressed configuration data contained in kernels that are configured
    with CONFIG_IKCONFIG.

  * Determine the ARM64 SECTION_SIZE_BITS value using the following order of
    precedence: (1) from the VMCOREINFO data if it exists (2) from the
    in-kernel configuration data if it exists (3) the default value

 -- Troy Heber <troyh@debian.org>  Tue, 11 Feb 2020 19:19:28 -0700

crash (7.2.6-1) unstable; urgency=medium

  * Two fixes for the Xen hypervisor; the first fixes a bug seen with Xen
    4.11.0 during initialization, which fails with the error message "crash:
    invalid kernel virtual address: <address> type: fill_pcpu_struct",
    followed by "WARNING: cannot fill pcpu_struct" and "crash: cannot read
    cpu_info".  The second fix prevents a segmentation violation associated
    with a crash-7.1.1 commit that addressed the Xen 4.5.0 hypervisor symbol
    name change from "dom0" to "hardware_domain".

  * Fix for Linux 4.20 and later x86_64 kernels which are NOT configured with
    CONFIG_RANDOMIZE_BASE.  Linux 4.20 introduced kernel commit
    d52888aa2753e3063a9d3a0c9f72f94aa9809c15, titled "x86/mm: Move LDT remap
    out of KASLR region on 5-level paging", which modified the 4-level and
    5-level paging PAGE_OFFSET values.  Without this patch, the crash session
    fails during initialization with the error message "crash: read error:
    kernel virtual address: <address>  type: tss_struct ist array".  For
    kernels prior to Linux 4.20.0 which have backports of the kernel commit,
    the kernel's PAGE_OFFSET value must be manually specified via the command
    line option "--machdep page_offset=ffff888000000000" for kernels with
    4-level page tables, or "--machdep page_offset=ff11000000000000" for
    kernels with 5-level paging.  (or alternatively the shorter version "-m
    page_offset=<address>" may be used).  The command line option requirement

  * Fix for the "p" command if the expression contains more than one opening
    parenthesis character and a minus/dash sign.  Without the patch, the
    minus/dash sign will get dropped from the command prior to it being passed
    on to gdb for evaluation, and the command will fail with the message "p:
    gdb request failed: <expression>", where the <expression> string will not

  * Fix for the internal parse_line() utility function to account for embedded
    sets of parentheses, which may be used for expressions that are passed to
    gdb by the "p" command.  Without the patch, expressions containing
    embedded sets of parentheses are broken up into multiple argument tokens
    instead of just one.  The previous commit has been reverted by this one.

  * First phase of support for ARM64 kernels that are configured with
    CONFIG_ARM64_USER_VA_BITS_52, which causes the PTRS_PER_PGD count to
    increase from 64 to 1024.  Without the patch, "WARNING: cannot access
    vmalloc'd module memory" will be displayed during session initialization,
    and the translation of any mapped kernel virtual address that requires a
    page table walk will fail, leading to a myriad of other errors.

  * Support for configurable CONFIG_ARM64_PA_BITS values introduced in kernel
    commit 982aa7c5f0861bf56b2412ca341a13f44c238ba4, titled "arm64: add
    kconfig symbol to configure physical address size".  Without the patch, it
    is impossible to determine the value of CONFIG_ARM64_PA_BITS is, and will
    require a new MAX_PHYSMEM_BITS vmcoreinfo entry to be exported.  This

  * For live system analysis where there is no vmcoreinfo ELF note attached to
    /proc/kcore, or for dumpfile analysis where there is no vmcoreinfo ELF
    note attached to the dumpfile, this patch sets the internal
    pc->read_vmcoreinfo() function to a new plugin function that reads the
    data directly from the live kernel or dumpfile.  Because the function is
    set much later during initialization than if the ELF note is attached to
    /proc/kcore or the dumpfile, it may not be available during very early

  * Fix for Linux 4.14.84 and later 4.14-based x86_64 kernels which are NOT
    configured with CONFIG_RANDOMIZE_BASE and have backported kernel commit
    d52888aa2753e3063a9d3a0c9f72f94aa9809c15, titled "x86/mm: Move LDT remap
    out of KASLR region on 5-level paging", which modified the 4-level and
    5-level paging PAGE_OFFSET values.  Without this patch, the crash session
    fails during initialization with the error message "crash: read error:
    kernel virtual address: <address>  type: tss_struct ist array".

  * Fix for determining the x86_64 "phys_base" value in dumpfiles created by
    the KVM "virsh dump" facility if the kernel is KASLR-enabled and does not
    have the phys_base value stored in vmcoreinfo data.  Without the patch,
    the message "WARNING: cannot determine physical base address: defaulting
    to 0" is displayed, and the crash session fails to initialize.

  * 32-bit ARM kernels built with the Thumb-2 instruction set utilize the R7
    register instead of FP for unwinding stacks using the DWARF unwinder.  On
    those kernels, without the patch, the "bt" command only shows the task

  * Fix for the "kmem -z" option on Linux 5.0 and later kernels that contain
    commit a921444382b49cc7fdeca3fba3e278bc09484a27, titled "mm: move zone
    watermark accesses behind an accessor".  Without the patch, the command
    fails with the error message "kmem: invalid (optional) structure member
    offsets: zone_pages_min or zone_struct_pages_min".

  * Fix for the "kmem -i" option on Linux 5.0 and later kernels that contain
    commit ca79b0c211af63fa3276f0e3fd7dd9ada2439839 titled "mm: convert
    totalram_pages and totalhigh_pages variables to atomic".  Without the
    patch, the command prints some incorrect values, and besides does not
    print high/low memory information on kernels which are configured with

  * Fix for the display of kernel module symbol types by the "sym" command in
    Linux 5.0 and later kernels if the module debuginfo data has not been
    loaded into the crash session.  The st_info member of the Elf32_Sym or
    Elf64_Sym structures has changed so as to not contain ASCII symbol type
    characters, and as a result the "sym" command will show unprintable data
    as the symbol type.  With the patch, only text types ("t" or "T") will be

  * First phase of support of the upcoming ARM64 kernel memory map changes to
    support 52-bit kernel virtual addressing, which allows the configuration
    of CONFIG_ARM64_VA_BITS to be 52, but where the actual number of VA bits
    may be downgraded during boot depending upon the hardware capability.
    This phase is only applicable for live system analysis.

  * Fix for the "dis <function>" option with kernel module text symbols on
    Linux 5.0 and later kernels.  Without the patch, the disassembly may stop
    prematurely or extend into the next function because the st_size member of
    the Elf32_Sym or Elf64_Sym text symbol structures can no longer be used as

  * Commit dd12805ed1db7 in the linux-next kernel repository, titled "XArray:
    Remove radix tree compatibility", changes the definition of
    "radix_tree_root" back to be a struct.  However, the content of the new
    structure differs from the original structure, so without the patch,
    current linux-next kernels fail during initialization with the error
    message "radix trees do not exist or have changed their format".  Because
    the new "radix_tree_root" and "xarray" structures have nearly the same
    layout, the existing functionality for XArrays can be reused.

  * Fixes for the "trace.so" extension module: (1) The reader_page can be
    empty if it was never read, do not record it if it is empty. Better yet,
    do not record any page that is empty.  The struct buffer_page "real_end"
    is not available in older kernels, so it needs to be tested if it exists
    before we can use it.  (2) In newer kernels, the sp->type of kernel module
    symbols does not contain the symbol type character unless the module's
    debuginfo data has been loaded into the crash session.  Writing a garbage
    type to the kallsyms file for trace-cmd to read causes it to crash, so
    just always write an 'm'.  (3) Add the "trace dump -t <trace.dat>" option

  * Fix to find the kernel configuration data in Linux 5.1 kernels containing
    commit 13610aa908dcfce77135bb799c0a10d0172da6ba, titled "kernel/configs:
    use .incbin directive to embed config_data.gz".  Without the patch, new
    kernels configured with CONFIG_IKCONFIG_PROC will display "WARNING: could
    not find MAGIC_START!" during session initialization, and also when

  * Fix for the PPC64 "bt" command running against kernels that are configured
    with CONFIG_THREAD_INFO_IN_TASK.  Without the patch, the "bt" command
    fails with the message "bt: invalid/stale stack pointer for this task:

  * Fix for the "files -d <dentry>" option if the dentry.d_inode pointer is
    NULL.  Without the patch, the command output does not display the

  * When the is_s390_dump() function is called to determine whether a file is
    an s390 dumpfile, it currently presumes that the fopen() call always
    works, and then tries to read it with using a NULL file pointer.  Change
    it to verify that the fopen() was successful, and if not, print an error
    message as is done with the other dumpfile type verifier functions.

  * Implement support for ARM64 kernels that are configured with:
    CONFIG_ARM64_PA_BITS=52 CONFIG_ARM64_64K_PAGES CONFIG_PGTABLE_LEVELS=3 and
    that run on a host containing physical memory that utilizes any bit in the
    uppermost 4 bits of the 52-bit physical address range.

  * Extension of the "snap.so" extension module to pass a second
    architecture-specific value in the ELF header; its initial use is for
    support of the upcoming ARM64 52-bit kernel virtual address space by

  * Apply initial changes to support kernel address space layout randomization
    (KASLR) for s390X.  This is the minimal patch-set required to process
    s390x dumps for the kernels configured with CONFIG_RANDOMIZE_BASE, and to
    accept the "--kaslr" command line option.  Only dumpfiles whose headers

  * Fix for the "dev -[dD]" options on Linux 5.1-rc1 and later kernels that
    contain commit 570d0200123fb4f809aa2f6226e93a458d664d70, titled "driver
    core: move device->knode_class to device_private".  Without the patch, the
    command options fail with the error message "dev: invalid structure member

  * Linux 4.18 kernels introduced a new CONFIG_PROC_VMCORE_DEVICE_DUMP
    configuration in commit 2724273e8fd00b512596a77ee063f49b25f36507, titled
    "vmcore: add API to collect hardware dump in second kernel", in which
    device drivers may collect a device specific snapshot of the
    hardware/firmware state of their underlying devices, and export the data
    as a kdump ELF note with type NT_VMCOREDD.  This patch recognizes the new
    ELF note(s) in both ELF and compressed kdump vmcore dumpfiles.  The "help
    -[nD]" option shows basic information about each note, and two new "dev"
    command options have been introduced.  The "dev -V" option displays an
    indexed list of each note, showing the device name, the dumpfile offset,
    and the size of each note.  The "dev -v index [file]" option either dumps
    the contents of a note to the display screen in a human-readable format,
    or copies the note data directly to a specified file.

  * If the kernel's "vmap_area_list" doubly-linked list is corrupt such that
    it does not link back to the global list_head, commands that require
    information regarding the range of virtually-mapped kernel addresses will
    display a generic list-handling error message such as "kmem: invalid list
    entry: 0", and the command will typically fail to fully complete.
    However, without the patch, there will also be "WARNING: malloc/free
    mismatch (29/30)" messages that get displayed after every subsequent
    command.  This patch prevents the mismatch messages, and also adds an
    additional error message indicating "WARNING: invalid/corrupt
    vmap_area_list" to further clarify the generic list-handling error

  * Fix for the "dev" help page to remove the unused -r option letter.

  * If a duplicate list entry is encountered when using the "list -B" Brent
    algorithm, change the list loop length value from hexadecimal to decimal.

  * Update the README file to indicate the capability of building an x86_64
    crash binary with "make target=PPC64", which can be used to analyze

  * Fix for hybrid kernels that have backported support for the Xarray
    facility while allowing subsystems to continue to use radix trees.
    Without the patch, the crash session fails during initialization with the
    message "crash: xarray facility does not exist or has changed its format".

 -- Troy Heber <troyh@debian.org>  Mon, 15 Jul 2019 08:20:49 -0600

crash (7.2.5-1) unstable; urgency=medium

  * New upstream (Closes: #919291)

  * Resurrection of the "dev -p" option for displaying PCI device data on
    Linux 2.6.26 and later kernels.  The option was deprecated as of Linux
    2.6.26, and without the patch, the option would indicate "dev: -p option
    not supported or applicable on this architecture or kernel" when running
    against the newer kernel versions.  PCI Bus information will also be
    displayed with this patch.

  * With Linux 4.19-rc1 commit 7d4340bb92a9df78e6e28152f3dd89d9bd82146b,
    titled "powerpc/mm: Increase MAX_PHYSMEM_BITS to 128TB with
    SPARSEMEM_VMEMMAP config", the PPC64 MAX_PHYSMEM_BITS value has been
    bumped up to 47.  The appropriate update has been made in this patch.

  * Fix to allow piping command output to a shell script beginning with a
    shebang (#!) character sequence if the script pathname is specified with a
    preceding "./" or "/".  Without the patch, the piped command fails with
    the message "crash: pipe operation failed".

  * Fix for the PPC64 "bt" command to recognize when a thread is running in
    OPAL firmware.  Without the patch, the "bt" command indicates
    <task-address>: Invalid Stack Pointer <OPAL-firmware-address>"

  * As an addendum to the "dev -p" patch above, add the new structure member
    offsets for display by the "help -o" option.

  * Enhancement to the "kmem -n" option to dump memory block information if
    the kernel supports it.  In addition, the memory section data block has a
    new "STATE" column added to it.

  * Addendum to the previous "kmem -n" patch to fix a FTBFS issue.   Without
    the patch, certain architectures fail to compile with the error
    "memory.c:17315:16: error: ‘PAGE_SHIFT’ undeclared (first use in this
    function)"

  * Fix the calculation of the vmalloc memory region size to account for Linux
    4.17 commit a7412546d8cb5ad578805060b4006f2a021b5868, titled "x86/mm:
    Adjust vmalloc base and size at boot-time", which increases the region's
    size from 32TB to 1280TB when 5-level pagetables are enabled.  Also
    presume that virtual addresses above the end of the vmalloc space up to
    the beginning of vmemmap space are translatable via 5-level page tables.
    Without the patch, mapped virtual addresses may fail translation in
    whatever command accesses them, with errors indicating "seek error: kernel
    virtual address: <mapped-address>  type: <type-string>"

  * Address several Coverity Scan "RESOURCE_LEAK" issues in the following
    top-level source files: cmdline.c, kvmdump.c, lkcd_v8.c, xendump.c,
    symbols.c, unwind_x86_32_64.c, va_server.c and va_server_v1.c.

  * Modify the x86_64 "bt" behavior when a legitimate exception RIP value
    cannot be referenced symbolically, such as when the exception occurs while
    running in seccomp BPF filter code.  Without the patch, the exception
    frame register dump is preceded by "[exception RIP: unknown or invalid
    address]", and then followed by "bt: WARNING: possibly bogus exception
    frame".  With the patch applied, the translation of the exception RIP will
    show "[exception RIP: no symbolic reference]", and there will be no
    warning message.

  * Account for the /proc/kcore VMCOREINFO PT_NOTE in Linux 4.19 and later
    kernels having commit 23c85094fe1895caefdd19ef624ee687ec5f4507, titled
    "proc/kcore: add vmcoreinfo note to /proc/kcore".  The PT_NOTE information
    is stored during session initialization for later display by "help
    -[n|D]"; a subsequent commit will make it available for use by the crash
    utility's internal pc->read_vmcoreinfo() function.

  * Second phase of support for the VMCOREINFO PT_NOTE added to the ELF header
    of /proc/kcore in Linux 4.19 and later kernels.  This patch introduces
    support for live session /proc/kcore VMCOREINFO access by the crash
    utility's internal pc->read_vmcoreinfo() function.  New usage include the
    initialization of the x86_64 phys_base value, and the arm64 phys_offset,
    page size, and VA bits count.

  * Fix for Linux 4.20-rc1 and later kernels that contain kernel commit
    5c83511bdb9832c86be20fb86b783356e2f58062, titled "x86/paravirt: Use a
    single ops structure".  Without the patch, the kernel may be misidentified
    as an ARCH_XEN kernel, with the most noticeable result being the inability
    to read vmemmap'd page structures.

  * Implemented the functionality for a new MEMBER_TYPE_NAME() macro, which
    will return a pointer to the type name string of a structure member.  It
    is being put in place for the support of Linux 4.20 radix tree to xarray
    replacements, where structure member types may be changed from
    radix_tree_root structures to xarray structures.

  * First phase of support for the XArray facility.  The added support is
    similar to that of radix trees, but introduces completely separate
    functions, structures and #defines.  None of the applicable radix tree
    users in the crash utility have been switched over, so this phase does not
    introduce any functional changes.

  * Second phase of support for the XArray facility, which handles the
    switch-over of PID handling from a radix tree to an XArray in Linux 4.20
    and later kernels.  Without the patch, the crash session fails during
    session initialization with the message "crash: radix trees do not exist
    or have changed their format".

  * Third phase of support for the XArray facility, which consolidates the
    radix_tree_pair and xarray_pair structures into a unified list_pair
    structure that is used by both facilities, and fixes the "bpf" command.
    Without the patch, the command fails on Linux 4.20 or later kernels with
    the error message "bpf: radix trees do not exist or have changed their
    format".

  * Added support for usage of the XArray facility by the "files -p" option.
    Without the patch, the command fails on Linux 4.20 and later kernels with
    the error message "files: radix trees do not exist or have changed their
    format".

  * Added support for usage of the XArray facility by the "irq" command.
    Without the patch, the command fails on Linux 4.20 and later kernels with
    the error message "irq: radix trees do not exist or have changed their
    format".

  * Added support for usage of the XArray facility by the "ipcs" command.
    Without the patch, the command may fail on Linux 4.20 and later kernels
    with the error message "irq: radix trees do not exist or have changed
    their format".

  * Added a new "tree -t xarray" option to display of the contents of an
    XArray in Linux 4.20 and later kernels.  The implementation is similar to
    that of radix tree displays, but in addition, the "-p" option will also
    display the index value of each entry in a radix tree or XArray.

  * Fix for the "files -p <inode>" option on a file with a large number of
    pages.  Without the patch, the command attempts to read radix tree node
    slot entries that are RADIX_TREE_EXCEPTIONAL_ENTRY types instead of page
    pointers, and as a result may fail with a dump of the internal buffer
    allocation stats followed by the message "files: cannot allocate any more
    memory!".

  * Fix for the "ps -s" option on ARM64 if the number of tasks exceeds 2000.
    Without the patch, the command ultimately fails with a dump of the
    internal buffer allocation stats, followed by the message "ps: cannot
    allocate any more memory!".

  * With Linux 4.20-rc1 commit 4ffe713b7587b14695c9bec26a000fc88ef54895,
    titled "powerpc/mm: Increase the max addressable memory to 2PB", the PPC64
    MAX_PHYSMEM_BITS value has been bumped up to 51 for
    CONFIG_SPARSEMEM_VMEMMAP and CONFIG_SPARSEMEM_EXTREME.  The appropriate
    update has been made in this patch.

  * Implemented a new plugin function for the readline library's tab
    completion feature.  Without the patch, the use of the default plugin from
    the embedded gdb module has been seen to cause segmentation violations or
    other fatal malloc/free/corruption assertions.  The new plugin takes gdb
    out of the picture entirely, and also restricts the matching options to
    just symbol names, so as not to clutter the results with irrelevant
    filenames.

  * The RHEL8 kernel will contain a backport of the Linux 4.19 kernel commit
    7d4340bb92a9df78e6e28152f3dd89d9bd82146b, titled "powerpc/mm: Increase
    MAX_PHYSMEM_BITS to 128TB with SPARSEMEM_VMEMMAP config".  As a result,
    the use of the THIS_KERNEL_VERSION() macro by the crash utility does not
    suffice for determining the MAX_PHYSMEM_BITS value for PPC64.  The
    appropriate update has been made in this patch.

  * Fix for an initialization-time session failure when all three of the
    following conditions exist: (1) invoking the session with "crash -d2" or
    larger debug number (2) running against a Linux 3.3 or later kernel (3)
    using a post-7.2.4 crash utility that has the new "kmem -n" support above
    for the display of memory blocks Without the patch, the crash session
    fails with the error message "crash: invalid structure member offset:
    device_kobj".

  * Fix for an initialization-time segmentation violation when invoking
    crash-7.2.4 or later with "crash -d2" or larger debug number.

  * Add a write operation handler to the sample /dev/crash memory driver that
    enables writing to kernel memory via the "wr" command.

  * Prevent a SIGSEGV if a user attempts to input a command line that exceeds
    the maximum length of 1500 bytes.  The patch displays an error message and
    ignores the command line.

  * Fix for the "dev -[dD]" options in kernels containing Linux 5.0-rc1 commit
    7ff4f8035695984c513598e2d49c8277d5d234ca, titled "block: remove dead queue
    members", in which the number of I/Os issued to a disk driver are no
    longer stored in the request_queue structure.  Without the patch, the
    options indicate "dev: -d option not supported or applicable on this
    architecture or kernel".  With the patch, the "DRV" column is not shown.

  * A crash-7.1.1 commit added support for Linux version 5.x.  To prevent
    surprise failures due to unexpected kernel version bumps in the future,
    support has been added for version 6, keeping it one step ahead.

  * Fix for a gcc-9 compilation error that occurs if an inline asm statement
    clobbers the stack pointer.  Without the patch, x86 and x86_64 builds will
    fail to compile gdb-7.6/gdb/common/linux-ptrace.c, generating an error
    that indicates "error: Stack Pointer register clobbered by '%rsp' in
    'asm'".

 -- Troy Heber <troyh@debian.org>  Tue, 29 Jan 2019 08:55:24 -0700

crash (7.2.3+real-2) unstable; urgency=medium

  * Patch from Helmut Grohne <helmut@subdivi.de> to support non-glibc libcs
    (Closes: #910235)

 -- Troy Heber <troyh@debian.org>  Thu, 11 Oct 2018 09:47:22 -0600

crash (7.2.3+real-1) unstable; urgency=medium

  * Revert wget addition and re-include embedded gdb (Closes: #901863)

 -- Troy Heber <troyh@debian.org>  Fri, 22 Jun 2018 15:39:16 -0600

crash (7.2.3-2) unstable; urgency=medium

  * Add wget as a builddep

 -- Troy Heber <troyh@debian.org>  Tue, 22 May 2018 09:16:03 -0600

crash (7.2.3-1) unstable; urgency=medium

  * Fix for a crash-7.2.2 regression that may cause the "mount" command to
    generate a segmentation violation.  The bug is dependent upon the compiler
    version used to build the crash utility, where a buffer overrun is not
    seen with more recent versions of gcc, which hide the bug due to a
    different stack layout of a function's local variables.

  * Fix for a second crash-7.2.2 buffer overrun regression that may cause the
    "rd -S" option to generate a segmentation violation if a displayed memory
    location contains a slab object address.

  * Fix for a third, highly unlikely, crash-7.2.2 buffer overrun regression,
    that could potentially occur during session initialization.

 -- Troy Heber <troyh@debian.org>  Mon, 21 May 2018 14:01:30 -0600

crash (7.2.2-1) UNRELEASED; urgency=medium

  * Fix to support Linux 4.16-rc1 and later ARM64 kernels, which fail during
    session initialization with the error message "crash: cannot determine
    page size".  The failure to determine the page size is due to the
    combination of the following kernel commits: - Linux 4.6 commit
    6ad1fe5d9077a1ab40bf74b61994d2e770b00b14 arm64: avoid R_AARCH64_ABS64
    relocations for Image header fields - Linux 4.10 commit
    4b65a5db362783ab4b04ca1c1d2ad70ed9b0ba2a arm64: Introduce
    uaccess_{disable,enable} functionality based on TTBR0_EL1 - Linux 4.16
    commit 1e1b8c04fa3451e2b7190930adae43c95f0fae31 arm64: entry: Move the
    trampoline to be before PAN

  * Fix the search for the booted kernel on a live system to prevent selecting
    the unusable "vmlinux.o" file found in private build directories.  Without
    the patch, the non-executable vmlinux.o file may be selected, and the
    resulting fatal error message indicates a somewhat misleading "crash:
    cannot resolve _stext".

  * Implemented a new "ps -A" option that restricts the task output to just
    the active tasks on each cpu.

  * As the first step in optimizing the is_page_ptr() function, save the
    maximum SPARSEMEM section number during initialization, and use it as the
    topmost delimeter in subsequent mem_section searches.  Also allow for
    per-architecture machdep->is_page_ptr() plugin functions.

  * Implemented the x86_64 machdep->is_page_ptr() plugin function.  If the
    kernel is configured with CONFIG_SPARSEMEM_VMEMMAP, the plugin function
    optimizes the mem_section search, reducing the computation effort and time
    consumed by commands that repeatedly call the is_page_ptr() function on
    large-memory systems.

  * Fixes for 32-bit X86 "bt" command on kernels that have been compiled with
    retpoline gcc support.  Without the patch, backtraces may fail with the
    error message "bt: cannot resolve stack trace", followed by the text
    symbols found on the stack and possible exception frames.

  * Fix the "help foreach" argument list to include the new "gleader" task
    qualifier option that was added in version 7.1.2.

  * VMware VMSS dumpfiles contain the state of each vCPU at the time when the
    VM was suspended.  This patch enables crash to read the relevant registers
    from each vCPU state for use as the starting hooks by the "bt" command.
    Also, support for "help -[D|n]" to display dumpfile contents, and "help
    -r" to display vCPU register sets has been implemented.  This is also the
    first step towards implementing automatic KASLR offset calculations for
    VMSS dumpfiles.

  * Commit 45b74b89530d611b3fa95a1041e158fbb865fa84 added support for
    calculating phys_base and the mapped kernel offset for KASLR-enabled
    kernels on SADUMP dumpfiles by using a technique developed by Takao Indoh.
    Originally, the patchset included support for kdumps, but this was dropped
    in v2, as it was deemed unnecessary due to the upstream implementation of
    the "vmcoreinfo device" in QEMU.  However, there are still several reasons
    for which the vmcoreinfo device may not be present at the time when a
    memory dump is taken from a VM, ranging from a host running older
    QEMU/libvirt versions, to misconfigured VMs or environments running
    Hypervisors that doesn't support this device.  This patchset generalizes
    the KASLR-related functions from sadump.c and moves them to
    kaslr_helper.c, and makes kdump analysis fall back to KASLR offset
    calculation if vmcoreinfo data is missing.

  * Fix for the "bt" command on 4.16 and later kernels size in which the
    "thread_union" data structure is not contained in the vmlinux file's
    debuginfo data.  Without the patch, the kernel stack size is not
    calculated correctly, and defaults to 8K.  As a result "bt" fails with the
    message "bt: invalid RSP: <address> bt->stackbase/stacktop:
    <address>/<address> cpu: <number>".

  * Fix for the x86_64 "bt" command for kernels that are configured with
    CONFIG_FRAME_POINTER.  Without the patch, the per-text-return-address
    framesize cache may contain invalid entries for functions that have an
    "and $0xfffffffffffffff0,%rsp" instruction in their prologue, which aligns
    the stack on a 16-byte boundary; therefore any cached framesize for a
    text-return-address in such a function may be incorrect depending upon the
    alignment of the stack address of a calling function.  If an invalid
    cached framesize is utilized by "bt", the backtrace may skip over several
    frames, or may display one or more invalid (stale) frames.  The patch
    introduces a new cache that contains functions for which framesize values
    should not be cached.

  * Speed up the "bt" command by avoiding the text value cache that was put in
    place many years ago when the crash utility supported the analysis of
    remote dumpfiles using the deprecated "crash daemon" running on the remote
    host.  The performance improvement will be most noticable when running the
    first instance of "foreach bt", where there would often be a "hitch" when
    it was determining the framesize of kernel module text return addresses.

  * Optimization of the crash startup time and "ps" command processing time
    when analyzing dumpfiles/systems with extremely large task counts.  For
    example, running with a dumpfile containing over a million tasks, startup
    time and "ps" processing time was reduced from 90 minutes to less then 40
    seconds.

  * Speed up the "ps -r" option by stashing the length of the task_struct.rlim
    or signal_struct.rlim array in the internal array_table[].  Without the
    patch, the length of the array is determined by a call to the embedded gdb
    module for each task, and as a result, the command takes a minute or more
    per 1000 tasks.  With the patch applied, it only takes about 0.5 seconds
    per 1000 tasks.

  * Added a new "tree -l" option for the rbtree display, which dumps the tree
    sorted in linear order, starting with the leftmost node and progressing to
    the right.  Also, if a corrupted rb_node pointer is encountered, do not
    fail immediately, but rather display the rb_node address and the corrupt
    pointer and continue.

  * Display a fatal error message if the "tree -l" option is attempted with
    radix trees.  Without the patch, the option would be silently ignored.

  * Introduction of a new "bpf" command that displays information about loaded
    eBFP (extended Berkeley Packet Filter) programs and maps.  Because of its
    upstream fluidity, the capabilities of this command will be an ongoing
    task.  In its initial form, the command displays the addresses, basic
    information, and key data structures of eBPF programs and maps.  It also
    translates the bytecode, and disassembles the jited code, of loaded eBPF
    programs.

  * Fixes to address several gcc-8.0.1 compiler warnings that are generated
    when building with "make warn".  The warnings are all false alarm messages
    of type [-Wformat-overflow=], [-Wformat-truncation=] and
    [-Wstringop-truncation]; the affected files are extensions.c, task.c,
    kernel.c, memory.c, remote.c, symbols.c, filesys.c and xen_hyper.c.

  * Fix for the "ps -a" option for a user task that has utilized
    "prctl(PR_SET_MM, ...)" to self-modify its memory map such that the stack
    locations of its command line arguments and environment variables such are
    not contiguous.  Without the patch, the command may fail with a dump of
    the crash utility's internal buffer usage statistics followed by "ps:
    cannot allocate any more memory!".

  * Fix for a compilation error on ARM64.  Without the patch, the compilation
    of the new bpf.c file fails with the error message "bpf.c:881:18: error:
    conflicting types for 'u64'"

  * Fix for an s390x session initialization-time warning that indicates
    "WARNING: cannot determine MAX_PHYSMEM_BITS" on Linux 4.15 and later
    kernels containing commit 83e3c48729d9ebb7af5a31a504f3fd6aff0348c4, which
    changed the data type of "mem_section" from an array to a pointer.
    Without the patch, the s390x manner of determining MAX_PHYSMEM_BITS fails
    because it presumes that "mem_section" is an array, and as a result,
    displays the warning message.

  * Fix for the determination of the ARM64 phys_offset value when running live
    against /proc/kcore.  Without the patch, the message "WARNING: cannot
    access vmalloc'd module memory" may be displayed during session
    initialization, and vmalloc/module memory will be unaccessible.  (It
    should be noted that at the time of this patch, the upstream version of
    /proc/kcore does not work correctly for ARM64, because PT_LOAD segments
    for unity-mapped blocks of physical are not generated.)

  * For live system analysis, if both "/dev/mem" and the "/dev/crash" memory
    driver do not exist, try to use "/proc/kcore".  Without the patch, the
    session fails immediately with the error message "crash: /dev/mem: No such
    file or directory".

  * Fix, and an update, for the "ipcs" command.  The fix addresses an error
    where IPCS entries are not displayed because of a faulty read of the
    "deleted" member of the embedded "kern_ipc_perm" data structure.  The
    "deleted" member was being read as a 4-byte integer, but since it is
    declared as a "bool" type, only the lowest byte gets set to 1 or 0.  Since
    the structure is not zeroed-out when allocated, stale data may be left in
    the upper 3 bytes, and the IPCS entry gets rejected.  The update is
    required for Linux 4.11 and greater kernels, which reimplemented the IDR
    facility to use radix trees in kernel commit
    0a835c4f090af2c76fc2932c539c3b32fd21fbbb, titled "Reimplement IDR and IDA
    using the radix tree".  Without the patch, if any IPCS entry exists, the
    command would fail with the message "ipcs: invalid structure member
    offset: idr_top"

  * Second stage of the new "bpf" command.  This patch adds additional
    per-program and per-map data for the "bpf -p ID" and "bpf -m ID" options,
    containing data items shown by the "bpftool prog list" and "bpftool map
    list" options; new "bpf -P" and "bpf -M" options have been added that dump
    the extra data for all loaded programs or tasks.

  * Fix for a compilation error of the new "bpf.c" file when building on older
    host systems where CLOCK_BOOTTIME does not exist.

  * Fix for infrequent failures of the x86 "bt" command to handle cases where
    a user space task with "resume_userspace" or "entry_INT80_32" at the top
    of the stack, or which was interrupted by the crash NMI while handling a
    timer interrupt.  Without the patch, the backtrace would be proceeded with
    the error message "bt: cannot resolve stack trace", and then dump the text
    symbols found on the stack and all possible exception frames.

  * Trivial formatting fix to "bpf" help page.

  * Fix the "bpf" command display on Linux 4.17-rc1 and later kernels, which
    contain two new program types, BPF_PROG_TYPE_RAW_TRACEPOINT and
    BPF_PROG_TYPE_CGROUP_SOCK_ADDR.  Without the patch, the dynamic header
    string created for bpf programs overran into the bpf map header, creating
    one long combined header string.

  * Updates for the presumption that system call names begin with "sys_".  In
    Linux 4.17, x86_64 system calls may begin with "__x64_sys", where, for
    example, "sys_read" has been replaced by "__x64_sys_read".

 -- Troy Heber <troyh@debian.org>  Mon, 21 May 2018 13:59:41 -0600

crash (7.2.1-2) unstable; urgency=medium

  * Do not git clone eppic extension. (Closes: #898707), from Thadeu Lima de
    Souza Cascardo <cascardo@debian.org>
  * Remove generated files: CFLAGS.extra LDFLAGS.extra extensions/defs.h, from
    Thadeu Lima de Souza Cascardo <cascardo@debian.org>

 -- Troy Heber <troyh@debian.org>  Mon, 21 May 2018 08:18:43 -0600

crash (7.2.1-1) unstable; urgency=medium

  * New upstream (closes: #890394)

  * Fix for the "runq" command on Linux 4.14 and later kernels that contain
    commit cd9e61ed1eebbcd5dfad59475d41ec58d9b64b6a, titled "rbtree: cache
    leftmost node internally".  Without the patch, the command fails with the
    error message "runq: invalid structure member offset: cfs_rq_rb_leftmost".

  * Fix to prevent a useless message during session inialization.  Without the
    patch, if the highest possible node bit in the node_states[N_ONLINE]
    multi-word bitmask is set, then a message such as "crash:
    next_online_node: 256 is too large!" will be displayed.

  * Additional fixes for the ARM64 "bt" command for Linux 4.14 kernels.  The
    patch corrects the contents of in-kernel exception frame register dumps,
    and properly transitions the backtrace from the IRQ stack to the process
    stack.

  * Implemented a new "search -T" option, which is identical to the "search
    -t" option, except that the search is restricted to the kernel stacks of
    active tasks.

  * Removal of the ARM64 "bt -o" option for Linux 4.14 and later kernels,
    along with several cleanups/readability improvements.

  * Fix for support of KASLR enabled kernels captured by the SADUMP dumpfile
    facility. SADUMP dumpfile headers do not contain phys_base or VMCOREINFO
    notes, so without this patch, the crash session fails during
    initialization with the message "crash: seek error: kernel virtual
    address: <address>  type: "page_offset_base".  This patch calculates the
    phys_base value and the KASLR offset using the IDTR and CR3 registers from
    the dumpfile header.

  * Implemented a new "ps -y policy" option to filter the task display by
    scheduling policy.  Applicable to both standalone ps invocation as well as
    via foreach.

  * Fix for the "kmem -[sS]" options on Linux 4.14 and later kernels that
    contain commit 2482ddec670fb83717d129012bc558777cb159f7, titled "mm: add
    SLUB free list pointer obfuscation".  Without the patch, there will
    numerous error messages of the type "kmem: <cache name> slab: <address>
    invalid freepointer: <obfuscated address>" if the kernel is configured
    with CONFIG_SLAB_FREELIST_HARDENED.

  * Fix for the validation of the bits located in the least significant bits of
    mem_section.section_mem_map pointers.  Without the patch, the validation
    functions always returned valid, due to a coding error found by clang.
    However, it was never really a problem because it is extremely unlikely
    that an existing mem_section would ever be invalid.

  * Fix for the x86_64 kernel virtual address to physical address translation
    mechanism.  Without the patch, when verifying that the PAGE_PRESENT bit is
    set in the top-level page table, it would always test positively, and the
    translation would continue parsing the remainder of the page tables.  This
    would virtually never be a problem in practice because if the top-level
    page table entry existed, its PAGE_PRESENT bit would be set.

  * Removed a check for a negative block_size value which is always a
    non-negative unsigned value in the SADUMP header parsing function.

  * Removed a check for an impossible negative value when calculating the
    beginning address when applying the context value specified by the "search
    -x <count>" option.

  * Implemented a new "timer -C <cpu-specifier>" option that restricts the
    timer or hrtimer output to the timer queue data associated with one or
    more cpus.  For multiple cpus, the cpu-specifier uses the standard comma
    or dash separated list format.

  * Fix for a "ps -l" regression introduced by the new "ps -y" option
    introduced above.  Without the patch, the -l option generates a
    segmentation violation if not accompanied by a -C cpu specifier option.

  * Fix for the "kmem -i" and "kmem -V" options in Linux 4.8 and later kernels
    containing commit 75ef7184053989118d3814c558a9af62e7376a58, titled "mm,
    vmstat: add infrastructure for per-node vmstats".  Without the patch, the
    CACHED line of "kmem -i" shows 0, and the VM_STAT section of "kmem -V" is
    missing entirely.

  * Fix for Linux 4.11 and later kernels that contain kernel commit
    4b3ef9daa4fc0bba742a79faecb17fdaaead083b, titled "mm/swap: split swap
    cache into 64MB trunks".  Without the patch, the CACHED line of "kmem -i"
    may show nonsensical data.

  * Implemented a new "dev -D" option that is the same as "dev -d", but
    filters out the display of disks that have no I/O in progress.

  * If a line number request for a module text address initially fails, force
    the embedded gdb module to complete its two-stage strategy used for
    reading debuginfo symbol tables from module object files, and then retry
    the line number extraction.  This automatically does what the "mod -r" or
    "crash --readnow" options accomplish.

  * Update for support of Linux 4.12 and later PPC64 kernels where the hash
    page table geometry accommodates a larger virtual address range.  Without
    the patch, the virtual-to-physical translation of user space virtual
    addresses by "vm -p", "vtop", and "rd -u" may generate an invalid
    translation or otherwise fail.

  * Implemented a new "runq -T" option that displays the time lag of each CPU
    relative to the most recent runqueue timestamp.

  * Fix to support Linux 4.15 and later kernels that contain kernel commit
    e8cfbc245e24887e3c30235f71e9e9405e0cfc39, titled "pid: remove pidhash".
    The kernel's traditional usage of a pid_hash[] array to store PIDs has
    been replaced by an IDR radix tree, requiring a new crash plug-in function
    to gather the system's task set.  Without the patch, the crash session
    fails during initialization with the error message "crash: cannot resolve
    init_task_union".

  * Fix for the "net" command when the network device listing has an unusually
    large number of IP addresses.  In that case, without the patch, the
    command may generate a segmentation violation.

  * Fix for Linux 4.15 and later kernels that are configured with
    CONFIG_SPARSEMEM_EXTREME, and that contain kernel commit
    83e3c48729d9ebb7af5a31a504f3fd6aff0348c4, titled "mm/sparsemem: Allocate
    mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y".  Without the
    patch, kernels configured with SPARSEMEM_EXTREME have changed the data
    type of "mem_section" from an array to a pointer, leading to errors in
    commands such as "kmem -p", "kmem -n", "kmem -s", and any other command
    that translates a physical address to its page struct address.

  * With the latest PPC64 NMI IPI changes, crash_ipi_callback is found
    multiple times on the stack of active non-panic tasks.  Ensure that the
    symbol reference relates to an actual backtrace stack frame.

  * Update the starting virtual address of vmalloc space for kernels
    configured with CONFIG_X86_5LEVEL.

  * Update the X86_64 VSYSCALL_END address to reflect that it only contains 1
    page.

  * Prevent the X86_64 FILL_PML() macro from updating the internal
    machdep->machspec->last_pml4_read address every time a vmalloc'd kernel
    virtual address is translated.

  * Fix for the "bt" command in x86_64 kernels that contain, or have backports
    of, kernel commit 4950d6d48a0c43cc61d0bbb76fb10e0214b79c66, titled
    "x86/dumpstack: Remove 64-byte gap at end of irq stack".  Without the
    patch, backtraces fail to transition from the IRQ stack back to the
    process stack, showing an error message such as "bt: cannot transition
    exception stack to IRQ stack to current process stack".

  * Initial pass for support of kernel page table isolation.  The x86_64 "bt"
    command may indicate "bt: cannot transition from exception stack to
    current process stack" if the crash callback NMI occurred while an active
    task was running on the new entry trampoline stack.  This has only been
    tested on the RHEL7 backport of the upstream patch because as of this
    commit, crash does not run on 4.15-rc kernels.  Further changes may be
    required for upstream kernels, and distributions that implement the kernel
    changes differently than upstream.

  * Fix for the "bt" command and the "ps -s" option for zombie tasks whose
    kernel stacks have been freed/detached.  Without the patch, the "bt"
    command indicates "bt: invalid kernel virtual address: 0 type: stack
    contents" and "bt: read of stack at 0 failed"; it will be changed to
    display "(no stack)".  The "ps -s" option would fail prematurely upon
    reaching such a task, indicating "ps: invalid kernel virtual address: 0
    type: stack contents" and "ps: read of stack at 0 failed".

  * Fix for running on live systems on 4.15-rc2 and later kernels that are
    configured with CONFIG_RANDOMIZE_BASE and contain kernel commit
    668533dc0764b30c9dd2baf3ca800156f688326b, titled "kallsyms: take advantage
    of the new '%px' format".  Without the patch, a live crash session does
    not show the "WARNING: kernel relocated ..." message expected with KASLR,
    and then displays the message "crash: cannot set context for pid: <pid>"
    prior to generating a SIGSEGV.

  * Fix for 4.15-rc5 and later x86_64 kernels that contain kernel commit
    c482feefe1aeb150156248ba0fd3e029bc886605, titled "x86/entry/64: Make
    cpu_entry_area.tss read-only".  Without the patch, the addresses and sizes
    of the x86_64 exception stacks cannot be determined; therefore if a
    backtrace starts on one of the exception stacks, then the "bt" command
    will fail.

  * Additional fix for support of KASLR enabled kernels captured by the SADUMP
    dumpfile facility, where this patch fixes a problem when Page Table
    Isolation(PTI) is enabled.  When PTI is enabled, bit 12 of CR3 register is
    used to split user space and kernel space.  Also bit 11:0 is used for
    Process Context IDentifiers(PCID).  To open an SADUMP dumpfile, the value
    of CR3 is used to calculate KASLR offset and phys_base; this patch masks
    the CR3 register value correctly for a PTI enabled kernel.

  * Second phase of future support for x86_64 5-level page tables.  This patch
    is a cleanup/collaboration of the original logic used by the various vtop
    functions, where several new common functions have been added for
    extracting page table entries from PGD, P4D, PUD, PMD and PTE pages.  The
    usage of the former PML4 and UPML pages have been replaced with the use of
    the common PGD page, and use the PUD page in 4-level page table
    translation.  Support for 5-level page tables has been incorporated into
    the the existing x86_64_kvtop() and x86_64_uvtop_level4() functions.
    Backwards compatibility for older legacy kernels has been maintained.  The
    third phase of support will automatically detect whether the kernel
    proper, and whether an individual user task, is utilizing 5-level page
    tables.  This patch enables support for kernel-only 5-level page tables by
    entering the command line option "--machdep vm=5level".

  * Xen commit 615588563e99a23aaf37037c3fee0c413b051f4d (Xen 4.0.0.) extended
    the direct mapping to 5 TB.  This area was previously reserved for future
    use, so it is OK to simply change the upper bound unconditionally.

  * Add a new "foreach gleader" qualifier option, restricting the output to
    user-space tasks that are thread group leaders.

  * Since Xen commit 666aca08175b ("sched: use the auto-generated list of
    schedulers") crash cannot open Xen vmcores because the "schedulers" symbol
    no longer exists.  Xen 4.7 implemented schedulers as its own section in
    "xen/arch/x86/xen.lds.S", delimited by the two symbols
    "__start_schedulers_array" and "__end_schedulers_array".  Without the
    patch, the crash session fails during initialization with the error
    message "crash: cannot resolve schedulers"

  * Fix the sample crash.ko memory driver to prevent an s390X kernel
    addressing exception.  Legitimate pages of RAM that successfully pass the
    page_is_ram() and pfn_valid() verifier functions may not be provided by
    the s390x hypervisor, and the memcpy() from the non-existent memory to the
    bounce buffer panics the kernel.  The patch replaces the the memcpy() call
    with probe_kernel_read().

  * Fix for the ARM64 "bt" command running against Linux 4.14 and later
    kernels.  Without the patch, the backtraces of the active tasks in a
    kdump-generated dumpfile are truncated.  Without the patch, the panic task
    will just show the "crash_kexec" frame and the kernel-entry user-space
    exception frame; the non-panic tasks will show their backtraces starting
    from the stackframe addresses captured in the per-cpu NT_PRSTATUS notes,
    and will not display the exception frame generated by the NMI callback,
    nor any stackframes on the IRQ stack.

  * Fix for the ARM64 "bt" command in kernels that contain commit
    30d88c0e3ace625a92eead9ca0ad94093a8f59fe, titled "arm64: entry: Apply BP
    hardening for suspicious interrupts from EL0".  Without the patch, there
    may be invalid kernel kernel exception frames displayed on an active
    task's kernel stack, often below a stackframe of the
    "do_el0_ia_bp_hardening" function; the address translation of the PC and
    LR values in the the bogus exception frame will display "[unknown or
    invalid address]".

 -- Troy Heber <troyh@debian.org>  Fri, 16 Feb 2018 10:47:33 -0700

crash (7.2.0-1) unstable; urgency=medium

  * New upstream (closes: #884464)

  * Fix for the "snap.so" extension module to pass the KASLR relocation offset
    value in the ELF header for x86_64 kernels that are compiled with
    CONFIG_RANDOMIZE_BASE.  Without the patch, it is necessary to use the
    "--kaslr=<offset>" command line option, or the session fails with the
    message "WARNING: cannot read linux_banner string", followed by "crash:
    vmlinux and vmcore do not match!".

  * The native gdb "disassemble" command fails if the kernel has been compiled
    with CONFIG_RANDOMIZE_BASE because the embedded gdb module still operates
    under the assumption that the (non-relocated) text locations in the
    vmlinux file are correct.  The error message that is issued is somewhat
    confusing, indicating "No function contains specified address".  This
    patch simply clarifies the error message to indicate "crash: the gdb
    "disassemble" command is prohibited because the kernel text was relocated
    by KASLR; use the crash "dis" command instead."

  * Fix for the "mach -m" command in Linux 4.9 and later kernels that contain
    commit 475339684ef19e46f4702e2d185a869a5c454688, titled "x86/e820: Prepare
    e280 code for switch to dynamic storage", in which the "e820" symbol was
    changed from a static e820map structure to a pointer to an e820map
    structure.  Without the patch, the command either displays just the
    header, or the header with several nonsensical entries.

  * Fix for Linux 4.10 and later kdump dumpfiles, or kernels that have
    backported commit 401721ecd1dcb0a428aa5d6832ee05ffbdbffbbe, titled "kexec:
    export the value of phys_base instead of symbol address".  Without the
    patch, if the x86_64 "phys_base" value in the VMCOREINFO note is a
    negative decimal number, the crash session fails during session
    intialization with a "page excluded" or "seek error" when reading
    "page_offset_base".

  * Fix for the PPC64 "pte" command.  Without the patch, if the target PTE
    references a present page, the physical address is incorrect.

  * Fix for a 32-bit MIPS compilation error if glibc-2.25 or later has been
    installed on the host build machine.  Without the patch, the build fails
    with the error message "mips-linux-nat.c:157:1: error: conflicting types
    for 'ps_get_thread_area'".

  * Fix for the validity check of S390X virtual addresses for 5-level page
    tables where user space memory is mapped above 8 Petabytes.  Without the
    patch, "rd -u" fails and indicates "invalid user virtual address", and
    "vtop -u" indicates that the address is "(not mapped)".

  * Crash 7.1.5 commit c3413456599161cabc4e910a0ae91dfe5eec3c21 (xen: Add
    support for dom0 with Linux kernel 3.19 and newer) from Daniel Kiper
    implemented support for Xen dom0 vmcores after Linux 3.19 kernel commit
    054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual
    mapped sparse p2m list).  This patch can be deemed subsequent to Daniel's
    patch, and implements support Xen PV domU dumpfiles for Linux 3.19 and
    later kernels.

  * Fix for the "dis" command to detect duplicate symbols in the case of a
    "symbol+offset" argument where the duplicates are not contiguous in the
    symbol list.  Without the patch, the first of multiple symbol instances is
    used in the address evaluation.  With the patch, the command will fail
    with the error message "dis: <symbol+offset>: duplicate text symbols
    found:", followed by a list of the duplicate symbols, and their file and
    line numbers if available.

  * Enhancement to the error reporting mechanism for the "kmem -[sS]" options.
    When a fatal error is encountered while gathering basic CONFIG_SLUB
    statistics, it is possible that the slab cache name is not displayed in
    the error message, and the line containing the slab cache name, address,
    etc., is not displayed at all.  With this patch, an extra error message
    indicating "kmem: <cache-name>: cannot gather relevant slab data" will be
    displayed under the fatal error message; and under that, the CACHE
    address, cache NAME, OBJSIZE, and SSIZE columns will be displayed, but
    with "?" under the ALLOCATED, TOTAL, and SLABS columns.

  * Fix to prevent the "tree -t radix" option from failing when it encounters
    duplicate entries in a radix_tree_node[slots] array.  Without the patch,
    if a duplicate slot entry is found, the command fails with the message
    "tree: duplicate tree entry: radix_tree_node: <node address>
    slots[<index>]: <entry>\n".  (The error can be prevented if the command is
    preceded by "set hash off".)  However, certain radix trees contain
    duplicate entries by design, such as the "pgmap_radix" radix tree, in
    which a radix_tree_node may contain multiple instances of the same
    page_map structure.  With the patch, checks will only be made for
    duplicate radix_tree_node structures.

  * First phase of future support for x86_64 5-level page tables.  New sets of
    virtual memory offsets have been #define'd and helper macros and
    placeholder functions for the p4d page tables have been added.  The only
    functional changes with this patchset are dynamically-set PGDIR_SHIFT and
    PHYSICAL_MASK_SHIFT values that are based upon the kernel configuration.

  * Fix for a build failure.  Without the patch, if the build is done by a
    user whose username cannot be determined from the user ID number, the
    build fails immediately with a segmentation fault.

  * Fix for Linux 4.13-rc0 commit 7fd8329ba502ef76dd91db561c7aed696b2c7720
    "x86/boot/64: Rename init_level4_pgt and early_level4_pgt".  Without the
    patch, the crash session fails during initialization with the error
    message "crash: cannot resolve "init_level4_pgt".

  * The internal "build_data" string contains the compile-time date, the user
    id of the builder, and the build machine hostname, and is viewable by the
    "crash --buildinfo" command line option or by the "help -B" option during
    runtime.  This patch replaces that string data with "reproducible build"
    if the SOURCE_DATE_EPOCH environment variable contains a value string when
    the crash binary is compiled.

  * Fix for Linux 4.13-rc1 commit 2d070eab2e8270c8a84d480bb91e4f739315f03d
    "mm: consider zone which is not fully populated to have holes".  Without
    the patch, SPARSEMEM page struct addresses are incorrectly calculated
    because a new section state, and an associated flag bit, has been added to
    the low bits of the mem_section.section_mem_map address; the extra bit is
    erroneously passed back as part of the section_mem_map and resultant page
    struct address, leading to errors in commands such as "kmem -p", "kmem
    -s", "kmem -n", and any other command that translates a physical address
    to its page struct address.

  * Enhancement to the S390X "vtop" command to display page table walk
    information, adding output showing the following page table contents:

       "Region-First-Table Entry" (RFTE)
       "Region-Second-Table Entry" (RSTE)
       "Region-Third-Table Entry" (RTTE)
       "Segment Table Entry" (STE)
       "Page Table Entry" (PTE)
       "Read address of page" (PAGE)

    Depending on the size of the address space, the page tables can start at
    different levels.  For example:

      crash> vtop 3ff8000c000
      VIRTUAL           PHYSICAL
      3ff8000c000       2e3832000

      PAGE DIRECTORY: 0000000000aaa000
       RTTE: 0000000000aadff8 => 00000002e3c00007
        STE: 00000002e3c00000 => 00000002e3df7000
        PTE: 00000002e3df7060 => 00000002e383203d
       PAGE: 00000002e3832000

            PAGE      PHYSICAL     MAPPING      INDEX CNT FLAGS
      3d10b8e0c80    2e3832000               0       0  1 7fffc0000000000


  * Fix the s390dbf time stamps for S390X kernel versions 4.11 and 4.14.  With
    kernel commit ea417aa8a38bc7db ("s390/debug: make debug event time stamps
    relative to the boot TOD clock") for s390dbf time is stored relative to
    the kernel boot time.  In order to still show absolute time since 1970 we
    have to detect those kernels and re-add the boot time before printing the
    records.  We can use the tod_to_timeval() symbol to check for those
    kernels because the patch has removed the symbol.  With kernel commit
    6e2ef5e4f6cc5734 ("s390/time: add support for the TOD clock epoch
    extension") the symbol name for storing the boot time has changed from
    "sched_clock_base_cc" to "tod_clock_base".  This commit is currently on
    the s390 features branch and will be integrated in Linux 4.14.

  * Further enhancement to the S390X "vtop" command to translate the binary
    values of the hardware flags for region, segment and page table entries.
    For example:

      crash> vtop -u 0x60000000000000 VIRTUAL           PHYSICAL
      60000000000000    5b50a000

      PAGE DIRECTORY: 000000005cea0000 RFTE: 000000005cea0018 =>
      000000006612400f (flags = 00f) flags in binary : P=0; TF=00; I=0; TT=11;
      TL=11 RSTE: 0000000066124000 => 000000005d91800b (flags = 00b) flags in
      binary : P=0; TF=00; I=0; TT=10; TL=11 RTTE: 000000005d918000 =>
      000000006615c007 (flags = 007) flags in binary : FC=0; P=0; TF=00; I=0;
      CR=0; TT=01; TL=11 STE: 000000006615c000 => 000000005ce48800 (flags =
      800) flags in binary : FC=0; P=0; I=0; CS=0; TT=00 PTE: 000000005ce48800
      => 000000005b50a03f (flags = 03f) flags in binary : I=0; P=0 PAGE:
      000000005b50a000

    or for large pages:

      crash> vtop -k 0x3d100000000 VIRTUAL           PHYSICAL 3d100000000
      77c00000

      PAGE DIRECTORY: 0000000001210000 RTTE: 0000000001213d10 =>
      0000000077dc4007 (flags = 007) flags in binary : FC=0; P=0; TF=00; I=0;
      CR=0; TT=01; TL=11 STE: 0000000077dc4000 => 0000000077c03403 (flags =
      03403) flags in binary : AV=0, ACC=0011; F=0; FC=1; P=0; I=0; CS=0;
      TT=00


  * PPC64 kernel commit 2f18d533757da3899f4bedab0b2c051b080079dc lowered the
    max real address to 53 bits.  Without this patch, the warning message
    "WARNING: cannot access vmalloc'd module memory" appears during
    initialization, and any command that attempts to read a vmalloc'd kernel
    virtual address will fail and display "read error" messages.

  * Display the KASLR relocation value warning message whenever it is in use.
    Without the patch, the message may not get displayed if the --kaslr option
    is used, or if the dumpfile is a vmcore generated by the current snap.so
    extension module, which now exports the relocation value in the header.

  * Fix to prevent an initialization-time failure when running a live session
    on a host system that does not have a "/usr/src" directory.  Without the
    patch, the session fails with the message "*** Error in 'crash': free():
    invalid pointer: <address> ***".  (Lei Chen)

  * Fix for the ARM64 "bt" command's display of the user mode exception frame
    at the top of the stack in Linux 4.7 and later kernels.  Without the
    patch, the contents of the user mode exception frame are invalid due to
    the miscalculation of the starting address of the pt_regs structure on the
    kernel stack.

  * Integrated support for usage of the Linux 4.14 ORC unwinder by the x86_64
    "bt" command.  Kernels configured with CONFIG_ORC_UNWINDER contain
    .orc_unwind and .orc_unwind_ip sections that can be queried to determine
    the stack frame size of any text address within a kernel function.  For
    kernels not configured with CONFIG_FRAME_POINTER, the crash utility does
    frame size calculation by disassembling a function from its beginning to
    the specified text address, counting the push, pop, and add/sub rsp
    instructions, accounting for retq instructions that occur in the middle of
    a function.  With this patch, access to the new ORC sections has been
    plugged into the existing frame size calculator, resulting in a more
    efficient and accurate manner of determining frame sizes, and as a result,
    more accurate backtraces.

  * Fix for the ARM64 "bt" command when run against Linux 4.14-rc1.  Without
    the patch, a message indicating "crash: builtin stackframe.sp offset
    incorrect!" is issued during session initialization, and the "bt" command
    fails with the error message "bt: invalid structure member offset:
    task_struct_thread_context_sp".

  * For for the "task -R <member>" option on Linux 4.13 and later kernels
    where the task_struct contains a "randomized_struct_fields_start" to
    "randomized_struct_fields_end" section.  Without the patch, a member
    argument that is inside the randomized section is not found.

  * Fix for the "snap.so" extension module to pass the value of the ARM64
    "kimage_voffset" value in the ELF header.  Without the patch, it is
    necessary to use the "--machdep kvimage_offset=<value>" command line
    option, or the session fails with the message "crash: vmlinux and vmcore
    do not match!".

 -- Troy Heber <troyh@debian.org>  Sun, 17 Dec 2017 08:25:06 -0700

crash (7.1.9-1) unstable; urgency=medium

  * Patch from Balint Reczey <rbalint@ubuntu.com>: Build crash on all Linux
    architectures (Closes: #763856, #757450)

  * Patch from Balint Reczey <rbalint@ubuntu.com>: Continuous integration
    tests can fail due to missing packages for the running kernel and missing
    *-updates packages (Closes: #869367)

  * Fixes to address three gcc-7.0.1 compiler warnings that are generated when
    building with "make warn".  The warning types are "[-Wnonnull]" in
    filesys.c, and "[-Wformat-overflow=]" in kernel.c and cmdline.c.

  * Fix for the PPC64 "mach -o" option to update the OPAL console buffer size
    from 256K to 1MB, based upon the latest skiboot firmware source.

  * Fix for the "mod -[sS]" option to prevent the erroneous reassignment of
    one or more symbol values of a kernel module.  Without the patch, when
    loading a kernel module, a message may indicate "mod: <module>: last
    symbol: <symbol> is not _MODULE_END_<module>?" may be displayed, and one
    or more symbols may be reassigned an incorrect symbol value.  If none of
    the erroneous symbol value reassignments are beyond the end of the
    module's address space, then there will be no message.

  * Linux 4.10 commit 401721ecd1dcb0a428aa5d6832ee05ffbdbffbbe finally exports
    the x86_64 "phys_base" value in the VMCOREINFO note, so utilize it
    whenever it exists.

  * Implemented a new "log -a" option that dumps the audit logs remaining in
    kernel audit buffers that have not been copied out to the user-space audit
    daemon.

  * Fix for the "kmem <address>" option and the "search" command in x86_64
    kernels that contain, or have backports of, kernel commit
    7c1da8d0d046174a4188b5729d7579abf3d29427, titled "crypto: sha - SHA1
    transform x86_64 AVX2", which introduced an "_end" text symbol.  Without
    the patch, if a base kernel symbol address that is larger than the "_end"
    text symbol is passed to "kmem <address>", its symbol/filename information
    will not be displayed.  Also, when the "search" command scans the
    __START_KERNEL_map region that contains kernel text and static data, the
    search will be truncated to stop at the "_end" text symbol address.

  * Enhancement for the determination of the ARM64 "kimage_voffset" value in
    Linux 4.6 and later kernels if an ELF format dumpfile does not contain its
    value in a VMCOREINFO note, or when running against live systems using
    /dev/mem, /proc/kcore, or an older version of /dev/crash.

  * Optimization of the "kmem -f <address>" and "kmem <r;address>" options to
    significantly reduce the amount of time to complete the buddy allocator
    free-list scan for the target address.  On very large memory systems, the
    patch may reduce the time spent by several orders of magnitude.

  * Fix for a compilation error if glibc-2.25 or later has been installed on
    the host build machine.  Without the patch, the build fails with the error
    message "amd64-linux-nat.c:496:1: error: conflicting types for
    'ps_get_thread_area'".

  * Fix for the "list -[hH]" options if a list_head.next pointer is
    encountered that contains an invalid NULL pointer.  Without the patch, the
    "list -[hH]" options would complete/continue as if the NULL were a
    legitimate end-of-list indicator, and no error would be reported.

  * Provide basic Huge Page usage as part of "kmem -i" output, showing the
    total amount of memory allocated for huge pages, and the amount of the
    total that is free.

  * Fix for the determination of the x86_64 "phys_base" value when it is not
    passed in the VMCOREINFO data of ELF vmcores.  Without the patch, it is
    possible that the base address of the vmalloc region is unknown and
    initialized to an incorrect default address during the very early stages
    of initialization, which causes the parsing of the PT_LOAD segments for
    the START_KERNEL_map region to fail.

  * Fix for the "dis" command to detect duplicate symbols in the case of a
    "symbol+offset" argument where the duplicates are contiguous in the symbol
    list.  In addition, reject "symbol+offset" arguments if the resultant
    address goes beyond the end of the function.

  * Fix for the "set scope" option if the kernel was configured with
    CONFIG_RANDOMIZE_BASE.  Without the patch, the command fails with the
    message "set: gdb cannot find text block for address: <symbol>".  This
    also affects extension modules that call gdb_set_crash_scope() when
    running with KASLR kernels.

  * Fix for the extensions/trace.c extension module to account for Linux 4.7
    kernel commit 9b94a8fba501f38368aef6ac1b30e7335252a220, which changed the
    ring_buffer_per_cpu.nr_pages member from an int to a long.  Without the
    patch, the trace.so extension module fails to load on big-endian machines,
    indicating "extend: Num of pages is less than 0".

  * Fix for the extensions/trace.c extension module when running on the ppc64
    architecture.  Without the patch, the trace.so extension module fails to
    load, indicating "extend: invalid text address: ring_buffer_read".  On the
    ppc64 architecture, the text symbol is ".ring_buffer_read".

  * Fix for the ARM64 "bt" command.  Without the patch, the backtrace of a
    non-panicking active task generates a segmentation violation when
    analyzing Android 4.4-based dumpfiles.

 -- Troy Heber <troyh@debian.org>  Wed, 26 Jul 2017 12:37:08 -0600

crash (7.1.8-2) unstable; urgency=medium

  * Enable lzo and snappy compression (Closes: #860319)

 -- Troy Heber <troyh@debian.org>  Mon, 17 Apr 2017 19:25:16 -0600

crash (7.1.8-1) unstable; urgency=medium

  * New upstream 7.1.8  (Closes: #851882)

  * Accepted patch from Chris J Arges <chris.j.arges@canonical.com> to fix
    autopkgtest failures (Closes: #788239)

  * Builds with gcc 7 (Closes: #853357)

  * Fix for Linux 4.6 commit b03a017bebc403d40aa53a092e79b3020786537d, which
    introduced the new slab management type OBJFREELIST_SLAB.  In this mode,
    the freelist can be an object, and if the slab is full, there is no
    freelist.  On the next free, an object is recycled to be used as the
    freelist but not cleaned-up.  This patch will go through only known freed
    objects, and will prevent "kmem -S" errors that indicate "invalid/corrupt
    freelist entry" on kernels configured with CONFIG_SLAB.

  * Fix for the initialization-time loading of kernel module symbols if the
    kernel crashed while running a module's initcall.  Without the patch, the
    crash session fails during initialation with a message similar to "crash:
    store_module_symbols_v2: total: 7 mcnt: 8".

  * Fix for a segmentation violation during session inialization when running
    against a 32-bit MIPS ELF kdump or compressed kdump if a per-cpu
    NT_PRSTATUS note cannot be gathered from the dumpfile header.  Without the
    the patch, a segmentation violation occurs after the message "WARNING:
    cannot find NT_PRSTATUS note for cpu: <number>" is displayed.

  * The 32-bit MIPS PGD_ORDER() macro expects __PGD_ORDER to be signed, which
    it isn't now since the internal machdep->pagesize is unsigned.  Without
    this patch, module loading fails during initialization on a kernel that
    has a page size of 16KB, with messages that indicate "please wait...
    (gathering module symbol data)" followed by "crash: invalid size request:
    0  type: pgd page".

  * For ARM64 dumpfiles with VMCOREINFO, verify the new "VA_BITS" number
    against the calculated number.

  * Fix for the ARM64 "bt" command in Linux 4.10 and later kernels that are
    configured with CONFIG_THREAD_INFO_IN_TASK.  Without the patch, the "bt"
    command will fail for active tasks in dumpfiles that were generated by the
    kdump facility.

  * Fix for Linux 4.10 commit 7fd8329ba502ef76dd91db561c7aed696b2c7720
    "taint/module: Clean up global and module taint flags handling".  Without
    the patch, when running against Linux 4.10-rc1 and later kernels, the
    crash utility fails during session initialization with the message "crash:
    invalid structure size: tnt".

  * Fix for support of /proc/kcore as the live memory source in Linux 4.8 and
    later x86_64 kernels configured with CONFIG_RANDOMIZE_BASE, which
    randomizes the unity-mapping PAGE_OFFSET value.  Without the patch, the
    crash session fails during session initialization with the error message
    "crash: seek error: kernel virtual address: <address> type:
    page_offset_base".

  * Update to the module taint flags handling patch above to account for the
    change in size of the module.taints flag from an int to a long, while
    allowing for a kernel backport that keeps it as an int.

  * Prepare for the kernel's "taint_flag.true" and "taint_flag.false" member
    names to be changed to "c_true" and "c_false", which fixes build problems
    when an out-of-tree module defines "true" or "false".

  * Prevent the livepatch taint flag check during the system banner display
    from generating a fatal session-killing error if relevant kernel symbol
    names or data structures change in the future (again).

  * Fix for the PPC64 "bt" command for non-panicking active tasks in
    FADUMP-generated dumpfiles (Firmware Assisted Dump facility).  Without the
    patch, backtraces of those tasks may be of the form "#0 [c0000000700b3a90]
    (null) at c0000000700b3b50  (unreliable)".  This patch uses and displays
    the ptregs register set saved in the dumpfile header for the non-panicking
    active tasks.

  * Fix for a possible segmentation violation when analyzing Linux 4.6 and
    earlier x86_64 kernels configured with CONFIG_RANDOMIZE_BASE.  A
    segmentation violation may occur during session initialization, just after
    the patching of the gdb minimal_symbol values message, depending upon the
    value of KERNEL_IMAGE_SIZE, which was variable in the earlier KASLR
    kernels.  This patch sets the KERNEL_IMAGE_SIZE default value to 1GB for
    those earlier kernels, and also adds a new "--machdep
    kernel_image_size=<value>" option that can be used to override the default
    KERNEL_IMAGE_SIZE value if necessary.

  * Fix the bracketing of the x86_64 FILL_PML4() macro.

  * Fix for the "tree -t radix", "irq", and "files -p" command options in
    Linux 4.6 and later kernels due to upstream changes in the radix tree
    facility.  Without the patch, the commands will fail with the message
    "radix trees do not exist or have changed their format".

  * Fix for the "trace.c" extension module.  The kernel buffer referenced by
    "max_tr_ring_buffer" is not available in all configurations of the kernel
    so the unitialized max_tr_ring_buffer variable should not be used.  A
    similar check existed previously before the recent rework of the trace
    extension module to support multiple buffers.

  * Clarification in the display of CONFIG_SLUB object addresses that are
    displayed by the "kmem" command when SLAB_RED_ZONE has been enabled.  By
    default, CONFIG_SLUB object addresses that are displayed by the "kmem"
    command will  point to the SLAB_RED_ZONE padding inserted at the beginning
    of the object.  As an alternative, a new "redzone" environment variable
    has been addedd that can be toggled on or off.  If "set redzone off" is
    entered, the object addresses will point to the address that gets returned
    to the allocator.

  * Fix for the "CURRENT" value displayed by the "timer -r" command.  Without
    the patch, if the target machine has been up for a long enough time, an
    arithmetic overflow will occur and the time value displayed will be
    incorrect.

  * Fix for 32-bit X86 kernels configured with CONFIG_RANDOMIZE_BASE.  Without
    the patch, an invalid kernel PAGE_OFFSET value is calculated and as a
    result the session fails during session initialization just after the
    patching of the gdb minimal_symbol values message, showing the warning
    message "WARNING: cannot read linux_banner string", followed by "crash:
    /vmlinux and /dev/crash do not match!".  This patch also adds a new
    "--machdep page_offset=<value>" option that can be used if the
    CONFIG_PAGE_OFFSET value is not the default address of 0xc0000000.

  * Introduction of a new PPC64-only "mach -o" option that dumps the OPAL
    "Open Power Abstraction Layer" console buffer.

  * Fix for the "bt" command on Linux 4.9 and later 32-bit X86 kernels
    containing kernel commit 0100301bfdf56a2a370c7157b5ab0fbf9313e1cd, subject
    "sched/x86: Rewrite the switch_to() code".  Without the patch, backtraces
    for inactive (sleeping) tasks fail with the message "bt: invalid structure
    member offset: task_struct_thread_eip".

  * Fix for a "[-Wmisleading-indentation]" compiler warning and the associated
    bug that is generated by lkcd_x86_trace.c when building 32-bit X86 with
    "make warn" with gcc-6.3.1.

  * Fix for an invalid "bt" warning on a 32-bit X86 idle/swapper task.
    Without the patch, the backtrace displays the "cannot resolve stack trace"
    warning, dumps the backtrace, and then the text symbols:

	     crash> bt PID: 0      TASK: f0962180  CPU: 6   COMMAND:
	     "swapper/6" bt: cannot resolve stack trace: #0 [f095ff1c]
	     __schedule at c0b6ef8d #1 [f095ff58] schedule at c0b6f4a9 #2
	     [f095ff64] schedule_preempt_disabled at c0b6f728 #3 [f095ff6c]
	     cpu_startup_entry at c04b0310 #4 [f095ff94] start_secondary at
	     c04468c0 bt: text symbols on stack: [f095ff1c] __schedule at
	     c0b6ef8d [f095ff58] schedule at c0b6f4ae [f095ff64]
	     schedule_preempt_disabled at c0b6f72d [f095ff6c]
	     cpu_startup_entry at c04b0315 [f095ff94] start_secondary at
	     c04468c5 crash>

	   The backtrace shown is actually correct.

  * Another fix for a similar "bt: cannot resolve stack trace" warning on a
    32-bit X86 idle/swapper task, but when running on cpu 0.

  * Remove two one-time warning messages that are displayed when running the
    "bt" command on Linux 4.2 and later 32-bit X86 kernels.  Without the
    patch, the first "bt" command that is executed will be preceded by "bt:
    WARNING: "system_call" symbol does not exist", followed by "bt: WARNING:
    neither "ret_from_sys_call" nor "syscall_badsys" symbols exist".

  * Fix for Linux 3.15 and later 32-bit X86 kernels containing kernel commit
    198d208df4371734ac4728f69cb585c284d20a15, titled "x86: Keep thread_info on
    thread stack in x86_32".  Without the patch, incorrect addresses of each
    per-cpu hardirq_stack and softirq_stack were saved for usage by the "bt"
    command.

  * Additional fix for Linux 3.15 and later 32-bit X86 kernels containing
    kernel commit 198d208df4371734ac4728f69cb585c284d20a15, titled "x86: Keep
    thread_info on thread stack in x86_32".  The patch fixes the stack
    transition symbol from "handle_IRQ" to "handle_irq" for usage by the "bt"
    command.

  * Fix for 32-bit X86 kernels to determine the active task in a dumpfile in
    the situation where the task was running on its soft IRQ stack, took a
    hard IRQ, and then the system crashed while it was running on its hard IRQ
    stack.

  * Allow the "--kaslr=<offset>" and/or "--kaslr=auto" command line options to
    be used with the 32-bit X86 architecture.

  * Removed -Werror from the bfd and opcode library builds.

 -- Troy Heber <troyh@debian.org>  Fri, 24 Feb 2017 10:41:52 -0700

crash (7.1.7-1) unstable; urgency=medium

  * New upstream 7.1.7  (Closes: #843731):

  * Remove -pie compile option (Closes: #844831)

  * Set the default 32-bit MIPS HZ value to 100 if the in-kernel config data
    is unavailable, and have the "mach" command display the value.

  * Enable SPARSEMEM support on 32-bit MIPS by setting SECTION_SIZE_BITS and
    MAX_PHYSMEM_BITS.

  * Fix for Linux 4.9-rc1 commits 15f4eae70d365bba26854c90b6002aaabb18c8aa and
    c65eacbe290b8141554c71b2c94489e73ade8c8d, which have introduced a new
    CONFIG_THREAD_INFO_IN_TASK configuration.  This configuration moves each
    task's thread_info structure from the base of its kernel stack into its
    task_struct.  Without the patch, the crash session fails during
    initialization with the error "crash: invalid structure member offset:
    thread_info_cpu".

  * Fixes for the gathering of the active task registers from 32-bit MIPS
    dumpfiles: (1) If ELF notes are not available, read them from the kernel's
    crash_notes.  (2) If an online CPUs did not save its ELF notes, then
    adjust the mapping of each ELF note to its CPU accordingly.

  * Add support for "help -r" on 32-bit MIPS to display the registers for each
    CPU from a dumpfile.

  * Fix for Linux 4.9-rc1 commit 0100301bfdf56a2a370c7157b5ab0fbf9313e1cd,
    which rewrote the x86_64 switch_to() code by embedding the call to
    __switch_to() inside a new __switch_to_asm() assembly code ENTRY()
    function.  Without the patch, the message "crash: cannot determine thread
    return address" gets displayed during initialization, and the "bt" command
    shows frame #0 starting at "schedule" instead of "__schedule".

  * When each x86_64 per-cpu cpu_tss.x86_tss.ist[] array member (or in older
    kernels, each per-cpu init_tss.x86_hw_tss.ist[] array member), is compared
    with its associated per-cpu orig_ist.ist[] array member, ensure that both
    exception stack pointers have been initialized (non-NULL) before printing
    a WARNING message if they don't match.

  * Fix for a possible segmentation violation when analyzing Linux 4.7 x86_64
    kernels that are configured with CONFIG_RANDOMIZE_BASE.  Depending upon
    the randomized starting address of the kernel text and static data, a
    segmentation violation may occur during session initialization, just after
    the patching of the gdb minimal_symbol values message.

  * Restore the x86_64 "dis" command's symbolic translation of jump or call
    target addresses if the kernel was configured with CONFIG_RANDOMIZE_BASE.

  * Fix for the 32-bit MIPS "bt" command to prevent an empty display (task
    header only) for an active task if the epc register in its exception frame
    contains 00000000.

  * Fix for support of Linux 4.7 and later x86_64 ELF kdump vmcores from
    kernels configured with CONFIG_RANDOMIZE_BASE.  Without the patch, the
    crash session may fail during initialization with the message "crash:
    vmlinux and vmcore do not match!".

  * Fix for the x86_64 "mach" command display of the vmemmap base address in
    Linux 4.9 and later kernels configured with CONFIG_RANDOMIZE_BASE.
    Without the patch, the command shows a value of ffffea0000000000 next to
    "KERNEL VMEMMAP BASE".

  * Since the Linux 3.10 release, the kernel has offered the ability to create
    multiple independent ftrace buffers.  At present, however, the "trace.c"
    extension module is only able to extract the primary buffer.  This patch
    refactors the trace.c extension module so that the global instance is
    passed around as a parameter rather than accessing it directly, and then
    locates all of the available instances and extracts the data from each of
    them.

  * Fix for the s390x "bt" command for active tasks.  Since the commit above
    in this crash-7.1.7 release that added support for the new
    CONFIG_THREAD_INFO_IN_TASK configuration, the backtrace of active tasks
    can be incomplete.

  * In collaboration with an update to the /dev/crash kernel driver, fix for
    Linux 4.6 commit a7f8de168ace487fa7b88cb154e413cf40e87fc6, which allows
    the ARM64 kernel image to be loaded anywhere in physical memory.  Without
    the patch, attempting to run live on an ARM64 Linux 4.6 and later kernel
    may display the warning message "WARNING: cannot read linux_banner
    string", and then fails with the message "crash: vmlinux and /dev/crash do
    not match!".  Version 1.3 of the crash driver is required, which
    introduces a new ioctl command that retrieves the ARM64-only
    "kimage_voffset" value that is required for virtual-to-physical address
    translation.

  * Update of the sample memory_driver/crash.c /dev/crash kernel driver to
    version 1.3, which adds support for Linux 4.6 and later ARM64 kernels,
    kernels configured with CONFIG_HARDENED_USERCOPY, and S390X kernels use
    xlate_dev_mem_ptr() and unxlate_dev_mem_ptr() instead of kmap() and
    kunmap().


 -- Troy Heber <troyh@debian.org>  Fri, 02 Dec 2016 11:57:29 -0700

crash (7.1.6-1) unstable; urgency=medium

  * New upstream 7.1.5  (Closes: #843731):

  * Introduction of support for "live" ramdump files, such as those that are
    specified by the QEMU mem-path argument of a memory-backend-file object.
    This allows the running of a live crash session against a QEMU guest from
    the host machine.  In this example, the /tmp/MEM file on a QEMU host
    represents the guest's physical memory:

     $ qemu-kvm ...other-options... \
     -object memory-backend-file,id=MEM,size=128m,mem-path=/tmp/MEM,share=on \
     -numa node,memdev=MEM -m 128

    and a live session run can be run against the guest kernel like so:

     $ crash <path-to-guest-vmlinux> live:/tmp/MEM@0

    By prepending the ramdump image name with "live:", the crash session will
    act as if it were running a normal live session.

  * Fix for the support of ELF vmcores created by the KVM "virsh dump
    --memory-only" facility if the guest kernel was not configured with
    CONFIG_KEXEC, or CONFIG_KEXEC_CORE in Linux 4.3 and later kernels.
    Without the patch, the crash session fails during initialization with the
    message "crash: cannot resolve kexec_crash_image".

  * Added support for x86_64 ramdump files.  Without the patch, the crash
    session fails immediately with the message "ramdump: unsupported machine
    type: X86_64".

  * Fix for a "[-Werror=misleading-indentation]" compiler warning that is
    generated by gdb-7.6/bfd/elf64-s390.c when building S390X in a Fedora
    Rawhide environment with gcc-6.0.0

  * Recognize and parse the new QEMU_VM_CONFIGURATION and QEMU_VM_FOOTER
    sections used for live migration of KVM guests, which are seen in the
    "kvmdump" format generated if "virsh dump" is used without the
    "--memory-only" option.

  * Fix for Linux commit edf14cdbf9a0e5ab52698ca66d07a76ade0d5c46, which has
    appended a NULL entry as the final member of the pageflag_names[] array.
    Without the patch, a message that indicates "crash: failed to read
    pageflag_names entry" is displayed during session initialization in Linux
    4.6 kernels.

  * Fix for Linux commit 0139aa7b7fa12ceef095d99dc36606a5b10ab83a, which
    renamed the page._count member to page._refcount.  Without the patch,
    certain "kmem" commands fail with the "kmem: invalid structure member
    offset: page_count".

  * Fix for an ARM64 crash-7.1.5 "bt" regression for a task that has called
    panic().  Without the patch, the backtrace may fail with a message such as
    "bt: WARNING: corrupt prstatus? pstate=0x20000000, but no user frame
    found" followed by "bt: WARNING: cannot determine starting stack frame for
    task <address>".  The pstate register warning will still be displayed (as
    it is essentially a kdump bug), but the backtrace will proceed normally.

  * Fix for the ARM64 "bt" command in Linux 4.5 and later kernels which use
    per-cpu IRQ stacks.  Without the patch, if an active non-crashing task was
    running in user space when it received the shutdown IPI from the crashing
    task, the "-- <IRQ stack> ---" transition marker from the IRQ stack to the
    process stack is not displayed, and a message indicating "bt: WARNING:
    arm64_unwind_frame: on IRQ stack: oriq_sp: <address> fp: 0 (?)" gets
    displayed.

  * Fix for the ARM64 "bt" command in Linux 4.5 and later kernels which are
    not configured with CONFIG_FUNCTION_GRAPH_TRACER.  Without the patch,
    backtraces that originate from a per-cpu IRQ stack will dump an invalid
    exception frame before transitioning to the process stack.

  * Introduction of ARM64 support for 4K pages with 4-level page tables and 48
    VA bits.

  * Implemented support for the redesigned ARM64 kernel virtual memory layout
    and associated KASLR support that was introduced in Linux 4.6.  The kernel
    text and static data has been moved from unity-mapped memory into the
    vmalloc region, and its start address can be randomized if
    CONFIG_RANDOMIZE_BASE is configured.  Related support is being put into
    the kernel's kdump code, the kexec-tools package, and makedumpfile(8);
    with that in place, the analysis of Linux 4.6 ARM64 dumpfiles with or
    without KASLR enabled should work normally by entering "crash vmlinux
    vmcore".  On live systems, Linux 4.6 ARM64 kernels will only work
    automatically if CONFIG_RANDOMIZE_BASE is not configured.  Unfortunately,
    if CONFIG_RANDOMIZE_BASE is configured on a live system, two --machdep
    command line arguments are required, at least for the time being.  The
    arguments are:

     --machdep phys_offset=<base physical address>
     --machdep kimage_voffset=<kernel kimage_voffset value>

    Without the patch, any attempt to analyze a Linux 4.6 ARM64 kernel fails
    during initialization with a stream of "read error" messages followed by
    "crash: vmlinux and vmcore do not match!".

  * Linux 3.15 and later kernels configured with CONFIG_RANDOMIZE_BASE could
    be identified because of the "randomize_modules" kernel symbol, and if it
    existed, the "--kaslr=<offset>" and/or "--kaslr=auto" options were
    unnecessary.  Since the "randomize_modules" symbol was removed in Linux
    4.1, this patch has replaced the KASLR identifier with the
    "module_load_offset" symbol, which was also introduced in Linux 3.15, but
    still remains.

  * Improvement of the ARM64 "bt -f" display such that in most cases, each
    stack frame level delimiter will be set to the stack address location
    containing the old FP and old LR pair.

  * Fix for the introduction of ARM64 support for 64K pages with 3-level page
    tables in crash-7.1.5, which fails to translate user space virtual
    addresses.  Without the patch, "vtop <user-space address>" fails to
    translate all user-space addresses, and any command that needs to either
    translate or read user-space memory, such as "vm -p", "ps -a", and "rd -u"
    will fail.

  * Enhancement of the error message generated by the "tree -t radix" option
    when a duplicate entry is encountered.  Without the patch, the error
    message shows the address of the radix_tree_node that contains the
    duplicate entry, for example, "tree: duplicate tree entry:
    <radix_tree_node>".  It has been changed to also display the
    radix_tree_node.slots[] array index and the duplicate entry value, for
    example, "tree: duplicate tree entry: radix_tree_node: <radix_tree_node>
    slots[<index>]: <entry>".

  * Introduction of a new "bt -v" option that checks the kernel stack of all
    tasks for evidence of stack overflows.  It does so by verifying the
    thread_info.task address, ensuring the thread_info.cpu value is a valid
    cpu number, and checking the end of the stack for the STACK_END_MAGIC
    value.

  * Fix to recognize a kernel thread that has user space virtual memory
    attached to it.  While kernel threads typically do not have an mm_struct
    referencing a user-space virtual address space, they can either
    temporarily reference one for a user-space copy operation, or in the case
    of KVM "vhost" kernel threads, keep a reference to the user space of the
    "quem-kvm" task that created them.  Without the patch, they will be
    mistaken for user tasks; the "bt" command will display an invalid
    kernel-entry exception frame that indicates "[exception RIP: unknown or
    invalid address]", the "ps" command will not enclose the command name with
    brackets, and the "ps -[uk]" and "foreach [user|kernel]" options will show
    the kernel thread as a user task.

  * Fix for the "bt -[eE]" options on ARM64 to recognize kernel exception
    frames in VHE enabled systems, in which the kernel runs in EL2.

  * Fix for the extensions/trace.c extension module to account for the Linux
    4.7 kernel commit dcb0b5575d24 that changed the bit index for the
    TRACE_EVENT_FL_TRACEPOINT flag.  Without the patch, the "extend" command
    fails to load the trace.so module, with the error message "extend:
    /path/to/crash/extensions/trace.so: no commands registered: shared object
    unloaded".  The patch reads the flag's enum value dynamically instead of
    using a hard-coded value.

  * Incorporated Takahiro Akashi's alternative backtrace method as a "bt"
    option, which can be accessed using "bt -o", and where "bt -O" will toggle
    the original and optional methods as the default.  The original backtrace
    method has adopted two changes/features from the optional method:
     (1) ORIG_X0 and SYSCALLNO registers are not displayed in kernel
         exception frames.
     (2) stackframe entry text locations are modified to be the PC
         address of the branch instruction instead of the subsequent
         "return" PC address contained in the stackframe link register.
   Accordingly, these are the essential differences between the original and
   optional methods:
     (1) optional: the backtrace will start with the IPI exception frame
         located on the process stack.
     (2) original: the starting point of backtraces for the active,
         non-crashing, tasks, will continue to have crash_save_cpu()
         on the IRQ stack as the starting point.
     (3) optional: the exception entry stackframe adjusted to be located
         farther down in the IRQ stack.
     (4) optional: bt -f does not display IRQ stack memory above the
         adjusted exception entry stackframe.
     (5) optional: may display "(Next exception frame might be wrong)".

  * Fix for the failure of the "sym <symbol>" option in the extremely unlikely
    case where the symbol's name string is composed entirely of hexadecimal
    characters.  For example, without the patch, "sym e820" fails with the
    error message "sym: invalid address: e820".

  * Fix for the failure of the "dis <symbol>" option in the extremely unlikely
    case where the symbol's name string is composed entirely of hexadecimal
    characters.  For example, without the patch, "dis f" fails with the error
    message "dis: WARNING: f: no associated kernel symbol found" followed by
    "0xf: Cannot access memory at address 0xf".

  * Fix for the X86_64 "bt -R <symbol>" option if the only reference to the
    kernel text symbol in a backtrace is contained within the "[exception RIP:
    <symbol+offset>]" line of an exception frame dump.  Without the patch, the
    reference will only be picked up if the exception RIP's hexadecimal
    address value is used.

  * Fix for the ARM64 "bt -R <symbol>" option if the only reference to the
    kernel text symbol in a backtrace is contained within the "[PC: <address>
    [<symbol+offset>]" line of an exception frame dump.  Without the patch,
    the reference will only be picked up if the PC's hexadecimal address value
    is used.

  * Fix for the gathering of module symbol name strings during session
    initialization.  In the unlikely case where the ordering of module symbol
    name strings does not match the order of the kernel_symbol structures, a
    faulty module symbol list entry may be created that contains a bogus name
    string.

  * Fix the PERCENTAGE of total output of the "kmem -i" SWAP USED line when
    the system has no swap pages at all.  Without the patch, both the PAGES
    and TOTAL columns show values of zero, but it confusingly shows "100% of
    TOTAL SWAP", which upon first glance may seem to indicate potential memory
    pressure.

  * Enhancement to determine structure member data if the member is contained
    within an anonymous structure or union.  Without the patch, it is
    necessary to parse the output of a discrete gdb "printf" command to
    determine the offset of such a structure member.

  * Speed up session initialization by attempting MEMBER_OFFSET_INIT() before
    falling back to ANON_MEMBER_OFFSET_INIT() in several known cases of
    structure members that are contained within anonymous structures.

  * Implemented new "list -S" and "tree -S" options that are similar to each
    command's -s option, but instead of parsing gdb output, member values are
    read directly from memory, so the command is much faster for 1-, 2-, 4-,
    and 8-byte members.

  * Fix to recognize and support x86_64 Linux 4.8-rc1 and later kernels that
    are configured with CONFIG_RANDOMIZE_MEMORY, which randomizes the base
    addresses of the kernel's unity-map address (PAGE_OFFSET), and the vmalloc
    region.  Without the patch, the crash utility fails with a segmentation
    violation during session initialization on a live system, or will generate
    a number of WARNING messages followed by the fatal error message "crash:
    vmlinux and <dumpfile name> do not match!" with dumpfiles.

  * Fix for Linux 4.1 commit d0a0de21f82bbc1737ea3c831f018d0c2bc6b9c2, which
    renamed the x86_64 "init_tss" per-cpu variable to "cpu_tss".  Without the
    patch, the addresses of the 4 per-cpu exception stacks cannot be
    determined, which causes backtraces that originate on any of the per-cpu
    DOUBLEFAULT, NMI, DEBUG, or MCE stacks to be truncated.

  * With the introduction of radix MMU in Power ISA 3.0, there are changes in
    kernel page table management accommodating it.  This patch series makes
    appropriate changes here to work for such kernels.  Also, this series
    fixes a few bugs along the way:

     ppc64: fix vtop page translation for 4K pages
     ppc64: Use kernel terminology for each level in 4-level page table
     ppc64/book3s: address changes in kernel v4.5
     ppc64/book3s: address change in page flags for PowerISA v3.0
     ppc64: use physical addresses and unfold pud for 64K page size
     ppc64/book3s: support big endian Linux page tables

    The patches are needed for Linux v4.5 and later kernels on all ppc64
    hardware.

  * Fix for Linux 4.8-rc1 commit 500462a9de657f86edaa102f8ab6bff7f7e43fc2, in
    which Thomas Gleixner redesigned the kernel timer mechanism to switch to a
    non-cascading wheel.  Without the patch, the "timer" command fails with
    the message "timer: zero-size memory allocation!  (called from <address>)"

  * Support for PPC64/BOOK3S virtual address translation for radix MMU.  As
    both radix and hash MMU are supported in a single kernel on Power ISA 3.0
    based server processors, identify the current MMU type and set page table
    index values accordingly.  Also, in Linux 4.7 and later kernels,
    PPC64/BOOK3S uses the same masked bit values in page table entries for 4K
    and 64K page sizes.

  * Change the RESIZEBUF() macro so that it will accept buffer pointers that
    are not declared as "char *" types.  Change two prior direct callers of
    resizebuf() to use RESIZEBUF(), and fix two prior users of RESIZEBUF() to
    correctly calculate the need to resize their buffers.

  * Fix for the "trace.so" extension module to properly recognize Linux 3.15
    and later kernels.  In crash-7.1.6, the MEMBER_OFFSET() macro has been
    improved so that it is able to recognize members of embedded anonymous
    structures.  However, the module's manner of recognizing Linux 3.15 and
    later kernels depended upon MEMBER_OFFSET() failing to handle anonymous
    members, and therefore the improvement prevented the module from
    successfully loading.

  * If a "struct" command address argument is expressed using the per-cpu
    "symbol:cpuspec" format, and the symbol is a pointer type, i.e., not the
    address of the structure, display a WARNING message.

  * Exclude ARM64 kernel module linker mapping symbols like "$d" and "$x" as
    is done with 32-bit ARM.  Without the patch, a crash session may fail
    during the "gathering module symbol data" stage with a message similar to
    "crash: store_module_symbols_v2: total: 15 mcnt: 16".

  * Enhancement to the ARM64 "dis" command when the kernel has enabled KASLR.
    When KASLR is enabled on ARM64, a function call between a module and the
    base kernel code will be done via a veneer (PLT) if the displacement is
    more than +/-128MB.  As a result, disassembled code will show a branch to
    the in-module veneer location instead of the in-kernel target location.
    To avoid confusion, the output of the "dis" command will translate the
    veneer location to the target location preceded by "plt:", for example,
    "<plt:printk>".

  * Improvement of the "dev -d" option to display I/O statics for disks whose
    device driver uses the blk-mq interface.  Currently "dev -d" always
    displays 0 in all fields for the blk-mq disk because blk-mq does not
    increment/decrement request_list.count[2] on I/O creation and I/O
    completion.  The following values are used in blk-mq in such situations:

     - I/O creation:   blk_mq_ctx.rq_dispatched[2]
     - I/O completion: blk_mq_ctx.rq_completed[2]

    So, we can get the counter of in-progress I/Os as follows: in progress
    I/Os == rq_dispatched - rq_completed This patch displays the result of
    above calculation for the disk.  It determines whether the device driver
    uses blk-mq if the request_queue.mq_ops is not NULL.  The "DRV" field is
    displayed as "N/A(MQ)" if the value for in-flight in the device driver
    does not exist for blk-mq.


 -- Troy Heber <troyh@debian.org>  Wed, 16 Nov 2016 12:10:40 -0700

crash (7.1.5-4) unstable; urgency=medium

  * Fix FTBFS due compiler warnings in elf64-s390.c

 -- Troy Heber <troyh@debian.org>  Wed, 05 Oct 2016 07:47:33 -0600

crash (7.1.5-3) unstable; urgency=medium

  * Update to packages-arch-specific to enable arm64

 -- Troy Heber <troyh@debian.org>  Mon, 03 Oct 2016 13:23:51 -0600

crash (7.1.5-2) unstable; urgency=medium

  * Forgot to close bug in the last upload (Closes: #811604)

 -- Troy Heber <troyh@debian.org>  Tue, 06 Sep 2016 15:20:09 -0600

crash (7.1.5-1) unstable; urgency=medium

  * New upstream 7.1.5  (Closes: #817798):

  * Fix for the handling of Xen DomU ELF dumpfiles to prevent the
    pre-gathering of p2m frames during session initialization, which is
    unnecessary since ELF files contain the mapping information in their
    ".xen_p2m" section.  Without the patch, it is possible that the crash
    session may be unnecessarily aborted if the p2m frame-gathering fails, for
    example, if the CR3 value in the header is invalid.

  * Fix for the translation of X86_64 virtual addresses in the vsyscall region
    between 0xffffffffff600000 and 0xffffffffffe00000.  Without the patch, the
    reading of addresses in that region returns invalid data; in addition, the
    "vtop" command for an address in that region shows an invalid physical
    address under the "PHYSICAL" column.

  * Make the "zero excluded" mode default behavior when analyzing SADUMP
    dumpfiles because some Fujitsu troubleshooting software assumes the
    behavior.  Also, fix the "set -v" option to show the "zero_excluded"
    internal variable as "on" if it has been set when analyzing SADUMP
    dumpfiles.

  * Fix for the "bt" command to properly pull the stack and frame pointer
    registers from the NT_PRSTATUS notes of 32-bit tasks running in user-mode
    on ARM64.  Without the patch, the "bt" command utilizes ptregs->sp and
    ptregs->regs[29] for 32-bit tasks instead of the architecturally-mapped
    ptregs->regs[13] and ptregs->regs[11], which yields unpredictable/invalid
    results, and possibly a segmentation violation.

  * Fix for the "ps -t" option in 3.17 and later kernels that contain commit
    ccbf62d8a284cf181ac28c8e8407dd077d90dd4b, which changed the
    task_struct.start_time member from a struct timespec to a u64.  Without
    the patch, the "RUN TIME" value is nonsensical.

  * Fix for the changes made to the kernel module structure introduced by this
    kernel commit for Linux 4.5 and later kernels:

      commit 7523e4dc5057e157212b4741abd6256e03404cf1
      module: use a structure to encapsulate layout.

    Without the patch, the crash session fails during initialization with the
    error message: "crash: invalid structure member offset: module_core_size".

  * The crash utility has not supported Xen dom0 and domU dumpfiles since this
    Linux 3.19 commit:

      commit 054954eb051f35e74b75a566a96fe756015352c8 xen: switch to linear
      virtual mapped sparse p2m list

    This patch resurrects support for dom0 dumpfiles only.  Without the patch,
    the crash session fails during session initialization with the message
    "crash: cannot resolve p2m_top".

  * Fix for the replacements made to the kernel's cpu_possible_mask,
    cpu_online_mask, cpu_present_mask and cpu_active_mask symbols in this
    kernel commit for Linux 4.5 and later kernels:

      commit 5aec01b834fd6f8ca49d1aeede665b950d0c148e kernel/cpu.c: eliminate
      cpu_*_mask

    Without the patch, behavior is architecture-specific, dependent upon
    whether the cpu mask values are used to calculate the number of cpus.  For
    example, ARM64 crash sessions fail during session initialization with the
    error message "crash: zero-size memory allocation! (called from
    <address>)", whereas X86_64 sessions come up normally, but invalid cpu
    mask values of zero are stored internally.

  * Fixes for "[-Werror=misleading-indentation]" compiler warnings that are
    generated by the following files, when building X86_64 in a Fedora Rawhide
    environment with gcc-6.0.0:

      gdb-7.6/bfd/coff-i386.c gdb-7.6/bfd/coff-x86_64.c kernel.c x86_64.c
      lkcd_common.c

    Without the patch, the warnings in the bfd library files are treated as
    errors, and abort the build.  The three instances in the top-level crash
    source code directory are non-fatal.  There are several other gdb-specific
    instances that are non-fatal and are not addressed.

  * Fix for a "[-Werror=shift-negative-value]" compiler warning that is
    generated by "gdb-7.6/opcodes/arm-dis.c" when building crash with "make
    target=ARM64" on an x86_64 host with gcc-6.0.0.  Without the patch, the
    warning is treated as an error and the build is aborted.

  * Fix for a series of "[-Werror=shift-negative-value]" compiler warnings
    that are generated by "gdb-7.6/bfd/elf64-ppc.c" and
    "gdb-7.6/opcodes/ppc-opc.c" when building with "make target=PPC64" on an
    x86_64 host with gcc-6.0.0.  Without the patch, the warnings are treated
    as errors and the build is aborted.

  * Fix for a "[-Werror=unused-const-variable]" compiler warning that is
    generated by "gdb-7.6/opcodes/mips-dis.c" when building with "make
    target=MIPS" on an x86_64 host with gcc-6.0.0.  Without the patch, the
    warning is treated as an error and the build is aborted.

  * Configure the embedded gdb module with "--disable-sim" in order to bypass
    the unnecessary build of the libsim.a library.

  * Implement support for per-cpu IRQ stacks on the ARM64 architecture, which
    were introduced in Linux 4.5 by this commit:

      commit 132cd887b5c54758d04bf25c52fa48f45e843a30 arm64: Modify stack
      trace and dump for use with irq_stack

    Without the patch, if an active task was operating on its per-cpu IRQ
    stack on dumpfiles generated by kdump, its backtrace would start at the
    exception frame that was laid down on the process stack.  This patch also
    adds support for "bt -E" to search IRQ stacks for exception frames, and
    the "mach" command displays the addresses of each per-cpu IRQ stack.

  * Fixes for "[-Werror=misleading-indentation]" compiler warnings that are
    generated by the following files, when building X86_64 in a Fedora Rawhide
    environment with gcc-6.0.0:

      gdb-7.6/gdb/ada-lang.c gdb-7.6/gdb/linux-record.c gdb-7.6/gdb/inflow.c
      gdb-7.6/gdb/printcmd.c gdb-7.6/gdb/c-typeprint.c

    Without the patch, warnings in the gdb-7.6/gdb directory are not treated
    as errors, and are non-fatal to the build.

  * Further fix for the symbol name changes made to the kernel's
    cpu_online_mask, cpu_possible_mask, cpu_present_mask and cpu_active_mask
    symbols in Linux 4.5 and later kernels for when the crash session is
    brought up with "crash -d<debug-level>".  Without the patch, the cpus
    found in each mask are displayed like this example:

      cpu_possible_(null): cpus: 0 1 2 3 4 5 6 7 cpu_present_(null): cpus: 0 1
      cpu_online_(null): cpus: 0 1 cpu_active_(null): cpus: 0 1

    The "(null)" string segments above should read "mask".

  * Fix for the changes made to the kernel module structure introduced by this
    kernel commit for Linux 4.5 and later kernels:

      commit 8244062ef1e54502ef55f54cced659913f244c3e modules: fix
      longstanding /proc/kallsyms vs module insertion race.

    Without the patch, the crash session fails during initialization with the
    error message: "crash: invalid structure member offset:
    module_num_symtab".

  * Fix for the "dis <function | address>" option if the function or address
    is the highest text symbol value in a kernel module.  Without the patch,
    the disassembly may continue past the end of the function, or may show
    nothing at all.  The patch utilizes in-kernel kallsyms symbol size
    information instead of disassembling until reaching the address of the
    next symbol in the module.

  * Fix for the "irq -s" option in Linux 4.2 and later kernels.  Without the
    patch, the irq_chip.name string (e.g. "IO-APIC", "PCI-MSI", etc.) is
    missing from the display.

  * Improvement of the accuracy of the allocated objects count for each
    kmem_cache shown by "kmem -s" in kernels configured with CONFIG_SLUB.
    Without the patch, the values under the ALLOCATED column may be too large
    because cached per-cpu objects are counted as allocated.

  * Fixes to address two gcc-4.1.2 compiler warnings introduced by the
    previous patch: memory.c: In function ‘count_cpu_partial’: memory.c:17958:
    warning: comparison is always false due to limited range of data type
    memory.c: In function ‘count_partial’: memory.c:18729: warning: comparison
    is always false due to limited range of data type

  * Introduction of the "whatis -r" and "whatis -m" options.  The -r option
    searches for data structures of a specified size or within a range of
    specified sizes.  The -m option searches for data structures that contain
    a member of a given type.  If a structure contains another structure, the
    members of the embedded structure will also be subject to the search.  The
    type string may be a substring of the data type name.  The output displays
    the size and name of the data structure.

  * Apply a fuzz factor of zero to the re-application of a modified version of
    the gdb-7.6.patch in a pre-existing build directory.  Without the patch,
    it is possible that a previously-applied patch could be applied a second
    time without the fuzz restriction.

  * Include sys/macros.h explicitly in filesys.c for the definitions of
    major(), minor() and makedev().  These functions are defined in the
    sys/sysmacros.h header, not sys/types.h.  Linux C libraries are updating
    to drop the implicit include, so we need to include it explicitly.

  * Fix for "kmem -[sS]" options for kernels configured with CONFIG_SLUB.
    Without the patch, the count displayed in the ALLOCATED column may be too
    large, and the "kmem -S" display of allocated/free status of individual
    objects may be incorrect.

  * Fix for "kmem -[sS]" options for kernels configured with CONFIG_SLUB.
    Without the patch, if a freelist pointer is corrupt, the address of the
    slab page being referenced may not be displayed by the error message,
    showing something like: "kmem: kmalloc-32: slab: 0 invalid freepointer:
    6e652f323a302d74".

  * Fix for the "vm -p" option on kernels that are not configured with
    CONFIG_SWAP.  Without the patch, the command may fail prematurely with the
    message "nr_swapfiles doesn't exist in this kernel".

  * Introduction of ARM64 support for 64K pages with 3-level page tables and
    48 VA bits.  Until now, support has only existed for 64K pages with
    2-level page tables, and 4K pages with 3-level page tables.

  * Fix for the "vm -p" and "vtop <user virtual address>" commands if a user
    page is swapped out.  Without the patch, the "/dev" component of the swap
    file pathname may be missing from its display.

  * Fix for the x86_64 "vm -p" command to properly emulate the kernel's
    pte_present() function, which checks for either _PAGE_PRESENT or
    _PAGE_PROTNONE to be set.  Without the patch, user pages whose PTE does
    not have _PAGE_PRESENT bit set are misconstrued as SWAP pages with an
    "(unknown swap location") along with a bogus OFFSET value.

  * When reading a task's task_struct.flags field, check for its size, which
    was changed from an unsigned long to an unsigned int.

  * Introduction of support for the 64-bit SPARC V9 architecture.  This
    version supports running against a live kernel.  Compressed kdump support
    is also here, but the crash dump support for the kernel, kexec-tools, and
    makedumpfile is still pending.  Initial work was done by Karl Volz with
    help from Bob Picco.

  * Account for the Linux 3.17 increase of the ARM64 MAX_PHYSMEM_BITS
    definition from 40 to 48.


 -- Troy Heber <troyh@debian.org>  Sat, 30 Apr 2016 07:54:33 -0600

crash (7.1.4-1) unstable; urgency=medium

  * New upstream version 7.1.4, upstream changelog follows:

  * Fix for the ARM64 "vtop" command when translating kernel virtual addresses
    within a 2MB or 512MB huge page in which the PGD or PMD contains
    software-defined PTE bits.  Without the patch, the "PAGE:" address value
    will show the software-defined bits, the command will not display the
    related page structure translation, and will end with the message
    "WARNING: sparsemem: invalid section number: <number>".

  * Fix for the X86_64 "bt" command in Linux 4.2 and later kernels that are
    configured with both CONFIG_HAVE_COPY_THREAD_TLS and CONFIG_FRAME_POINTER.
    Without the patch, the fact that the kernel was compiled with
    framepointers is not recognized, which may result in backtraces containing
    stale frame references.

  * Fix for the "dis" command to support three new x86 instruction extensions
    that have been added to the Intel instruction set for hardware platforms
    that support them.  The newly-added instructions "clflushopt", "clwb", and
    "pcommit" prepend 0x66 as a prefix byte to the "clflush", "xsaveopt" and
    "sfence" instructions respectively.  Without the patch:

    "clflushopt" is disassembled as: "data16" followed by "clflush" "clwb" is
    disassembled as: "data16" followed by "xsaveopt" "pcommit" is disassembled
    as: "data16" followed by "sfence"

  The "clflushopt" instruction was introduced in Linux 3.15 in the
  clflushopt() function.  The "clwb" and "pcommit" instructions were
  introduced in Linux 4.1 in the clwb() and pcommit_sfence() functions.

  * Fix for the extensions/trace.c extension module for Linux 4.2 and later
    kernels.  Without the patch, the module fails to load, with the message
    "failed to init the offset, struct:ftrace_event_call, member:list".

  * For many years, Xen Dom0 dumps could only be saved in ELF format.  Since
    makedumpfile commit 349a0ed1, it is now possible to save Xen dumps in
    compressed kdump format.  This patch set adds support for these files.
    Two new files, xen_dom0.c and xen_dom0.h, have been added to provide the
    common functionality required by both ELF and compressed kdump formats.

  * Since Linux v4.1, specifically, "MIPS: Rearrange PTE bits into fixed
    positions.", commit be0c37c985eddc46d0d67543898c086f60460e2e, the MIPS PTE
    bits are at fixed locations.  Since they are macros in the kernel, this
    patch adds an explicit kernel version check in order to determine and set
    their values.

  * Display a machine-type mismatch warning if a little-endian PPC64
    compressed kdump created by makedumpfile(8) is used as an argument with a
    non-PPC64 crash utility binary.  Without the patch, the dumpfile is
    accepted, and the session subsequently fails with a message indicating
    that that the vmlinux and dumpfile do not match.

  * Fix for bitmap-handling in SADUMP dumpfiles, which associate each bit in a
    bitmap with a physical page in the reverse order that is used in
    kdump-compressed format.  The bug had not been detected for a long time
    because bitmaps in SADUMP formats consist mostly of 0x00 and 0xff
    excluding a very limited amount of memory space for firmware.

  * Fix for the behavior of the --zero_excluded option when used with SADUMP
    dumpfiles.  Without the patch, the behavior of --zero_excluded option is
    the opposite to what is expected: reads of filtered pages return
    successfully with zero-filled memory, while reads of filtered filtered
    pages fail when --zero_excluded option has been specified.

  * Fix for the "kmem -i" command in Linux 2.6.27 and later kernels to prevent
    the possibility that an arbitrary address may be accessed when calculating
    the number of total huge pages.  Without the patch, the command's "COMMIT
    LIMIT" and "COMMITTED" values may be invalid.

  * Added recognition of the new DUMP_DH_EXCLUDED_VMEMMAP flag in the header
    of compressed kdumps, which is set by the new -e option to the
    makedumpfile(8) facility.  The -e option excludes kernel pages that
    contain nothing but kernel page structures for pages that are not being
    included in the dump.  If the bit is set in the dumpfile, the crash
    utility will issue a warning that the dumpfile is known to be incomplete
    during initialization, just prior to the system banner display.

  * Fix for the handling of compound pages in Linux 4.4 and later kernels,
    which contain this kernel commit:

    commit 1d798ca3f16437c71ff63e36597ff07f9c12e4d6 mm: make compound_head()
    robust

  The commit above removes the PG_tail and PG_compound page.flags bits and the
  page.first_page member, and introduces a page.compound_head member, which is
  a pointer to the head page and whose bit 0 acts as the tail flag.  Without
  the patch, a SLAB or SLUB warning message that indicates "cannot determine
  how compound pages are linked" is displayed during initialization, and any
  command that tracks compound pages will be affected.

  * Fix for the handling of dynamically-sized task_struct structures in Linux
    4.2 and later kernels, which contain these commits:

    commit 5aaeb5c01c5b6c0be7b7aadbf3ace9f3a4458c3d x86/fpu, sched: Introduce
    CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT and use it on x86 commit
    0c8c0f03e3a292e031596484275c14cf39c0ab7a x86/fpu, sched: Dynamically
    allocate 'struct fpu'

  Without the patch, when running on a filtered kdump dumpfile, it is possible
  that error messages like this will be seen when gathering the tasks running
  on a system: "crash: page excluded: kernel virtual address: <task_struct
  address>  type: "fill_task_struct".

  * Fix for the "kmem -s <address>" command in Linux 3.13 and later kernels
    configured with CONFIG_SLAB.  Without the patch, if the address argument
    is contained within an object in a tail page of a multi-page slab, the
    command fails with the message "kmem: address is not allocated in slab
    subsystem: <address>".  Furthermore, in Linux 4.4 and later kernels
    configured with CONFIG_SLAB, addresses that are contained within an object
    in a tail page of a multi-page slab will not be marked by their slab cache
    name by the "rd -S" and "bt -F" commands.

  * Fix for a segmentation violation when attempting to run live on a a system
    without the crash.ko memory driver, and whose kernel was configured with
    CONFIG_STRICT_DEVMEM.  Without the patch, if any -d<value> is entered on
    the command line, the crash session fails during initialization.

  * Update for the determination of the ARM64 page size for kernels containing
    this Linux 4.4 commit:

    commit 9d372c9fab34cd8803141871195141995f85c7f7 arm64: Add page size to
    the kernel image header

  Without the patch, the kernel page size is calculated by looking at the size
  of the "swapper_pg_dir" page directory.  With this update, the page size can
  be determined by checking a flag built into the kernel image header,
  available in the "_kernel_flags_le" absolute symbol.

  * Fix for the handling of ARM and ARM64 QEMU-generated ELF dumpfiles and
    compressed kdump clones.  The patch utilizes the NT_PRSTATUS notes in the
    dumpfile headers instead of reading them from the kernel's "crash_notes",
    which are not initialized when QEMU generates a dumpfile.  Without the
    patch, these warning messages are displayed during session initialization:

    WARNING: invalid note (n_type != NT_PRSTATUS)   WARNING: cannot retrieve
    registers for active tasks

  and running "bt" on an active task causes a segmentation violation.

  * Update to the previous QEMU-specific patch to handle kdump dumpfiles which
    have offline cpus, and therefore will not contain associated NT_PRSTATUS
    notes in the dumpfile header.  Without the patch, if there are any offline
    cpus, a segmentation violation is generated during session initialization.

  * The s390 stand-alone dump tools may write the kernel memory directly to a
    block device.  When running the crash utility against such a block device,
    a misleading warning message such as this is displayed:

    WARNING: /dev/sda1: may be truncated or incomplete PT_LOAD p_offset: 16384
    p_filesz: 5497558138880 bytes required: 5497558155264 dumpfile size: 0

  With the patch, the warning message above will be replaced by a note using
  this format:

    NOTE: /dev/sda1: No dump complete check for block devices


  * Map CTRL-l to clear the screen while in vi insertion mode.  Without the
    patch, it displays "^L".

  * Introduced a general-purpose handler to register data structures that the
    kernel has dynamically downsized from the size indicated by the debuginfo
    data.  At this time, only "kmem_cache" and "task_struct" structures that
    have been downsized are registered, but others may be added in the future.
    If a downsized data structure is passed to gdb for display, gdb will
    request a read of the "full" data structure, which may flow into a memory
    region that was either filtered by makedumpfile(8), or perhaps into
    non-existent memory, thereby killing the generating command immediately
    due to a partial read.  With this patch, commands such as "struct" and
    "task" that reference downsized data structures will have their reads
    flagged to return successfully if partial read error occurs.

  * Fix for Linux 3.18 and later 32-bit ARM kernels that are configured with
    CONFIG_SLAB which contain percpu array_cache structures that were
    allocated with vmalloc().  Without the patch, during session
    initialization there will be error messages that indicate "crash:
    kmem_cache: <vaddr>: invalid array_cache pointer: <vaddr>", and during
    runtime, the "kmem -[sS]" commands will show kmem_cache lines that marked
    as "[INVALID/CORRUPTED]".

  * Added a new "list -l <offset>" option that can only be used in conjunction
    with "-s", and requires that the "start" address is the address of a
    list_head, or other similar list linkage structure whose first member
    points to the next linkage structure.  The "-l <offset>" argument is the
    offset of the embedded list linkage structure in the specified "-s" data
    structure; it can be either a number of bytes or expressed in
    "struct.member" format.

  * Enhanced the debug-only display of the first kernel data items read during
    session initialization.  This includes the system's cpu maps, xtime, and
    utsname data.  These require at least "-d1" as a command line option
    value, and are primarily useful as an aide for debugging suspect dumpfiles
    that fail during session initialization.

  * Added "print_array" as a new internal variable that may be turned on/off
    with the "set" command.  When set to "on", gdb's printing of arrays will
    be set to "pretty", so that the display of each array element will consume
    one line.

  * Introduction of the "sys -i" option, which displays the kernel's DMI
    identification string data if available.

  * Fix for "crash --osrelease" on Xen kernels that have both VMCOREINFO and
    VMCOREINFO_XEN ELF notes.  Without the patch, the command returns
    "(unknown)".

 -- Troy Heber <troyh@debian.org>  Fri, 15 Jan 2016 09:40:34 -0700

crash (7.1.3-1) UNRELEASED; urgency=medium

  * New upstream version 7.1.3, upstream changelog follows:

  * Fix for the "crash --osrelease" option for flattened format dumpfiles in
    the unlikely event that the dumpfile header does not contain the
    VMCOREINFO note section from the original ELF /proc/vmcore.  Without the
    patch, the command displays nothing instead of showing "unknown".

  * Fix for the "kmem -s <address>", "bt -F[F]", and "rd -S[S]" options in
    kernels configured with CONFIG_SLUB.  Without the patch, if a referenced
    slab object address comes from a slab cache that utilizes a multiple-page
    slab, and the object is located within a tail page of that slab cache, it
    will not be recognized as a slab object.  The "bt -F[F]" and "rd -S[S]"
    options will just show the object address, and the "kmem -s <address>"
    object will indicate "kmem: address is not allocated in slab subsystem:
    <address>".  This bug is a regression that was introduced in crash-7.1.0
    by commit 8b2cb365d7fb139e77cedd80d4061332099ed382, which addressed a bug
    where stale slab object addresses were incorrectly being recognized as
    valid slab objects.

  * Fix for a segmentation violation generated by the ARM64 "bt -[f|F]"
    options when analyzing the active tasks in vmcores generated by the kdump
    facility.  This bug is a regression that was introduced in crash-7.1.2 by
    commit 15a58e4070486efa2aa965bdd636626e62b65cc7, which was an enhancement
    of the ARM64 backtrace capability for active tasks in kdump vmcores.

  * Fix for the extensions/trace.c extension module to account for kernels
    that are not configured with CONFIG_TRACE_MAX_TRACER.  Without the patch,
    the module fails to load with the error message "failed to init the
    offset, struct: trace_array, member: max_offset".

  * If a kdump dumpfile is marked as incomplete in its ELF or compressed kdump
    header, and the user has not used the --zero_excluded command line option,
    append a note to the incomplete dump WARNING message shown during
    invocation that suggests the use of --zero_excluded.

  * Fix for the RSS value displayed by the "ps" command in Linux 2.6.34 and
    later big-endian machines.  Without the patch, a task's RSS value will be
    erroneously calculated by using twice its file pages instead of adding its
    file pages with its anonymous pages.

  * Do not search for a panic task in s390x dumpfiles that are marked as a
    "live dump" by the "zgetdump" facility.  Without the patch, an exhaustive,
    unnecessary, search of all kernel stacks that looks for evidence of a
    system crash may find an invalid reference in a task's kernel stack due to
    the common zero-based user and kernel virtual address space ranges of the
    s390x, causing the task to be mistakenly set as the "PANIC" task.

  * Mark the "crash" task that generated a snapshot vmcore utilizing the
    "snap.so" extension module as "(ACTIVE)" in the STATE field of the initial
    system banner and the "set" command.  Without the patch, the task's STATE
    field shows it as the "(PANIC)" task.

  * Second part of: Do not search for a panic task in s390x dumpfiles that are
    marked as a "live dump" by the "zgetdump" facility...  The first part
    prevented a search of the active tasks; this part prevents the last-ditch
    search of all tasks.

  * When searching all kernel stacks for evidence of a panic task in "live"
    s390x dumpfiles created by the VMDUMP, stand-alone dump, or "virsh dump"
    facilities, none of which explicitly mark the dumpfile as a "live dump",
    run a standard "bt" backtrace on each kernel stack instead of the
    text-address-only "bt -t".  Without the patch, an invalid text reference
    may be found in a task's kernel stack due to the common zero-based user
    and kernel virtual address space ranges of the s390x, causing the task to
    be mistakenly set as the "PANIC" task.

  * Introduction of the "dis -f <address>" option, which disassembles from the
    target address until the end of the function.

  * Fix for the ARM64 "dis" command to prevent branch target addresses from
    being displayed as kernel system call alias/wrapper names, for example,
    "SyS_read+<offset>" instead of "sys_read+<offset>".

  * Fix for the PPC64 "dis" command to prevent conditional branch target
    addresses from being displayed as kernel system call alias/wrapper names,
    for example, "SyS_read+<offset>" instead of "sys_read+<offset>".

  * Fix for the S390X "dis" command to prevent jump target addresses from
    being displayed as kernel system call alias/wrapper names, for example,
    "SyS_read+<offset>" instead of "sys_read+<offset>".

  * Fix for the "dis" command on architectures with variable-length
    instructions.  Without the patch, "dis [-f] <function>" may continue
    beyond the end of a function, disassembling the memory that is in between
    the target function and the next function.  For kernel module functions,
    the module's debuginfo data must be loaded.

  * Minor cleanup and error handling fix-up for the "dis" command.  Without
    the patch, if the target address of "dis -r" or "dis -f" is not an exact
    address of an instruction, "dis -r" will continue beyond the target
    address, and "dis -f" will show nothing.

  * Reduce the unnecessary error messages if a directory is used as a command
    line argument.  Without the patch, six error messages are displayed:

    crash: unable to read dump file /tmp /tmp: ELF header read: Is a directory
    /tmp: ELF header read: Is a directory crash: /tmp: read: Is a directory
    read_maps: unable to read header from /tmp, errno = 1 crash: vmw: Failed
    to read '/tmp': [Error 21] Is a directory

  With the patch applied, the functions that generate those messages are not
  called; only the standard "not a supported file format", and "Usage"
  messages will be displayed.

  * If the method of determining how compound pages are linked cannot be
    accomplished due to page struct related changes in upstream kernels, issue
    a WARNING message during session initialization.

  * Fix for the "timer" command on Linux 4.2 and later kernels, which contain
    this kernel commit that modifies the tvec_root and tvec data structures:

    commit bc7a34b8b9ebfb0f4b8a35a72a0b134fd6c5ef50 timer: Use hlist for the
    timer wheel hash buckets

  Without the patch, the "timer" command will spew messages indicating "timer:
  invalid list entry: 0", followed by "timer: ignoring faulty timer list at
  index <number> of timer array".

  * Introduction of the "dis -s <address>" option, which displays the filename
    and line number that is associated with the specified text location,
    followed by a source code listing if it is available on the host machine.
    The line associated with the text location will be marked with an
    asterisk; depending upon gdb's internal "listsize" variable, several lines
    will precede the marked location.  If a "count" argument is entered, it
    specifies the number of source code lines to be displayed after the marked
    location; otherwise the remaining source code of the containing function
    will be displayed.

  * Added a new "--src <directory>" command line option for use by the "dis
    -s" option if the kernel source code is not located in the standard
    location that is compiled into the kernel's debuginfo data.  The directory
    argument should point to the top-level directory of the kernel source
    tree.

 -- Troy Heber <troyh@debian.org>  Fri, 15 Jan 2016 09:40:34 -0700

crash (7.1.2-1) UNRELEASED; urgency=medium

  * New upstream version 7.1.2, upstream changelog follows:

  * Enhancement of the ARM64 backtrace capability.  Without the patch,
    backtraces of the active tasks start at the function that is saved in each
    per-cpu ELF note.  With the patch, the backtrace will start at the
    "crash_kexec" function on the panicking cpu, and at the "crash_save_cpu"
    function on the other active cpus.  By doing so, the backtrace will
    display the exception handling functions leading to crash_kexec() or
    crash_save_cpu(), as well as the exception frame register set as it was at
    the time of the fatal exception on the panic cpu, or when the shutdown IPI
    was received on the other cpus.

  * Enabled the "bt -R" option on the ARM64 architecture.  Without the patch,
    the option fails with the message "bt: -R option not supported or
    applicable on this architecture or kernel".

  * Enabled the "crash --log vmcore" command line option on the ARM64
    architecture.  Without the patch, the option fails with the message
    "crash: crash --log not implemented on ARM64: TBD".

  * Fix for the S390X "bt" command when running against kernels that have
    Linux 4.0 commit 2f859d0dad818765117c1cecb24b3bc7f4592074, which removes
    the "async_stack" and "panic_stack" members from the "pcpu" structure.
    Without the patch, backtraces of active tasks that were executing I/O or
    machine check interrupts are not displayed, while other tasks may generate
    fatal readmem() errors of type "readmem_ul".

  * Fix to prevent an unnecessary/temporary GETBUF() memory allocation of 1 MB
    by the dump_mem_map() utility function when the kernel is configured with
    CONFIG_SPARSEMEM.

  * Speed up the "crash --osrelease" option when used with "flattened" format
    dumpfiles.  Without the patch, the rearranged data array initialization is
    performed before the vmcoreinfo data in the header is read, which can take
    a significant amount of time with large dumpfiles.  The patch simply looks
    for the appropriate vmcoreinfo data string near the beginning of the
    dumpfile.

  * Fix for the initialization-time sorting mechanism required for "flattened
    format" dumpfiles if the dumpfile is truncated/incomplete.  Without the
    patch, the sorting function continues performing invalid reads beyond the
    of the dumpfile, which may lead to an infinite loop instead of a
    session-ending error message.  In addition, since the sorting operation
    may take several minutes, a "please wait" message with an incrementing
    percentage-complete counter will be displayed.

  * Several fixes associated with the gathering and display of task state.
    Without the patch: (1) The "ps" command's ST column shows "??" for tasks
    in the TASK_WAKING state.  (2) The "ps" command's ST column shows "??" for
    tasks in the TASK_PARKED state in Linux 3.14 and later kernels.  (3) The
    STATE field of the initial system banner and the "set" command are
    incorrect if the task state has the TASK_WAKING, TASK_WAKEKILL modifier,
    or TASK_PARKED bits set in Linux 3.14 and later kernels.  (4) The "foreach
    DE" task identifier fails if a task with a PID number of 0xDE (222)
    exists.  (5) The "foreach" command's "SW", "PA", "TR" and "DE" task
    identifiers inadvertently select all tasks in kernel versions that do not
    have those states.  (6) The "help -t" output would display incorrect
    values for the TASK_WAKEKILL, TASK_WAKING and TASK_PARKED states in Linux
    3.14 and later kernels.  Lastly, support for the TASK_NOLOAD modifier
    introduced in Linux 4.2 has been added to STATE field of the "set" command
    and the initial system banner.

  * Fix for the internal memory allocation functionality.  Without the patch,
    in the unlikely event where the GETBUF() facility has to utilize malloc()
    to allocate a buffer, and CTRL-c is entered while that buffer is being
    zeroed out before being returned to the caller, it may result in a
    never-ending set of "malloc-free mismatch" error messages.

  * Fix for the PPC64 "bt" command for active non-panic tasks.  Without the
    patch, the backtrace may fail immediately with the error message "bt:
    invalid kernel virtual address: f  type: Regs NIP value".

  * Fix for the "bt" command on little-endian PPC64 machines for tasks that
    are blocked in __schedule().  Without the patch, there will be two
    "__switch_to" frames displayed before the normal "__schedule" frame that
    is used as the starting point for blocked tasks.

  * Fix for the PPC64 "bt" command to align its exception frame verifier
    function with the most recent version of the kernel's getvecname()
    function, which was updated in Linux 3.12.  Without the patch, the
    "Hypervisor Decrementer", "Emulation Assist", "Hypervisor Doorbell",
    "Altivec Unavailable", "Instruction Breakpoint", "Denormalisation", "HMI"
    and "Altivec Assist" exception types are not recognized and their
    exception frames not displayed; the  "Doorbell" exception type is marked
    as a "reserved" exception type,

  * Fix for the "timer" command when run on a kernel with a large number of
    cpus.  Without the patch, the command may fail prematurely with a dump of
    the internal crash utility allocated buffer statistics followed by the
    message "timer: cannot allocate any more memory!",

  * Commit f95ecdc330a11d3701de859aab59a5ab5954aae6, which speeds up "crash
    --osrelease" for flattened format dumpfiles, inadvertently broke the
    option for ELF kdump and compressed kdump dumpfiles.

  * Implementation of two new "files" command options.  The "files -c" option
    is context-sensitive, similar to the regular "files" command when used
    without an argument, but replaces the FILE and DENTRY columns with
    I_MAPPING and NRPAGES columns that reflect each open file's
    inode.i_mapping address_space structure address, and the
    address_space.nrpages count within it; this shows how many of each open
    file's pages are currently in the system's page cache.  The "files -p
    <inode>" option takes the address of an inode, and dumps all of its pages
    that are currently in the system's page cache, borrowing the "kmem -p"
    page structure output.

  * Modified the qualification for the execution of the "runq -g" option.
    Without the patch, if the target kernel was not configured with both
    CONFIG_FAIR_GROUP_SCHED and CONFIG_RT_GROUP_SCHED, the command fails with
    the message "runq: -g option not supported or applicable on this
    architecture or kernel".  With this patch, if the kernel was built with
    either CONFIG_FAIR_GROUP_SCHED or CONFIG_RT_GROUP_SCHED, the command will
    execute.

  * Fix for the error handling of the "foreach task -R struct.member" format
    if an invalid structure and/or member is used as an argument.  Without the
    patch, the command will display the expected error indicating "task:
    invalid structure member reference", but then will be followed by a stream
    of "task: recursive temporary file usage" error messages.

  * Force the 32-bit MIPS extensions/eppic.so to be compiled with -m32.  This
    is required when "make extensions" is executed after the top level crash
    binary has been built with "make TARGET=MIPS" on an x86_64 host.

  * If the starting hexadecimal address of a function is passed to the "dis"
    command without a count argument, disassemble the entire function --
    similar to when a symbol name of a function is passed without a count
    argument.  Without the patch, only one instruction is displayed.

  * Fix compiler warning generated by extensions/trace.c when compiled with
    gcc version 5.  Without the patch, the message "warning: the use of
    'mktemp' is dangerous, better use 'mkstemp'" is generated.

  * Update the extensions/eppic.mk file to clone the eppic source code from
    https://github.com/lucchouina/eppic.git.

  * Export the previously static symbol_name_count() function, which returns a
    count of symbols with the same name.  Export a new is_symbol_text()
    function, which checks whether specified symbol entry is a type 't' or
    'T'.

  * If a symbol or symbol+offset argument is passed to the "dis" command, and
    there are multiple text symbols with the same symbol name, then display a
    message indicating that there are "duplicate text symbols found", followed
    by a list of the symbols.  Without the patch, the duplicate symbol with
    the lowest virtual address is used.

 -- Troy Heber <troyh@debian.org>  Fri, 15 Jan 2016 09:40:34 -0700

crash (7.1.1-1) unstable; urgency=medium

  * Autopkgtest fix from Martin Pitt <mpitt@debian.org>  (Closes: #756969):
   - Drop sudo calls; they potentially hang forever asking for a password or
     might get denied, destroy the environment, and are not necessary as the
     test already has "needs-root".
   - Fix invalid indentation of here-doc
   - Suppress expected stderr output of apt-key (which causes a test failure)
   - Drop "set -x", as that causes stderr output and the called commands are
     already verbose enough.
   - Drop -security pocket for Ubuntu's ddebs.u.c., as that does not exist.

  * Fix for two minor issues with the "net" command.  Without the patch, the
    "net -a" option appends its correct output with the command's "Usage:"
    message; and if either the "net -x" or "net -d" options are used without
    also specifying "-s" or "-S", the error message would indicate "net:
    illegal flag: 800000" or "net: illegal flag: 1000000" instead of showing
    the command's "Usage:" message.

  * If the kernel (live or dumpfile) has the TAINT_LIVEPATCH bit set, or if
    the Red Hat "kpatch" module is installed, the tag "[LIVEPATCH]" will be
    displayed next to the kernel name in the initial system banner and by the
    "sys" command.  This new tag replaces the "[KPATCH]" tag that was
    introduced in crash-7.0.7.

  * Addressed three Coverity Scan complaints in vmware_vmss.c:

    50:leaked_storage: Variable "fp" going out of scope leaks the
       storage it points to.
    53:leaked_storage: Variable "fp" going out of scope leaks the
       storage it points to.
   256:warning: Use of memory after it is freed

  * Remove the LKCD-only "propeller spinner" seen when a dumpfile read
    requires more than 2048 page header accesses.  This was put in place
    because of the non-random-access design of LKCD dumpfiles.  Without the
    patch, the spinner display is intermingled with command output, which
    complicates the parsing of the output.

  * Fix to support the Linux version increment from 3 to 4.  Without the
    patch, both dumpfile and live sessions fail during initialization, issuing
    the message "WARNING: kernel version inconsistency between vmlinux and
    dumpfile" or "WARNING: kernel version inconsistency between vmlinux and
    live memory", followed by the nonsensical fatal error message "crash:
    incompatible arguments:  vmlinux is not SMP -- vmcore is SMP" or "crash:
    incompatible arguments:  vmlinux is not SMP -- live system is SMP".  To
    prevent unexpected kernel version bumps in the future, support has been
    added for version 5.

  * Add support for more than 16TB of physical memory space in the SADUMP
    dumpfile format.  Without the patch, there is a limitation caused by
    several 32-bit members of dump_header structure, in particular the
    max_mapnr member, which overflows if the dumpfile contains more than 16TB
    of physical memory space.  The header_version member of the dump_header
    structure has been increased from 0 to 1 in this extended new format, and
    the new 64-bit members will be used.

  * Fix for command lines that are redirected to a pipe.  Without the patch,
    if an external piped-to command contains a quoted string that includes a
    "|" character, the command fails with the message "crash: pipe operation
    failed".

  * Fix for insecure temporary file usage in _rl_tropen() as reported by
    readline library CVE-2014-2524.

  * When the gdb-<version>.patch file has changed and a rebuild is done from
    within a previously-existing build tree, the "patch -N" option is used to
    ignore patches that have been previously applied; this patch also applies
    the "patch -r-" option to prevent unnecessary .rej files from being
    created.

  * Fix to account for Xen hypervisor's "domain" structure member name change
    from "is_paused_by_controller" to "controller_pause_count".  Without the
    patch, in Xen 4.2.5 and later, the crash session fails during
    initialization with the error message 'crash: invalid structure member
    offset: domain_is_paused_by_controller".

  * During initialization, reject useless ARM64 "(A)" and "(a)" absolute
    symbols that are below the text region.  Without the patch, several
    recently-introduced absolute symbols have been introduced into the kernel,
    which will be displayed by "sym -l" prior to the first kernel virtual
    address symbol, and will show up in command output where memory values are
    translated into kernel symbol references.

  * Fix for ARM64 kernels to account for changes in the virtual memory layout
    introduced in Linux 3.17.  The vmalloc region end address, and the vmemmap
    start and end addresses are now calculated at kernel build time, because
    they depend upon the size of a struct page.  Accordingly, the crash
    utility needs to calculate those three address values dynamically, after
    the embedded gdb module has initialized.  Without the patch, reads of page
    structures return invalid data due to incorrect virtual-to-physical
    translations of memory in the vmemmap range.  This in turn causes commands
    that require page structure contents to fail or show invalid data, such as
    "kmem -p", "kmem -[sS]", and the "kmem -[fF]" options.

  * Fix to support ELF vmcore dumpfiles whose PT_LOAD file offset values of
    their respective memory segments are not laid out sequentially from low to
    high in the dumpfile.  This has only been seen in ELF dumpfiles created by
    VMware's "vmss2core -M" facility.  Without the patch, the crash session
    may fail during initialization, either with the message "cannot malloc ELF
    header buffer", or "crash: <dumpfile>: not a supported file format".

  * Enhancement to the support of VMware .vmss suspended state dumpfiles.
    There may be holes in the memory address saved for PCI, etc.  In such
    cases, the memory dump is divided into regions.  With this patch, up to 3
    memory regions are supported.

  * Fortified the error handling of task gathering from the pid_hash[] chains
    during session initialization.  If a chain has been corrupted, the patch
    prevents the sequence from entering an infinite loop, and the error
    messages associated with corrupt/invalid chains have been updated to
    report the pid_hash[] index number.

  * Implemented a new STRDUPBUF() utility that will duplicate an existing
    string into a buffer allocated with GETBUF().  As is the case with any
    buffer allocated with GETBUF(), it is only meant to exist during the
    life-span of the current command.  If it is not explicitly freed via
    FREEBUF(), then it will be freed automatically prior to the next command.

  * Implemented a new fill_struct_member_data() function that gathers a bundle
    of data that describes a structure member.  The function receives a
    pointer to a struct_member_data structure, in which the caller has
    initialized the "structure" and "member" name pointers:

    struct struct_member_data {
            char *structure;
            char *member;
            long type;
            long unsigned_type;
            long length;
            long offset;
            long bitpos;
            long bitsize;
    };

    A gdb "printm" command is crafted using those two fields, and the output
    of the command is used to initialize the remaining six fields.  Adapted
    from Qiao Nuohan's "pstruct" extension module.

  * Implemented a new "runq -c cpu(s)" option to display the run queue data of
    specified cpus.  It can be used in conjunction with all runq command
    options.  The cpus must be specified in a comma- and/or dash-separated
    list; for examples, "3", "1,8,9", "1-23", or "1,8-15".

  * Build extension modules that utilize the generic extensions/Makefile
  with -g.  In addition, build the snap.c extension module with -g.

  * Several fixes, updates, and enhancements for 32-bit MIPS support:
    (1) The MIPS general purpose registers in the elf_gregset_t
        don't start at index 0 but at index 6.
    (2) Adjust for the kernel's pt_regs structure changes between
        kernel versions.  For example, fields are inserted into the
        middle based on build time options, and the amount of padding
        at the head of the structure was changed relatively recently.
        To handle this, split the structure definition into two parts
        and get the offsets of these two parts dynamically.
    (3) Do not display each parsed kernel symbol during initialization
        when invoked with "crash -d8".
    (4) Add support for loading raw MIPS ramdump dumpfiles.
    (5) Add support for compressed kdump dumpfiles.

  * Fix for a typo in "help foreach", and a fix for a spelling error in "help
    input".

  * Fix for "and and" and "the the" typos in the README file.

  * Fix to address the Xen 4.5.0 hypervisor symbol name change from "dom0" to
    "hardware_domain".  Without the patch, the crash session fails with the
    error message "crash: cannot resolve: dom0".

  * Fix for a regression in crash-7.1.0 that causes failures when the "crash
    -t" option is run on a live system, and when analyzing remote Linux
    kernels.  Without the patch, "crash -t" on a live system fails with the
    message "crash: cannot open remote memory source: /dev/mem", and attempts
    to analyze a Linux kernel remotely just shows the kernel timestamp and
    exits immediately.

  * Speed up the session invocation time of "flattened" format dumpfiles
    created by the makedumpfile(8) facility.  When sorting the blocks of
    memory by their intended ELF or compressed kdump file offsets, the patch
    replaces the bubble-sort method that is currently used with an insertion
    sort method.

  * Remove the non-existent "-L" option from the "ps" command's mutually-
    exclusive options error message.

  * Fix for the "irq", "mount", "kmem -p" and "kmem -v" commands when they are
    used in an input file.  If more than one of any of those four commands are
    used in an input file, the output of the second and subsequent command
    instances will not display their respective command headers.

  * Implemented a new "kmem -m" option that is similar to "kmem -p", but it
    allows the user to specify the page struct members to be displayed.  The
    option takes a comma-separated list of one or more page struct members,
    which will be displayed following the page structure address.  The "flags"
    member will always be expressed in hexadecimal format, and the "_count"
    and "_mapcount" members will always be expressed in decimal format.
    Otherwise, all other members will be displayed in hexadecimal format
    unless the current output radix is 10 and the member is a signed/unsigned
    integer.  Members that are data structures may be specified by the data
    structure's member name, or expanded to specify a member of that data
    structure.  For example, "-m lru" refers to a list_head data structure, in
    which case both the list_head.next and list_head.prev pointer values will
    be displayed; if "-m lru.next" is specified, just the list_head.next value
    will be displayed.

  * Support enhancement for the 32-bit MIPS architecture that retrieves the
    per-cpu registers from the NT_PRSTATUS notes stored in the header of
    compressed kdump dumpfiles.

  * Fix to remove an invalid warning message on ARM64 if a crash session is
    invoked with the "-d<number>" debug flag.  Without the patch, the invalid
    message is "WARNING: SPARSEMEM_EX: questionable section values".

  * Remove the leftover ".constructor" build file in the extensions
    subdirectory when "make extensions" is complete, and update the top-level
    .gitignore file to ignore post-build extensions subdirectory files.

  * Fix for a segmentation violation generated by the "help -[n|D]" options on
    ARM64 compressed kdumps.

  * Additional output for the "help [-D|-n]" options on ARM64.  For ELF kdump
    vmcores and compressed kdumps, the elf_prstatus structure in each
    NT_PRSTATUS note will be translated.

  * The "help -r" option has been extended to dump the ARM64 registers stored
    in each per-cpu NT_PRSTATUS note in compressed kdump and ELF kdump
    dumpfiles.

  * Fix for the ARM64 page size determination on Linux 4.1 and later kernels.
    Without the patch, the crash session fails during initialization with the
    message "crash: invalid/unsupported page size: 98304" on kernels with 64K
    pages.  On kernels with 4K pages, the message is "crash:
    invalid/unsupported page size: 6144".  In addition, the "-p <page-size>"
    command line override option had no effect on ARM64; that has been fixed
    as well.

  * Fix for the DATE display in the initial system banner and by the "sys"
    command to account for the Linux 3.17 change that moved the "timekeeper"
    symbol and structure into a containing tk_core structure; the
    "shadow_timekeeper" timekeeper will be used as an alternative.  Without
    the patch, the DATE shows something within a few hours of the Linux epoch,
    such as "Wed Dec 31 18:00:00 1969".

  * Fixes for the translation of ARM64 PTEs, as displayed by the "vm -p" and
    "vtop" commands.  Without the patch, if "vm -p" references a swapped-out
    page on Linux 4.0 and later kernels, the SWAP location may indicate
    "(unknown swap location)", and will show an invalid OFFSET value; on Linux
    3.13 and later kernels, running "vtop" on a user virtual address
    incorrectly translates the PTE contents of swapped out pages by showing a
    PHYSICAL address and FLAGS translation instead of the SWAP device and
    OFFSET.  It is possible that there may be PTE bit translation errors on
    other kernel versions; the patch addresses the changes in ARM64 PTE bit
    definitions made in Linux 3.11, 3.13, and 4.0 kernels.

  * Enhanced the "struct.member" display capability of the "struct", "union",
    "task", "list" and "tree" commands.  If a specified structure member
    contains an embedded structure, the output may be restricted to just the
    embedded structure by expressing the .member argument as "member.member".
    If a specified structure member is an array, the output may be restricted
    to a single array element by expressing the .member argument as
    "member[index]".  Furthermore, these embedded member specifications may
    extend beyond one level deep, for example, by expressing the member
    argument as "member.member.member", or "member[index].member".

  * Fix for any command that passes strings to gdb for evaluation, where the
    string contains a parentheses-within-parentheses expression along with a
    ">" or ">>" operator inside the outermost set of parentheses.  Without the
    patch, a command such as the following fails like so:

    crash> p ((1+1) >> 1)
    p: gdb request failed: p ((1+1)
    crash>

  * Fix for the handling of ARM64 kernel module per-cpu symbols.  Without the
    patch, if the debuginfo data of an ARM64 kernel module that contains a
    per-cpu section is loaded by "mod -s <module>" or "mod -S", commands such
    as "bt" or "sym" may incorrectly translate the module's virtual addresses
    to symbol names.

  * Fix to support the Linux version increment from 3 to 4.  (Closes: #699367)
    Without the patch, both dumpfile and live sessions fail during
    initialization, issuing the message "WARNING: kernel version inconsistency
    between vmlinux and dumpfile" or "WARNING: kernel version inconsistency
    between vmlinux and live memory", followed by the nonsensical fatal error
    message "crash: incompatible arguments:  vmlinux is not SMP -- vmcore is
    SMP" or "crash: incompatible arguments:  vmlinux is not SMP -- live system
    is SMP"

 -- Troy Heber <troyh@debian.org>  Wed, 27 May 2015 11:20:02 -0600

crash (7.1.0-1) UNRELEASED; urgency=medium
  * Support for "irq" and "irq -u" on the S390 and S390X architectures if they
    are running Linux 3.12 and later kernels.  Older kernels without
    GENERIC_HARDIRQ support will fail with the error message "irq: cannot
    determine number of IRQs".

  * Fix for the handling of multiple ramdump images.  Without the patch,
    entering more than one ramdump image on the command line may result in a
    segmentation violation.

  * Implemented the capability of building crash as an x86_64 binary for
    analyzing little-endian PPC64 dumpfiles on an x86_64 host, which can be
    done by entering "make target=PPC64".  After the initial build is
    complete, subsequent builds can be done by entering "make" alone.

  * Fix for the "crash --log <dumpfile>" option on both of the PPC64
    architectures.  Without the patch, the command fails with the message
    "crash: seek error: physical address: <address> type: log_buf pointer",
    followed by "crash: cannot read log_buf value".  This bug was introduced
    in crash-7.0.0 by a patch that added support for the PPC64 BOOK3E
    processor family.

  * Fix for a misleading fatal error message if a 32-bit crash binary built on
    an X86_64 host with "make target=X86" or "make target=ARM" is used on a
    live X86_64 system without specifying a vmlinux namelist.  Without the
    patch, the session fails with the message "crash: cannot find booted
    kernel -- please enter namelist argument".  The error message will be
    "crash: compiled for the X86 architecture" or "crash: compiled for the ARM
    architecture".

  * Fix for finding the starting stack and instruction pointer hooks for the
    active tasks in x86_64 ELF or compressed dumpfiles created by the KVM
    "virsh dump --memory-only" facility.  Without the patch, the backtraces of
    active tasks may show an invalid starting frame that indicates
    "__schedule".  The fix displays the exception RIP and dumps the register
    contents that are stored in the dumpfile header.  If the active task was
    operating in the kernel, the backtrace continues from there; if the task
    was operating in user-space, the backtrace is complete at that point.

  * Fix for the "waitq" command when it is passed the address of a
    wait_queue_head_t structure.  Without the patch, if the entries on the
    list are dynamically-created __wait_queue structures on kernel stacks, the
    tasks owning the kernel stack are not displayed.

  * Implemented a new "net -n [pid|task]" option that displays the list of
    network devices with respect the network namespace of the current context,
    or that of a task specified by the optional "pid" or "task" argument.  The
    former "net -n <address>" option that translates an IPv4 address expressed
    as a decimal or hexadecimal value into a standard numbers-and-dots
    notation has been changed to "net -N".

  * Fix for the kernel virtual address to symbol name translation for special
    text region delimiter symbols declared in vmlinux.lds.S with
    VMLINUX_SYMBOL(), such as __sched_text_start, __lock_text_start,
    __kprobes_text_start, __entry_text_start and  __irqentry_text_start.
    Without the patch, if the addresses of those symbols are the same value as
    the first "real" symbol in those text regions, commands such as "dis" and
    "sym" may show the "_text_start" symbol name instead of the desired text
    symbol name.

  * Enhancement of the "kmem -i" option to display memory overcommit
    information, which will be appended to the traditional output of the
    command.  For example:

    crash> kmem -i
                       PAGES        TOTAL      PERCENTAGE
          TOTAL MEM  1965332       7.5 GB         ----
               FREE    78080       305 MB    3% of TOTAL MEM
               USED  1887252       7.2 GB   96% of TOTAL MEM
             SHARED   789954         3 GB   40% of TOTAL MEM
            BUFFERS   110606     432.1 MB    5% of TOTAL MEM
             CACHED  1212645       4.6 GB   61% of TOTAL MEM
               SLAB   146563     572.5 MB    7% of TOTAL MEM

         TOTAL SWAP  1970175       7.5 GB         ----
          SWAP USED        5        20 KB    0% of TOTAL SWAP
          SWAP FREE  1970170       7.5 GB   99% of TOTAL SWAP

       COMMIT LIMIT  2952841      11.3 GB         ----
          COMMITTED  1150595       4.4 GB   38% of TOTAL LIMIT

  The COMMIT LIMIT and COMMITTED information is similar to that
  displayed by the CommitLimit and Committed_AS lines in /proc/meminfo.

  * Fix for the "kmem [-s|-S] <address>" command, and the "rd -S[S]" and "bt
    -F[F]" options.  Without the patch, if the page structure associated with
    a memory address still contains a (stale) pointer to the address of a
    kmem_cache structure, but whose page.flags does not have the PG_slab bit
    set, the address is incorrectly presumed to be contained within that slab
    cache.  As as result, the "kmem" command may display one or more messages
    indicating a "bad inuse counter", a "bad next pointer" or a "bad s_mem
    pointer", followed by an "address not found in cache" error message.  The
    "rd -S[S]" and "bt -F[F]" commands may mislabel memory locations as
    belonging to slab caches.

  * Added a new "vm -M <mm_struct>" option.  When a task is exiting, the
    mm_struct address pointer in its task_struct is NULL'd out, and as a
    result, the "vm" command looks like this:

    crash> vm
    PID: 4563   TASK: ffff88049863f500  CPU: 8   COMMAND: "postgres"
           MM               PGD          RSS    TOTAL_VM
           0                 0            0k       0k

    However, the mm_struct address can be retrieved from the task's kernel
    stack and entered manually with this option, which allows the "vm" command
    to attempt to dump the virtual memory data of the task.  It may, or may
    not, work, depending upon how far the virtual memory deconstruction has
    proceeded.  This option only verifies that the address entered is from the
    "mm_struct" slab cache, and that its mm_struct.mm_count is non-zero.

  * Fix for the X86_64 "bt" and "mach" commands when running against kernels
    that have the following Linux 3.18 commit, which addresses CVE-2014-9322.
    The kernel patch removes the per-cpu exception stack used for handling
    stack segment faults:

    commit 6f442be2fb22be02cafa606f1769fa1e6f894441
    x86_64, traps: Stop using IST for #SS

    Without this patch, backtraces that originate on any of the other 4
    per-cpu exception stacks will be mis-labeled at the transition point back
    to the previous stack.  For example, backtraces that that originate on the
    NMI stack will indicate that they are coming from the "DOUBLEFAULT" stack.
    The patch examines all idt_table entries during initialization, looking
    for gate descriptors that have non-zero index values, and when found,
    pulls out out the handler function address; from that information, the
    exception stack name string array is properly initialized rather than
    being hard-coded.  This fix also properly labels the exception stack names
    on x86_64 CONFIG_PREEMPT_RT realtime kernels, which only utilize 3
    exception stacks instead of the traditional 5 (now 4 with this kernel
    commit), instead of just showing "RT".  Also, without the patch, the
    "mach" command will mis-label the stack names when it displays the base
    addresses of each per-cpu exception stack.

  * Additional output for the "help [-D|-n]" options on X86 and X86_64
    architectures.  For compressed kdumps, the elf_prstatus structure in each
    per-cpu NT_PRSTATUS note will be translated.  For ELF kdumps, the
    elf_prstatus structure in each per-cpu NT_PRSTATUS note, and the
    QEMUCPUState structure in each per-cpu QEMU note, will be translated.

  * Implemented a new "bt -A" option for the S390X architecture, which adds
    support for displaying the new s390x vector registers.  For ELF dumps, the
    registers are taken from the VX ELF notes; for s390 dumps. the registers
    are taken from memory.  The option produces the same output as the -a
    option, but also displays the vector registers for all active tasks.

  * Fix for the 32-bit ARM virtual-to-physical address translation of
    unity-mapped kernel virtual addresses in kernels configured with
    CONFIG_ARM_LPAE if the system's phys_base exceeds 4GB.

  * Fix for the "help [-D|-n]" option on 32-bit X86 kernels that use the
    64-bit ELF vmcore format generated by "virsh dump --memory-only".  Without
    the patch, the QEMUCPUState structures in QEMU notes are not translated.

  * Additional output for the "help [-D|-n]" options on X86 and X86_64
    architectures.  For compressed kdumps generated by "virsh dump
    --memory-only", the QEMUCPUState structure in each per-cpu QEMU note will
    be translated, and the dumpfile offset address of each QEMU note will be
    displayed.

  * Introduction of support for the 32-bit MIPS architecture.  This initial
    support is restricted to 32-bit MIPS kernels that are configured as
    little-endian.  With respect to dumpfile types, only ELF vmcores are
    recognized.  In addition to building crash as a 32-bit MIPS binary, it is
    also possible to build crash as an x86 binary on an x86 or x86_64 host so
    that crash analysis of MIPS dumpfiles can be performed on an x86 or x86_64
    host.  The x86 binary can be built by entering "make target=MIPS" for the
    initial build; subsequent builds with MIPS support can be accomplished by
    entering "make" alone.

  * Added support for big-endian 32-bit MIPS kernels.  Only native MIPS crash
    binaries may be built with big-endian support; running the "make
    target=MIPS" build option on an x86 or x86_64 host creates x86 binaries
    with little-endian support only.

  * Update the "ps" help page to reflect that the "ps -l" option may be based
    upon the task_struct's sched_entity.last_arrival.  Without the patch, it
    indicates that either the task_struct's last_run or timestamp value are
    used.

  * Fix for the "kmem -z" option output to change the zone structure's
    pages_scanned field from a signed to an unsigned long integer.

  * Fix for "kmem -z" option on Linux 2.6.30 and later kernels.  Without the
    patch, the zone structure's all_unreclaimable and pages_scanned fields are
    not dumped.

  * Fix for the PPC64 "bt" command on both big-endian and little-endian
    architectures.  Without the patch, backtraces of the active tasks may be
    "empty" on little-endian machines, or show a one-liner of the form: "#0
    [c0000005f4db7a60] (null) at 501  (unreliable)" on big-endian machines.

  * Additional output for the "help [-D|-n]" options for the PPC64
    architecture.  For compressed kdump and ELF kdump dumpfiles, the
    elf_prstatus structure in each per-cpu NT_PRSTATUS note will be
    translated.

  * The "help -r" option has been extended to dump the PPC64 registers stored
    in each per-cpu NT_PRSTATUS note in compressed kdump and ELF kdump
    dumpfiles.

  * Prevent "help -r" and "help -[D|n]" from generating a segmentation
    violation when attempting to access non-existent NT_PRSTATUS notes for
    offline cpus in ELF or compressed kdumps.

  * Fix for the "kmem -V" option output to change the display of the
    vm_event_states fields from signed to unsigned long integers.

  * Fix to allow the "ps -G" qualifier to be used in conjunction with the "ps
    -p" option.  Without the patch, "ps -G -p" fails with the error message
    "ps: do_list: hash queue is in use?"

  * Fix for the "runq" command on kernels that are configured with
    CONFIG_RT_GROUP_SCHED=n.  Without the patch, real-time tasks queued on a
    per-cpu rt_rq.rt_prio_array will not be displayed under the "RT
    PRIO_ARRAY" header.

  * Fix for a regression introduced in crash-7.0.9 when running on a live
    32-bit ARM machine.  Without the patch, a segmentation violation is
    generated during session initialization.

  * Enhancement of the "PANIC:" message displayed by the initial system banner
    and by the "sys" command.  Without the patch, many panic types are
    categorized under the same generic message of the form:

     PANIC: "Oops: 0000 [#1] SMP " (check log for details)

    or in other types of crashes, no message is displayed at all.  With this
    patch, a more comprehensive search is made of the kernel log for a more
    informative panic message.

  * Add appropriate checks for the MIPS architecture to allow extension
    modules to be loaded with the "extend" command.

  * Update the extensions/trace.c extension module to account for the movement
    of the ftrace_event_call.name member into an anonymous union in Linux
    3.15, commit de7b2973903c6cc50b31ee5682a69b2219b9919d.

  * Added support for VMware .vmss suspended state files as dumpfiles.
    Similar to all other supported dumpfile types, it is invoked as:

    $ crash vmlinux <vmname>.vmss

    A "<vmname>.vmss" file created by the VMware vSphere ESX hypervisor
    contains a header and the full memory image.  A "<vmname>.vmss" file
    created by the VMware Workstation facility only contains the header, and
    must be accompanied by a companion "<vmname>.vmem" memory image that is
    located in the same directory as the "<vmname>.vmss" file.

 -- Troy Heber <troyh@debian.org>  Wed, 27 May 2015 11:20:02 -0600

crash (7.0.9-1) UNRELEASED; urgency=medium

  * Fix the CPU timer and clock comparator output for the "bt -a" command on
    S390X machines.  The output of CPU timer and clock comparator has always
    been incorrect because: - We added S390X_WORD_SIZE (8) instead of 4 to get
    the second word - We did not left shift the clock comparator by 8 The fix
    gets the complete 64 bit values and by shifting the clock comparator
    correctly.

  * Add "/lib/modules/<version>/build" to the list of directories that are
    searched for the currently-running kernel on live systems.  This will
    automatically locate the vmlinux namelist for kernels that were locally
    installed with "make modules_install install".

  * Addressed 3 Coverity Scan issues:
    (1) task.c: initialize the "curr" and "curr_my_q" variables in the
    dump_tasks_in_task_group_cfs_rq() function.
    (2) ramdump.c: make the "rd" and "len" return values from read() and
    write() calls in write_elf() to be ssize_t types.
    (3) cmdline.c: make the parsed PATH string buffer equal to the size of the
    PATH string + 1 to prevent a possible buffer overflow when a command line
    starts with a "!".

  * Fix for the one-time (dumpfile), or as-required (live system), gathering
    of tasks from the kernel pid_hash[] in 2.6.24 and later kernels.  Without
    the patch, if an entry in a pid_hash[] chain is not related to the
    "init_pid_ns" pid_namespace structure, any remaining entries in the hlist
    chain are skipped.

  * Update the "extensions/snap.mk" file to allow the "snap.so" extension
    module to be built outside of a crash source tree on a ppc64le PPC64
    little-endian host.  Without the patch, "make -f snap.mk" would fail to
    compile, indicating "gcc: error: macro name missing after '-D'"

  * Improve the method for determining whether a 32-bit ARM vmlinux is an LPAE
    enabled kernel by first checking whether CONFIG_ARM_LPAE exists in the
    vmcoreinfo data, and if it does not, by then checking whether the next
    higher symbol above "swapper_pg_dir" is 0x5000 bytes higher in value.

  * Fix "defs.h" for building extension modules outside of the crash utility
    source tree on PPC and PPC64 machines.  Without the patch, both PPC and
    PPC64 will get #define'd if the extension module build procedure does not
    #define one or the other, which in turn causes multiple conflicting
    declarations.

  * Fix for the "ps" command performance degradation patch the was introduced
    in crash-7.0.8.  Without this patch, it is possible that the "ps" command
    may fail prematurely with the error message "ps: bsearch for tgid failed:
    task: <address> tgid: <number>" when running on a live system or against a
    "live" dumpfile.

  * Set the 32-bit ARM HZ value to a default value of 100 if the kernel was
    not configured with CONFIG_IKCONFIG.  Without the patch, the initial
    system banner and the "sys" command show "UPTIME: (cannot calculate:
    unknown HZ value)", the "ps -t" option shows "RUN TIME: (cannot calculate:
    unknown HZ value)", and the "timer -r" option kills the crash session with
    a floating point exception.

  * Fix the error message displayed if the vmlinux or vmcore file is not the
    same endian as the crash utility binary.  Without the patch the filename
    is shown with the incorrect/opposite endian type.

  * Update the "ps" command's "ST" task state display to recognize the
    TASK_PARKED state in Linux 3.9 and later kernels.  Without the patch, the
    command's "ST" column entry for parked tasks shows "??".  The state column
    will now show "PA", and the foreach command will accept "PA" as a "state"
    argument.

  * Fortify the protection against the use of an invalid/corrupted CONFIG_SLAB
    kmem_cache per-cpu array_cache.limit value during session initialization.
    In a recently seen vmcore, several of the array_cache.limit values were
    corrupted such that they were stored as negative values, which in turn
    caused the "kmem -[sS]" options to fail immediately with a dump of the
    internal memory buffer allocation statistics and the error message "kmem:
    cannot allocate any more memory!".

  * Implement a new "offline" internal crash variable that can be set to
    either "show" (the default) or "hide".  When set to "hide", certain
    command output associated with offline cpus will be hidden from view, and
    the output will indicate that the cpu is "[OFFLINE]".  The new variable
    can be set during invocation on the crash command line via the option
    "--offline [show|hide]".  During runtime, or in a .crashrc or other crash
    input file, the variable can be set by entering "set offline [show|hide]".
    The commands or options that are affected when the variable is set to
    "hide" are as follows:

    o  On X86_64 machines, the "bt -E" option will not search exception
       stacks associated with offline cpus.
    o  On X86_64 machines, the "mach" command will append "[OFFLINE]"
       to the addresses of IRQ and exception stacks associated with
       offline cpus.
    o  On X86_64 machines, the "mach -c" command will not display the
       cpuinfo_x86 data structure associated with offline cpus.
    o  The "help -r" option has been fixed so as to not attempt to
       display register sets of offline cpus from ELF kdump vmcores,
       compressed kdump vmcores, and ELF kdump clones created by
       "virsh dump --memory-only".
    o  The "bt -c" option will not accept an offline cpu number.
    o  The "set -c" option will not accept an offline cpu number.
    o  The "irq -s" option will not display statistics associated with
       offline cpus.
    o  The "timer" command will not display hrtimer data associated
       with offline cpus.
    o  The "timer -r" option will not display hrtimer data associated
       with offline cpus.
    o  The "ptov" command will append "[OFFLINE]" when translating a
       per-cpu address offset to a virtal address of an offline cpu.
    o  The "kmem -o" option will append "[OFFLINE]" to the base per-cpu
       virtual address of an offline cpu.
    o  The "kmem -S" option in CONFIG_SLUB kernels will not display
       per-cpu data associated with offline cpus.
    o  When a per-cpu address reference is passed to the "struct"
       command, the data structure will not be displayed for offline
       cpus.
    o  When a per-cpu symbol and cpu reference is passed to the "p"
       command, the data will not be displayed for offline cpus.
    o  When the "ps -[l|m]" option is passed the optional "-C [cpus]"
       option, the tasks queued on offline cpus are not shown.
    o  The "runq" command and the "runq [-t/-m/-g/-d]" options will not
       display runqueue data for offline cpus.
    o  The "ps" command will replace the ">" active task indicator to
       a "-" for offline cpus.

    The initial system information banner and the "sys" command will display
    the total number of cpus as before, but will append the count of offline
    cpus.  Lastly, a fix has been made for the initialization time
    determination of the maximum number of per-cpu objects queued in a
    CONFIG_SLAB kmem_cache so as to continue checking all cpus higher than the
    first offline cpu.  These changes in behavior are not dependent upon the
    setting of the crash "offline" variable.

  * Adjustment to the "offline" patch-set to make the initial system banner,
    the "sys" command, and the X86_64 "mach" command, to only show the
    "OFFLINE" cpu count if there are actually offline cpus.

  * Make the "bt -E" option conform to a "-c cpu(s)" specification when the
    the two options are used together.  Without the patch, "bt -E" ignores a
    cpu specifier.

  * Fix for the determination of the cpu count on 32-bit ARM machines.
    Without the patch, if certain patterns of cpus are offline, the count may
    be too small, causing cpu-dependent commands to not recognize online cpus.

  * Fix for a missing exception frame dump by the X86_64 "bt" command when an
    IRQ is received while a task is running on its per-cpu interrupt stack
    with interrupts enabled.

  * Fix for the determination of the cpu count on ARM64 machines.  Without the
    patch, if certain patterns of cpus are offline, the count may be too
    small, causing cpu-dependent commands to not recognize online cpus.

  * Fix for a possible SIGSEGV generated during session initialization while
    "please wait... (determining panic task)" is being displayed.  This was
    caused by a patch introduced in crash-7.0.8, and can only happen when
    analyzing dumpfiles whose header does not contain the requisite
    information to determine the panic task and the active tasks do not have
    any crash-related traces in their kernel stacks.  It should be noted that
    the SIGSEGV can be avoided by entering "--no_panic" on the crash command
    line.

  * Fix for a SIGSEGV generated by the "bt -a" or "help -r" commands if the
    NT_PRSTATUS notes in a compressed kdump are invalid/corrupt.  If all cpus
    are online but the dumpfile initialization that cycles through the
    NT_PRSTATUS notes does not find exactly one note per cpu, then the
    register contents in those notes should not be used.

  * Fix for data access from "split" compressed kdump dumpfiles.  Without the
    patch, if a dumpfile read targets physical memory in the first memory page
    stored in the second or later sequential split dumpfile, incorrect data
    will be returned.

  * Correction of the copyright and authorship of ramdump.c.

  * Added recognition of the new DUMP_DH_COMPRESSED_INCOMPLETE flag in the
    header of compressed kdumps, and the new DUMP_ELF_INCOMPLETE flag in the
    header of ELF kdumps.  If the makedumpfile(8) facility fails to complete
    the creation of compressed or ELF kdump vmcore files due to ENOSPC or
    other error, it will mark the vmcore as incomplete.  If either flag is
    set, the crash utility will issue a warning that the dumpfile is known to
    be incomplete during initialization, just prior to the system banner
    display.  When reads are attempted on missing data, a read error will be
    returned.  As an alternative, zero-filled data will be returned if the
    "--zero_excluded" command line flag is used, or the "zero_excluded"
    runtime variable is set to "on".  In either case, the read errors or
    zero-filled memory may cause the crash session to fail entirely, cause
    commands to fail, or may result in other unpredictable runtime behavior.

  * If a kernel has been configured with CONFIG_DEBUG_INFO_REDUCED, then the
    crash utility will fail to initialize, typically with a message indicating
    "no debugging data available".  However, it has been reported (on a 32-bit
    ARM system) that the initialization sequence continued on beyond that
    message point, and the session failed later on with the message "neither
    runqueue nor rq structures exist".  As an aid to understanding why the
    session failed, if the target kernel is configured with CONFIG_IKCONFIG,
    and CONFIG_DEBUG_INFO_REDUCED has been set to "y", a relevant warning
    message will be displayed.

  * Implemented support for this Linux 3.18 commit for kernels that are
    configured with CONFIG_SLAB:

    commit bf0dea23a9c094ae869a88bb694fbe966671bf6d
    mm/slab: use percpu allocator for cpu cache

    The commit above redesigned the kmem_cache.array_cache[] from a hardwired
    array to a per-cpu pointer referencing external array_cache structures.
    Without the patch, the crash session would fail during initialization with
    the message "crash: cannot resolve cache_cache".  Note that it could be
    worked around by using the "--no_kmem_cache" command line option, with a
    resulting loss of functionality for commands requiring slab-related data.

  * Implemented a new "sys -t" option that displays kernel taint information.
    If the "tainted_mask" symbol exists, the option will show its hexadecimal
    value and translate each bit set to the symbolic letter of the taint type.
    On kernels prior to 2.6.28 which had the "tainted" symbol, only its
    hexadecimal value is shown.  The relevant kernel sources should be
    consulted for the meaning of the letter(s) or hexadecimal bit value(s).

  * Cosmetic fix for the "help -[n|D]" translation of the bitmap contents of
    the kdump_sub_header.dump_level flag in compressed kdump dumpfiles.

  * Fix for the support of compressed kdump clones created with the KVM "virsh
    dump --memory-only --format <compression-type>" command, where the
    compression-type is either "kdump-zlib", "kdump-lzo" or "kdump-snappy".
    Without the patch, if an x86_64 guest kernel was loaded with a non-zero
    "phys_base", the "--machdep phys_base=<offset>" command line option was
    required as a workaround or the crash session would fail with the warning
    message "WARNING: cannot read linux_banner string" followed by the fatal
    error message "crash: vmlinux and <dumpfile name> do not match!".

 -- Troy Heber <troyh@debian.org>  Mon, 27 Apr 2015 08:28:11 -0600

crash (7.0.8-1) unstable; urgency=medium

  * Fix for the handling of 32-bit ELF xendump dumpfiles if the guest was
    configured with more than 4GB of memory.  Without the patch, the crash
    session may fail during initialization with the error message "crash:
    vmlinux and <dumpfile> do not match!".
  * Fix for file-handling errors when a compressed vmlinux.debug file is
    followed by a vmlinux file on the crash command line.  When the crash
    session ends, two errors will occur: (1) the vmlinux file will be deleted
    (2) the temporary uncompressed version of the vmlinux.debug file will
    remain in /var/tmp This problem also occurs in the highly unlikely case
    where a compressed vmlinux file is followed by a vmlinux.debug file on the
    command line, and the uncompressed temporary version of the vmlinux file
    is larger than the vmlinux.debug file.  In that case: (1) the
    vmlinux.debug file will be deleted (2) the temporary uncompressed version
    of the vmlinux file will remain in /var/tmp
  * Fix for the "search -t" option if the system has 2064 or more tasks.
    Without the patch, the command fails with a dump of the crash utility
    memory allocation statistics, ending with "search: cannot allocate any
    more memory!".
  * Fix for the "mod -S" command to find the debuginfo data for Red Hat
    "kpatch" modules.  Without the patch, the command would display "mod:
    cannot find or load object file for <kpatch-module> module".
  * Deprecated the "mount -f" option for Linux 3.13 and later kernels
    containing commit eee5cc2702929fd41cce28058dc6d6717f723f87, which removed
    the super_block.s_files list_head member and the open files list that it
    contained.  Without the patch, the command option fails with the error
    message "mount: invalid structure member offset: super_block_s_files"
  * If a compressed kdump is damaged/truncated such that the bitmap data in
    the dumpfile header is not contained within the file, attempts to analyze
    it with a vmlinux file, or using the "crash --osrelease" or "crash --log"
    options with just the vmcore, will result in the crash utility spinning
    forever, endlessly performing reads of 0 bytes from the file without
    recognizing the EOF condition.
  * Fix for an ARM64 compilation failure of the embedded gdb file
    "aarch-linux-nat.c" in the Fedora fc21 rawhide environment, which uses
    glibc-headers-2.19.90-24.fc21.
  * Document the reason behind the deprecation of the "mount -f" option for
    Linux 3.13 and later kernels if the option is attempted, and in the "help
    mount" output, similar to the deprecated "mount -d" option.
  * During initialization, reject useless ARM64 "(A)" absolute symbols that
    begin with "__crc_".  Without the patch, several thousand of them may be
    displayed by "sym -l" prior to the first kernel virtual address symbol.
  * When running against an ARM64 dumpfile created with the "snap.so"
    extension module, do not attempt to read the crash_notes.  Since the
    dumpfile was taken while running on a live system, the crash_notes, if
    configured into the kernel, would not contain valid data.  Without the
    patch, the message "WARNING: could not retrieve crash_notes" is displayed
    during session initialization.
  * Determine the various ARM64 kernel virtual address ranges using the
    kernel's VA_BITS value.  It currently is hardwired in the kernel to one of
    two values depending upon whether 4K or 64K pages are configured.
    However, there are plans to support 16K paqes, to make VA_BITS a
    configurable value, and to make the number of page-table levels
    configurable.  Towards that end, the crash utility has been changed to
    determine the VA_BITS value based upon known kernel virtual addresses, and
    to then calculate the relevant kernel virtual address ranges on that value
    instead of hardwiring them based upon the page size.
  * Enhancement to the "kmem -S" option for Linux 3.2 and later kernels
    configured with CONFIG_SLUB to display the address of each per-cpu
    kmem_cache_cpu address and the contents of its per-cpu partial list.
  * If an ARM or ARM64 dumpfile does not contain the register sets of the
    active tasks in the kernel's per-cpu crash_notes, there is an
    initialization-time warning message indicating "could not retrieve
    crash_notes".  It has been changed to a more meaningful warning message
    indicating "cannot retrieve registers for active tasks".
  * Implement support for ARM and ARM64 raw RAM dumpfiles.  One or more
    "ramdump" files may be entered on the crash command line in an ordered
    pair format consisting of the RAM dump filename and the starting physical
    address expressed in hexadecimal, connected with an ampersand:

    $ crash vmlinux ramdump@address [ramdump@address]

    A temporary ELF header will be created in /var/tmp, and the combination of
    the header and the ramdump file(s) will be handled like a normal ELF
    vmcore.  The ELF header will only exist during the crash session.  If
    desired, an optional "-o <filename>" may be entered to create a permanent
    ELF vmcore file from the ramdump file(s).
  * Fix for the "help -[nD]" ELF header translation to recognize the EM_ARM
    and EM_AARCH values as "e_machine" types, and ELFOSABI_LINUX as an
    "e_ident[EI_OSABI]" type.  Without the patch, the e_machine translation
    would show "40 (unsupported)" for 32-bit ARM, or "183 (unsupported)" on
    ARM64; and the ELFOSABI_LINUX type would be translated as "3 (?)".
  * Re-run a command in the history list by entering an "!" followed by the
    number identifying the command.  However, unlike the similar "r"
    pseudo-command, if the number is a command name in the user's PATH,
    maintain the current behavior and execute that command.
  * Fix to recognize that the live system "crash.ko" memory driver may be
    compressed and named "crash.ko.xz".  Without the patch, the driver is not
    recognized and loaded, and as a result the /dev/mem driver  and/or
    /proc/kcore will be tried as the live memory source.
  * On a live system during session initialization, delay the first read error
    message (typically when reading the "cpu_possible_mask") until it is
    confirmed that all of the following are true: (1) /dev/crash does not
    exist, and (2) /dev/mem is restricted via CONFIG_STRICT_DEVMEM, and (3)
    /proc/kcore cannot be read/accessed.  The "kernel may be configured with
    CONFIG_STRICT_DEVMEM" and the "trying /proc/kcore as an alternative"
    messages will still be displayed when appropriate.  The read error message
    be displayed only if all three live memory read options fail.
  * Fortify the validity verification of the data structures traversed by the
    "kmem [-sS]" options for kernels configured with CONFIG_SLUB.  Without the
    patch, the contents of several structure members are not validated, and
    may generate bogus or never-ending output, typically seen when running the
    commands on a "live dump" where the dumpfile was taken while the kernel
    was still running.  The patch aborts the relevant parts of per-kmem_cache
    output when invalid data is encountered or if an object list contains
    duplicate entries, and error messages have been enhanced to more
    accurately describe the issues encountered.
  * Implement support for the ppc64le PPC64 little-endian architecture.  Since
    this required a large number of patches to be applied to
    architecture-neutral files in the gdb-7.6 tree, the changes are only
    applied if the host build system is a ppc64le.
  * Fix for SMP active task register-gathering from "kvmdump" dumpfiles that
    were created with a cpu version id of 12 or greater that contain
    additional XSAVE related fields in their cpu device headers.  Without the
    patch, active tasks running on cpus above 0 may have truncated backtraces.
  * Maintain backwards-compatibility for "kvmdump" dumpfiles that were created
    by older development versions of KVM tools in which the cpu version id was
    12, but the cpu device headers did not contain the additional XSAVE
    related fields.
  * Address a "ps" command performance degradation that was introduced by a
    crash-7.0.4 patch which added per-thread task_struct.rss_stat page counts
    to the task's mm_struct.rss_stat page counts in order to show an
    accurate/synchronized RSS value.  Without the patch, the "ps" command
    performance would degrade as the number of tasks increased, most notably
    when there were thousands of tasks.

 -- Troy Heber <troyh@debian.org>  Wed, 17 Sep 2014 08:30:13 -0600

crash (7.0.7-1) unstable; urgency=low

  * Export the static ELF and compressed kdump vmcoreinfo_read_string()
    functions from netdump.c and kdump.c via a new read_vmcoreinfo() method in
    the global program_context structure.  The function
    get_log_from_vmcoreinfo() will access vmcoreinfo data via the new pointer
    instead of requiring its callers to pass pointers to their
    dumpfile-specific function.
  * Linux 3.15 and later kernels configured with CONFIG_RANDOMIZE_BASE can be
    now be readily identified because of new kernel symbols that have been
    added.  For those kernels, the new "--kaslr=<offset>" and/or
    "--kaslr=auto" options are not necessary for ELF or compressed kdump
    vmcores, or for live systems that have /proc/kallsyms showing the
    relocated symbol values.  A new KASLR initialization function called
    kaslr_init() is now called by symtab_init() prior to the initial
    symbol-sorting operation.  If kaslr_init() determines that KASLR may be in
    effect, it will trigger a search for the relevant vmlinux symbols during
    the sorting operation, which in turn will cause the relocation value to be
    automatically calculated.
  * Implemented a new "bt -c cpu(s)" option to display the backtrace of the
    active task on one or more cpus.  The cpus must be specified in a comma-
    and/or dash-separated list; for examples ""3", "1,8,9", "1-23", or
    "1,8,9-14".  Similar to "bt -a", the option is only applicable with crash
    dumps.
  * Fix for Linux 3.11 and later ARM kernels, in which all non-panicking cpus
    offline themselves during a kdump procedure.  This causes an invalid cpu
    count determination during crash session initialization from an ARM
    vmcore.  The patch utilizes the cpu count found in the cpu_active_map if
    it is greater than the count in the cpu_online_map.  In addition, the
    maximum NR_CPUS value for the ARM architecture has been raised from 4 to
    32.
  * Fix for the X86_64 "bt" command on Linux 3.3 and later kernels to properly
    display exception frame register contents on NMI stacks.  Kernel commit
    3f3c8b8c4b2a34776c3470142a7c8baafcda6eb0 added 12 more values to the NMI
    exception stack to handle nested NMIs caused by page faults or breakpoints
    that could occur while handling an NMI exception.
  * Kernel commit 28696f434fef0efa97534b59986ad33b9c4df7f8 changed the stack
    layout again, swapping the location of the "saved" and "copied" registers.
    This can be detected automatically, because the "copied" registers contain
    either a copy of the "saved" registers, or point to "repeat_nmi". So, if
    "repeat_nmi" is found as the return address, assume that this is the old
    layout, and adjust the stack pointer again.  Without the patch, incorrect
    register values are displayed in the exception frame dump in the NMI stack
    backtrace.
  * Fix for the built-in "g" alias, which apparently has not worked correctly
    since crash-5.1.4.  Without the patch, if the "g" alias and the first
    argument are separated by one space, then the first first character of
    that argument would get stripped prior to being passed to the embedded gdb
    module.
  * Removed the BASELEVEL_REVISION string from defs.h, which serves no purpose
    since the deprecation of the remote daemon, and typically has been out of
    sync with the crash version.
  * Fix for the "p", "irq", "struct", "union" and "*" commands if a cpu
    specification contains an invalid cpu number.  Without the patch, a
    segmentation violation may be generated.
  * Implemented a new capability for the "ptov" command that takes a per-cpu
    offset and cpu specification argument and translates it into the kernel
    virtual addresses for the cpus specified.
  * Implemented a new "ps -m" option that is a similar, complementary option
    to "ps -l", but which translates the task timestamp value from a decimal
    or hexadecimal nanoseconds value into a more human-readable string
    consisting of the number of days, hours, minutes, seconds and milliseconds
    that have elapsed since the task started executing on a cpu.  More
    accurately described, it is the time difference between the timestamp
    copied from the per-cpu runqueue clock when the task last started
    executing compared to the most current value of the per-cpu runqueue
    clock.
  * In addition, a new "ps -C <cpu-specifier>" option has been added that can
    only be used with "ps -l" and "ps -m", which sorts the global task list
    into per-cpu blocks; the cpu-specifier uses the standard comma or dash
    separated list, expressed as "-C 1,3,5", "-C 1-3", "-C 1,3,5-7,10", or
    "-Call" or "-Ca" for all cpus.
  * Implemented a new "runq -m" option that is a simliar, complementary option
    to "runq -t", but which displays the amount of time that the active task
    on each cpu has been running, expressed in a format consisting of days,
    hours, minutes, seconds and milliseconds.
  * Implemented a new "kmem -h" option that displays the address of each
    hugepage hstate array entry, its hugepage size, its free and total counts,
    and name string.
  * Implemented a new "ps -S" option that displays a summary consisting of the
    number of tasks in a task state.
  * Fix for the "arguments-input-file" feature to protect against a called
    command modifying an argument string.  For example, the "struct" command
    modifies "-l struct_name.member" argument strings, and so without the
    patch, all iterative calls after the first one will fail.
  * Fix failure to build from source when compiling the crash utility with
    gcc-4.9 (closes: #746835)
  * Fix for displaying enum values that are greater than 32-bits in size.
    Without the patch, the upper 32-bits are clipped off and displayed as
    integer-sized value.
  * If the kernel (live or dumpfile) has the "kpatch" module installed, the
    tag "[KPATCH]" will be displayed next to the kernel name in the initial
    system banner and by the "sys" command.
  * Fix for the "DEBUG KERNEL:" display in the initial system banner and by
    the "sys" command when using a System.map file with a Linux 3.0 and later
    debug kernel.  Without the patch, the kernel version is not displayed in
    parentheses following the debug kernel name.
  * If the gdb-<version>.patch file has changed and a rebuild is being done
    from within a previously-existing build tree, "patch -N" the gdb sources,
    and start the rebuild from the gdb-<version> directory instead of the
    gdb-<version>/gdb directory.
  * Fix to prevent a possible segmentation violation generated by the "runq
    -g" command when run on a very active live system due to an active task on
    a cpu exiting while the command is running.
  * Fix for the "runq -g" command on Linux 3.15 and later kernels, where the
    cgroup_name() function now utilizes kernfs_name().  Without the patch, the
    command fails with the error message "runq: invalid structure member
    offset: cgroup_dentry".
  * Fix for the "extend" command when running with an x86_64 crash binary that
    was built with "make target=ARM64" in order to analyze ARM64 dumpfiles on
    an x86_64 host.  Without the patch, if the extend command is used with an
    extension module built in the same manner, it fails with the message
    "extend: <module>.so: not an ELF format object file".
  * Introduce support for 32-bit ARM kernels that are configured with
    CONFIG_ARM_LPAE.  The patch implements the virtual-to-physical address
    translation of 64-bit PTEs used by ARM LPAE kernels.

 -- Troy Heber <troyh@debian.org>  Mon, 16 Jun 2014 10:24:39 -0600

crash (7.0.6-1) unstable; urgency=low

  * Fix for custom X86_64 kernels that change the declaration of the
    context_switch() function so that it is not an inline function.  Without
    the patch, the message "crash: cannot determine thread return address" is
    displayed during invocation, and backtraces of blocked tasks may have
    missing or invalid frames.
  * Fix to prevent a possible invocation-time error on Linux 3.7 and later
    kernels configured with CONFIG_SLAB, running against vmcore files filtered
    with the makedumpfile(8) facility.  Without the patch, the message "crash:
    page excluded: kernel virtual address: <address>  type: kmem_cache buffer"
    is immediately followed by the message "crash: unable to initialize kmem
    slab cache subsystem".  Because of a kernel data structure name change
    from "cache_cache" to "kmem_cache_boot", the crash utility failed to
    properly downsize the stored size of the kernel's kmem_cache data
    structure from the size indicated by the vmlinux debuginfo data.  This in
    turn could lead to reading beyond the end of a kmem_cache data structure
    into a page of memory that had been excluded from the vmcore.  The fix was
    also applied to kernels configured with CONFIG_SLUB.
  * Added a new "--kaslr <offset>" command line option for X86_64 kernels that
    are configured with CONFIG_RANDOMIZE_BASE.  The offset value must be equal
    to the difference between the symbol values compiled into the vmlinux file
    and their relocated KASLR values.
  * Added a new "--kaslr=auto" command line option for X86_64 kernels that
    that are configured with CONFIG_RANDOMIZE_BASE.  When set to "auto", the
    KASLR relocation value will be determined automatically by comparing the
    "_stext" symbol value compiled into the vmlinux file with the _stext
    symbol value stored in kdump vmcoreinfo data; on live systems the
    comparison will be made with the "_stext" symbol value that is found in
    /proc/kallsyms.
  * Enable kernel text line number capability for the "dis -l", "bt -l", "sys
    -c", and "sym" commands for kernels that are configured with
    CONFIG_RANDOMIZE_BASE.
  * Fix for the "crash --log vmcore" command to account for the kernel data
    structure and VMCOREINFO string name changes from "log" to "printk_log" in
    Linux 3.11-rc4 and later kernels.  Without the patch, the command fails
    with the error message "crash: VMCOREINFO: no log buffer data".
  * Adjustment to the internal symbol-handling to prevent the usage of kernel
    system call alias/wrapper names, for examples, "SyS_read" and
    "compat_SyS_futex" instead of "sys_read" and "compat_sys_futex".  Without
    the patch, commands such as "dis", "sym <address>", and "sys -c" display
    the alias/wrapper name instead of the real system call name in Linux 3.10
    and later kernels.
  * Increase the internal hash queue head count from 128 to 32768.  The hash
    queue is used for gathering and verifying lists, and the original count of
    128 may be overwhelmed if a list is extremely large.  For example, on a
    256GB system with 192GB of free pages, the "kmem -f" command takes hours
    to complete; with this patch, the time is reduced to a few minutes.  In
    addition, a new command line option "--hash <count>" has been added to
    allow a user to override the default hash queue head count of 32768.
  * Fix for the "kmem -F" display and the "kmem -f <address>" or "kmem
    <address>" options.  Without the patch, "kmem -F" does not display the
    first page in a list of free page blocks on its own line, but rather at
    the end of the previous line that shows the area number, block size, and
    free_area struct address that the page is linked to.  Due to this error,
    both "kmem -f <address>" and "kmem -f address>" would not find the
    associated page or page block if it happened to be the first page or page
    block in the list.
  * Created a new feature for the internal do_list() function if it is
    necessary to immediately perform a function for each entry in a list while
    the list is being traversed.  A callback function, and an option callback
    data pointer, can be registered in the list_data structure.  The address
    of each entry in the list along with the optional callback data pointer
    will be passed to the callback function.  If desired, the callback
    function may also dictate that do_list() should stop the list traversal
    and return immediately to its caller.
  * Made the "kmem -f <address>" and "kmem <address>" options more efficient
    by using the new do_list() callback function feature above as well as
    restricting the search to only the NUMA node that contains the address.
  * If the first assembly language instruction in an X86_64 function is "nopl
    0x0(%rax,%rax,1)" or "data32 data32 data32 xchg %ax,%ax", which are
    generated when the ftrace facility is configured, the X86_64 "dis" command
    will append "[FTRACE NOP]" to the line.
  * Correction for the "crash -h" and crash.8 man page documentation of the
    "--machdep phys_base=<physical-address>" command line option.  In both
    places the parameter mistakenly indicated "physbase".
  * If a host build system does not have /usr/bin/wget installed, and the
    crash package is built from a directory that was git-cloned from
    github.com/crash-utility/crash.git, the error message has been clarified
    to indicate "/usr/bin/wget is required to download gdb-7.6.tar.gz".
    Without the patch, the message indicates "tar (child): gdb-7.6.tar.gz:
    Cannot open: No such file or directory".
  * Updated the ARM64 implementation to support Linux 3.13 and later kernels
    that expand to a 42-bit address space when 64K pages are configured.  This
    is also the first crash version that has been tested on a live ARM64
    system with 4K pages, where it cleanly make it to the "crash>" prompt.
    However, it should be noted that some commands (most notably "bt") still
    do not work as of yet.
  * Document the "--machdep phys_offset=<physical-address>" command line
    option for the ARM64 architecture in the crash.8 man page and the "crash
    -h" output.
  * Fix for KVM dumpfiles created with "virsh dump --memory-only" if an X86_64
    kernel was loaded with a non-zero "phys_base".  Without the patch, the
    crash session fails with the warning message "WARNING: cannot read
    linux_banner string" followed by the fatal error message "crash: vmlinux
    and <dumpfile name> do not match!".
  * Initial working implementation of the basic ARM64 "bt" command, with
    several command options still under development.  In-kernel exception
    frames are only dumped if the exception handler function is contained
    within the symbol boundaries from "__exception_text_start" to
    "__exception_text_end"; when ARM64 kdump is eventually implemented,
    further exception-related work will be resumed.
  * Cleaned up the exception frame displays of 64-bit in-kernel and both
    32-bit and 64-bit user-mode exceptions.
  * Implemented support for the ARM64 "bt -e" option.
  * Implemented support for the ARM64 "bt -l" option.
  * Update for the X86_64 "bt -l" option such that it also displays the
    available file and line number information for functions indicated as the
    "exception RIP" in kernel exception frames.  The line number information
    will follow the exception frame register dump.
  * Fix for the ARM64 virtual-to-physical translation of vmemmap page
    structure addresses for kernels configured with 4K pages.  Without the
    patch, any command that required the contents of a page structure would
    fail with a readmem error.
  * Added support for the ARM64 architecture in the extensions/snap.c
    extension module.  Also fixed the progress percentage display to correct
    for systems which have non-zero starting physical addresses.
  * Implemented support for the ARM64 "bt -f" and "bt -F[F]" options.
  * Increase the ARM64 PTRS_PER_PGD_L2_64K from 1024 to 9182 to account for
    the Linux 3.13 increase of the ARM64 virtual address space size from 39 to
    42 bits when 64K pages are configured.  Without the patch, the warning
    message "WARNING: cannot access vmalloc'd module memory" is displayed
    during session initialization.
  * Fix for the "vm -p" option on ARM64 so that file-backed pages are properly
    translated to the filename and offset.  Without the patch, file-backed
    pages are erroneously shown as being backed on a swap device.
  * Increment maximum ARM64 physical address from 40 to 48 bits to match
    upstream kernel commit 87366d8cf7b3f6dc34633938aa8766e5a390ce33.
  * Fix for a segmentation violation generated by the "crash -g vmlinux"
    command on ARM64.
  * Fix for the ARM64 "vtop <address>" command on kernels configured with 64K
    pages if the address argument is located in the kernel logical memory map
    region, which uses 512MB hugepage mappings.  Without the patch, the
    verbose page table walk mistakenly continues to the PTE level.
  * Fix for ARM64 /proc/kcore support.  Without the patch, the crash session
    fails with the warning message "WARNING: cannot read linux_banner string"
    followed by the fatal error message "crash: vmlinux and <dumpfile name> do
    not match!".  At this point in time, the kernel requires a patch to the
    ARM64 kern_addr_valid() function to properly allow memory to be read from
    the kernel logical memory map region.

 -- Troy Heber <troyh@debian.org>  Thu, 05 Jun 2014 09:26:32 -0600

crash (7.0.5-1) unstable; urgency=low

  * New upstream version 7.0.5
  * Fix for the "runq -g" option for kernels that are configured with
    CONFIG_FAIR_GROUP_SCHED, but not CONFIG_CFS_BANDWIDTH.  Without the patch,
    the command fails with the message "runq: invalid structure member offset:
    cfs_rq_throttled".
  * Add support for Xen PVH guest types introduced in Xen 4.4.  Without the
    patch, running against a Xen 4.4 hypervisor binary would fail during
    session initialization with the error message "crash: invalid structure
    member offset: domain_is_hvm".  In addition, the PVH guest type is being
    registered internally as an HVM guest type, the debug "help -X ofs"
    command's display of the domain_domain_flags offset has been fixed to show
    it in decimal, and the setting of the internal dc->domain_flags has been
    fixed to contain all flags set, not just the first one found.
  * Fix for the "kmem -S" command on Linux 3.1 and later kernels that are
    configured with CONFIG_SLUB.  Because the the page structure's inuse and
    objects fields used by SLUB were changed from discrete u16 types to
    bit-fields within an unsigned int, the display of per-node partial slab
    statistics are incorrect.  Without the patch, the TOTAL and ALLOCATED
    values are incorrectly shown as equal values, and therefore the FREE value
    is always zero.
  * Fix for the "kmem -S" command for kernels that are configured with
    CONFIG_SLUB.  Eash per-cpu slab object dump may show incorrect ALLOCATED
    and FREE values; and as seen on Linux 3.5 and later kernels, the TOTAL
    value and the number of individual objects dumped may also be incorrect
    (too small).
  * When executing the commands from an input file specified by the "-i
    <file>" command line option, or when accepting input from a file as a set
    of commands or as a set of command arguments using the "<" redirection
    character, unconditionally cease the operation if CTRL-c is entered.
    Without the patch, depending upon the command that was running when the
    SIGINT was received, the operation may continue uninterruptibly until the
    file contents are consumed.
  * Enhanced the "bt -F" option such that if "-F" is entered twice, and if the
    stack frame contents reference a slab cache object, both the slab cache
    name and the stack contents will be displayed within brackets.
  * Enhanced the "rd -S" option such that if "-S" is entered twice, and if the
    memory contents reference a slab cache object, both the slab cache name
    and the memory contents will be displayed within brackets.
  * Fix for the X86_64 "bt" command to prevent an unwarranted message
    indicating "WARNING: possibly bogus exception frame" generated from a
    blocked kernel thread that was in the process of exec'ing a user process
    via the call_usermodehelper() facility.
  * Fix for the X86_64 "bt" command to more correctly determine the function
    frame that called into an interrupted function.  Without the patch, the
    first frame just above an IRQ exception frame register dump may show an
    invalid/stale function.
  * Fix for the X86_64 "bt" command if a page fault exception was generated by
    the invalid contents of the RIP register.  Without the patch, the
    exception frame register dump is not displayed above the "page_fault"
    stack frame; and in a related issue, the "bt -e" option will not find and
    display the exception frame.
  * When invoking a crash session with a compressed vmlinux file, make the
    same host-machine/vmlinux endian verification that is done with
    uncompressed vmlinx files.
  * Reduce the number of CTRL-c entries required to unconditionally terminate
    any manually-entered command from three to one.
  * Fix for the X86_64 "bt" command if an async page fault exception occurred
    in a KVM guest running a Linux 2.6.38 or later kernel.  Without the patch,
    the exception frame register dump is not displayed above the
    "async_page_fault" stack frame.

 -- Troy Heber <troyh@debian.org>  Mon, 14 Apr 2014 14:59:30 -0600

crash (7.0.3-3) unstable; urgency=low

  * Add autopkgtest and try to keep the Debian and Ubuntu crash packages in
    sync  (closes: #721095)

 -- Troy Heber <troyh@debian.org>  Thu, 07 Nov 2013 08:14:34 -0700

crash (7.0.3-2) unstable; urgency=low

  * Fix from  Louis Bouchard <louis.bouchard@canonical.com> to resolve FTBS on
    i386

 -- Troy Heber <troyh@debian.org>  Wed, 06 Nov 2013 09:41:06 -0700

crash (7.0.3-1) unstable; urgency=low

  * Fix for the ARM architecture if the backtrace unwind information cannot be
    gathered during session initialization.  Without the patch, the two
    unwind-related warning messages indicating "WARNING: UNWIND: failed to
    gather unwind_table list" and "WARNING: UNWIND: failed to initialize
    module unwind tables" are followed by the fatal error message "crash:
    cannot hash task_struct entries".

  * Fix for the "help -[Dn]" dumpfile information display of the GUID EFI
    table in the header of SADUMP dumpfiles.  Without the patch, only 33 of
    the 36 bytes in the table are translated.

  * Fix for the determination of the kernel NR_CPUS configurable for Linux 3.8
    and later kernels that are configured with CONFIG_SLAB.  Without the
    patch, the kernel's compiled-in NR_CPUS value was incorrectly calculated
    to be the sum of the kernel's NR_CPUS and MAX_NUMNODES configurables.

  * In the next release of makedumpfile, the status field of the dumpfile
    header of compressed kdumps will show the compression type that was
    utilized.  The "help -[Dn]" output has been updated to display that
    information.

  * For kernels configured with CONFIG_SLAB in which an array_cache pointer
    referenced by a kmem_cache structure is invalid, the individual cache(s)
    will be marked as invalid.  During session initialization, the message
    "crash: kmem_cache: <cache-address>: invalid array_cache pointer" will be
    displayed, and during runtime, attempts to access the cache(s) will result
    in a message indicating that the cache is "[INVALID/CORRPUTED]".  Without
    the patch, the message "crash: unable to initialize kmem slab cache
    subsystem" is displayed during session initialization, and run-time
    commands that attempt to access the kmem slab cache subsystem fail with
    the error message "kmem cache slab subsystem not available".

  * Fix for the "kmem -[sS] <slab-object-address>" option in Linux 3.6 and
    later kernels configured with CONFIG_SLAB.  Without the patch, the command
    fails with the message "kmem: address is not allocated in slab subsystem:
    <slab-object-address>.  This also causes the "kmem <slab-object-address>"
    command to (quietly) fail to determine that the address is a slab object.

  * Fix for the "bt" command if a kernel __init text address is encountered.
    Without the patch, and depending upon the reallocation of the __init text
    memory, a bogus framesize may be calculated, or more likely, in a
    compressed kdump, a warning message indicating "bt: page excluded: kernel
    virtual address: <address>  type: gdb_readmem_callback" will be displayed
    following the frame data.

  * Update for determining whether an S390X PTE contains a swap entry in Linux
    3.12 and later kernels.

  * Resurrected the translation and display of the page.flags bits by the
    "kmem -p" command on Linux 2.6.26 and later kernels whose vmlinux
    debuginfo data contains either the "pageflags" enumerator or the
    "pageflag_names" array of trace_print_flags structures.  If they are not
    available, just the page.flags value is printed in hexadecimal, as has
    been done since Linux 2.4.9.

  * Fix for the "bt" command when used with vmcore files that were created
    with the recently-introduced "virsh dump --memory-only", which dumps KVM
    guests into an ELF vmcore similar to those created by the kdump facility.
    Without the patch, a faulty backtrace for the panic task may be generated
    due to the use of incorrect starting RSP/RIP registers; this happens
    because (unlike kdump) the non-panicking cpus are offlined prior to the
    dumpfile being created, which in turn leads to the use of the wrong
    NT_PRSTATUS note.

  * Fix for the CPU number display on systems with 255 or more cpus during the
    initial banner, by the "set" command, the "ps" command, and by all
    commands that display the per-task header consisting of the task address,
    pid, cpu and command name.  Without the patch, for cpu 255, the "sys"
    command displays "NO_PROC_ID", and the other commands would show a "-" for
    the cpu number; for cpu numbers greater than 255, garbage values would be
    displayed in the cpu number field.

  * Implemented support for compressed kdump header version 6, in which
    makedumpfile(8) adds new fields in the kdump_sub_header to support large
    memory systems with pfn values that are larger than 32-bits.  Without the
    patch, if the system contains physical memory located in high memory such
    that its maximum pfn value is overflows the 32-bit "max_mapnr" field in
    the header, the crash session will fail with the error message "crash:
    vmlinux and vmcore do not match!".

  * Fix for the "net -s" command on Linux 3.8 and later kernels.  Without the
    patch, the command fails with the message "net: invalid structure member
    offset: inet_opt_daddr".

  * Fix a build failure in a native ARM64 environment due to obsolete LKCD
    dumpfile headers.

  * Implementation of a new "per-cpu object" as an argument format that can be
    passed to the "p", "struct", "union" or "*" commands.  The format is
    expressed as either <per-cpu symbol>:<cpu-specifier> or as <per-cpu
    offset>:<cpu-specifier>, where the per-cpu symbol or per-cpu offset must
    precede a colon, and where the <cpu-identifier> follows the colon.
    Without the patch, per-cpu symbols are only accepted by the "p" command,
    and the data type and the resolved kernel virtual address for each per-cpu
    instance are displayed shown.  With this patch, a colon and a
    cpu-specifier may be appended to the symbol name, and the the contents of
    the symbol on each cpu that is specified will be displayed by the "p"
    command.  For the "struct/union/*" commands, an argument may be specified
    using either a per-cpu offset value or per-cpu symbol name followed by a
    colon and cpu-specifier, and the contents of each structure/union on each
    specified cpu will be displayed.

    Fixed several minor flaws that were detected by a Coverity Scan.

 -- Troy Heber <troyh@debian.org>  Wed, 30 Oct 2013 16:12:40 -0600

crash (7.0.2-1) unstable; urgency=low

  * Added "bison" to the BuildRequires line of the crash.spec file.
           Without the patch, the build of the embedded gdb-7.6 module will fail
           unless either /usr/bin/bison or /usr/bin/yacc are available.  The
           failure will result in a stream of error messages from different
           files that indicate:

             multiple definition of 'main'
             undefined reference to 'c_parse_escape'
             undefined reference to 'ada_parse'
             undefined reference to 'ada_error'
             undefined reference to 'c_parse'
             undefined reference to 'c_error'
             undefined reference to 'cp_demangled_name_to_comp'
             undefined reference to 'cp_demangled_name_parse_free'
             undefined reference to 'cp_comp_to_string'
             undefined reference to 'cp_new_demangle_parse_info'

           and the build fails like so:

             collect2: ld returned 1 exit status
             make[4]: *** [gdb] Error 1
             crash build failed

           If building with rpmbuild, the new BuildRequires "bison" entry will
           prevent the build from initiating unless the bison package has been
           installed.  If building with the tar.gz file, the build attempt will
           proceed and fail unless either the bison or byacc (Berkeley Yacc)
           package is installed.

  * Fix the S390X initialization sequence on kernels that are configured
           with CONFIG_STRICT_DEVMEM to automatically try /proc/kcore if:

            (1) the /dev/crash driver is not available, and
            (2) the initial /dev/mem access fails.

           Without the patch, if /dev/mem is selected as the memory source and
           it is restricted, the crash session will fail during initialization
           with the error message "crash: read error: kernel virtual address:
           <address>  type: cpu_possible_mask".

  * When checking whether a argument on the crash command line is a dumpfile
    that may be in makedumpfile's "flattened" format, do not bother checking
    character device files.

  * Fix for the PPC64 virtual-to-physical virtual address translation
    mechanism for vmalloc and user-space virtual addresses on Linux 3.10 and
    later kernels.  Without the patch, the message "WARNING: cannot access
    vmalloc'd module memory" is displayed during initialization, and during
    the crash session, if a command attempts to translate or read a vmalloc or
    user-space virtual address, it will fail.

  * Clean up all files that emit "warning: format not a string literal and no
    format arguments" when compiled with -Wformat-security warning option.
    All instances of fprintf, sprintf and snprintf using the format
    "fprintf(fp, buf)" are replaced with "fprintf(fp, "%s", buf)".  Also, the
    -Wformat-security warning option has been added to the option list used
    when compiling with "make warn".

  * Fix a build failure when compiling with very old gcc-3.4.6 version on a
    2.6.9-based RHEL4 IA64 host.  The bfd library in gdb-7.6 is compiled with
    the -Werror option, and it fails with the message "elflink.c:4733:
    warning: 'idx' might be used uninitialized in this function".

  * Fix a build failure when compiling with very old gcc-3.4.6 version on a
    2.6.9-based RHEL4 S390 or S390X hosts.  The embedded gdb-7.6 fails to
    compile with the error message "s390-nat.c:364: error: storage size of
    'iov' isn't known".

  * Fix to properly store two-digit kernel version numbers. (closes: #717036)

  * Fix to provide hugepage address translation for the "vtop" command on the
    PPC64 architecture.

  * Fix for the "log" command to account for the kernel data structure name
    change from "log" to "printk_log" in Linux 3.11-rc4 and later kernels.
    Without the patch, the message "WARNING: log buf data structure(s) have
    changed" will be displayed during initialization and by the "log" command.

  * Fix to add a linefeed after the description of the "kmem -I" option in the
    "help kmem" output, which was recently added in crash-7.0.0.

  * Document the "-s" command line option in the "crash -h|--help" output and
    in the crash.8 man page to also indicate that runtime command scrolling is
    turned off by default.

  * Fix for the "irq -d" option on 2.6.25 and later X86_64 kernels to display
    the Intel interrupt descriptor table contents.  Without the patch, those
    kernel versions would display "irq: -d option not supported or applicable
    on this architecture or kernel".

  * Fix for the "kmem -[sS]" options on Linux 3.11-rc1 and later kernels that
    are configured with CONFIG_SLAB.  Without the patch, the command fails
    with the error message "kmem: invalid structure member offset:

  * Fix for the "kmem <address>" and the "bt -F" options on Linux 3.8 and
    later kernels that are configured with CONFIG_SLUB.  Without the patch,
    the command would fail with the error message "kmem: invalid structure
    member offset: page_slab".

  * Fix misspellings in the "bt" and "search" help page output.

  * Fix for the determination of the base of the kernel's unity-mapped virtual
    address region on recent ARM kernels whose "_stext" variable address has
    changed from 0xc0008000 to 0xc0100000.  Without the patch, the crash
    session fails during invocation with the error message "crash: vmlinux and
    vmcore do not match!".

  * When printing data structures, prevent the embedded gdb from symbolically
    translating pointers that are not kernel virtual addresses.  Kernel or
    module symbols that are not virtual addresses can be mistaken for virtual
    addresses, leading to NULL pointers being invalidly translated into a
    symbol name from the vmlinux or module object file.  For example, in
    X86_64 kernels, NULL pointers are translated into the symbol
    "irq_stack_union", whose value is not a virtual address, but rather a
    per-cpu offset value of 0.

  * Fix for the "kmem -s <address>" or "kmem <address>" options on Linux 3.11
    and later kernels configured with CONFIG_SLAB.  Without the patch, both
    commands fail with the error message "kmem: cannot resolve cache_cache".

  * Fix to prevent the "bt" command from generating a segmentation violation
    in a case where the per-cpu "current_task" variable and the runqueue's
    "curr" variable did not agree, and the panic task had overflowed its
    kernel stack.  This led to the selection of the a starting RSP address
    which belonged to the other task; without the patch, the command generated
    a segmentation violation after printing the first frame of the backtrace.

 -- Troy Heber <troyh@debian.org>  Wed, 16 Oct 2013 10:26:33 -0600

crash (7.0.1-3) unstable; urgency=low

  * Updated format-strings patch to cover additional architectures
  * Requested update to packages-arch-specific to enable s390x and armel
    (#717283)

 -- Troy Heber <troyh@debian.org>  Tue, 16 Jul 2013 07:00:41 -0600

crash (7.0.1-2) unstable; urgency=low

  * Missed updating the Architecture line in the -1 upload, armel
    (closes: #656132)
  * Move defs.h to /usr/include/crash (closes: #702513)
  * Patch from Stefan Bader to add a format string to all *printf calls

 -- Troy Heber <troyh@debian.org>  Thu, 11 Jul 2013 08:51:32 -0600

crash (7.0.1-1) unstable; urgency=low

  * Enable armel (closes: #656132)
  * Enable s390x (closes: #710675)
  * Include the crash/defs.h header (closes: #702513)
  * Sync with the Ubuntu crash package, build crash extensions, SPU has been
    dropped (closes: #584119), lpia has been dropped (closes: #504522).
  * Fix the -I include path sequence in the extensions/eppic.mk file to
    prevent a series of "redefined" and "redeclaration" warnings when
    compiling the EPPIC extension module.
  * Address two compile-time warnings generated as a result of the
    gdb*7.6.patch.  Without the patch, there are "warning: no previous
    prototype" warnings for gdb_main_entry() and replace_ui_file_FILE().
  * Implemented a new "mod -t" option that walks through the installed modules
    and checks for non*zero values in each module's "taints" bitmask, and
    translates the bits into symbolic letters if possible, or shows the
    hexadecimal value of the bitmask if not.  In older kernels, the
    "license_gplok" field is checked, and if non*zero, its value is displayed
    in hexadecimal.  Lastly, if the "gpgsig_ok" member exists and is zero, a
    "(U)" notation will also be displayed.
   * Fixed compiler warnings generated by extensions/trace.c when compiled
     with *DFORTIFY_SOURCE=2.  Without the patch, the messages "warning:
     ignoring return value of 'mktemp', declared with attribute
     warn_unused_result", "warning: ignoring return value of 'fwrite',
     declared with attribute warn_unused_result", and "warning: 'trace_dat'
     may be used uninitialized in this function" are generated.
  * Laid down the basic infrastructure for the ARM64 backtrace facility using
    the kernel's arm64 unwind facility as a basis.  Compile*tested only.
  * Implemented the ARM64 virtual-to-physical kernel and user address
    translation functions, supporting both 2*level page tables with 64K pages,
    and 3*level page tables with 4K pages.  Also added the associated PTE
    translator function.  Compile*tested only.
  * Implemented the capability of building crash as an x86_64 binary for
    analyzing ARM64 dumpfiles on an x86_64 host, which can be done by entering
    "make target=ARM64".  After the initial build is complete, subsequent
    builds can be done by entering "make" alone.
  * Added "aarch64" to the ExclusiveArch: line in the crash.spec file.
  * Fix for the S390X "bt" command for Linux 3.10 and later kernels.  Without
    the patch, the starting stack location of the per*cpu async and panic
    stacks of active tasks would be incorrectly determined.

 -- Troy Heber <troyh@debian.org>  Tue, 18 Jun 2013 13:38:49 -0600

crash (7.0.0-1) unstable; urgency=low

  * Updated the embedded gdb version to FSF gdb-7.6, which was officially
    released by the Free Software Foundation on http://www.gnu.org on 4/26/13.
    The primary motivation for upgrading from gdb-7.3.1 is for future ARM64
    support, but there are also issues with respect to kernels built with
    gcc-4.8.0.  The relevant pieces of gdb-7.3.1.patch were forward-ported to
    the gdb-7.6.patch, and the GDB_7_6 #define has been applied in the
    top-level sources where appropriate.

  * Continued incremental steps for support of the ARM64 architecture.

  * Fix for the "struct name.member <address>" option if the "member" name is
    also coincidentally a member of an embedded structure that is located
    before the targeted member.  Without the patch, the value of the embedded
    structure's member is displayed instead of the targeted member.

  * Expose a heretofore unadvertised "kmem -[sS] -I slab[,slab]" option that
    specifies one or more slab cache names in a comma-separated list that the
    "kmem -[sS]" option should ignore.  This can be helpful in cases where a
    corrupted slab cache may never complete, or in very large memory systems
    where one or more caches take an inordinate amount of time to complete.

  * Fix for the "kmem -i" option on Linux 3.9 and later kernels.  Without the
    patch, the "TOTAL SWAP", "SWAP USED" and "SWAP FREE" lines are not
    displayed because the kernel's former "swapper_space" singular
    address_space structure has has been changed into a "swapper_spaces" array
    of address_space structures, with one for each swap partition.

  * Support for the PPC64 BOOK3E processor family, whose virtual memory
    layout and PTE format are significantly different.  Without the patch, the
    crash session fails to initialize properly.  (ataufer@us.ibm.com)

  * Fix for the PPC64 "sys", "mach" and initial system banner display of of
    the processor speed in more recent kernels.  Without the patch, the
    "MACHINE" line in the initial banner and in the "sys" command display may
    show "MACHINE: ppc64 (unknown Mhz)", and the "mach" command may show
    "PROCESSOR SPEED: (unknown)".  (anderson@redhat.com, ataufer@us.ibm.com)

  * Since the libgdb.a file no longer exists in gdb-7.6, the Makefile does not
    check for it as a determining factor for whether a build has succeeded.

  * gdb-7.6 requires that the bfd library's "config.h" file be #include'd
    before the "bfd.h" file by the top-level symbols.c file.

  * gdb-7.6 has replaced/moved the gnu_debuglink_crc32() utility function to
    bfd_calc_gnu_debuglink_crc32(); the call in symbols.c has been configured
    based upon the gdb version.

  * gdb-7.6 has reworked its do_cleanups() functionality, which requires the
    gdb_error_hook() function to pass all_cleanups() as an argument.

  * gdb-7.6 causes the anon_member_offset() function to fail due to a change
    in the output string; the function has been changed to work with both old
    and new gdb versions.

  * gdb-7.6 required changes to vm_stat_init() and vm_event_state_init()
    functions because enum lists get displayed differently on the S390X and
    PPC64 architectures, which in turn caused failures of "kmem -i", "kmem -z"
    and "kmem -V" on those two machine types.

  * Adjusted the alignment of the "kmem -V" and "kmem -z" display of the items
    in the vm_stat[] array based upon the longest enumerator name string.

  * Adjusted the alignment of the "kmem -V" display of the cumulative totals
    of the per-cpu "vm_event_states" items based upon the longest enumerator
    name string.

  * Modified the top-level Makefile such that if the tar.gz file of the
    configured gdb version does not exist in the build directory, try to wget
    the file from http://ftp.gnu.org/gnu/gdb.  This is normally not necessary
    because the most recent gdb tar.gz file is bundled with the the crash
    utility tar.gz and src.rpm files.  However, it will allow the use of the
    gdb-less crash.tar.gz file created via "make tar" to be copied to another
    location, or perhaps copied to a git tree, and then built without
    containing the the gdb tar.gz file.

  * Fix for the s390x.c file to handle a gcc-4.8.0 compiler warning when
    building crash with "make warn", or compiler failures when building with
    "make Warn" on an S390x machine.  Without the patch, gcc-4.8.0 generates
    the message "error: variable ‘psw_addr’ set but not used
    [-Werror=unused-but-set-variable]".

  * Fixes for the s390dbf.c file to handle gcc-4.8.0 compiler warnings when
    building crash with "make warn", or compiler failures when building with
    "make Warn" on an S390X machine.  Without the patch, gcc-4.8.0 generates
    three "error: variable ‘<variable>’ set but not used
    [-Werror=unused-but-set-variable]" messages.

  * Fix for an X86_64 warning message that gets displayed during session
    initialization when running against Linux 3.9 kernels that were compiled
    with gcc-4.8.0.  Without the patch, the warning message "crash: cannot
    determine thread return address" is displayed prior to the system
    information.

  * Fix for lack of kernel text line number information by the "dis -l" and
    "sym <text-symbol or address>" options on Linux 3.9 kernels that were
    compiled with gcc-4.8.0.  Without the patch, the line number information
    for kernel text symbols of type "(T)" may not be able to be determined and
    displayed.

 -- Troy Heber <troyh@debian.org>  Mon, 13 May 2013 11:59:26 -0600

crash (6.1.6-1) unstable; urgency=low

  * New upstream version 6.1.6

  * Fix for a crash-6.1.5 regression that causes the "mount" command to fail
    on kernel versions prior to Linux 3.3.  Without the patch, the command
    fails with the message "mount: invalid structure member offset:
    mount_mnt_devname".

 -- Troy Heber <troyh@debian.org>  Mon, 06 May 2013 11:20:38 -0600

crash (6.1.5-1) UNRELEASED; urgency=low

  * New upstream version 6.1.6

  * Fix for the ARM "irq" command.  Without the patch, on 2.6.34 and later
    kernels configured with CONFIG_SPARSE_IRQ, the command fails with the
    error message "irq: cannot determine number of IRQs".

  * Fix for a segmentation violation generated during invocation while parsing
    a makedumpfile-created "flat-format" vmcore-incomplete file.  Without the
    patch, the crash session would display the error message "crash: unable to
    seek dump file vmcore-incomplete", followed by a segmentation violation.

  * Fix for a segmentation violation generated by the "kmem -s" option when
    encountering a corrupted array_cache structure that contains a bogus
    "avail" count that is greater than the maximum legitimate limit value.
    Without the patch, the "kmem -s" command would print a warning message
    regarding the invalid array_cache, complete the command normally, and then
    generate a segmentation violation when freeing buffers used by the
    command.

  * Update to the "kmem -s" function to include the errors found in slab
    structures to the display of total errors found when the command
    completes.  Without the patch, invalid list_head pointers, bad inuse
    counters, and bad s_mem pointers were not added to the total number of
    errors found.

  * Fix for "crash --osrelease <dumpfile>" and "crash --log <dumpfile>" when
    run on an ARM compressed kdump with a crash binary that was built with
    "make target=ARM" on an x86 or x86_64 host.  Without the patch, if the
    compressed kdump header version is 4 or 5, "crash --osrelease" fails with
    the error message "crash: compressed kdump: cannot lseek dump vmcoreinfo"
    followed by "unknown", and "crash --log" fails with the error message
    "crash: <dumpfile>: no VMCOREINFO section".

  * Enhancement to the "swap" command to display the swap_info_struct address
    of each configured swap device.  The output has been changed to display
    the address in the first column, and the variable-length device name has
    been moved to the last column.

  * Fix for the "kmem -[sS]" options on kernels that configured with both
    CONFIG_SLUB and CONFIG_NODES_SHIFT, and that are running on hardware that
    generates NUMA nodes that contain no memory.  Without the patch, both
    command options fail immediately with the message "kmem: invalid kernel
    virtual address: 8  type: kmem_cache_node nr_partial".

  * Increment the PPC64 NR_CPUS maximum value from 1024 to 2048.

  * Strip the ".isra." and ".part." appendages to cloned text symbol names,
    which seem to have been introduced by gcc-4.6.0.  To keep them intact, a
    "--no_strip" command line option has been added.

  * Patch to the internal gdb_get_datatype() function to return the typecode
    and length of integer variables.

  * Fix for the "dev -d" option on Linux 3.6 and later kernels.  Without the
    patch the option fails with the message "dev: invalid structure member
    offset: request_queue_rq".

  * Export the red/black tree utility functions rb_first(), rb_parent(),
    rb_right(), rb_left(), rp_next() and rb_last().  Without the patch, they
    are statically declared and only used by the "runq" command.

  * Implemented a new "timer -r" option that displays the hrtimer queues,
    supporting all versions from Linux 2.6.16 to the present.

  * Fix for "kmem -s" on Linux 3.8 and later kernels that are configured with
    CONFIG_SLAB.  The kmem_cache.array[] length has been extended to store the
    nodelist pointers, so the original method to determine the per-cpu array
    limit can go out-of-range.  Without the patch, during session
    initialization there may be a message that indicates "crash: invalid
    kernel virtual address: <address> type: array cache limit", followed by
    "crash: unable to initialize kmem slab cache subsystem"; if those messages
    do get shown, then "kmem -s" will subsequently fail during runtime with
    the message "kmem: kmem cache slab subsystem not available".

  * Two Xen hypervisor fixes: (1) Fix console buffer content length
    calculation: Function displaying console buffer always assumes its content
    length equal to console buffer size.  This is not true and sometimes it
    sends garbage to the screen. This patch fixes this issue.  (2) Improve
    calculation of beginning of virtual address space: Xen changeset 26447
    (x86: re-introduce map_domain_page() et al) once again altered virtual
    address space.  The current algorithm calculating its start could not cope
    with that change.  New version establishes this value on the base of image
    start address and is more generic.

  * Fix for the ARM "vtop" command when run on a module address.  Without the
    patch, the command fails with error message "vtop: ambiguous address:
    <module-address>  (requires -u or -k)".

  * Add the "--active" command line option to the crash(8) man page and to the
    "crash [-h|--help]" output.

  * Add the "--buildinfo" command line option to the crash(8) man page and to
    the "crash [-h|--help]" output.

  * Remove the unadvertised and unnecessary "--data_debug" command line
    option, given that it is the default setting.

  * Remove the unadvertised and obsolete "--no_namelist_gzip" command line
    option.

  * Add the "-g [namelist]" command line option to the crash(8) man page and
    to the "crash [-h|--help]" output.

  * Remove the unadvertised and never-implemented "--shadow_page_tables"
    command line option.

  * Fix for the ARM "vtop" command when run on a user virtual address of the
    panic task.  Prior to Linux 3.3, the panic task's pgd gets overwritten
    with a pgd that identity-maps the whole address space, and therefore crash
    loses the capability of translating any user virtual address into its
    original physical address.

  * Fix to prevent the ARM linker mapping symbols "$d" and "$a" from being
    added to the list of symbols from kernel modules.  Without the patch, the
    two symbols would only be rejected from the base kernel's symbol list, but
    would be added to the symbol list of individual kernel modules.

  * Fix for the X86_64 "bt" command to recognize that the kernel was built
    with CONFIG_FRAME_POINTER on Linux 3.7 and later kernels that are
    configured with CONFIG_FUNCTION_TRACER.  In those kernels, the special
    4-byte NOP instruction that can be overwritten during runtime for dynamic
    ftracing has been moved to the very beginning of each function, before the
    function preamble.  Without the patch, the test that checks the function
    preamble to determine whether CONFIG_FRAME_POINTER was configured would
    fail, which could potentially lead to less reliable backtraces.

 -- Troy Heber <troyh@debian.org>  Mon, 06 May 2013 11:20:38 -0600

crash (6.1.4-1) UNRELEASED; urgency=low

  * New upstream version 6.1.4

  * Fix for a crash-6.1.3 regression with respect to the loading of extension
    modules.  Because of the change that replaced the obsolete _init() and
    _fini() functions with constructor and destructor functions, extension
    modules may fail to load when the extension modules are built with older
    compiler/linkers.  The problem is due to the continued usage of the
    -nostartfiles compiler option regardless whether the extension module has
    replaced its _init() function with a constructor function; with older
    compiler/linkers, the module may fail to load.  The fix predetermines
    whether an extension module still uses _init() or if it has been updated
    to use a constructor function, and will use the -nostartfiles option only
    on older "legacy" modules.

  * Implemented a new "list -r" option that can be used with lists that are
    linked with list_head structures.  When invoked, the command will traverse
    the linked list in the reverse order by using the "prev" pointer instead
    of "next".

  * Fix for the "swap" command's FILENAME display.  In some kernels between
    2.6.32 and 2.6.38 the swap partition's pathname may not show the "/dev"
    filename component.

  * Fix for the "swap" command's PCT display, which will display a a negative
    percentage value if more than 5368709 swap pages are in use.

 -- Troy Heber <troyh@debian.org>  Mon, 06 May 2013 11:20:38 -0600

crash (6.1.3-1) unstable; urgency=low

  * New upstream version 6.1.3

  * Implemented a new "crash --log dumpfile" option which dumps the
  kernel log buffer and exits.  A kernel namelist is not required,
  but the dumpfile must contain the VMCOREINFO data from the ELF
  header of the original /proc/vmcore file that was created by the
  kexec/kdump facility.  Accordingly, this option supports kdump ELF
  vmcores and compressed kdump vmcores created by the makedumpfile
  facility, including those that are in makedumpfile's intermediary
  "vmcore.flat" format.

  * Fixes for the ppc64.c file to handle gcc-4.7.2 compiler warnings when
  building crash with "make warn", or compiler failures when building
  with "make Warn" on a PPC64 machine.  Without the patch, gcc-4.7.2
  generates three "error: variable ‘<variable>’ set but not used
  [-Werror=unused-but-set-variable]" messages.

  * Update the PPC64 architecure's internal storage of the kernel's
  MAX_PHYSMEM_BITS value for Linux 3.7 and later kernels, which changed
  from 44 to 46 to for 64TB support.  Without the patch, there is no
  known issue, but the stored value should be correct.

  * Fix for the "mount" command's header display to indicate "MOUNT"
  instead of "VFSMOUNT" on Linux 3.3 and later kernels because the
  the first column contains a mount structure address instead of a
  vfsmount structure address.  For those later kernels, it is
  permissable to enter either the mount structure address, or the
  address of the vfsmount structure that is embedded within it, as
  an optional argument.  The output has also been tightened up so
  that the DIRNAME field is not shifted to the right based upon the
  DEVNAME field length.

  * Fix for the "mount <superblock>" search option on 2.6.32 and later
  kernels.  Without the patch, it is possible that multiple filesystems
  will be displayed.

  * Update to the "mount" help page to indicate that a dentry address
  may be used as a search option.

  * Fix for the "ps -l [pid|task|command]" option to display the
  specified tasks sorted with the most recently-run task (the largest
  last_run/timestamp) shown first, as is done with the "ps -l" option
  with no arguments.  Without the patch, the timestamp data gets
  displayed in the order of the "[pid|task|command]" arguments.

  * Added the "ps" command to the set of supported "foreach" commands,
  serving as an alternative manner of passing task-identifying
  arguments to the "ps" command.  For example, a command such as
  "foreach RU ps" can be accomplished without having to pipe normal
  "ps" output to "grep RU".  All "ps" options are supported from the
  "foreach" framework.

  * Fix for the "ps -G" restrictor option such that it also takes affect
  if the -p, -c, -l, -a, -r or -g options are used.  Without the
  patch, thread group filtering would only take effect when the default
  "ps" command is used without any of the options above.

  * Fortify the internal hq_open() function to return FALSE if it is
  already open, and have restore_sanity() and restore_ifile_sanity()
  call hq_close() unconditionally.

  * Added the "extend" command to the set of built-in commands that
  support minimal mode.  A new MINIMAL flag has been created for
  extension modules to set in their command_table_entry.flags field(s)
  to signal that a command supports minimal mode.  If the crash session
  has been invoked with --minimal, then the "extend" command will
  require that the module registers at least one command that has
  the MINIMAL bit set.

  * Prevent the "__crc_*" symbols from being added to the the ARM kernel
  symbol list.

  * Prevent the "PRRR" and "NMRR" absolute symbols from being added to
  the ARM kernel symbol list.  Without the patch, it allows an invalid
  set of addresses to pass the check in the in_ksymbol_range() function.

  * Fix for the ppc.c file to handle a gcc-4.7.2 compiler warning when
  building crash with "make warn", or compiler failures when building
  with "make Warn" on a PPC machine.  Without the patch, gcc-4.7.2
  generates the message "error: variable ‘dm’ set but not used
  [-Werror=unused-but-set-variable]".

  * Workaround for the "crash --osrelease dumpfile" option to be able
  to work with malformed ARM compressed kdump headers.  ARM compressed
  kdumps that indicate header version 3 may contain a malformed
  kdump_sub_header structure with offset_vmcoreinfo and size_vmcoreinfo
  fields offset by 4 bytes, and the actual vmcoreinfo data is not
  preceded by its ELF note header and its "VMCOREINFO" string.  This
  workaround finds the vmcoreinfo data and patches the stored header's
  offset_vmcoreinfo and size_vmcoreinfo values.  Without the patch, the
  "--osrelease dumpfile" command line option fails with the message
  "crash: compressed kdump: cannot lseek dump vmcoreinfo", followed by
  "unknown".

  * Fix for the "help -n" option on 32-bit compressed kdumps.  Without
  the patch, the offset_vmcoreinfo, offset_eraseinfo, and offset_note
  fields of the kdump_sub_header have their upper 32-bits clipped off
  when displayed.  However, it should be harmless since the offset
  values point into the first few pages of the dumpfile.

  * Update of the extensions/echo.c extension module example, and the
  "extend" help page, to utilize a constructor function to call the
  register_extension() function.  The _init() and _fini() functions
  have been designated as obsolete for usage by dlopen() and dlclose().
  The echo.c example module has been modified to contain echo_init()
  and echo_fini() functions marked as __attribute__((constructor)) and
  __attribute__((destructor)) respectively.

  * Updated extensions/dminfo.c, extensions/snap.c and extensions/trace.c
  to replace their _init() and _fini() functions with constructor and
  destructor functions.

  * Fix for the "bt" command on the PPC64 architecture when running
  on Linux 3.7 kernel threads.  Without the patch, some kernel threads
  may fail to terminate on the final ".ret_from_kernel_thread" frame,
  repeating that frame endlessly, because the stack linkage pointer
  points back to itself instead of being NULL.

 -- Troy Heber <troyh@debian.org>  Wed, 13 Feb 2013 09:28:40 -0700

crash (6.1.2-1) UNRELEASED; urgency=low

  * New upstream version 6.1.2

  * Enhancement of the "task" command to display both the task_struct and the
    thread_info structures of a task.  The -R option accepts members of
    either/both structure types.

  * Fix for the X86_64 "search" and "rd" commands due to this commit:
    http://git.kernel.org/linus/027ef6c87853b0a9df53175063028edb4950d476 Upon
    any attempt to read a page within the RAM region reserved for AMD GART on
    a live system, the Linux 3.7rc1 commit above causes causes /dev/mem,
    /proc/kcore and the /dev/crash drivers to spin forever, leading to a
    kernel soft lockup.  The RAM pages reserved for GART consist of 2MB large
    pages whose _PAGE_PRESENT bits are turned off.  Prior to the above commit,
    a read() attempt on GART RAM would cause an unresolvable page fault, and
    would harmlessly return an EFAULT.  The commit above has changed
    pmd_large() function such that it now returns TRUE if only _PAGE_PSE bit
    is set in the PTE, whereas before it required both _PAGE_PSE and
    _PAGE_PRESENT.  So instead of just failing the read() system call with an
    EFAULT, the page fault handling code now considers it a spurious TLB
    fault, and the instruction is retried indefinitely.  The crash utility
    patch stores the GART physical memory range, and disallows any attempts to
    read from it.

  * If an EPPIC_GIT_URL environment variable is defined, then the URL that it
    points to is used as an alternative to the code.google.com git source
    repository for the eppic.so extension module.  However, the alternative
    site is only accessed if code.google.com can first be pinged; this patch
    removes that restriction.

  * Fix for the "files" command PATH display on kernels configured with
    CONFIG_DEVTMPFS, when the vfsmount pointer in an file structure's "f_path"
    member does not point to the root vfsmount required for reconstructing the
    full file pathname.  Without the patch, open files in /dev directory may
    be truncated and not show the "/dev" filename component.

  * Enhancement to the "kmem -v" option on 2.6.28 and later kernels that
    utilize the "vmap_area_list" list of mapped kernel virtual memory regions,
    replacing the usage of the to-be-obsoleted "vmlist" list.  In those
    kernels, the output of the command will also show each vmap_area structure
    address, in addition to its vm_struct address, memory range, and size.

  * Update to the exported do_rbtree() and do_rdtree() functions such that
    they will return the number of items found in the targeted tree, similar
    in nature to the do_list() function.  The two functions have also been
    fixed such that the VERBOSE flag is actually recognized, so that external
    callers are able to gather the entries in a tree without having them
    displayed.  The calls to either function may be enclosed with hq_open()
    and hq_close() so the that tree entries may be subsequently gathered by
    retrieve_list() into a supplied buffer, as well as to recognize a
    corrupted list with duplicate entries.

  * Fix for the "extend -u" option to prevent the usage of a member of a
    free()'d extension_table structure.  No command failure occurs, but rather
    an inadvertent coding error.

  * Fix to allow error() to be called during an open_tmpfile() sequence prior
    to close_tmpfile() being called.  There are no crash functions that call
    error() during an open_tmpfile() sequence, but there's no reason why it
    cannot be done.  Without the patch, the error message gets displayed on
    stdout (as expected), but the error message will also overwrite/corrupt
    the tmpfile() data while it is being parsed.

  * Fix to properly determine whether X86_64 kernels were configured with
    CONFIG_FRAME_POINTER, due to this ftrace-related commit:
    http://git.kernel.org/linus/d57c5d51a30152f3175d2344cb6395f08bf8ee0c
    Without the patch, the crash utility fails to determine whether the kernel
    was built with CONFIG_FRAME_POINTER, and therefore the "bt" command cannot
    take advantage of it for more reliable backtraces.

  * Fix to properly determine whether 2.6.31 and earlier X86_64 kernels were
    configured with CONFIG_FRAME_POINTER.  Without the patch, the crash
    utility may fail to determine whether the kernel was built with
    CONFIG_FRAME_POINTER.  In those kernel versions -- which may be dependent
    upon the compiler version used -- one of the sample functions tested may
    have their "push %rbp, mov %rsp,%rbp" function preamble separated by other
    instruction(s), resulting in a false negative that precludes the "bt"
    command from taking advantage of framepointers.

  * Fix for the file and line-number string that is displayed by the "sym
    <kernel-text>" option.  Without the patch, the "/usr/src/" part of the
    string is stripped, and the filename string itself could have two
    corrupted characters in the pathname, for example, showing
    "k3.nel-3.6.fc17" instead of "kernel-3.6.fc17".  This is dependent upon
    the compiler version, or perhaps the string library that is linked into
    the crash binary, because it only has been seen on crash binaries built
    with gcc-4.7.  The fix now displays the full pathname, no longer dropping
    the "/usr/src" from beginning.

  * Restricted the X86_64 "line_number_hook" to kernels earlier than 2.6.24,
    i.e., kernels prior to the x86/x86_64 merge.  Without the patch, the
    manufactured filename information for assembly-language files was
    incorrect for 2.6.24 and later kernels.  Also, the kernel debuginfo data
    now has file/line-number data for assembly-language files as well,
    obviating the need for the hook.

  * Fix for the extensions/trace.c extension module to prevent a double free
    exception that would occur if a calloc() call fails during module
    initialization.

  * Fix for the "p -u" option if a 32-bit kernel symbol is incorrectly passed
    as an argument.  Without the patch, the command fails, but the next
    command requiring the services of the embedded gdb module will generate an
    error message of the sort "*** glibc detected *** crash: free(): invalid
    pointer: <address> ***", or "*** glibc detected *** crash: munmap_chunk():
    invalid pointer: <address> ***", followed by a backtrace, and an abort of
    the crash session.

  * Fix for the embedded gdb module to correctly handle kernel modules whose
    ELF header contains "__ksymtab" and "__ksymtab_gpl" sections with non-zero
    nonsensical "Address" values.

  * Without the patch, if one of the odd sections above is encountered, the
    "Offset" values of the remaining sections are not processed; and if the
    module's .data section is ignored, gdb incorrectly calculates the address
    of all symbols in the module's .data section, leading to incorrect output
    if, for example, data is printed with the gdb "p" command.  This invalid
    ELF section format was introduced in Linux 3.0 by the kernel's
    "scripts/module-common.lds" file.

  * Fix for the "runq -g" option if the kernel contains more than 200 task
    groups.  Without the patch, the command generates a segmentation
    violation.

 -- Troy Heber <troyh@debian.org>  Wed, 13 Feb 2013 09:28:40 -0700

crash (6.1.1-1) UNRELEASED; urgency=low

  * New upstream version 6.1.1

  * Fixes for the ARM "vtop" command display of kernel unity-mapped virtual
    addresses.  Without the patch, the PGD, PMD values may be incorrect, and
    the PAGE value is always incorrectly calculated.

  * Fix for Linux 2.6.34 and later kernels that are configured with
    CONFIG_SLUB, but not configured with CONFIG_IKCONFIG, to be able to
    determine the kernel's CONFIG_NR_CPUS value.  Without the patch, if the
    actual number of cpus is larger than the crash utility's per-architecture
    NR_CPUS maximum value, then the cpus beyond the NR_CPUS limit would not be
    accounted for.

  * Increment the X86_64 NR_CPUS maximum value from 4096 to 5120.

  * Try to determine whether the kernel is running as a virtual machine by
    using any available kernel-specific data or by dumpfile type.  The results
    of the hypervisor type search will be stored in the internal kernel_table
    data structure, and if a hypervisor type can be determined, its name will
    be displayed by the "mach" command.  The result of the hypervisor
    determination, successful or otherwise, may be viewed during session
    initialization if the -d<number> command line option is invoked, or during
    runtime via the "help -k" option.  Only applicable to the X86, X86_64 and
    IA64 architectures.

  * Allow the "ps command" and "foreach name" command options to contain more
    than the kernel's maximum of 15 characters that are stored in each task's
    task_struct.comm[] array.  Without the patch, the two string arguments
    were required to be the possibly-truncated command name string in order to
    match.

  * Enhancement to the "ps" command to allow any of the "command" arguments to
    be POSIX extended regular expressions.  The expression string must be
    encompassed by "'" characters, and will be matched against the names of
    all tasks.

  * Add support for 2GB pages in the S390X virtual-to-physical address
    translation function.  Required for the new IBM zEC12 Mainframe.

  * Initial preparation for support of the ARM64 architecture.

  * Fix for the "log" command if a kernel message contains either a '\n' or a
    '\t'.  Without the patch, the two characters are replaced with a '.', and
    the message continues.  With the patch applied, the characters are
    printed, and if it is a '\n', spaces are inserted after the linefeed so
    that the subsequent characters in the message line up appropriately under
    the preceding line.

  * Fix for the "kmem -[sS]" options on kernels that configured with both
    CONFIG_SLUB and CONFIG_NODES_SHIFT, and that are running on hardware that
    generates NUMA node ids that are not numbered consecutively.  Without the
    patch, both command options fail with the error message "kmem: invalid
    kernel virtual address: 8  type: kmem_cache_node nr_partial".

  * Fix for the "trace.so" extension module's "trace show" command.  Without
    the patch, the output showing each trace point is shown with two
    hexadecimal virtual addresses instead of displaying them symbolically
    using the format "<function> <-- <function>".

  * Fixes for handling incomplete/invalid ELF or compressed kdump vmcores
    whose per-cpu NT_PRSTATUS notes are missing.  For example, this has been
    seen to happen when kexec/kdump incorrectly recognizes a Xen DomU kernel
    as a Xen Dom0 kernel.  Without the patch, possible ramifications would be
    a NULL pointer dereference during session intialization when searching for
    the panic task, or during the "bt" command on an active task.

  * Implemented a new "runq -g" option that displays CFS runqueue tasks
    hierarchically by task_group.  Tasks in throttled groups are also
    displayed.  The "runq" command with no option will no longer display
    task_group data for the RT queue.

  * Patchset for Xen support up to version 4.2:

  * Fix for the S390X virtual-to-physical address translation to allow the HW
    Change-bit override bit (0x100) to be used in page table entries.

  * Fix for a rarely-seen circumstance in which a kdump ELF vmcore of a Xen
    dom0 kernel gets incorrectly identified as a old-style netdump ELF vmcore.
    This has only been seen after the original kdump ELF vmcore was
    transformed via "makedumpfile -d1".  Without the patch, the crash session
    fails during initialization with the messages "crash: invalid size
    request: 0  type: xen kdump p2m mfn page", followed by "crash: cannot read
    xen kdump p2m mfn page".  If run against the Xen hypervisor, the session
    fails during initialization with the error message "crash: read error:
    kernel virtual address: <address>  type: crashing_cpu".

 -- Troy Heber <troyh@debian.org>  Wed, 13 Feb 2013 09:28:40 -0700

crash (6.1.0-1) unstable; urgency=low

  * Fix for 32-bit SADUMP dumpfiles to correctly check whether a requested
    physical address is within the 0-640K backup region.  Without the patch,
    requested physical addresses that are larger than 32-bits are truncated to
    32-bit values, leading to unexpected results.

  * Added support for the ELF dumpfile type that is generated by the new
    "virsh dump --memory-only" option.  The "--memory-only" option uses a new
    "dump-guest-memory" QEMU monitor command that creates an ELF kdump vmcore
    clone.  The "virsh dump" command continues to borrow the "migrate" QEMU
    monitor command to create a file that is designed for guest migration, and
    not well-suited for a vmcore because it is not designed for random-access
    of physical memory.  A new "help -r" option has been added to dump the
    registers that are stored in per-cpu "QEMU" ELF notes; those notes are
    used to distinguish this dumpfile type from regular kdump ELF vmcores.
    The patch also combines common functionality between the new format and
    the SADUMP format.

  * Fix for the "runq" command for kernels that have the CFS scheduler.
    Without the patch, a cpu's RT runqueue may incorrectly display "[no tasks
    queued]" when in fact there are tasks on its queue.

  * In the highly-unlikely event that a pre-Linux 3.5 kernel's log buffer
    cannot be read during initialization, display a message indicating
    "WARNING: cannot read log_buf contents", and just continue.  Without the
    patch, a "readmem" error would be displayed and the crash session would be
    killed.

  * Updated the "net -a" option to support Linux 2.6.9 to 3.6.0.  Without the
    patch, the option displayed "net: -a option not supported or applicable on
    this architecture or kernel".

  * Enhanced the "net -a" option to show the struct neighbour address
    associated with each line of output.

  * Fix for the "runq" command for kernels that are configured with
    CONFIG_RT_GROUP_SCHED.  Without the patch, tasks contained within an RT
    group scheduling entity are not displayed.

  * Fix for "crash --version" or "crash -v" to prevent the sourcing of a
    .gdbinit file that is located in the current directory.

  * Preemptive fix to handle this patch to the x86 devmem_is_allowed()
    function that was posted on the Linux Kernel Mailing List here:
    https://lkml.org/lkml/2012/8/28/357 If the proposed kernel patch put into
    place, a failed attempt to use /dev/mem when the kernel is configured with
    CONFIG_STRICT_DEVMEM will not result in an automatic attempt to use
    /proc/kcore.  With this crash utility patch, the automatic switch to
    /proc/kcore will be attempted regardless whether the kernel patch is
    accepted or not.

  * Patch for CVE-2012-3509: libiberty: objalloc_alloc integer overflows

  * Fix for Linux 3.0 and later kernels that have been configured with
    CONFIG_SLAB, and without CONFIG_NODES_SHIFT (or have set it to 0).
    Without the patch, the warning messages "crash: nr_node_ids: symbol does
    not exist" and "crash: unable to initialize kmem slab cache subsystem" are
    displayed during initialization, and the "kmem -[sS]" options fail with
    the message "kmem: kmem cache slab subsystem not available".

  * Allow the build procedure to use an alternate compiler by passing "make
    CC=<compiler>" to the top-level Makefile.

  * Allow the user to append options to the "configure" script that is invoked
    by the initial embedded gdb build procedure.  The additional options
    should be put in a file named "GDBFLAGS.extra" located in the top-level
    directory.

  * Change for the "ps" command if a task is stopped due to the task being
    traced by another task.  Without the patch, the traced task is shown with
    the "ST" (stopped) status; with the patch it will be shown with a "TR"
    ncement of the "task" command to display both the task_struct and the
    thread_info structures of a task.  The -R option accepts members of
    either/both structure types.
  * The "TR" state has been added to the "foreach" command's list of task
    state qualifiers.  Without the patch, there is no way to filter out tasks
    that are stopped due to being traced by another task.

  * Fix for passing a a "gdb" command to a crash session via a pipe if there
    are any spaces preceding the "gdb" command name in the string.  Without
    the patch, the command will fail with the error message "gdb: gdb request
    failed: <truncated input-string>".

  * Preparation for the future S390/S390X structure name change from
    "_lowcore" to "lowcore".  The patch checks which structure is defined and
    uses the correct name.

  * Replaced datatype_info() calls in do_radix_tree() and do_rdtree() with
    preferred MEMBER_SIZE() macro.

 -- Troy Heber <troyh@debian.org>  Tue, 23 Oct 2012 09:48:28 -0600

crash (6.0.9-1) UNRELEASED; urgency=low

  * Fix for building on host machines that have glibc-2.15.90 installed, in
    which case the glibc header file /usr/include/bits/siginfo.h no longer
    declares a "struct siginfo", but only the "siginfo_t" typedef.  Without
    the patch, the build of the embedded gdb module fails with the error
    message "linux-nat.h:63:18: error: field 'siginfo' has incomplete type".

  * Add support for reading compressed kdump dumpfiles that were compressed by
    the snappy compressor.  This feature is disabled by default.  To enable
    this feature, build the crash utility in the following manner: (1) Install
    the snappy libraries by using the host system's package manager or by
    directly downloading libraries from author's website.  The packages
    required are: - snappy - snappy-devel The author's website is:
    http://code.google.com/p/snappy (2) Create a CFLAGS.extra file and an
    LDFLAGS.extra file in top-level crash sources directory: - enter -DSNAPPY
    in the CFLAGS.extra file - enter -lsnappy in the LDFLAGS.extra file.  (3)
    Build crash with "make" as always.

  * Prevent the "ptov" command from returning an invalid virtual address on
    32-bit architectures.  Without the patch, the command may result in an
    invalid virtual address if the physical address entered cannot be accessed
    by a unity-mapped kernel virtual address.  The patch verifies that the
    calculated virtual address can be translated back into the supplied
    physical address.

  * Fix to automatically try /proc/kcore as an alternative live memory source
    when the /dev/crash driver does not exist and /dev/mem is unusable because
    the kernel was configured with CONFIG_STRICT_DEVMEM.  Without the patch,
    the automatic switch from /dev/mem to /proc/kcore is only attempted on the
    X86 and X86_64 architectures.

  * Added missing linefeeds to several error messages in makedumpfile.c.

  * Fix for a regression introduced by a crash-5.1.1 patch that reworked the
    handling of "set" commands that are put in .crashrc files, such that only
    certain command options would get resolved before the crash session is
    initialized.  Without this patch, the "--less", "--more", "--no_scroll"
    and "--CRASHPAGER" crash command line options do not properly override
    conflicting "set scroll <option>" entries that are put in a .crashrc file.

  * Added new "--hex" and "--dec" crash command line options, which will set
    the command output format to hexadecimal or decimal.  These two command
    line options will override any "set radix [10|16]" settings in a .crashrc
    file; since decimal is the default, the "--dec" option would only be
    necessary to override a "set radix 16" setting in a .crashrc file.

  * Fix for the "runq" and "timer" commands when running against 2.6.34 and
    later kernels that are not configured with CONFIG_SMP.  Without the patch,
    the "runq" command fails with the error message "runq: per-cpu runqueues
    does not exist", and the "timer" command fails with the error message
    "timer: zero-size memory allocation! (called from <address>)".

  * If code.google.com is not available from the host build machine, then
    "make extensions" will be delayed by a 10 minute timeout of the "git
    clone" command that downloads the EPPIC library and extension module
    source tree.  The patch pings code.google.com first in order to determine
    its availability before attempting the download.

  * For kernel versions 3.5 and later, in which the kernel log buffer has been
    converted from a byte-buffer to a variable-length record buffer, the "log
    -m" option will display the level in hexadecimal, and depending upon the
    kernel version, the value also contains either the facility or flags bits.

  * Fix for accessing the per-cpu registers from ARM vmcores generated by
    recent kernels in which the per-cpu data region has been moved into mapped
    kernel virtual address space.  Without the patch, an incorrect physical
    address is calculated, resulting in bogus register contents.

  * Check that an s390x dumpfile is a "live dump" earlier during session
    initialization so that the internal LIVE_DUMP flag will get set when
    "crash --minimal" is invoked.

  * Removed the usage of C++ keywords in structure and structure member names
    declared in "defs.h" so that extension modules written in C++ will compile
    successfully.  Accordingly, the "struct namespace" is renamed to "struct
    symbol_namespace", the struct symbol_table_data's "namespace" member is
    renamed to "kernel_namespace", and the struct gnu_request's "typename"
    member is renamed to "type_name".

  * Fix for the date displayed by the initial system banner and by the "sys"
    command for Linux version 3.6 and later.  Without the patch, the date
    displayed will be that of the UNIX epoch, i.e., midnight, Jan 1, 1970 UTC,
    adjusted to local time.

  * When the eppic.so extension module is built by "make extensions", the
    EPPIC source tree is downloaded from its upstream source repository at
    https://code.google.com/p/eppic.  However, if an EPPIC_GIT_URL environment
    variable is defined, then the URL that it points to will be used as an
    alternative git source repository.

  * Fix for a segmentation violation generated by the "struct" command when
    printing a structure member using the "struct_name.member" argument
    format, where the member is a "char *" that points to a string that
    contains a "%" character.

  * Patchset to support the most recent Xen hypervisor and Xen pvops kernels:
    (1) Always calculate max_cpus value (2) Read only crash notes for onlined
    CPUs (3) Read variables from dynamically allocated per_cpu data (4) Get
    idle data from alternative source (5) Read data correctly from dynamically
    allocated console ring (6) Add support for 3 level P2M tree

  * Fix for building a 32-bit eppic.so extension module after having built
    crash with "make target=ARM" or "make target=X86" on an x86_64 host.
    Without the patch, the eppic.so extension module would be built as a
    64-bit binary.

  * For the ARM architecture, fix the determination of the kernel modules base
    address when modules are not installed, and update the "mach" command to
    display the "KERNEL MODULES BASE" address.

  * Fix for the "kmem -[sS]" commands for Linux version 3.6 and later kernels
    configured with CONFIG_SLUB.  Without the patch, the commands fail with
    the error message "kmem: invalid structure member offset:
    kmem_cache_objsize".

  * Fix for an invocation failure when running against Linux version 3.6 and
    later kernels that are configured with CONFIG_SLAB.  Without the patch,
    the crash session fails during initialization with the error message
    "crash: invalid structure member offset: kmem_cache_s_next".

  * Fix for the "kmem -[sS]" commands on kernels that are configured with
    CONFIG_SLUB to prevent a silent hang if a per-node slab cache partial list
    recurses back onto itself.  Without the patch, it was necessary to kill
    the command; with the patch an error message is displayed and the command
    continues on to the next kmem slab cache.

  * Fix for the "kmem -[sS]" and "kmem -s list" options on dumpfiles from
    kernels that are configured with CONFIG_SLUB which have been filtered by
    the makedumpfile facility.  Without the patch, it is possible that those
    commands may generate the error message "kmem: page excluded: kernel
    virtual address: <address>  type: kmem_cache buffer", and would require
    either the "--zero_excluded" command line option or having to execute "set
    zero_excluded on" during runtime in order to complete successfully.

 -- Troy Heber <troyh@debian.org>  Wed, 22 Aug 2012 07:03:58 -0600

crash (6.0.8-1) UNRELEASED; urgency=low

  * Introduction of a new "tree" command that can be used to dump the the
    addresses of all data structure entries in a red-black tree or a radix
    tree.  Similar in nature to the "list" command, each data structure in a
    tree can be dumped in total, or one or more members in each strucure may
    be dumped.

  * If a compressed kdump header contains an invalid "nr_cpus" value, allow
    the crash session to continue after printing a warning message.  Without
    the patch, on non-S390/S390X systems, an invalid nr_cpus value generates a
    message such as "crash: compressed kdump: invalid nr_cpus value: 0", and
    the session subsequently fails with the message "crash: vmcore: not a
    supported file format".  However, compressed kdumps have been seen that
    have an nr_cpus value of 0, but the session can still run normally.  The
    patch changes the message to "WARNING: compressed kdump: invalid nr_cpus
    value: 0", and the session is allowed to continue.

  * Clarify the "help -n" output for compressed kdumps to show the offsets and
    sizes of the vmcoreinfo, notes, and eraseinfo sections  in both
    hexadecimal and decimal, and to cleanly handle compressed kdumps that have
    no NR_PRSTATUS notes in the notes section.

  * Fix for the X86 "bt" command for a possible situation where the crashing
    cpu's back trace starts at the "sysrq_handle_crash" stack frame instead of
    farther down the stack below the exception at the "crash_kexec" stack
    frame.

  * Fix for the "runq" command for kernels that have the CFS scheduler.
    Without the patch, tasks queued on a priority array of a cpu's RT runqueue
    may not be displayed.

  * Fix for analyzing dumpfiles from kernel version 3.5 and later, in which
    the kernel log buffer has been converted from a byte-buffer to a
    variable-length record buffer.  Without the patch, the crash session fails
    during initialization with the error message "crash: cannot determine
    length of symbol: log_end".  If the session is run on a live system, or if
    the session is invoked with the "-s" command line option, the session is
    not killed, but in those cases the "sys" and "log" commands will fail with
    the same error message.

  * For kernel versions 3.5 and later, in which the kernel log buffer has been
    converted from a byte-buffer to a variable-length record buffer, two new
    options have been added.  The "log -t" option will display log messages
    without the timestamp prepended.  The "log -d" option will display the
    dictionary of key/value pair properties that the kernel's dev_printk()
    function optionally appends to a message.

  * The SIAL extension module has been replaced by the "eppic" facility, which
    stands for "Embeddable Pre-Processor and Interpreter for C".  The eppic
    git tree is located at http://code.google.com/p/eppic.  When "make
    extensions" is done, the eppic source code will be downloaded
    automatically via "git clone", and then the "eppic.so" extension module
    will be built.  The "eppic.so" extension module offers the same command
    set as the older "sial.so" module; the SIAL extension module source files
    have been completely removed.  If desired, the eppic sources can be
    updated by executing "git pull" from the "extensions/eppic" subdirectory.

  * Added a new "list -h" option.  When used with -h, the "start", address
    must be the address of a data structure that contains an embedded
    list_head structure.  Updated the "list" help page to more clearly
    differentiate the difference between using a "start" address alone, "-H
    start", or "-h start", and added a WARNING section to address the problem
    of "-h start" passing through an external LIST_HEAD(), or passing though
    the actual starting point of the list that is contained within a different
    type of data structure from all the entries in the list.

  * Implemented a new "scope" crash environment variable that can alter the
    text scope for viewing the definition of data structures.  It is useful in
    cases where the kernel defines more than one instance of of a data
    structure with the same name, and the "wrong" one is selected by default.
    The variable takes a kernel or module text symbol name or address, or an
    expression evaluating to the same.  If the variable is a module text
    address, then the command will attempt to load the module into the crash
    session if it is not already loaded; if that fails, then the setting of
    the variable will fail.

  * Update to the extensions/trace.c extension modue to handle a kernel
    version 3.4 patch that added a new "ring_buffer_per_cpu.nr_pages" member,
    making the trace buffer size per-cpu.

  * Fix to recognize a kernel version 3.5 patch that changed the "qstr.len"
    member from an unsigned integer into a member of an anonymous structure
    within an anonymous union.  Without the patch, the following commands
    fail, displaying the following error messages: mount: "mount: invalid
    structure member offset: qstr_len" files: "files: invalid structure member
    offset: qstr_len" vm: "vm: invalid structure member offset: qstr_len"
    swap: "swap: invalid structure member offset: qstr_len fuser: "files:
    invalid structure member offset: qstr_len"

  * The "fuser" command generates the above error because it uses the "files"
    command behind the scenes.

  * Fix for the function that gathers a cpu's register set from an NT_PRSTATUS
    note of an x86 or x86_64 compressed kdump header if one or more cpus were
    offline when the system crashed.  In that case, if the requested cpu
    number is equal or greater than the number of online cpus, the function
    will fail.  When that happens, that cpu's back trace will not have those
    registers as a fall-back option if the starting point cannot be determined
    otherwise.

  * Added "ipcs" and "tree" command references to the crash.8 man page.

  * Redefined the usage of the "struct -o" flag when used in conjunction with
    a symbol or address argument.  Without this patch, the behavior has been
    to print the warning message "struct: -o option not valid with an address
    argument", ignore the "-o", and to just display the structure at that
    address.  With this patch, each structure member will be proceded by its
    virtual address.

  * Added new "bt -s [-xd]" options that will display symbol names plus their
    offset in each frame.  The default behavior is unchanged, where only the
    symbol name is displayed.  The symbol offset will be expressed in the
    default output format, which can be overridden with the -x or -d options.

  * Fix for 32-bit PPC to handle a situation where one or more NT_PRSTATUS
    note(s) were not captured in the kdump header due to cpu(s) not responding
    to an IPI.  Without the patch, the "bt" command may result in a
    segmentation violation.

  * Fix for building the PPC64 architecture in ppc64 environments where where
    applications are built 32-bit by default when -m32 or -m64 are not
    specified.  This was a regression introduced in the crash-6.0.3 patch that
    introduced the "make target=PPC" feature that can be performed on ppc64
    hosts.  Without the patch, a "make" command would build a 32-bit PPC crash
    utility on such ppc64 hosts.

  * Fix for the 32-bit PPC "irq" command.  Without the patch, depending upon
    the kernel version, the command would fail with the message "irq: cannot
    determine number of IRQs", or "irq: invalid structure size: irqdesc".

  * Fix for the 32-bit PPC "pte" command to properly translate the PTE bit
    settings based upon the correct Book3E specifications.

 -- Troy Heber <troyh@debian.org>  Mon, 02 Jul 2012 17:03:16 -0600

crash (6.0.7-1) UNRELEASED; urgency=low

  * Enhanced the "search" command to allow the searched-for value to be
    entered as a crash (expression) or a kernel symbol name.  The resultant
    value of an (expression) or kernel symbol value must fit into in the
    designated value size if -w or -h are used, and neither variant may be
    used with the -c option.  If found, both the resultant value and the
    argument input string will be displayed next to the target address(es).

  * Added a new "search -t" option that will restrict the search to the kernel
    stack pages of all tasks.  If one or more matches are found in a task's
    kernel stack, the output is preceded with a task-identifying header.

  * Fix for the s390x "bt -[tT]" options when run on an active task on a live
    system.  Without the patch, the options fail with the message "bt:
    invalid/stale stack pointer for this task: 0".

  * Fix for s390x "vm -p" option, which may show invalid user to physical
    address translation data if a page is not mapped.  Without the patch, a
    page's translation may indicate "<address>   SWAP: (unknown swap location)
    OFFSET: 0", or show an incorrect swap offset on an actual swap device.

  * Added new "vm -[xd]" options to be used in conjunction with "vm -[mv]",
    which override the current default output format with hexadecimal or
    decimal format for just the command instance.  Without the patch, it would
    require changing the default output format with "hex" or "dec" prior to
    executing "vm -[mv]".  The new flags may also be used with "foreach vm
    -[mv]".

  * Fix for the s390x "vm -p" and "vtop -u <user-address>" commands if the
    page containing the relevant PTE is not mapped.  Without the patch, the
    commands fail with the error message "vm: read error: kernel virtual
    address: 0  type: entry" or "vtop: read error: kernel virtual address: 0
    type: entry"

  * Fix for the s390x "vm -p" command and "vtop -u <user-address>" commands to
    properly translate pages that are swapped out into their swap file and
    offset.  Without the patch, the swap file and offset would not be
    displayed.

  * Added new "list -[xd]" options to be used in conjunction with "list -s",
    which override the current default output format with hexadecimal or
    decimal format for just the command instance.  Without the patch, it would
    require changing the default output format with "hex" or "dec" prior to
    executing "list -s".

  * Added new "net -[xd]" options to be used in conjunction with "net -S",
    which override the current default output format with hexadecimal or
    decimal format for just the command instance.  Without the patch, it would
    require changing the default output format with "hex" or "dec" prior to
    executing "net -S".  The new flags may also be used with "foreach net -S".

  * Added new "mach -[xd]" options to be used in conjunction with "mach -c",
    which override the current default output format with hexadecimal or
    decimal format for just the command instance.  Without the patch, it would
    require changing the default output format with "hex" or "dec" prior to
    executing "mach -c".

  * If the value read from the cpu online, present, or possible masks contains
    a cpu bit value that is outside the architecture's maximum NR_CPUS value,
    print a warning message during invocation.  Without the patch, a corrupt
    vmcore containing a bogus mask value could quietly corrupt heap memory.

  * Add support to for reading dumpfiles compressed by LZO using makedumpfile
    version 1.4.4 or later.  This feature is disabled by default.  To enable
    this feature, build the crash utility in the following manner: (1) Install
    the LZO libraries by using the host system's package manager or by
    directly downloading libraries from author's website.  The packages
    required are: - lzo - lzo-minilzo - lzo-devel The author's website is:
    http://www.oberhumer.com/opensource/lzo (2) Create a CFLAGS.extra file and
    an LDFLAGS.extra file in top-level crash sources directory: - enter -DLZO
    in the CFLAGS.extra file - enter -llzo2 in the LDFLAGS.extra file.  (3)
    Build crash with "make" as always.

  * Fix for the included "trace" extension module.  Without the patch, if the
    module initialization sequence fails, a double-free in the module may lead
    to a subsequent malloc() segmentation violation in the crash session.

  * Incorporated the "ipcs" extension module written by Qiao Nuohan as a
    built-in command.  The command displays the kernel's usage of the System V
    shared memory, semaphore and message queue IPC facilities.  It differs
    from the original extension module by fixing a failure scenario if the
    current task is exiting, and adds a "-n pid|task" option, which displays
    the IPCS facilities with respect to the namespace of a given pid or task.

  * Fix for a gdb-7.3.1 regression that causes the line number capability to
    fail with certain ranges of x86 base kernel text addresses.  Without the
    patch, the "dis -l <symbol>" or "sym <symbol>" commands would fail to show
    line number information for certain ranges of base kernel text addresses.

  * Added a new "printm" command to the embedded gdb module.  It is currently
    only used by the "pstruct" extension module, but can be used to dump the
    type, size, offset, bitpos and bitsize values of an expression.

  * Added a new "runq -t" option that displays the timestamp information of
    each cpu's runqueue, which consists of either the rq.clock, the
    rq.most_recent_timestamp or rq.timestamp_last_tick value, whichever
    applies.  Following each cpu timestamp is the last_run or timestamp value
    of the active task on that cpu, whichever applies, along with the task
    identification.

  * Fix for an initialization-time warning when running on a live system with
    the most recent version of the modprobe command, which no longer supports
    the -l and --type options.  The modprobe is used to detect whether the
    crash.ko memory driver is part of the distribution.  Without the patch, a
    warning message is issued that indicates "/sbin/modprobe: invalid option
    -- 'l'".  If the driver is built into the kernel, the message is harmless.
    If the driver is not built into kernel, then the crash.ko (/dev/crash)
    driver would not be selected as the live memory source.

 -- Troy Heber <troyh@debian.org>  Fri, 01 Oct 2012 11:17:42 -0600

crash (6.0.6-1) unstable; urgency=low

  * New upstream version 6.0.6
  * Extend the supported cross-architecture build capability so that it
    applies to the SIAL extension module.  Without the patch, when building
    the SIAL module in an environment where the overlying crash utility was
    built with "make target=ARM", "make target=PPC", or "make target=X86", the
    SIAL extension module would continue to be built for the host
    architecture.
  * Fixes for memory leaks and possible segmentation violations when unloading
    SIAL extension module scripts.
  * Fix for the new "foreach RU" task state qualifier.  Without the patch, the
    runnable tasks are not selected.
  * Fix to disallow multiple task states from being entered using the "foreach
    <task-state>" qualifier.  Without the patch, if multiple states were
    entered, the last one on the command line would be honored.
  * Fix for the "extend" command to allow the usage of 32-bit PPC extension
    modules.  Without the patch, the command fails with the message: "extend:
    <object>.so: not an ELF format object file".
  * If an input line starts with "#" or "//", then the line will be saved as a
    comment that is visible when re-cycling through the command history list.
  * Fix for a crash-5.1.9 regression that broke the "bt -g" option.  Without
    the patch, the option is ignored completely.
  * Fix for s390x virtual-to-physical translation of virtual addresses that
    are backed by 1MB pages.
  * The s390x has a dumpfile method that creates "live dumps", where the
    kernel continues to run while the dumpfile is being created.  The initial
    system banner display and the "sys" command will inform the user that the
    dumpfile is a "[LIVE DUMP]", and the "bt -a" option will fail with the
    message "bt: -a option not supported on a live system or live dump".
  * Newly-created dumpfiles generated by the "snap.c" extension module will
    now be recognized as "live dumps".  Accordingly, the initial system banner
    display and the "sys" command will inform the user that the dumpfile is a
    "[LIVE DUMP]", and the "bt -a" option will fail with the message "bt: -a
    option not supported on a live system or live dump".
  * If "bt" alone is attempted on an active task in a "live dump", it will
    indicate "(active)", i.e., the same as if it were attempted on a live
    system.
  * If an extension module does not define the appropriate architecture, i.e.,
    "-DX86", "-DX86_64", etc., then the inclusion of "defs.h" will generate a
    compiler failure indicating "error: 'NR_CPUS' undeclared here (not in a
    function)".  In that case, the architecture will now default to that of
    the host machine.
  * Prevent a highly-unlikely incorrect calculation of the maximum cpudata
    array length of a kmem_cache during initialization of of CONFIG_SLAB
    kernels.
  * Prevent an infinite loop during the initialization of the kmem_cache
    subsystem in CONFIG_SLAB kernels if the cache list or the vmcore is
    corrupt.  If the kmem_cache list links back into itself, messages showing
    the first "duplicate" entry in the list and "crash: unable to initialize
    kmem slab cache subsystem" will be displayed.
  * Update to the "mod" command to additionally search for module object files
    in the directory containing the kernel namelist (vmlinux) file.  This will
    allow an alternate module-debuginfo directory tree to be set up like so: #
    cd <directory> # rpm2cpio kernel-debuginfo-<release>.rpm | cpio -idv
    Having done that, and by referencing the vmlinux file in that directory
    tree directly or by symbolic link, the "mod" command will search for
    module object files starting from the directory containing the vmlinux
    file if they are not found in the standard /lib/modules/<release>
    directory.
  * Update to the s390x "bt" command if a task was running in userspace.
    Without the patch, the back trace display ended at the kernel entry
    function frame; with the patch, the user space PSW register is displayed
    with a "(user space)" tag, followed by the general purpose register set.
  * In the unlikely event that the access of ARM or x86_64 kernel unwind table
    data fails during crash invocation, print a warning message and allow the
    crash session to continue.  Without the patch, the crash session would
    fail immediately.

 -- Troy Heber <troyh@debian.org>  Thu, 10 May 2012 09:18:26 -0600

crash (6.0.5-1) unstable; urgency=low

  * New upstream version 6.0.5
  * Enhancement to the "foreach" command to allow any of the "name" arguments
    to be POSIX extended regular expressions.  The expression string must be
    encompassed by "'" characters, and will be matched against the names of
    all tasks.
  * Fix for the embedded gdb module's "ptype" command, and by extension, the
    crash utility's "struct" command, to be able to fully display embedded
    structure or union members of a structure/union.  Without the patch, if a
    structure or union is a member of a structure or union that is a member of
    a structure or union, then it is displayed as "struct {...}" or "union
    {...}".
  * Extend the "ps -l" output to also display the task state next to its
    last_run/timestamp value.
  * Enhancement to the "foreach" command which adds a new "state"
    task-indentifier argument that filters tasks by their task state.  The
    state argument may be any of the task states displayed by the "ps"
    command: RU, IN, UN, ST, ZO, SW or DE.
  * Implemented a new pc->cmd_cleanup function pointer and an optional
    pc->cmd_cleanup_arg argument that will allow any command to register a
    function and an optional argument that will be called after a command has
    completed successfully, or more likely, unsuccessfully.  Normally the only
    cleanup required for a command is the freeing of buffers that were
    allocated with GETBUF(), but that is performed automatically after each
    command is run.  However, with the introduction of the new POSIX regular
    expression functionality of the "foreach" command, there needed to be a
    way to call regfree() in the case where where regcomp() was called
    successfully, but then the command later encountered one of several fatal
    error conditions.  This facility is also available for use by extension
    module commands.
  * Enforce the usage of a kernel thread's pgd from its active_mm for the ARM
    "vtop -c" command; if its active_mm is NULL, make the command fail
    similarly to the other architectures, displaying the error message "vtop:
    no active_mm for this kernel thread".
  * Fix for the x86_64 "bt" command running against recent kernels if an
    active task was operating on its IRQ stack when the crash occurred.
    Without the patch, the determination of the IRQ exception frame was
    off-by-8, displaying invalid register data and the error message "bt:
    WARNING: possibly bogus exception frame".
  * Update to handle the vfsmount structure change in 3.3 kernels, in which
    most members of the vfsmount structure have been moved into a new "struct
    mount", and the vfsmount structure has been embedded in the new mount
    structure.
  * Fix for the "ps" command to prevent the display of "??" under the ST (task
    state) column.  Without the patch, in more recent kernels, if more than
    one bit were set in the task_struct.state field, the state would display
    "??".  With the fix, the primary state will always be displayed.
  * Update to the output of the "set" command when it displays a task's state.
    Without the patch, if more than one bit was set in the task_struct.state
    field, "STATE: (unknown)" would be displayed.  With the fix, all bits in
    both the task_struct.state and task_struct.exit_state fields are
    translated.
  * Implemented a new "vm -P <vma-address>" option, which is similar to "vm
    - p", but only does the page translations of the specified VM area of a
    context.
  * Add support for the Freescale PowerPC e500mc version of the E500 processor
    chipset, and rework the PPC platform-specific code in order to more easily
    support new processors.
  * Implemented a new "gdb" crash environment variable that can be used to
    alter a crash session's behavior such that all commands are passed
    directly to the embedded gdb module.  The new mode is turned on and off by
    entering "set gdb on" and "set gdb off".  When running in this mode, the
    command prompt will be "gdb>".  In order to execute native crash commands
    while running in this mode, precede the command with the "crash"
    directive, for example, "crash ps".
  * Fix for a "*** stack smashing detected ***: crash terminated" failure
    during the initial system banner display on a 32-bit PPC platform.
  * Redesigned/simplified the internal read_string() function to prevent a
    potential segmentation violation.
  * Updates for the 32-bit PPC "vtop" command output: (1) Translate kernel
    virtual addresses for FSL BOOKE by using the TLBCAM setting (2) Remove the
    PMD line from the display (3) Fix the displayed PHYSICAL values of FSL
    BOOKE PTE format
  * Fix for crash invocation failure on 3.3-era kernels in which the the
    former standalone "xtime" timespec structure has been moved into the
    "timekeeper" structure.  Without the patch, the crash session would fail
    early on with the message "crash: cannot resolve: xtime".  The patch also
    prevents the crash session failure in the unlikely event that the timespec
    access fails.

 -- Troy Heber <troyh@debian.org>  Thu, 29 Mar 2012 09:41:13 -0600

crash (6.0.4-1) unstable; urgency=low

  * New upstream version 6.0.4
  * Fix to allow the recently-added "mod -g" and "mod -r" options to be used
    together.  Without the patch, if both options were used, the command would
    fail with a "mod: invalid option" error complaining about one or the other
    option letter.
  * Additional update for 3.1.x and later kernels configured with CONFIG_SLAB,
    which have replaced the kmem_cache.nodelists[] array with a pointer to an
    outside array.  Without the patch, depending upon a system's cpu
    configuration and actual cpu count, the crash session may display "crash:
    unable to initialize kmem slab cache subsystem" during invocation, or if
    it does succeed, "kmem -s" may generate a segmentation violation.
  * Document the "crash [-h|--help] all" option in the crash.8 man page and in
    the "crash [-h|--help]" output.
  * Fix the S390/S390X-specific "s390dbf" command's "hex_ascii" debug data
    printing routine to prevent the display of non-ASCII characters.
  * Fix for ARM stack unwinding on 3.2 and later kernels due to commit:
    http://git.kernel.org/linus/de66a979012dbc66b1ec0125795a3f79ee667b8a
  * Implemented a new "search -x <count>" option that displays the memory
    contents before and after any found search target.  The before and after
    memory context will consist of "count" memory items of the same size as
    the searched-for value.  This option is not applicable with the -c option.
  * Fix for the x86_64 Xen hypervisor "bt" command.  Without the patch, the
    contents of the RDX register in exception frames incorrectly shows the
    contents of the RCX register.
  * Implementation of a platform-based vmalloc address translation scheme for
    the 32-bit PPC architecture, introducing support for the PPC44X platform
    while maintaining the current default platform.  Related to that, the PTE
    translation function used by "vtop" properly handles platforms that use
    64-bit PTEs, and the "mach" command displays the kernel's
    "powerpc_base_platform" name string.
  * Fix for the usage of native gdb commands where the command output is
    redirected to a pipe and then redirected to a file.
  * Fix to prevent a crash session that is run over a network connection that
    is killed/removed from going into 100% cpu-time loop.  The fix that went
    into crash-5.0.2 to handle the change in behavior of the built-in
    readline() library call does not suffice in cases where readline() never
    gets a chance to be called.  Accordingly, the crash session is now
    initialized with a PR_SET_PDEATHSIG prctl setting, which will cleanly kill
    itself upon its parent's death.
  * Fix for the support of PPC64 compressed kdumps, a regression that was
    introduced in crash-6.0.3 when support for 32-bit PPC compressed kdumps
    was implemented.  Without the patch, the crash session fails to
    initialize.
  * Fix for the x86_64 "bt" command to prevent the possible skipping of the
    stack frame just above an exception frame that indicates "[exception RIP:
    unknown or invalid address]".  This highly-unlikely event could occur if
    the kernel jumps to a bogus text location and attempts to execute it, or
    if the exception occurs in vmalloc space that was allocated with
    module_alloc() by a systemtap kprobe-handler, and therefore has no
    symbolic reference.

 -- Troy Heber <troyh@debian.org>  Mon, 05 Mar 2012 13:11:27 -0700

crash (6.0.3-1) unstable; urgency=low

  * New upstream version 6.0.4
  * Fix to gdb-7.3.1/bfd/bfdio.c to properly zero out a complete struct stat
    with a corrected memset argument; caught when compiling with the Clang
    Static Analyzer.
  * Fix for the SIAL extension module to remove a call to sial_free() for an
    uninitialised variable that can result in a segmentation violation when
    unloading a sial script.
  * Fix for the "runq" command for kernels that are configured with
    CONFIG_FAIR_GROUP_SCHED.  Without the patch, tasks contained within the
    task-group of a cpu's currently-running task may not be displayed.
  * Implemented support for the analysis of 32-bit PPC ELF kdump vmcores.
  * Implemented the capability of building a PPC crash binary on a PPC64 host,
    which can be done by entering "make target=PPC".  After the initial build
    is complete, subsequent builds can be done by entering "make" alone.
  * Determine the PPC page size from the kdump PAGESIZE vmcoreinfo data.
  * Fix for the "kmem -[sS]", "kmem -[fF]" and "kmem <address>" options in 3.2
    kernels.  Without the patch, the commands fail with the error "kmem:
    invalid structure member offset: page_lru".
  * Addition of a set of dumpfile read diagnostic debug statements.  They are
    primarily of use when dealing with kdump invocation or runtime read
    failures (ELF kdumps or compressed kdumps), and can serve to help pinpoint
    the problem as a faulty/corrupted dumpfile vs. a crash utility bug.  Some
    statements are seen when invoking crash with "-d1", more with "-d4", and
    all of them with "-d8".  During runtime, debug statements may be seen by
    entering "set debug <level>".
  * Fix for X86 kernels that have CONFIG_X86_32, CONFIG_DISCONTIGMEM,
    CONFIG_DISCONTIGMEM_MANUAL and CONFIG_NUMA all configured.  Without the
    patch, the VM subsystem fails to initialize properly because the pgdat
    structures are allocated by the remap allocator.
  * Fix for the "vtop" command on large NUMA X86 kernels where a node's
    starting physical address is larger than 32-bits.  Without the patch, the
    page struct contents of a virtual address  may not be displayed.
    Associated with that fix, the "kmem -n" line that displays a node's
    MEM_MAP, START_PADDR and START_MAPNR values has been adjusted to more
    properly handle large physical addresses.
  * Update for the ARM architecture to recognize a recent change of its
    vmlinux section name from ".init" to ".init.text".  Without the patch, a
    warning message indicating "crash: cannot determine text init space" is
    displayed during initialization.
  * Significant speed increase of the "kmem -p" command, especially on
    large-memory systems.
  * Implemented new "irq -a" and "irq -s" options.  The "irq -a" option
    displays the cpu affinity for in-use IRQs.  The "irq -s" option displays
    per-cpu IRQ stats in a similar manner to /proc/interrupts for all cpus.
    To show a limited set of per-cpu IRQ stats, there is an associated "-c"
    option that limits the cpus shown, which can be expressed as "-c 1,3,5",
    "-c 1-3", or "-c 1,3,5-7,10".  The options are currently restricted to
    X86, X86_64, ARM, PPC64 and IA64.
  * Removal of a redundant read of the kernel's __per_cpu_offset pointers in
    the ARM architecture's arm_get_crash_notes() function.
  * Fix for an ARM architecture segmentation violation because of a stack
    overflow due to recursion in the page table translation code.  This was
    seen when analyzing a dumpfile where the page tables had been corrupted.
  * Fix for the the "FREE HIGH" tally in the X86 "kmem -i" display.  Without
    the patch, the PAGES, TOTAL and PERCENTAGE values would always show zero
    values.
  * Fix for the "kmem -n" output display for 32-bit architectures that are
    configured with CONFIG_SPARSEMEM.  Without the patch, the values under the
    CODED_MEM_MAP, MEM_MAP and PFN columns are all shifted to the left.
  * Cleanup of several SIAL extension module files to address bison 2.5 and
    gcc 4.4.3 compile-time warnings.
  * Fix for "net -[sS]" command options on the ARM architecture.  Without the
    patch, invalid data would be displayed because the calculation of the
    socket address was off by 4 bytes.
  * Fix for the ARM "bt" command to allow the core kernel unwind tables to be
    used in cases where the module unwind tables are inaccessible.
  * Implementation of a new "dev -d" option that displays disk device I/O
    statistics.  For each disk device, its major number, gendisk and
    request_queue addresses are displayed along with the total number of
    allocated I/O requests that are in-progress.  The total I/O requests are
    then split out into synchronous vs. asynchronous counts (or reads vs.
    writes in older kernels), and the number that are in-flight in the device
    driver.
  * Update for 3.1.x and later kernels configured with CONFIG_SLAB, which have
    replaced the kmem_cache.nodelists[] array with a pointer to an outside
    array.  Without the patch, the crash session fails during invocation with
    the error "crash: zero-size memory allocation!".
  * Implemented support for the analysis of 32-bit PPC compressed kdump
    vmcores.
  * Prevent the "runq" command from dumping an unending loop of tasks if the
    CFS runqueue has been corrupted.  If the output of a cpu's runqueue would
    display a duplicate task, the output will stop with the message "WARNING:
    duplicate CFS runqueue node: task <address>".
  * Repurposed/renamed the rarely-used and rarely-needed "mod -r" option to
    "mod -R".  The option is used to reinitialize the module data; all
    currently-loaded symbolic and debugging data is deleted, and the installed
    module list will be updated (live systems only).
  * Implemented a new "mod -r" option, which will pass the "-readnow" flag to
    the embedded gdb module, which will override the two-stage strategy that
    it uses for reading symbol tables from module object files.  If the crash
    session was invoked with the "--readnow" flag, then the same override will
    occur automatically.  It should be noted that doing will increase the
    virtual and resident memory set size.
  * Performance increase for the "kmem -s <address>" option on kernels
    configured with CONFIG_SLAB, most notably on kernels whose
    kmem_cache.array[NR_CPUS] array is several pages in size.
  * Require that the "<slabname>" argument to "kmem -s <slabname>" be escaped
    with a '\' character in two situations: 1, in the highly-unlikely case of
    a kmem_cache slab named "list", to prevent the ambiguity with the "kmem -s
    list" command option. 2, if the first character of the <slabname>
    actually is a '\' character.

 -- Troy Heber <troyh@debian.org>  Mon, 05 Mar 2012 10:49:10 -0700

crash (6.0.2-1) unstable; urgency=low

  * New upstream version 6.0.2
  * Implemention of a new "arguments-input-file" feature, where an input file
    containing crash command arguments may be iteratively fed to a crash
    command.  For each line of arguments in an input file, the selected crash
    command will be executed.
  * Many thanks to Josef Bacik for proposing this feature.
  * Fix for the "runq" command for kernels configured with
    CONFIG_FAIR_GROUP_SCHED.  Without the patch, it is possible that a task
    may be listed twice in a cpu's CFS runqueue.
  * Fix for the internal parse_line() function to properly handle the case
    where the first argument in a line is a string argument that is
    encapulated with quotation marks.
  * Fix for the usage of gzip'd vmlinux file that was compressed with "gzip
    -n" or "gzip --no-name" without using "-f" on the command line.  Without
    the patch, the crash session fails with an error message that indicates
    "crash: <string-containing-garbage>: compressed file name does not start
    with vmlinux".  With the patch, if such a file is used without "-f", it
    will be accepted with a message that indicates that the original filename
    is unknown, and a suggestion that "-f" be used to prevent the message.
  * Added a new "mod -g" option that enhances the symbol display for kernel
    modules.  After loading a module's debuginfo data, the module object's
    section addresses will be shown as pseudo-symbols.
  * Fix for the "gdb" command to prevent the option handling of command lines.
    Without the patch, a gdb command string that contained a "-<character>"
    pair preceded by whitespace, would fail with the error message "gdb: gdb:
    invalid option -- <character>".
  * Fix for the panic-task determination if a dumpfile is taken on a system
    that actually has a cpu count that is equal to its per-arch NR_CPUS value.
    Without the patch, the task running on the cpu whose number is equal to
    NR_CPUS-1 would be selected.
  * Fix for the x86_64 "bt" command to handle a recursive entry into the NMI
    exception stack.  While this should normally never happen, it is possible
    if, for example, a kprope is entered into a function that gets executed
    during NMI handling, and a second NMI is received after the initial one,
    corrupting the original exception frame at the top of the NMI stack.
    Without the patch, the NMI stack backtrace and exception frame would be
    displayed repeatedly; with the patch, the backtrace and exception frame
    are followed by the warning message "NMI exception stack recursion: prior
    stack location overwritten".
  * Support dumpfiles that are created by the PPC64 Firmware Assisted Dump
    facility, also known as "fadump" or "FAD".  Without the patch, the panic
    task cannot be determined from a fadump vmcore which was subsequently
    compressed with makedumpfile, and therefore a proper backtrace of the
    panic task cannot be generated.
  * Preparation for new s390x kernels that will increase MAX_PHYSMEM_BITS from
    42 to 46.

 -- Troy Heber <troyh@debian.org>  Wed, 11 Jan 2012 08:30:06 -0700

crash (6.0.1-1) unstable; urgency=low

  * New upstream version 6.0.1
  * Several fixes/updates for the 32-bit PPC architecture: (1) Delete
    "__func__.<number>" symbols from the symbol list.  (2) Update manner of
    determining the processor speed displayed by the initial system banner and
    the "sys" command.  (3) Use the kernel's online cpus mask for determining
    the cpu count.  (4) Enable the "bt" command to follow traces that start in
    a per-cpu IRQ stack.  (5) Fix for the "bt" command to better prevent
    runaway stack traces.  (6) Fix for the "bt" command to recognize/display
    2.6 kernel exception frames.  (7) Update "bt" command's exception frame
    register display.  (8) Implement "bt -f" option.
  * Fix for the X86 kernel module line-number capability on some kernels.  It
    is unclear why only some kernel versions exhibit this problem, but the
    newly-embedded gdb version 7.3.1 has changed behaviour such that the
    addrmap arrays of module text address blocks may contain the module text
    offset values instead of their loaded vmalloc addresses, and so without
    the patch, there is no "match" for the vmalloc address when searching for
    its line number information.  It is fixed by doing a preliminary symbol
    search before accessing the line-number access routine.
  * Fix for the X86_64 kernel module line-number capability on kernels that
    have functions preceded by the __vsyscall_fn macro, which puts the kernel
    text function in the vsyscall page that starts at virtual address
    0xffffffffff600000.  This results in a text address block that starts at a
    normal kernel text address but ends with a vsyscall address, which
    inadvertently contains the whole vmalloc address range.  Without the
    patch, line number requests for module vmalloc text addresses would be
    mistakenly issued the first text section that ended with a vsyscall
    address, but then cannot find line number information in that section.
  * Fix for the inadvertent patching of the symbols of the 32-bit Xen
    hypervisor binary.  Without the patch, during initialization the
    minimal_symbols are "patched" with their original values, so they remain
    unchanged, and the message "WARNING: kernel relocated [0MB]: patching 3434
    gdb minimal_symbol values" is displayed.
  * If the "--mod <directory-tree>" command line option, or the setting of the
    CRASH_MODULE_PATH environment variable, or the "mod -S <directory-tree>"
    point to a tree that contains only the separate debuginfo
    "<module>.ko.debug" files, then those debuginfo files will be used as the
    internal "add-symbol-file" arguments to the embedded gdb module.  Without
    the patch, it was only acceptable to point to a directory tree that
    contained the base "<module>.ko" files, and the separate debuginfo files
    were found automatically based upon the directory path to the base module
    file.  This will allow an alternate module-debuginfo directory tree to be
    set up like so: # cd <directory> # rpm2cpio kernel-debuginfo-<release>.rpm
    | cpio -idv Having done that, the <directory> may be used with the
    "--mod", command line argument, or as the CRASH_MODULE_PATH environment
    variable, or as the "mod -S <directory> argument.
  * Make the suspension of the verbose/time-consuming "sym -l" output
    immediate upon the killing of the output pipe, or the entry of the first
    CTRL-c.  Without the patch, it would typically take several seconds, or
    multiple CTRL-c entries, for the "crash>" prompt to be re-displayed.
  * Fix for the handling of piped commands if the command receiving the crash
    output is non-existent or invalid.  Without the patch, the crash command
    would wait indefinitely unless multiple CTRL-c entries were entered.
  * Fix for the s390x "bt" command's floating point register display header.
    Without the patch, the header indicates that only registers 0, 2, 4 and 6
    are printed, a relic of the s390 architecture, whereas on the s390x all
    floating point registers are displayed.
  * Fix for the error message displayed when an untrusted .gdbinit file exists
    in the current directory.  Without the patch, the error message "WARNING:
    not using untrusted file: " would be followed by garbage ASCII data
    instead of the full pathname of the .gdbinit file.
  * Fix for the "kmem -p" and "kmem -i" commands in 3.1 and later kernels
    where the page structure's "_count" member was moved into an embedded
    anonymous structure.  Without the patch, the commands fail with the error
    message "kmem: invalid structure member offset: page_count FILE: memory.c
    LINE: 4610  FUNCTION: dump_mem_map_SPARSEMEM()".
  * Allow the user to append data to the CFLAGS and LDFLAGS variables in the
    top-level Makefile.  The extra data should be put in files named
    "CFLAGS.extra" and "LDFLAGS.extra" in the top-level directory; if either
    or both files exist, the extra data within them will be appended to the
    relevant variable.  Typically the LDFLAGS.extra file will contain
    "-l<library>" strings, and the CFLAGS.extra file will contain "-D<value>"
    strings.  This will allow the crash utility to be built with optional
    libraries, and the code that references them to be encapsulated with
    associated "#ifdef <value>" sections.  The extra CFLAGS data will also be
    passed to extension modules that are built within the local
    "crash-<version>/extensions" subdirectory.
  * The LDFLAGS setting in the Makefile can no longer be modified by hand.  It
    will be automatically configured by the "configure -b" option, based upon
    the contents of the optional "LDFLAGS.extra" file.
  * Fix for the "runq" command to display the runnable tasks that are
    contained within a cgroup's task-group scheduling entity.  Without the
    patch, only scheduling entities that are individual tasks get displayed,
    and runnable tasks in task-group scheduling entities get skipped.
  * Fix for the SIAL extension module when repeatedly loading and unloading a
    sial script when a full pathname is specified for the script.  Without the
    patch, the 4th unload attempt generates a segmentation violation.
  * Fix for the SIAL extension module to register the help and usage functions
    for a command only when loading a script.

 -- Troy Heber <troyh@debian.org>  Fri, 16 Dec 2011 09:49:04 -0700

crash (6.0.0-1) unstable; urgency=low

  * New upstream version 6.0.0
  * Depend on binutils  (close: #645124)
  * Updated the embedded gdb version to FSF gdb-7.3.1.  This change is
    required for kernels built with gcc-4.6.1, which now defaults to using
    -gdwarf-4.  When using prior versions of crash on such a vmlinux file, it
    fails immediately with the message "Dwarf Error: wrong version in
    compilation unit header (is 4, should be 2) [in module vmlinux]" followed
    by "crash: vmlinux: no debugging data available".  (anderson@redhat.com)
  * Incremental patch for the SADUMP dumpfile support that was introduced in
    crash-5.1.8.  The patchset fixes minor bugs, cleans up the sadump module,
    addresses the issue of gathering the first 640KB backup from a
    kdump-enabled kernel, prepares for makedumpfile's support of the SADUMP
    format, and has "bt" display the stored register set when the compressed
    kdump was generated from an SADUMP dumpfile.  (d.hatayama@jp.fujitsu.com)
  * Fix for the "gdb" command, or any command that resolves to a gdb command,
    to allow redirection to a pipe or file.  This addresses a regression that
    was introduced by an unrelated "gdb" command fix in crash-5.1.4 that
    prevented the stripping of quotation marks from the input line.  Without
    the patch, redirection of a "gdb" command to a pipe or file fails with the
    error message "gdb: gdb request failed:
    <original-command-line-including-redirection>".  (anderson@redhat.com)
  * Fix for live system analysis of 32-bit PPC kernels.  Without the patch,
    the session would fail after displaying the error message: WARNING:
    machine type mismatch: crash utility: PPC vmlinux: (unknown)
    (nakayama.ts@ncos.nec.co.jp)
  * Fix to allow vmalloc memory access on 32-bit PPC kernels.  Without the
    patch, the warning message "WARNING: cannot access vmalloc'd module
    memory" would be displayed during invocation, and kernel virtual memory
    that was vmalloc'd could not be accessed.  (nakayama.ts@ncos.nec.co.jp)
  * Fix to correctly gather task addresses from 32-bit PPC kernels.  Without
    the patch, during invocation a stream of error messages indicating "crash:
    invalid task address in pid_hash: <address>" would be displayed.
    (nakayama.ts@ncos.nec.co.jp)
  * Fix for the "bt" command in 32-bit PPC kernels.  Without the patch, the
    "bt" command would generate a segmentation violation.
    (nakayama.ts@ncos.nec.co.jp)

 -- Troy Heber <troyh@debian.org>  Wed, 09 Nov 2011 08:51:24 -0700

crash (5.1.9-1) unstable; urgency=low

  * New upstream version 5.1.9
  * Fixed the compressed kdump panic task determination function to use the
    kernel's "crashing_cpu" symbol if it exists.  Without the patch, the
    function returned 0 because it was using diskdump-specific header
    variables that are always set to zero in compressed kdump dumpfiles; the
    panic task was then found by searching the kernel stacks of all of the
    active tasks.  (anderson@redhat.com)
  * Fix for the potential of false-positive warning messages during the
    initialization of s390x zdump dumpfiles that would indicate either
    "WARNING: multiple active tasks have called die and/or panic" and/or
    "WARNING: multiple active tasks have called die".
    (holzheu@linux.vnet.ibm.com)
  * Removal of superfluous code for gathering registers from the ELF header in
    the ARM get_netdump_regs_arm() function.  (per.fransson.ml@gmail.com)
  * Additional fixes for the ARM architecture gdb-7.0/bfd/elf32-arm.c and
    gdb-7.0/bfd/cpu-arm.c files to handle gcc-4.6 compiler failures.  Without
    the patch, gcc-4.6 generates "error: variable ‘<variable>’ set but not
    used [-Werror=unused-but-set-variable]" fatal errors when the (default)
    -Werror flag is used.  Previous gcc versions considered local variables
    were simply set to some value to be "used", but that is no longer the
    case.  (anderson@redhat.com)
  * Added new "dis -[xd]" options, which override the current default output
    format with hexadecimal or decimal format for just the command instance.
    Without the patch, it would require changing the default output format
    with "hex" or "dec" prior to executing "dis".  (anderson@redhat.com)
  * Added new "task -[xd]" options, which override the current default output
    format with hexadecimal or decimal format for just the command instance.
    Without the patch, it would require changing the default output format
    with "hex" or "dec" prior to executing "task".  The new flags may be used
    with "foreach task" as well.  (anderson@redhat.com)
  * Prevent the "struct -[xd]", "union -[xd]", and "p -[xd]" commands from
    allowing both options being entered on the command line.
    (anderson@redhat.com)
  * Fixes to top-level crash source files filesys.c, memory.c, netdump.c,
    sadump.c, symbols.c, x86.c and lkcd_x86_trace.c to allow them to be
    compiled cleanly with gcc-4.6.  Without the patch, gcc-4.6 generates fatal
    errors indicating "error: variable ‘<variable>’ set but not used
    [-Werror=unused-but-set-variable]" when building crash with "make Warn",
    or generates similar warning messages when building with "make warn".
    This has been tested only on x86, x86_64 and ARM; the other architectures
    may still generate errors/warnings when compiling their machine-specific
    files with gcc-4.6.  (anderson@redhat.com)
  * Fix for the "irq" command on 2.6.39 and later kernels.  Without the patch,
    the command fails with the message "irq: invalid structure member offset:
    irq_desc_t_status".  (anderson@redhat.com)
  * Fix for the SIAL extension module that solves the problem of getting
    access to integer variables.  (makc@gmx.co.uk)
  * Fix for compiler warnings when building the extensions/sial.so extension
    module with recent versions of /usr/bin/ld.  Without the patch, two
    warning messages are displayed:  "/usr/bin/ld: Warning: alignment 4 of
    symbol 'sialppdebug' in /tmp/ccYSzE2s.o is smaller than 16 in
    libsial/libsial.a(sialpp.tab.o)" and "/usr/bin/ld: Warning: alignment 4 of
    symbol 'sialdebug' in /tmp/ccYSzE2s.o is smaller than 16 in
    libsial/libsial.a(sial.tab.o)".  (maxc@gmx.co.uk)
  * If the stack pointer found in the register set stored in the ELF header of
    a compressed kdump dumpfile, a KVM dumpfile, or an SADUMP dumpfile is
    either NULL or cannot be accessed, the register set will be dumped after
    the error message.  Without the patch, only the error message was
    displayed.  (anderson@redhat.com)
  * Preparation of the top-level crash sources for more efficient updates of
    the embedded gdb version.  The changes should be invisible other than the
    fact that all top-level source files will now be compiled with the
    -DGDB_xxx flag, because the gdb-defined TYPE_CODE_xxx values that are
    exported in defs.h changed in more recent gdb versions.
    (anderson@redhat.com)
  * Fixes for potential segmentation violations during the panic task search
    phase of session initialization from a version 4 or later x86_64
    compressed kdump, in which the number of ELF NT_PRSTATUS notes in the
    dumpfile does not match the number of cpus running when the system
    crashed.  (Joe.Lawrence@stratus.com, anderson@redhat.com)
  * Created an exported set_tmpfile2() function that allows the caller to pass
    in their own FILE pointer of an open file that only exists during the
    execution of a command.  It will afford the recursive-use protection of
    open_tmpfile2() plus the automatic closure of the file if the command
    fails prior to completion or if the user forgets to close it with
    close_tmpfile2().  (anderson@redhat.com)
  * Created a new "rd -r <outputfile>" option that copies raw data from memory
    to an output file.  It can be invoked either of two possible manners:
     crash> rd -r <outputfile> <address> <count>
     crash> rd -r <outputfile> <address> -e <ending-address
    The <count> value is always a byte count with this option.
    (adrian.wenl@gmail.com, anderson@redhat.com)
  * Fix for the ARM "bt" command to store the correct value of the fp register
    of active tasks.  Without the patch, in rare circumstances, the output may
    show an empty backtrace.  (per.xx.fransson@stericsson.com)
  * Fix to prevent a harmless warning message when /proc/kallsyms is used as a
    mapfile argument.  Without the patch, during initialization, the message
    "crash: /proc/kallsyms: lseek: Invalid argument" is       displayed.  If a
    regular file copy of /proc/kallsyms is used, the message is not displayed.
    (anderson@redhat.com)
  * Fix for running against live x86 kernels that have been relocated by the
    Intel Trusted Boot or "tboot" facility.  Without the patch, a live crash
    session fails during invocation with the error message "crash: vmlinux and
    /dev/mem do not match!" (or "/dev/crash" if applicable).  As a
    work-around, "/proc/kallsyms" can be entered on the command line, or the
    "--reloc=<size>" option can be used, but this fix obviates that
    requirement for live systems.  (anderson@redhat.com)
  * Fix for the unlikely event where makedumpfile-generated s390/s390x
    compressed kdumps do not have a CPU count in the dumpfile header.  This
    can happen when older s390 dump tools are used to create a dump that do
    not write the CPU information into the s390 dump header.  Without the
    patch, the warning message "crash: compressed kdump: invalid nr_cpus: 0"
    is displayed, the dumpfile is not recognized as a compressed kdump, and
    the session fails.  Since s390/s390x have a fallback function that gets
    the CPU register information out of memory, the same warning message will
    be displayed, but the dumpfile will still be recognized as a compressed
    kdump.  (holzheu@linux.vnet.ibm.com)
  * Fix for the "net -s" command on 2.6.38 and later kernels.  Without the
    patch, the command fails with the error message "net: invalid structure
    member offset: inet_opt_daddr".  (bob.montgomery@hp.com,
    anderson@redhat.com)

 -- Troy Heber <troyh@debian.org>  Wed, 09 Nov 2011 08:46:06 -0700

crash (5.1.8-1) unstable; urgency=low

  * Added explicit build-dep for dpkg-dev (>= 1.16.1) to resolve the "set but
    unused" errors.
  * New upstream version 5.1.8
  * Fixes for gdb-7.0 ppc64/ppc-specific files to handle gcc-4.6 compiler
    failures.  Without the patch, gcc-4.6 generates "error: variable
    ‘<variable>’ set but not used [-Werror=unused-but-set-variable]" fatal
    errors when the (default) -Werror flag is used.  Previous gcc versions
    considered local variables were simply set to some value to
  * Add support for the "bt" command to recognize the new s390x
    "restart_stack" used by the PSW restart interrupt in 3.0.1 and later
    kernels.
  * Enhancement to the s390x "bt" command to display the register contents of
    the pt_regs strucutre for interrupts, instead of just printing the string
    "- Interrupt -".  The pt_regs structure contains all of the current
    registers and PSW of the interrupted CPU.
  * Removed the "files -l" option, which does not support 2.6 or later
    kernels, and because it requires structure offset data that can only be
    determined if the "lockd" and "nfsd" modules have been built into the
    kernel.  Given the kernel module dependencies, the command is more
    suitable as an extension module, if anyone cares to carry on its legacy.
  * Fix for the "ps" command to disallow the mutually-exclusive "-u" and "-k"
    options from being entered together.  Without the patch, whichever of the
    two options was entered last was acted upon.  Also, the help page was
    clarified by separating the three process identifier formats from the
    "-u", "-k" and "-G" qualifiers.
  * Fix for the "ps" command to disallow the mutually-exclusive "-a", "-t",
    "-c", "-p", "-g", "-l" and "-r" options from being entered together.
    Without the patch, whichever of the seven options that was entered last
    was acted upon.
  * Added new "struct -[xd]" and "union -[xd]" options, which override the
    current default output format with hexadecimal or decimal format for just
    the command instance.  The "-o" member offset values and the structure
    size value are also controlled by the new options.  Without the patch, it
    would require changing the default output format with "hex" or "dec" prior
    to executing the "struct" or "union" command.
  * Fix for the "fuser" command, which may occasionally precede its output
    with the message "WARNING: FILE_NRHASH has changed from 32" on 2.6.19 and
    later kernels.  The message is harmless.
  * Exported new set_temporary_radix() and restore_current_radix() functions,
    which are used to temporarily override the current output radix setting.
  * Fixes for ARM gdb-7.0/bfd/elf32-arm.c file to handle gcc-4.6 compiler
    failures.  Without the patch, gcc-4.6 generates "error: variable
    ‘<variable>’ set but not used [-Werror=unused-but-set-variable]" fatal
    errors when the (default) -Werror flag is used.  Previous gcc versions
    considered local variables were simply set to some value to be "used", but
    that is no longer the case.
  * Cosmetic fix for command-failure "Usage" messages to prevent the output
    from exceeding 80 columns.
  * Implemented a new "struct -p" option which can be used to dereference
    pointer members and display the target data.  The option can be used with
    the struct_name.member[,member] format, or if not, all pointers in the
    structure will be dereferenced.  If the member is a pointer, the member's
    data type will be prepended to the member name when displaying the target
    address; on the subsequent line(s) the target's symbol name will be
    displayed in brackets if appropriate, and if possible, the target data
    will be displayed.
  * Implemented support for "SADUMP" dumpfiles, which are created by the
    Fujitsu Stand Alone Dump facility.  The dump-creation mechanism is based
    in hardware-specific firmware, generating a dumpfile in three different
    formats: sadump dump device (single partition), sadump dump device (disk
    set), and archive file formats.  The crash utility recognizes all three
    formats.
  * Fix for the "bt" command to display Control registers 8-15 (s390x and
    s390) and floating point registers 8-15 (s390x only) correctly.  Without
    the patch, the register content was copied from the wrong location of the
    save area, and the wrong register values were displayed for the active
    tasks.
  * Fix for 2.6.34 ppc64 kernels, which were changed to dynamically allocate
    the paca structure, and changed the data type of "paca" symbol from array
    to a paca_struct pointer.
  * Fix for 2.6.36 and later ppc64 kernels, which overwrite the paca pointer
    variable to point to a static paca during a crash sequence just prior to
    the kexec of the secondary kernel, which contains a
    paca_struct.data_offset value that is valid only for crashing cpu.
    However, the kernel change also re-introduced the  __per_cpu_offset array,
    which had been removed in 2.6.15, which will be used as an alternative to
    the per-cpu paca_struct.
  * The new version of makedumpfile, 1.4.0, contains a facility that allows a
    user to filter out kernel data (e.g., security keys, confidential/secret
    information, etc.) from a vmcore.  The data that is filtered out is
    poisoned with character 'X' (0x58).  A filtered ELF kdump vmcore now
    contains a new "ERASEINFO" ELF note section that contains the filter data
    strings used by makedumpfile.  A filtered compressed kdump has a header
    version number 5, and contains new offset_eraseinfo and size_eraseinfo
    members in its sub-header that point to a copy of the filter data strings.
    In most cases, the erased kernel data will be inconsequential to the crash
    session, but it is certainly possible that the removal of crucial kernel
    data that the crash utility needs may cause the crash session to fail,
    cause individual commands to fail, or result in other unpredictable
    runtime behaviour.  This patch detects whether kernel data has been erased
    from the dumpfile, and if so, displays an early warning message alerting
    the user.  The "help -n" command displays the filter data strings that
    were used by makedumpfile.

 -- Troy Heber <troyh@debian.org>  Mon, 03 Oct 2011 09:56:05 -0600

crash (5.1.7-4) unstable; urgency=low

  * Stop erroring on the set-but-unused messages (close: #643719)

 -- Troy Heber <troyh@debian.org>  Fri, 30 Sep 2011 12:11:55 -0600

crash (5.1.7-3) unstable; urgency=low

  * Fix the fix for the "set but unused" patch for ppc (closes: #639067)

 -- Troy Heber <troyh@debian.org>  Wed, 24 Aug 2011 12:09:56 -0600

crash (5.1.7-2) unstable; urgency=low

  * Fixed "set but unused" errors on PPC causing a FTBS.

 -- Troy Heber <troyh@debian.org>  Sun, 21 Aug 2011 15:26:45 -0600

crash (5.1.7-1) unstable; urgency=low

  * New upstream version 5.1.7
  * Fix for the x86_64 "bt" command in the highly-unlikely event that a
    non-crashing CPU receives a NMI immediately after receiving an interrupt
    from another source in a 2.6.29 and later kernel.  In those kernels, the
    IRQ entry-point symbols "IRQ0x00_interrupt" through "IRQ0x##_interrupt" no
    longer exist, but the entry points exist as memory locations starting at
    the symbol "irq_entries_start".  Without the patch, if a shutdown NMI
    interrupt gets received while in one of the entry point stubs, "bt" will
    fail with the error message "bt: cannot transition from exception stack to
    current process stack".
  * The x86 and x86_64 "bt -e" and "bt -E" commands will display symbolic
    translations of kernel-mode exception RIP values.
  * Clarified two initialization-time CRASHDEBUG(1) messages to make it
    obvious that the two linux_banner strings being compared originate from
    the memory source or the kernel namelist file.
  * Fix for the x86 "bt" command to handle cases where the shutdown NMI was
    received when a task had just completed an exception, interrupt, or signal
    handler, and was about to return to user-space.  Without the patch, the
    backtrace would be proceeded with the error message "bt: cannot resolve
    stack trace", display the trace without the kernel-entry exception frame,
    and then dump the text symbols found on the stack and all possible
    exception frames.
  * Fix for 2.6.33 and later kernels that are not configured CONFIG_SMP.
    Without the patch, they fail during initialization with the error message
    "crash: invalid structure member offset: module_percpu".
  * Prepare for the imminent change in size of the vm_flags member of the
    vm_area_struct to be 64-bits in size for all architectures now that 32
    bits have been consumed.  The crash utility code had been handling the
    older change of the vm_flags member from a short to a long, but that would
    not account for the future change to a 64-bit member on 32-bit
    architectures.
  * Update of the "vm -f <flags>" option to the current upstream state.
    Without the patch, only 23 of the currently-existing 32 bit flags were
    being translated.  (anderson@redhat.com)
  * Fix for the "kmem -s", "kmem -S", "kmem -s <address>" and "kmem <address>"
    command options if none of the NUMA nodes in in a multi-node CONFIG_SLAB
    system have a node ID of 0.  Without the patch, "kmem -s" and "kmem -S"
    show all slab caches as if they contain no slabs; if an <address> is
    specified, the correct slab cache is found, but the command indicates
    "kmem: <slab-cache-name>: address not found in cache: <address>".
  * Cosmetic fix for the "kmem -[sS]" options if a CONFIG_SLAB kernel slab
    cache contains 100000 or more slabs, or uses a slab size of 1 or more
    megabytes.  Without the patch, the output utilizes more than 80 columns.
  * If a task was in user-space when a crash occurred, the user-space
    registers are saved in per-cpu NT_PRSTATUS ELF notes in either version 4
    compressed kdump headers, or in dumpfile headers created by the Fujitsu
    "sadump" facility.  In that case, the "bt" command will dump the x86 or
    x86_64 user-space register set.
  * Fix for the x86 "bt" command to handle cases where the shutdown NMI was
    received when a task had just received an interrupt, but before it had
    created a full exception frame on the kernel stack and called the
    interrupt handler.  Without the patch, the backtrace would be proceeded
    with the error message "bt: cannot resolve stack trace", display the trace
    without the kernel-entry exception frame, and then dump the text symbols
    found on the stack and all possible exception frames.
  * Fix for the x86 "bt" command to handle cases where the shutdown NMI was
    received when a task was in the act of being switched to.  Without the
    patch, the backtrace would be proceeded with the error message "bt: cannot
    resolve stack trace", display the trace without the kernel-entry exception
    frame, and then dump the text symbols found on the stack and all possible
    exception frames.

 -- Troy Heber <troyh@debian.org>  Thu, 14 Jul 2011 15:15:13 -0600

crash (5.1.6-1) unstable; urgency=low

  * New upstream version 5.1.5 (see
    http://people.redhat.com/anderson/crash.changelog)
  * Fixed several typos in the updated crash.8 man page.
  * Created a new "rd -a" option that displays printable ASCII data only,
    starting from the specified location.  If a "count" argument is not
    entered, the display stops upon encountering the first non-printable
    character.
  * Fix for the "search -k" option on X86 kernels whose first memmap page
    structure does not map to physical address 0.  Without the patch, the
    identity-mapped region of the first memory node would not be searched.
  * Fix for the "search -k" option in the highly unlikely case of kernels that
    have multiple NUMA nodes that are not sequential with respect to their
    node IDs and the physical memory they reference, have physical memory
    holes between any of the nodes, and do not have memmap page structures
    referencing the non-existent inter-node physical memory.  In that event,
    it is conceivable that a NUMA node would be skipped.
  * If the "kmem <address>" argument is a virtual address inside a kernel
    module, the first item displayed is the address, followed by its symbol
    type, and its symbol-name-plus-offset string.  This patch appends the
    module name in brackets, similar to what is displayed if "sym <address>"
    is entered.
  * Fix for "kmem -s <address>" in kernels configured with CONFIG_SLUB and
    CONFIG_PAGEFLAGS_EXTENDED if the address is contained in a page other than
    the first page in a compound, multi-page, slab.  Without the patch, the
    command would fail with the message "kmem: address is not allocated in
    slab subsystem: <address>".
  * Created a new "rd -N" option that displays 16- and 32-bit data in network
    byte order, performing byte-swapping if appropriate.
  * Fix for a compiler warning when building with "make warn".  Without the
    patch, memory.c generates a message indicating "kernel.c: In function
    ‘back_trace’:" followed by 17 messages indicating "kernel.c: 2187:
    warning: ‘btsave.<member>’ may be used uninitialized in this function",
    where there is one message for each <member> of the bt_info structure.
  * Updated the #define of NR_SECTION_ROOTS to match its change upstream that
    prevents its value from being calculated to be zero.
  * Fix for a double-free() in the unlikely event of a readmem() failure in
    the ARM architecture's read_module_unwind_table() function.
  * Updates to support CONFIG_SPARSEMEM for the ARM architecture.
  * Extended the "mach" command to display the size and address of each
    per-cpu IRQ stack and per-cpu exception stack, if they exist.  This
    extension is applicable to the x86_64 and ppc64 architectures, and the x86
    architecture if applicable.  Prior to this patch, the values were only
    accessible via "help -t" or "help -m".
  * Created a new "kmem -o" option that dumps each cpu's offset value that is
    added to per-cpu symbol values to translate them into kernel virtual
    addresses.  Prior to this patch, the values were only accessible via "help
    -k".
  * Removed the "kmem [-[l|L][a|i]]" options from being advertised by the
    "kmem" help page; the options have been obsolete since the Linux version
    2.2 timeframe.
  * Fix to support Linux 3.x version number change.  Without the patch, the
    crash session fails with kernel version 3.0 and later, displaying the
    message "WARNING: kernel version inconsistency between vmlinux and [live
    memory or dumpfile]", followed by the fatal error message "crash:
    incompatible arguments: vmlinux is not SMP -- [live system or dumpfile] is
    SMP".
  * Updates to the sial.c extension module to support the Linux 3.x version
    number change.
  * Created a new "kmem -g [flags]" option that displays the enumerator value
    of bits in the page structure's "flags" field.  With no "flags" argument,
    the enumerator value of all bits are displayed; when a hexadecimal "flags"
    option is added, just the bits in the value are translated.  This option
    only works with 2.6.26 and later kernels, which contain the "enum
    pageflags".

 -- Troy Heber <troyh@debian.org>  Tue, 14 Jun 2011 14:16:18 -0600

crash (5.1.5-1) unstable; urgency=low

  * New upstream version 5.1.5 (see
    http://people.redhat.com/anderson/crash.changelog)
  * Fix to allow a vmlinux.bz2 file to be accepted when it is part of a
    relative or absolute pathname.  Without the patch, the file is rejected
    with the message "crash: <path-to>/vmlinux.bz2: not a supported file
    format", although it is still possible to use it with the "-f" flag.
  * Fix for the usage of a vmlinux.gz or vmlinux.bz2 file if the relevant
    gunzip or bunzip2 file is not located in /usr/bin.  Without the patch on
    an Ubunutu system, the uncompression fails because those binaries are only
    located in the /bin directory.  Also fixed the uncompression error message
    to differentiate between gunzip and bunzip2.
  * Created a new exist_regs_in_elf_notes() function for extension modules to
    pre-determine whether an ELF note containing registers exists for a
    specified task.  The function is also used by the currently-existing
    get_regs_from_elf_notes() function to clean up redundant code in the
    various get_<arch>_regs_from_elf_notes() functions that it calls.
  * Exported the formerly static x86_64_exception_frame() function to
    extension modules, and created a new EFRAME_INIT flags argument that
    directs the function to fill in the x86_64 pt_regs offset table and return
    any errors encountered in doing so.
  * Created and exported a new get_kvm_register_set() interface for extension
    modules to get a copy of the per-cpu registers stored in the kvmdump
    header.
  * Fix for the handling of x86_64 compressed kdump dumpfiles where the
    crashing system contained more than 454 cpus.  Without the patch, the
    crash session fails during initialization with the error message "crash:
    compressed kdump: invalid nr_cpus value: <cpus>" followed by "crash:
    vmcore: not a supported file format".
  * Fix for the "uvtop" and "vm -p" commands when run on tasks that have
    performed an mprotect(PROT_NONE) on a user-space page.  Because the
    PAGE_PRESENT bit is not set in that case, the page was presumed to be
    swapped out.  Without the patch the "vtop <address>" command fails with
    the error message "vtop: cannot determine swap location", and "vm -p"
    indicates "SWAP: (unknown swap location)" when iterating over the page.
  * Fix for the use of the "-g vmlinux" command line option by non-root users
    if the /dev/crash module has been preloaded.  Without the patch, after the
    vmlinux file's debugging information has been shown, the error messages
    "ERROR: Removing 'crash': Operation not permitted" and "NOTE:
    cleanup_memory_driver failed" are displayed.
  * Fix for the s390x "bt" command to handle a program check interrupt while
    operating on the process stack.  Without the patch, the backtrace stops
    prematurely upon reaching the pgm_check_handler() interrupt handler.
  * Long overdue rewrite of the crash.8 man page and the associated "crash -h"
    built-in usage display.  The crash.8 man page clarifies the required
    invocation options, adds all of the rarely-used command line options that
    have proliferated over the years, and updates the ENVIRONMENT variables
    section.  The "crash -h" output closely mimics the relevant parts of the
    crash.8 man page.
  * Fix for the embedded gdb module to determine member offsets of the
    pglist_data structure when the kernel was compiled with gcc 4.6.0.
    Without the patch, the system MEMORY size shown by the initial system data
    and by the "sys" command is nonsensical, the "kmem -n" command shows
    faulty memory node data, and if the kernel is configure with CONFIG_SLUB,
    "kmem -[sS]" will fail with numerous "kmem: page_to_nid: cannot determine
    node for pages: <page-address>" errors.  There may be other ramifications
    given that the pglist_data structure is crucial to the functionality of
    the crash utility.
  * Implemented the capability of using the NT_PRSTATUS ELF note data that is
    saved in version 4 compressed kdump headers to determine the starting
    stack and instruction pointer hooks for x86 and x86_64 backtraces when
    they cannot be determined in the traditional manners.
  * Added a new "--osrelease <dumpfile>" command line option that displays the
    OSRELEASE vmcoreinfo string from a kdump dumpfile.
  * Fix to recognize the per-cpu symbol name change from "cpu_info" to
    "ia64_cpu_info" in 2.6.33 and later ia64 kernels.  Without the patch, the
    message "WARNING: cannot find cpuinfo_ia64 location" would appear during
    invocation, and the "mach -c" command would fail in a similar manner,
    indicating "mach: cannot find cpuinfo_ia64 location".
  * Fix for "kmem -[sS]" command on 2.6.39 kernels where the original slab
    structure members have been moved into an anonymous union.  Without the
    patch, either command fails immediately with the error message "kmem:
    invalid structure member offset: slab_list".

 -- Troy Heber <troyh@debian.org>  Mon, 16 May 2011 12:56:58 -0600

crash (5.1.4-1) unstable; urgency=low

  * New upstream version 5.1.4 (see
    http://people.redhat.com/anderson/crash.changelog)
  * Fix for RT kernels in which the schedule() function has become a wrapper
    function that calls the  __schedule() function, and where other functions
    may call __schedule() directly.  Without the patch, a warning message
    indicating "crash: cannot determing thread return address" is displayed
    during invocation on x86_64 machines, and backtraces of blocked tasks may
    have missing or invalid frames.
  * Fix for running against live x86 kernels that were configured with
    CONFIG_PHYSICAL_START containing a value that is greater than its
    CONFIG_PHYSICAL_ALIGN value, and where the first symbol listed by
    /proc/kallsyms is not "_text".  Without the patch, the crash session fails
    during invocation with the error message "crash: vmlinux and /dev/mem do
    not match!" (or "/dev/crash" if applicable).  As a work- around,
    "/proc/kallsyms" can be entered on the command line, or the
    "--reloc=<size>" option could be used, but the fix obviates that
    requirement for live systems.  It should be noted that dumpfiles of
    kernels configured that way still do require that "/proc/kallsyms", or a
    copy of it, or alternatively the "--reloc=<size>" option, to be entered on
    the command line, as detailed in this changelog entry:
    http://people.redhat.com/anderson/crash.changelog.html#4_0_4_5
  * Unlike other extension modules, the "sial.so" module must be built within
    a pre-built crash source tree because it uses header files from the
    embedded gdb module.  Therefore if a crash source tree is laid down,
    entered, and "make extensions" is entered without first building the crash
    utility, the build of sial.so build spews numerous error messages.  To
    avoid that, the sial.mk file has been modified to check whether the
    embedded gdb build has been completed, and if it has not, just displays
    "sial.so: build failed: requires the crash gdb-7.0 module".
  * If an extension module does not have its own <module>.mk file, and is
    built using the extensions/Makefile, then it will be compiled with the
    -Wall flag.
  * The "trace.so" extension module has been improved to use "trace.cmd" to
    implement the "trace show" option, instead of maintaining a redundant code
    base within the module itself.  The trace-cmd command is better, mature,
    and continually maintained.  The new "trace show" option works like so:
    (1) builds trace.dat from the core file and dumps it to /tmp.  (2) execs
    "trace-cmd report" upon the trace.dat file.  (3) splices the output of
    trace-cmd to the user and unlinks the temporary file.
  * Updates to the "trace.so" extension module to extract trace_bprintk()
    formats from a kernel core dump.  It handles both the current format and a