Merge lp:~percona-toolkit-dev/percona-toolkit/pt-summary-problem-parsing-dmidecode-output-on-some-machines-1368379 into lp:~percona-toolkit-dev/percona-toolkit/release-2.2.11
- pt-summary-problem-parsing-dmidecode-output-on-some-machines-1368379
- Merge into release-2.2.11
Proposed by Frank Cizmich
| Status: | Merged |
|---|---|
| Approved by: | Daniel Nichter |
| Approved revision: | 617 |
| Merged at revision: | 622 |
| Proposed branch: | lp:~percona-toolkit-dev/percona-toolkit/pt-summary-problem-parsing-dmidecode-output-on-some-machines-1368379 |
| Merge into: | lp:~percona-toolkit-dev/percona-toolkit/release-2.2.11 |
| Diff against target: | 979 lines (+933/-3) 4 files modified bin/pt-summary (+1/-1) lib/bash/report_system_info.sh (+1/-1) t/lib/bash/report_system_info.sh (+11/-1) t/pt-summary/samples/dmidecode-006.txt (+920/-0) |
| To merge this branch: | bzr merge lp:~percona-toolkit-dev/percona-toolkit/pt-summary-problem-parsing-dmidecode-output-on-some-machines-1368379 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel Nichter | Approve | ||
| Review via email: | |||
Commit message
Description of the change
pt-summary choked on the output of dmidecode v2.12
The parameter "Configured Clock Speed" got mixed up with "Speed"
Fixed by simply correcting regexp in report_system_info module and updating the module in pt-summary (only one that uses it)
Added relevant test.
Change is tame enough that I think it can make into 2.2.11
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === modified file 'bin/pt-summary' |
| 2 | --- bin/pt-summary 2014-08-05 20:37:42 +0000 |
| 3 | +++ bin/pt-summary 2014-09-17 21:55:15 +0000 |
| 4 | @@ -1506,7 +1506,7 @@ |
| 5 | -e 's/>/}/g' \ |
| 6 | -e 's/[ \t]*\n/\n/g' \ |
| 7 | "${file}" \ |
| 8 | - | awk -F: '/Size|Type|Form.Factor|Type.Detail|[^ ]Locator/{printf("|%s", $2)}/Speed/{print "|" $2}' \ |
| 9 | + | awk -F: '/Size|Type|Form.Factor|Type.Detail|^[\t ]+Locator/{printf("|%s", $2)}/^[\t ]+Speed/{print "|" $2}' \ |
| 10 | | sed -e 's/No Module Installed/{EMPTY}/' \ |
| 11 | | sort \ |
| 12 | | awk -F'|' '{printf(" %-9s %-8s %-17s %-13s %-13s %-8s\n", $4, $2, $7, $3, $5, $6);}' |
| 13 | |
| 14 | === modified file 'lib/bash/report_system_info.sh' |
| 15 | --- lib/bash/report_system_info.sh 2012-08-24 22:39:58 +0000 |
| 16 | +++ lib/bash/report_system_info.sh 2014-09-17 21:55:15 +0000 |
| 17 | @@ -230,7 +230,7 @@ |
| 18 | -e 's/>/}/g' \ |
| 19 | -e 's/[ \t]*\n/\n/g' \ |
| 20 | "${file}" \ |
| 21 | - | awk -F: '/Size|Type|Form.Factor|Type.Detail|[^ ]Locator/{printf("|%s", $2)}/Speed/{print "|" $2}' \ |
| 22 | + | awk -F: '/Size|Type|Form.Factor|Type.Detail|^[\t ]+Locator/{printf("|%s", $2)}/^[\t ]+Speed/{print "|" $2}' \ |
| 23 | | sed -e 's/No Module Installed/{EMPTY}/' \ |
| 24 | | sort \ |
| 25 | | awk -F'|' '{printf(" %-9s %-8s %-17s %-13s %-13s %-8s\n", $4, $2, $7, $3, $5, $6);}' |
| 26 | |
| 27 | === modified file 't/lib/bash/report_system_info.sh' |
| 28 | --- t/lib/bash/report_system_info.sh 2012-08-24 22:39:58 +0000 |
| 29 | +++ t/lib/bash/report_system_info.sh 2014-09-17 21:55:15 +0000 |
| 30 | @@ -1,6 +1,6 @@ |
| 31 | #!/usr/bin/env bash |
| 32 | |
| 33 | -plan 53 |
| 34 | +plan 54 |
| 35 | |
| 36 | . "$LIB_DIR/alt_cmds.sh" |
| 37 | . "$LIB_DIR/log_warn_die.sh" |
| 38 | @@ -1040,6 +1040,16 @@ |
| 39 | parse_dmidecode_mem_devices "$samples/dmidecode-005.txt" > "$PT_TMPDIR/got" |
| 40 | no_diff "$PT_TMPDIR/got" "$PT_TMPDIR/expected" "dmidecode-005.txt" |
| 41 | |
| 42 | +cat <<EOF > "$PT_TMPDIR/expected" |
| 43 | + Locator Size Speed Form Factor Type Type Detail |
| 44 | + ========= ======== ================= ============= ============= =========== |
| 45 | + DIMM 1 8192 MB 1600 MHz SODIMM DDR3 Synchronous |
| 46 | + DIMM 2 8192 MB 1600 MHz SODIMM DDR3 Synchronous |
| 47 | +EOF |
| 48 | +parse_dmidecode_mem_devices "$samples/dmidecode-006.txt" > "$PT_TMPDIR/got" |
| 49 | +no_diff "$PT_TMPDIR/got" "$PT_TMPDIR/expected" "dmidecode-006.txt" |
| 50 | + |
| 51 | + |
| 52 | # parse_arcconf |
| 53 | |
| 54 | cat <<EOF > "$PT_TMPDIR/expected" |
| 55 | |
| 56 | === added file 't/pt-summary/samples/dmidecode-006.txt' |
| 57 | --- t/pt-summary/samples/dmidecode-006.txt 1970-01-01 00:00:00 +0000 |
| 58 | +++ t/pt-summary/samples/dmidecode-006.txt 2014-09-17 21:55:15 +0000 |
| 59 | @@ -0,0 +1,920 @@ |
| 60 | +# dmidecode 2.12 |
| 61 | +# SMBIOS entry point at 0x000f04d0 |
| 62 | +SMBIOS 2.8 present. |
| 63 | +84 structures occupying 3168 bytes. |
| 64 | +Table at 0x000EC170. |
| 65 | + |
| 66 | +Handle 0x0000, DMI type 0, 24 bytes |
| 67 | +BIOS Information |
| 68 | + Vendor: Intel Corp. |
| 69 | + Version: WYLPT10H.86A.0027.2014.0710.1904 |
| 70 | + Release Date: 07/10/2014 |
| 71 | + Address: 0xF0000 |
| 72 | + Runtime Size: 64 kB |
| 73 | + ROM Size: 6656 kB |
| 74 | + Characteristics: |
| 75 | + PCI is supported |
| 76 | + BIOS is upgradeable |
| 77 | + BIOS shadowing is allowed |
| 78 | + Boot from CD is supported |
| 79 | + Selectable boot is supported |
| 80 | + BIOS ROM is socketed |
| 81 | + EDD is supported |
| 82 | + 5.25"/1.2 MB floppy services are supported (int 13h) |
| 83 | + 3.5"/720 kB floppy services are supported (int 13h) |
| 84 | + 3.5"/2.88 MB floppy services are supported (int 13h) |
| 85 | + Print screen service is supported (int 5h) |
| 86 | + Serial services are supported (int 14h) |
| 87 | + Printer services are supported (int 17h) |
| 88 | + ACPI is supported |
| 89 | + USB legacy is supported |
| 90 | + BIOS boot specification is supported |
| 91 | + Targeted content distribution is supported |
| 92 | + UEFI is supported |
| 93 | + BIOS Revision: 4.6 |
| 94 | + |
| 95 | +Handle 0x0001, DMI type 1, 27 bytes |
| 96 | +System Information |
| 97 | + Manufacturer: |
| 98 | + Product Name: |
| 99 | + Version: |
| 100 | + Serial Number: |
| 101 | + UUID: CF181A80-34D4-11E1-BA8E-C03FD5602091 |
| 102 | + Wake-up Type: Power Switch |
| 103 | + SKU Number: |
| 104 | + Family: |
| 105 | + |
| 106 | +Handle 0x0002, DMI type 2, 15 bytes |
| 107 | +Base Board Information |
| 108 | + Manufacturer: Intel Corporation |
| 109 | + Product Name: D34010WYK |
| 110 | + Version: H14771-303 |
| 111 | + Serial Number: GEWY401001F8 |
| 112 | + Asset Tag: |
| 113 | + Features: |
| 114 | + Board is a hosting board |
| 115 | + Board is replaceable |
| 116 | + Location In Chassis: To be filled by O.E.M. |
| 117 | + Chassis Handle: 0x0003 |
| 118 | + Type: Motherboard |
| 119 | + Contained Object Handles: 0 |
| 120 | + |
| 121 | +Handle 0x0003, DMI type 3, 25 bytes |
| 122 | +Chassis Information |
| 123 | + Manufacturer: |
| 124 | + Type: Desktop |
| 125 | + Lock: Not Present |
| 126 | + Version: |
| 127 | + Serial Number: |
| 128 | + Asset Tag: |
| 129 | + Boot-up State: Safe |
| 130 | + Power Supply State: Safe |
| 131 | + Thermal State: Safe |
| 132 | + Security Status: None |
| 133 | + OEM Information: 0x00000000 |
| 134 | + Height: Unspecified |
| 135 | + Number Of Power Cords: 1 |
| 136 | + Contained Elements: 1 |
| 137 | + <OUT OF SPEC> (0) |
| 138 | + SKU Number: To be filled by O.E.M. |
| 139 | + |
| 140 | +Handle 0x0004, DMI type 8, 9 bytes |
| 141 | +Port Connector Information |
| 142 | + Internal Reference Designator: J1A1 |
| 143 | + Internal Connector Type: None |
| 144 | + External Reference Designator: PS2Mouse |
| 145 | + External Connector Type: PS/2 |
| 146 | + Port Type: Mouse Port |
| 147 | + |
| 148 | +Handle 0x0005, DMI type 8, 9 bytes |
| 149 | +Port Connector Information |
| 150 | + Internal Reference Designator: J1A1 |
| 151 | + Internal Connector Type: None |
| 152 | + External Reference Designator: Keyboard |
| 153 | + External Connector Type: PS/2 |
| 154 | + Port Type: Keyboard Port |
| 155 | + |
| 156 | +Handle 0x0006, DMI type 8, 9 bytes |
| 157 | +Port Connector Information |
| 158 | + Internal Reference Designator: J2A1 |
| 159 | + Internal Connector Type: None |
| 160 | + External Reference Designator: TV Out |
| 161 | + External Connector Type: Mini Centronics Type-14 |
| 162 | + Port Type: Other |
| 163 | + |
| 164 | +Handle 0x0007, DMI type 8, 9 bytes |
| 165 | +Port Connector Information |
| 166 | + Internal Reference Designator: J2A2A |
| 167 | + Internal Connector Type: None |
| 168 | + External Reference Designator: COM A |
| 169 | + External Connector Type: DB-9 male |
| 170 | + Port Type: Serial Port 16550A Compatible |
| 171 | + |
| 172 | +Handle 0x0008, DMI type 8, 9 bytes |
| 173 | +Port Connector Information |
| 174 | + Internal Reference Designator: J2A2B |
| 175 | + Internal Connector Type: None |
| 176 | + External Reference Designator: Video |
| 177 | + External Connector Type: DB-15 female |
| 178 | + Port Type: Video Port |
| 179 | + |
| 180 | +Handle 0x0009, DMI type 8, 9 bytes |
| 181 | +Port Connector Information |
| 182 | + Internal Reference Designator: J3A1 |
| 183 | + Internal Connector Type: None |
| 184 | + External Reference Designator: USB1 |
| 185 | + External Connector Type: Access Bus (USB) |
| 186 | + Port Type: USB |
| 187 | + |
| 188 | +Handle 0x000A, DMI type 8, 9 bytes |
| 189 | +Port Connector Information |
| 190 | + Internal Reference Designator: J3A1 |
| 191 | + Internal Connector Type: None |
| 192 | + External Reference Designator: USB2 |
| 193 | + External Connector Type: Access Bus (USB) |
| 194 | + Port Type: USB |
| 195 | + |
| 196 | +Handle 0x000B, DMI type 8, 9 bytes |
| 197 | +Port Connector Information |
| 198 | + Internal Reference Designator: J3A1 |
| 199 | + Internal Connector Type: None |
| 200 | + External Reference Designator: USB3 |
| 201 | + External Connector Type: Access Bus (USB) |
| 202 | + Port Type: USB |
| 203 | + |
| 204 | +Handle 0x000C, DMI type 8, 9 bytes |
| 205 | +Port Connector Information |
| 206 | + Internal Reference Designator: J9A1 - TPM HDR |
| 207 | + Internal Connector Type: Other |
| 208 | + External Reference Designator: Not Specified |
| 209 | + External Connector Type: None |
| 210 | + Port Type: Other |
| 211 | + |
| 212 | +Handle 0x000D, DMI type 8, 9 bytes |
| 213 | +Port Connector Information |
| 214 | + Internal Reference Designator: J9C1 - PCIE DOCKING CONN |
| 215 | + Internal Connector Type: Other |
| 216 | + External Reference Designator: Not Specified |
| 217 | + External Connector Type: None |
| 218 | + Port Type: Other |
| 219 | + |
| 220 | +Handle 0x000E, DMI type 8, 9 bytes |
| 221 | +Port Connector Information |
| 222 | + Internal Reference Designator: J2B3 - CPU FAN |
| 223 | + Internal Connector Type: Other |
| 224 | + External Reference Designator: Not Specified |
| 225 | + External Connector Type: None |
| 226 | + Port Type: Other |
| 227 | + |
| 228 | +Handle 0x000F, DMI type 8, 9 bytes |
| 229 | +Port Connector Information |
| 230 | + Internal Reference Designator: J6C2 - EXT HDMI |
| 231 | + Internal Connector Type: Other |
| 232 | + External Reference Designator: Not Specified |
| 233 | + External Connector Type: None |
| 234 | + Port Type: Other |
| 235 | + |
| 236 | +Handle 0x0010, DMI type 8, 9 bytes |
| 237 | +Port Connector Information |
| 238 | + Internal Reference Designator: J3C1 - GMCH FAN |
| 239 | + Internal Connector Type: Other |
| 240 | + External Reference Designator: Not Specified |
| 241 | + External Connector Type: None |
| 242 | + Port Type: Other |
| 243 | + |
| 244 | +Handle 0x0011, DMI type 8, 9 bytes |
| 245 | +Port Connector Information |
| 246 | + Internal Reference Designator: J1D1 - ITP |
| 247 | + Internal Connector Type: Other |
| 248 | + External Reference Designator: Not Specified |
| 249 | + External Connector Type: None |
| 250 | + Port Type: Other |
| 251 | + |
| 252 | +Handle 0x0012, DMI type 8, 9 bytes |
| 253 | +Port Connector Information |
| 254 | + Internal Reference Designator: J9E2 - MDC INTPSR |
| 255 | + Internal Connector Type: Other |
| 256 | + External Reference Designator: Not Specified |
| 257 | + External Connector Type: None |
| 258 | + Port Type: Other |
| 259 | + |
| 260 | +Handle 0x0013, DMI type 8, 9 bytes |
| 261 | +Port Connector Information |
| 262 | + Internal Reference Designator: J9E4 - MDC INTPSR |
| 263 | + Internal Connector Type: Other |
| 264 | + External Reference Designator: Not Specified |
| 265 | + External Connector Type: None |
| 266 | + Port Type: Other |
| 267 | + |
| 268 | +Handle 0x0014, DMI type 8, 9 bytes |
| 269 | +Port Connector Information |
| 270 | + Internal Reference Designator: J9E3 - LPC HOT DOCKING |
| 271 | + Internal Connector Type: Other |
| 272 | + External Reference Designator: Not Specified |
| 273 | + External Connector Type: None |
| 274 | + Port Type: Other |
| 275 | + |
| 276 | +Handle 0x0015, DMI type 8, 9 bytes |
| 277 | +Port Connector Information |
| 278 | + Internal Reference Designator: J9E1 - SCAN MATRIX |
| 279 | + Internal Connector Type: Other |
| 280 | + External Reference Designator: Not Specified |
| 281 | + External Connector Type: None |
| 282 | + Port Type: Other |
| 283 | + |
| 284 | +Handle 0x0016, DMI type 8, 9 bytes |
| 285 | +Port Connector Information |
| 286 | + Internal Reference Designator: J9G1 - LPC SIDE BAND |
| 287 | + Internal Connector Type: Other |
| 288 | + External Reference Designator: Not Specified |
| 289 | + External Connector Type: None |
| 290 | + Port Type: Other |
| 291 | + |
| 292 | +Handle 0x0017, DMI type 8, 9 bytes |
| 293 | +Port Connector Information |
| 294 | + Internal Reference Designator: J8F1 - UNIFIED |
| 295 | + Internal Connector Type: Other |
| 296 | + External Reference Designator: Not Specified |
| 297 | + External Connector Type: None |
| 298 | + Port Type: Other |
| 299 | + |
| 300 | +Handle 0x0018, DMI type 8, 9 bytes |
| 301 | +Port Connector Information |
| 302 | + Internal Reference Designator: J6F1 - LVDS |
| 303 | + Internal Connector Type: Other |
| 304 | + External Reference Designator: Not Specified |
| 305 | + External Connector Type: None |
| 306 | + Port Type: Other |
| 307 | + |
| 308 | +Handle 0x0019, DMI type 8, 9 bytes |
| 309 | +Port Connector Information |
| 310 | + Internal Reference Designator: J2F1 - LAI FAN |
| 311 | + Internal Connector Type: Other |
| 312 | + External Reference Designator: Not Specified |
| 313 | + External Connector Type: None |
| 314 | + Port Type: Other |
| 315 | + |
| 316 | +Handle 0x001A, DMI type 8, 9 bytes |
| 317 | +Port Connector Information |
| 318 | + Internal Reference Designator: J2G1 - GFX VID |
| 319 | + Internal Connector Type: Other |
| 320 | + External Reference Designator: Not Specified |
| 321 | + External Connector Type: None |
| 322 | + Port Type: Other |
| 323 | + |
| 324 | +Handle 0x001B, DMI type 8, 9 bytes |
| 325 | +Port Connector Information |
| 326 | + Internal Reference Designator: J1G6 - AC JACK |
| 327 | + Internal Connector Type: Other |
| 328 | + External Reference Designator: Not Specified |
| 329 | + External Connector Type: None |
| 330 | + Port Type: Other |
| 331 | + |
| 332 | +Handle 0x001C, DMI type 9, 17 bytes |
| 333 | +System Slot Information |
| 334 | + Designation: J6B2 |
| 335 | + Type: x16 PCI Express |
| 336 | + Current Usage: Available |
| 337 | + Length: Long |
| 338 | + ID: 0 |
| 339 | + Characteristics: |
| 340 | + 3.3 V is provided |
| 341 | + Opening is shared |
| 342 | + PME signal is supported |
| 343 | + Bus Address: 0000:00:01.0 |
| 344 | + |
| 345 | +Handle 0x001D, DMI type 10, 10 bytes |
| 346 | +On Board Device 1 Information |
| 347 | + Type: Video |
| 348 | + Status: Enabled |
| 349 | + Description: Intel(R) HD Graphics Device |
| 350 | +On Board Device 2 Information |
| 351 | + Type: Ethernet |
| 352 | + Status: Enabled |
| 353 | + Description: Intel(R) WGI218V Gigabit Network Device |
| 354 | +On Board Device 3 Information |
| 355 | + Type: Sound |
| 356 | + Status: Enabled |
| 357 | + Description: Realtek High Definition Audio Device |
| 358 | + |
| 359 | +Handle 0x001E, DMI type 11, 5 bytes |
| 360 | +OEM Strings |
| 361 | + String 1: To Be Filled By O.E.M. |
| 362 | + |
| 363 | +Handle 0x001F, DMI type 12, 5 bytes |
| 364 | +System Configuration Options |
| 365 | + Option 1: To Be Filled By O.E.M. |
| 366 | + |
| 367 | +Handle 0x0020, DMI type 24, 5 bytes |
| 368 | +Hardware Security |
| 369 | + Power-On Password Status: Disabled |
| 370 | + Keyboard Password Status: Disabled |
| 371 | + Administrator Password Status: Disabled |
| 372 | + Front Panel Reset Status: Disabled |
| 373 | + |
| 374 | +Handle 0x0021, DMI type 32, 20 bytes |
| 375 | +System Boot Information |
| 376 | + Status: No errors detected |
| 377 | + |
| 378 | +Handle 0x0022, DMI type 34, 11 bytes |
| 379 | +Management Device |
| 380 | + Description: LM78-1 |
| 381 | + Type: LM78 |
| 382 | + Address: 0x00000000 |
| 383 | + Address Type: I/O Port |
| 384 | + |
| 385 | +Handle 0x0023, DMI type 26, 22 bytes |
| 386 | +Voltage Probe |
| 387 | + Description: LM78A |
| 388 | + Location: <OUT OF SPEC> |
| 389 | + Status: <OUT OF SPEC> |
| 390 | + Maximum Value: Unknown |
| 391 | + Minimum Value: Unknown |
| 392 | + Resolution: Unknown |
| 393 | + Tolerance: Unknown |
| 394 | + Accuracy: Unknown |
| 395 | + OEM-specific Information: 0x00000000 |
| 396 | + Nominal Value: Unknown |
| 397 | + |
| 398 | +Handle 0x0024, DMI type 36, 16 bytes |
| 399 | +Management Device Threshold Data |
| 400 | + Lower Non-critical Threshold: 1 |
| 401 | + Upper Non-critical Threshold: 2 |
| 402 | + Lower Critical Threshold: 3 |
| 403 | + Upper Critical Threshold: 4 |
| 404 | + Lower Non-recoverable Threshold: 5 |
| 405 | + Upper Non-recoverable Threshold: 6 |
| 406 | + |
| 407 | +Handle 0x0025, DMI type 35, 11 bytes |
| 408 | +Management Device Component |
| 409 | + Description: To Be Filled By O.E.M. |
| 410 | + Management Device Handle: 0x0022 |
| 411 | + Component Handle: 0x0022 |
| 412 | + Threshold Handle: 0x0023 |
| 413 | + |
| 414 | +Handle 0x0026, DMI type 28, 22 bytes |
| 415 | +Temperature Probe |
| 416 | + Description: LM78A |
| 417 | + Location: <OUT OF SPEC> |
| 418 | + Status: <OUT OF SPEC> |
| 419 | + Maximum Value: Unknown |
| 420 | + Minimum Value: Unknown |
| 421 | + Resolution: Unknown |
| 422 | + Tolerance: Unknown |
| 423 | + Accuracy: Unknown |
| 424 | + OEM-specific Information: 0x00000000 |
| 425 | + Nominal Value: Unknown |
| 426 | + |
| 427 | +Handle 0x0027, DMI type 36, 16 bytes |
| 428 | +Management Device Threshold Data |
| 429 | + Lower Non-critical Threshold: 1 |
| 430 | + Upper Non-critical Threshold: 2 |
| 431 | + Lower Critical Threshold: 3 |
| 432 | + Upper Critical Threshold: 4 |
| 433 | + Lower Non-recoverable Threshold: 5 |
| 434 | + Upper Non-recoverable Threshold: 6 |
| 435 | + |
| 436 | +Handle 0x0028, DMI type 35, 11 bytes |
| 437 | +Management Device Component |
| 438 | + Description: To Be Filled By O.E.M. |
| 439 | + Management Device Handle: 0x0022 |
| 440 | + Component Handle: 0x0025 |
| 441 | + Threshold Handle: 0x0026 |
| 442 | + |
| 443 | +Handle 0x0029, DMI type 27, 15 bytes |
| 444 | +Cooling Device |
| 445 | + Temperature Probe Handle: 0x0026 |
| 446 | + Type: <OUT OF SPEC> |
| 447 | + Status: <OUT OF SPEC> |
| 448 | + Cooling Unit Group: 1 |
| 449 | + OEM-specific Information: 0x00000000 |
| 450 | + Nominal Speed: Unknown Or Non-rotating |
| 451 | + Description: Cooling Dev 1 |
| 452 | + |
| 453 | +Handle 0x002A, DMI type 36, 16 bytes |
| 454 | +Management Device Threshold Data |
| 455 | + Lower Non-critical Threshold: 1 |
| 456 | + Upper Non-critical Threshold: 2 |
| 457 | + Lower Critical Threshold: 3 |
| 458 | + Upper Critical Threshold: 4 |
| 459 | + Lower Non-recoverable Threshold: 5 |
| 460 | + Upper Non-recoverable Threshold: 6 |
| 461 | + |
| 462 | +Handle 0x002B, DMI type 35, 11 bytes |
| 463 | +Management Device Component |
| 464 | + Description: To Be Filled By O.E.M. |
| 465 | + Management Device Handle: 0x0022 |
| 466 | + Component Handle: 0x0028 |
| 467 | + Threshold Handle: 0x0029 |
| 468 | + |
| 469 | +Handle 0x002C, DMI type 27, 15 bytes |
| 470 | +Cooling Device |
| 471 | + Temperature Probe Handle: 0x0026 |
| 472 | + Type: <OUT OF SPEC> |
| 473 | + Status: <OUT OF SPEC> |
| 474 | + Cooling Unit Group: 1 |
| 475 | + OEM-specific Information: 0x00000000 |
| 476 | + Nominal Speed: Unknown Or Non-rotating |
| 477 | + Description: Not Specified |
| 478 | + |
| 479 | +Handle 0x002D, DMI type 36, 16 bytes |
| 480 | +Management Device Threshold Data |
| 481 | + Lower Non-critical Threshold: 1 |
| 482 | + Upper Non-critical Threshold: 2 |
| 483 | + Lower Critical Threshold: 3 |
| 484 | + Upper Critical Threshold: 4 |
| 485 | + Lower Non-recoverable Threshold: 5 |
| 486 | + Upper Non-recoverable Threshold: 6 |
| 487 | + |
| 488 | +Handle 0x002E, DMI type 35, 11 bytes |
| 489 | +Management Device Component |
| 490 | + Description: To Be Filled By O.E.M. |
| 491 | + Management Device Handle: 0x0022 |
| 492 | + Component Handle: 0x002B |
| 493 | + Threshold Handle: 0x002C |
| 494 | + |
| 495 | +Handle 0x002F, DMI type 29, 22 bytes |
| 496 | +Electrical Current Probe |
| 497 | + Description: ABC |
| 498 | + Location: <OUT OF SPEC> |
| 499 | + Status: <OUT OF SPEC> |
| 500 | + Maximum Value: Unknown |
| 501 | + Minimum Value: Unknown |
| 502 | + Resolution: Unknown |
| 503 | + Tolerance: Unknown |
| 504 | + Accuracy: Unknown |
| 505 | + OEM-specific Information: 0x00000000 |
| 506 | + Nominal Value: Unknown |
| 507 | + |
| 508 | +Handle 0x0030, DMI type 36, 16 bytes |
| 509 | +Management Device Threshold Data |
| 510 | + |
| 511 | +Handle 0x0031, DMI type 35, 11 bytes |
| 512 | +Management Device Component |
| 513 | + Description: To Be Filled By O.E.M. |
| 514 | + Management Device Handle: 0x0022 |
| 515 | + Component Handle: 0x002E |
| 516 | + Threshold Handle: 0x002C |
| 517 | + |
| 518 | +Handle 0x0032, DMI type 26, 22 bytes |
| 519 | +Voltage Probe |
| 520 | + Description: LM78A |
| 521 | + Location: Power Unit |
| 522 | + Status: OK |
| 523 | + Maximum Value: Unknown |
| 524 | + Minimum Value: Unknown |
| 525 | + Resolution: Unknown |
| 526 | + Tolerance: Unknown |
| 527 | + Accuracy: Unknown |
| 528 | + OEM-specific Information: 0x00000000 |
| 529 | + Nominal Value: Unknown |
| 530 | + |
| 531 | +Handle 0x0033, DMI type 28, 22 bytes |
| 532 | +Temperature Probe |
| 533 | + Description: LM78A |
| 534 | + Location: Power Unit |
| 535 | + Status: OK |
| 536 | + Maximum Value: Unknown |
| 537 | + Minimum Value: Unknown |
| 538 | + Resolution: Unknown |
| 539 | + Tolerance: Unknown |
| 540 | + Accuracy: Unknown |
| 541 | + OEM-specific Information: 0x00000000 |
| 542 | + Nominal Value: Unknown |
| 543 | + |
| 544 | +Handle 0x0034, DMI type 27, 15 bytes |
| 545 | +Cooling Device |
| 546 | + Temperature Probe Handle: 0x0033 |
| 547 | + Type: Power Supply Fan |
| 548 | + Status: OK |
| 549 | + Cooling Unit Group: 1 |
| 550 | + OEM-specific Information: 0x00000000 |
| 551 | + Nominal Speed: Unknown Or Non-rotating |
| 552 | + Description: Cooling Dev 1 |
| 553 | + |
| 554 | +Handle 0x0035, DMI type 29, 22 bytes |
| 555 | +Electrical Current Probe |
| 556 | + Description: ABC |
| 557 | + Location: Power Unit |
| 558 | + Status: OK |
| 559 | + Maximum Value: Unknown |
| 560 | + Minimum Value: Unknown |
| 561 | + Resolution: Unknown |
| 562 | + Tolerance: Unknown |
| 563 | + Accuracy: Unknown |
| 564 | + OEM-specific Information: 0x00000000 |
| 565 | + Nominal Value: Unknown |
| 566 | + |
| 567 | +Handle 0x0036, DMI type 39, 22 bytes |
| 568 | +System Power Supply |
| 569 | + Power Unit Group: 1 |
| 570 | + Location: To Be Filled By O.E.M. |
| 571 | + Name: To Be Filled By O.E.M. |
| 572 | + Manufacturer: To Be Filled By O.E.M. |
| 573 | + Serial Number: To Be Filled By O.E.M. |
| 574 | + Asset Tag: To Be Filled By O.E.M. |
| 575 | + Model Part Number: To Be Filled By O.E.M. |
| 576 | + Revision: To Be Filled By O.E.M. |
| 577 | + Max Power Capacity: Unknown |
| 578 | + Status: Present, OK |
| 579 | + Type: Switching |
| 580 | + Input Voltage Range Switching: Auto-switch |
| 581 | + Plugged: Yes |
| 582 | + Hot Replaceable: No |
| 583 | + Input Voltage Probe Handle: 0x0032 |
| 584 | + Cooling Device Handle: 0x0034 |
| 585 | + Input Current Probe Handle: 0x0035 |
| 586 | + |
| 587 | +Handle 0x0037, DMI type 41, 11 bytes |
| 588 | +Onboard Device |
| 589 | + Reference Designation: CPU1 |
| 590 | + Type: Video |
| 591 | + Status: Enabled |
| 592 | + Type Instance: 1 |
| 593 | + Bus Address: 0000:00:02.0 |
| 594 | + |
| 595 | +Handle 0x0038, DMI type 41, 11 bytes |
| 596 | +Onboard Device |
| 597 | + Reference Designation: ILAN |
| 598 | + Type: Ethernet |
| 599 | + Status: Enabled |
| 600 | + Type Instance: 1 |
| 601 | + Bus Address: 0000:00:19.0 |
| 602 | + |
| 603 | +Handle 0x0039, DMI type 41, 11 bytes |
| 604 | +Onboard Device |
| 605 | + Reference Designation: AUDIO1 |
| 606 | + Type: Sound |
| 607 | + Status: Enabled |
| 608 | + Type Instance: 1 |
| 609 | + Bus Address: 0000:00:1b.0 |
| 610 | + |
| 611 | +Handle 0x003A, DMI type 4, 42 bytes |
| 612 | +Processor Information |
| 613 | + Socket Designation: CPU 1 |
| 614 | + Type: Central Processor |
| 615 | + Family: Core i3 |
| 616 | + Manufacturer: Intel(R) Corp. |
| 617 | + ID: 51 06 04 00 FF FB EB BF |
| 618 | + Signature: Type 0, Family 6, Model 69, Stepping 1 |
| 619 | + Flags: |
| 620 | + FPU (Floating-point unit on-chip) |
| 621 | + VME (Virtual mode extension) |
| 622 | + DE (Debugging extension) |
| 623 | + PSE (Page size extension) |
| 624 | + TSC (Time stamp counter) |
| 625 | + MSR (Model specific registers) |
| 626 | + PAE (Physical address extension) |
| 627 | + MCE (Machine check exception) |
| 628 | + CX8 (CMPXCHG8 instruction supported) |
| 629 | + APIC (On-chip APIC hardware supported) |
| 630 | + SEP (Fast system call) |
| 631 | + MTRR (Memory type range registers) |
| 632 | + PGE (Page global enable) |
| 633 | + MCA (Machine check architecture) |
| 634 | + CMOV (Conditional move instruction supported) |
| 635 | + PAT (Page attribute table) |
| 636 | + PSE-36 (36-bit page size extension) |
| 637 | + CLFSH (CLFLUSH instruction supported) |
| 638 | + DS (Debug store) |
| 639 | + ACPI (ACPI supported) |
| 640 | + MMX (MMX technology supported) |
| 641 | + FXSR (FXSAVE and FXSTOR instructions supported) |
| 642 | + SSE (Streaming SIMD extensions) |
| 643 | + SSE2 (Streaming SIMD extensions 2) |
| 644 | + SS (Self-snoop) |
| 645 | + HTT (Multi-threading) |
| 646 | + TM (Thermal monitor supported) |
| 647 | + PBE (Pending break enabled) |
| 648 | + Version: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz |
| 649 | + Voltage: 1.2 V |
| 650 | + External Clock: 100 MHz |
| 651 | + Max Speed: 1700 MHz |
| 652 | + Current Speed: 1700 MHz |
| 653 | + Status: Populated, Enabled |
| 654 | + Upgrade: <OUT OF SPEC> |
| 655 | + L1 Cache Handle: 0x003C |
| 656 | + L2 Cache Handle: 0x003B |
| 657 | + L3 Cache Handle: 0x003D |
| 658 | + Serial Number: Not Specified |
| 659 | + Asset Tag: Fill By OEM |
| 660 | + Part Number: Fill By OEM |
| 661 | + Core Count: 2 |
| 662 | + Core Enabled: 2 |
| 663 | + Thread Count: 4 |
| 664 | + Characteristics: |
| 665 | + 64-bit capable |
| 666 | + |
| 667 | +Handle 0x003B, DMI type 7, 19 bytes |
| 668 | +Cache Information |
| 669 | + Socket Designation: CPU Internal L2 |
| 670 | + Configuration: Enabled, Not Socketed, Level 2 |
| 671 | + Operational Mode: Write Back |
| 672 | + Location: Internal |
| 673 | + Installed Size: 512 kB |
| 674 | + Maximum Size: 512 kB |
| 675 | + Supported SRAM Types: |
| 676 | + Unknown |
| 677 | + Installed SRAM Type: Unknown |
| 678 | + Speed: Unknown |
| 679 | + Error Correction Type: Single-bit ECC |
| 680 | + System Type: Unified |
| 681 | + Associativity: 8-way Set-associative |
| 682 | + |
| 683 | +Handle 0x003C, DMI type 7, 19 bytes |
| 684 | +Cache Information |
| 685 | + Socket Designation: CPU Internal L1 |
| 686 | + Configuration: Enabled, Not Socketed, Level 1 |
| 687 | + Operational Mode: Write Back |
| 688 | + Location: Internal |
| 689 | + Installed Size: 128 kB |
| 690 | + Maximum Size: 128 kB |
| 691 | + Supported SRAM Types: |
| 692 | + Unknown |
| 693 | + Installed SRAM Type: Unknown |
| 694 | + Speed: Unknown |
| 695 | + Error Correction Type: Single-bit ECC |
| 696 | + System Type: Other |
| 697 | + Associativity: 8-way Set-associative |
| 698 | + |
| 699 | +Handle 0x003D, DMI type 7, 19 bytes |
| 700 | +Cache Information |
| 701 | + Socket Designation: CPU Internal L3 |
| 702 | + Configuration: Enabled, Not Socketed, Level 3 |
| 703 | + Operational Mode: Write Back |
| 704 | + Location: Internal |
| 705 | + Installed Size: 3072 kB |
| 706 | + Maximum Size: 3072 kB |
| 707 | + Supported SRAM Types: |
| 708 | + Unknown |
| 709 | + Installed SRAM Type: Unknown |
| 710 | + Speed: Unknown |
| 711 | + Error Correction Type: Single-bit ECC |
| 712 | + System Type: Unified |
| 713 | + Associativity: 12-way Set-associative |
| 714 | + |
| 715 | +Handle 0x003E, DMI type 16, 23 bytes |
| 716 | +Physical Memory Array |
| 717 | + Location: System Board Or Motherboard |
| 718 | + Use: System Memory |
| 719 | + Error Correction Type: None |
| 720 | + Maximum Capacity: 16 GB |
| 721 | + Error Information Handle: Not Provided |
| 722 | + Number Of Devices: 2 |
| 723 | + |
| 724 | +Handle 0x003F, DMI type 17, 40 bytes |
| 725 | +Memory Device |
| 726 | + Array Handle: 0x003E |
| 727 | + Error Information Handle: Not Provided |
| 728 | + Total Width: 64 bits |
| 729 | + Data Width: 64 bits |
| 730 | + Size: 8192 MB |
| 731 | + Form Factor: SODIMM |
| 732 | + Set: None |
| 733 | + Locator: DIMM 1 |
| 734 | + Bank Locator: Channel A Slot 0 |
| 735 | + Type: DDR3 |
| 736 | + Type Detail: Synchronous |
| 737 | + Speed: 1600 MHz |
| 738 | + Manufacturer: 1315 |
| 739 | + Serial Number: 102007000000 |
| 740 | + Asset Tag: 9876543210 |
| 741 | + Part Number: CT102464BF160B.C16 |
| 742 | + Rank: 2 |
| 743 | + Configured Clock Speed: 1600 MHz |
| 744 | + Minimum voltage: 1.350 V |
| 745 | + Maximum voltage: 1.500 V |
| 746 | + Configured voltage: 1.350 V |
| 747 | + |
| 748 | +Handle 0x0040, DMI type 20, 35 bytes |
| 749 | +Memory Device Mapped Address |
| 750 | + Starting Address: 0x00000000000 |
| 751 | + Ending Address: 0x001FFFFFFFF |
| 752 | + Range Size: 8 GB |
| 753 | + Physical Device Handle: 0x003F |
| 754 | + Memory Array Mapped Address Handle: 0x0043 |
| 755 | + Partition Row Position: Unknown |
| 756 | + Interleave Position: Unknown |
| 757 | + Interleaved Data Depth: Unknown |
| 758 | + |
| 759 | +Handle 0x0041, DMI type 17, 40 bytes |
| 760 | +Memory Device |
| 761 | + Array Handle: 0x003E |
| 762 | + Error Information Handle: Not Provided |
| 763 | + Total Width: 64 bits |
| 764 | + Data Width: 64 bits |
| 765 | + Size: 8192 MB |
| 766 | + Form Factor: SODIMM |
| 767 | + Set: None |
| 768 | + Locator: DIMM 2 |
| 769 | + Bank Locator: Channel B Slot 0 |
| 770 | + Type: DDR3 |
| 771 | + Type Detail: Synchronous |
| 772 | + Speed: 1600 MHz |
| 773 | + Manufacturer: 1315 |
| 774 | + Serial Number: 037018000000 |
| 775 | + Asset Tag: 9876543210 |
| 776 | + Part Number: CT102464BF160B.C16 |
| 777 | + Rank: 2 |
| 778 | + Configured Clock Speed: 1600 MHz |
| 779 | + Minimum voltage: 1.350 V |
| 780 | + Maximum voltage: 1.500 V |
| 781 | + Configured voltage: 1.350 V |
| 782 | + |
| 783 | +Handle 0x0042, DMI type 20, 35 bytes |
| 784 | +Memory Device Mapped Address |
| 785 | + Starting Address: 0x00200000000 |
| 786 | + Ending Address: 0x003FFFFFFFF |
| 787 | + Range Size: 8 GB |
| 788 | + Physical Device Handle: 0x0041 |
| 789 | + Memory Array Mapped Address Handle: 0x0043 |
| 790 | + Partition Row Position: Unknown |
| 791 | + Interleave Position: Unknown |
| 792 | + Interleaved Data Depth: Unknown |
| 793 | + |
| 794 | +Handle 0x0043, DMI type 19, 31 bytes |
| 795 | +Memory Array Mapped Address |
| 796 | + Starting Address: 0x00000000000 |
| 797 | + Ending Address: 0x003FFFFFFFF |
| 798 | + Range Size: 16 GB |
| 799 | + Physical Array Handle: 0x003E |
| 800 | + Partition Width: 2 |
| 801 | + |
| 802 | +Handle 0x0054, DMI type 136, 6 bytes |
| 803 | +OEM-specific Type |
| 804 | + Header and Data: |
| 805 | + 88 06 54 00 5A 5A |
| 806 | + |
| 807 | +Handle 0x0055, DMI type 131, 64 bytes |
| 808 | +OEM-specific Type |
| 809 | + Header and Data: |
| 810 | + 83 40 55 00 31 00 00 00 00 00 00 00 00 00 00 00 |
| 811 | + F8 00 43 9C 00 00 00 00 01 00 00 00 05 00 09 00 |
| 812 | + AA 06 0D 00 00 00 00 00 C8 00 59 15 00 00 00 00 |
| 813 | + 00 00 00 00 26 00 00 00 76 50 72 6F 00 00 00 00 |
| 814 | + |
| 815 | +Handle 0x0057, DMI type 9, 17 bytes |
| 816 | +System Slot Information |
| 817 | + Designation: PCIeSlot |
| 818 | + Type: x1 PCI Express 2 x1 |
| 819 | + Current Usage: Available |
| 820 | + Length: Short |
| 821 | + ID: 7 |
| 822 | + Characteristics: |
| 823 | + 3.3 V is provided |
| 824 | + Opening is shared |
| 825 | + PME signal is supported |
| 826 | + Bus Address: 0000:00:1c.5 |
| 827 | + |
| 828 | +Handle 0x0058, DMI type 9, 17 bytes |
| 829 | +System Slot Information |
| 830 | + Designation: PCIeSlot |
| 831 | + Type: x1 PCI Express 2 x1 |
| 832 | + Current Usage: Available |
| 833 | + Length: Short |
| 834 | + ID: 5 |
| 835 | + Characteristics: |
| 836 | + 3.3 V is provided |
| 837 | + Opening is shared |
| 838 | + PME signal is supported |
| 839 | + Bus Address: 0000:00:1c.6 |
| 840 | + |
| 841 | +Handle 0x0059, DMI type 9, 17 bytes |
| 842 | +System Slot Information |
| 843 | + Designation: PCIeSlot |
| 844 | + Type: x4 PCI Express 2 x4 |
| 845 | + Current Usage: Available |
| 846 | + Length: Short |
| 847 | + ID: 4 |
| 848 | + Characteristics: |
| 849 | + 3.3 V is provided |
| 850 | + Opening is shared |
| 851 | + PME signal is supported |
| 852 | + Bus Address: 0000:00:1c.1 |
| 853 | + |
| 854 | +Handle 0x005A, DMI type 9, 17 bytes |
| 855 | +System Slot Information |
| 856 | + Designation: PCI Slot |
| 857 | + Type: 32-bit PCI |
| 858 | + Current Usage: Available |
| 859 | + Length: Short |
| 860 | + ID: 3 |
| 861 | + Characteristics: |
| 862 | + 3.3 V is provided |
| 863 | + Opening is shared |
| 864 | + PME signal is supported |
| 865 | + Bus Address: 0000:ff:00.0 |
| 866 | + |
| 867 | +Handle 0x005B, DMI type 9, 17 bytes |
| 868 | +System Slot Information |
| 869 | + Designation: PCI Slot |
| 870 | + Type: 32-bit PCI |
| 871 | + Current Usage: Available |
| 872 | + Length: Short |
| 873 | + ID: 2 |
| 874 | + Characteristics: |
| 875 | + 3.3 V is provided |
| 876 | + Opening is shared |
| 877 | + PME signal is supported |
| 878 | + Bus Address: 0000:ff:01.0 |
| 879 | + |
| 880 | +Handle 0x005C, DMI type 9, 17 bytes |
| 881 | +System Slot Information |
| 882 | + Designation: PCI Slot |
| 883 | + Type: 32-bit PCI |
| 884 | + Current Usage: Available |
| 885 | + Length: Short |
| 886 | + ID: 1 |
| 887 | + Characteristics: |
| 888 | + 3.3 V is provided |
| 889 | + Opening is shared |
| 890 | + PME signal is supported |
| 891 | + Bus Address: 0000:ff:02.0 |
| 892 | + |
| 893 | +Handle 0x005D, DMI type 13, 22 bytes |
| 894 | +BIOS Language Information |
| 895 | + Language Description Format: Long |
| 896 | + Installable Languages: 1 |
| 897 | + en|US|iso8859-1 |
| 898 | + Currently Installed Language: en|US|iso8859-1 |
| 899 | + |
| 900 | +Handle 0x0060, DMI type 9, 17 bytes |
| 901 | +System Slot Information |
| 902 | + Designation: PCIeSlot |
| 903 | + Type: x1 PCI Express 2 x1 |
| 904 | + Current Usage: Available |
| 905 | + Length: Short |
| 906 | + ID: 7 |
| 907 | + Characteristics: |
| 908 | + 3.3 V is provided |
| 909 | + Opening is shared |
| 910 | + PME signal is supported |
| 911 | + Bus Address: 0000:00:1c.5 |
| 912 | + |
| 913 | +Handle 0x0061, DMI type 9, 17 bytes |
| 914 | +System Slot Information |
| 915 | + Designation: PCIeSlot |
| 916 | + Type: x1 PCI Express 2 x1 |
| 917 | + Current Usage: Available |
| 918 | + Length: Short |
| 919 | + ID: 5 |
| 920 | + Characteristics: |
| 921 | + 3.3 V is provided |
| 922 | + Opening is shared |
| 923 | + PME signal is supported |
| 924 | + Bus Address: 0000:00:1c.6 |
| 925 | + |
| 926 | +Handle 0x0062, DMI type 9, 17 bytes |
| 927 | +System Slot Information |
| 928 | + Designation: PCIeSlot |
| 929 | + Type: x4 PCI Express 2 x4 |
| 930 | + Current Usage: Available |
| 931 | + Length: Short |
| 932 | + ID: 4 |
| 933 | + Characteristics: |
| 934 | + 3.3 V is provided |
| 935 | + Opening is shared |
| 936 | + PME signal is supported |
| 937 | + Bus Address: 0000:00:1c.1 |
| 938 | + |
| 939 | +Handle 0x0063, DMI type 9, 17 bytes |
| 940 | +System Slot Information |
| 941 | + Designation: PCI Slot |
| 942 | + Type: 32-bit PCI |
| 943 | + Current Usage: Available |
| 944 | + Length: Short |
| 945 | + ID: 3 |
| 946 | + Characteristics: |
| 947 | + 3.3 V is provided |
| 948 | + Opening is shared |
| 949 | + PME signal is supported |
| 950 | + Bus Address: 0000:ff:00.0 |
| 951 | + |
| 952 | +Handle 0x0064, DMI type 9, 17 bytes |
| 953 | +System Slot Information |
| 954 | + Designation: PCI Slot |
| 955 | + Type: 32-bit PCI |
| 956 | + Current Usage: Available |
| 957 | + Length: Short |
| 958 | + ID: 2 |
| 959 | + Characteristics: |
| 960 | + 3.3 V is provided |
| 961 | + Opening is shared |
| 962 | + PME signal is supported |
| 963 | + Bus Address: 0000:ff:01.0 |
| 964 | + |
| 965 | +Handle 0x0065, DMI type 9, 17 bytes |
| 966 | +System Slot Information |
| 967 | + Designation: PCI Slot |
| 968 | + Type: 32-bit PCI |
| 969 | + Current Usage: Available |
| 970 | + Length: Short |
| 971 | + ID: 1 |
| 972 | + Characteristics: |
| 973 | + 3.3 V is provided |
| 974 | + Opening is shared |
| 975 | + PME signal is supported |
| 976 | + Bus Address: 0000:ff:02.0 |
| 977 | + |
| 978 | +Handle 0x0066, DMI type 127, 4 bytes |
| 979 | +End Of Table |

Is good as long as test pass.