facter 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of facter might be problematic. Click here for more details.

Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +14 -0
  3. data/ext/project_data.yaml +9 -6
  4. data/lib/facter/core/execution/base.rb +3 -3
  5. data/lib/facter/core/suitable.rb +1 -5
  6. data/lib/facter/dhcp_servers.rb +39 -0
  7. data/lib/facter/ec2.rb +33 -26
  8. data/lib/facter/ec2/rest.rb +130 -0
  9. data/lib/facter/fqdn.rb +2 -0
  10. data/lib/facter/gce.rb +16 -0
  11. data/lib/facter/gce/metadata.rb +87 -0
  12. data/lib/facter/kernelmajversion.rb +8 -0
  13. data/lib/facter/kernelrelease.rb +8 -0
  14. data/lib/facter/memory.rb +21 -15
  15. data/lib/facter/netmask.rb +1 -1
  16. data/lib/facter/operatingsystem.rb +20 -0
  17. data/lib/facter/operatingsystemmajrelease.rb +2 -1
  18. data/lib/facter/operatingsystemrelease.rb +19 -0
  19. data/lib/facter/osfamily.rb +3 -1
  20. data/lib/facter/partitions.rb +35 -0
  21. data/lib/facter/physicalprocessorcount.rb +9 -0
  22. data/lib/facter/processor.rb +25 -25
  23. data/lib/facter/util/config.rb +3 -1
  24. data/lib/facter/util/dhcp_servers.rb +43 -0
  25. data/lib/facter/util/ec2.rb +5 -0
  26. data/lib/facter/util/formatter.rb +2 -1
  27. data/lib/facter/util/ip.rb +1 -1
  28. data/lib/facter/util/loader.rb +10 -1
  29. data/lib/facter/util/manufacturer.rb +15 -16
  30. data/lib/facter/util/memory.rb +12 -12
  31. data/lib/facter/util/netmask.rb +1 -1
  32. data/lib/facter/util/operatingsystem.rb +21 -0
  33. data/lib/facter/util/partitions.rb +41 -0
  34. data/lib/facter/util/partitions/linux.rb +65 -0
  35. data/lib/facter/util/posix.rb +16 -0
  36. data/lib/facter/util/processor.rb +8 -10
  37. data/lib/facter/util/resolution.rb +4 -0
  38. data/lib/facter/util/values.rb +29 -0
  39. data/lib/facter/util/virtual.rb +32 -3
  40. data/lib/facter/util/windows_root.rb +2 -32
  41. data/lib/facter/version.rb +1 -1
  42. data/lib/facter/virtual.rb +53 -12
  43. data/spec/fixtures/ifconfig/openbsd_bridge_rules +11 -0
  44. data/spec/fixtures/unit/dhcp_servers/nmcli_devices +4 -0
  45. data/spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected +4 -0
  46. data/spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp +36 -0
  47. data/spec/fixtures/unit/dhcp_servers/nmcli_eth0_static +24 -0
  48. data/spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp +49 -0
  49. data/spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static +37 -0
  50. data/spec/fixtures/unit/dhcp_servers/route +3 -0
  51. data/spec/fixtures/unit/dhcp_servers/route_nogw +1 -0
  52. data/spec/fixtures/unit/ec2/rest/meta-data/root +20 -0
  53. data/spec/fixtures/unit/gce/metadata/metadata.json +69 -0
  54. data/spec/fixtures/unit/kernelrelease/openbsd-5.3 +2 -0
  55. data/spec/fixtures/unit/kernelrelease/openbsd-5.3-current +3 -0
  56. data/spec/fixtures/unit/memory/aix-svmon +9 -0
  57. data/spec/fixtures/unit/memory/aix-swap_l +2 -0
  58. data/spec/fixtures/unit/memory/darwin-swapinfo-multiple +3 -0
  59. data/spec/fixtures/unit/memory/darwin-swapinfo-single +2 -0
  60. data/spec/fixtures/unit/memory/darwin-vm_stat +13 -0
  61. data/spec/fixtures/unit/memory/dragonfly-vmstat +3 -0
  62. data/spec/fixtures/unit/memory/freebsd-vmstat +3 -0
  63. data/spec/fixtures/unit/memory/linux-proc_meminfo +10 -0
  64. data/spec/fixtures/unit/memory/openbsd-vmstat +3 -0
  65. data/spec/fixtures/unit/memory/smartos_zone_swap_l-single +2 -0
  66. data/spec/fixtures/unit/memory/solaris-prtconf +4 -0
  67. data/spec/fixtures/unit/memory/solaris-swap_l-multiple +3 -0
  68. data/spec/fixtures/unit/memory/solaris-swap_l-single +2 -0
  69. data/spec/fixtures/unit/memory/solaris-vmstat +3 -0
  70. data/spec/fixtures/unit/netmask/ifconfig_aix_7.txt +3 -0
  71. data/spec/fixtures/unit/util/dhcp_servers/route +3 -0
  72. data/spec/fixtures/unit/util/dhcp_servers/route_nogw +1 -0
  73. data/spec/fixtures/unit/util/manufacturer/smartos_smbios +533 -0
  74. data/spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt +8 -0
  75. data/spec/fixtures/unit/util/operatingsystem/redhat-7.txt +12 -0
  76. data/spec/fixtures/unit/util/operatingsystem/sabayon.txt +7 -0
  77. data/spec/fixtures/unit/util/operatingsystem/wheezy.txt +9 -0
  78. data/spec/fixtures/unit/util/partitions/partitions/mount +9 -0
  79. data/spec/fixtures/virtual/proc_1_cgroup/in_a_container +9 -0
  80. data/spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container +8 -0
  81. data/spec/fixtures/virtual/proc_1_cgroup/not_in_a_container +9 -0
  82. data/spec/spec_helper.rb +1 -1
  83. data/spec/unit/core/execution/base_spec.rb +3 -5
  84. data/spec/unit/core/execution/posix_spec.rb +2 -2
  85. data/spec/unit/core/suitable_spec.rb +10 -0
  86. data/spec/unit/dhcp_servers_spec.rb +152 -0
  87. data/spec/unit/ec2/rest_spec.rb +145 -0
  88. data/spec/unit/ec2_spec.rb +87 -147
  89. data/spec/unit/fqdn_spec.rb +16 -0
  90. data/spec/unit/gce/metadata_spec.rb +49 -0
  91. data/spec/unit/gce_spec.rb +34 -0
  92. data/spec/unit/interfaces_spec.rb +9 -9
  93. data/spec/unit/kernelmajversion_spec.rb +14 -9
  94. data/spec/unit/kernelrelease_spec.rb +16 -0
  95. data/spec/unit/macaddress_spec.rb +12 -0
  96. data/spec/unit/memory_spec.rb +53 -122
  97. data/spec/unit/netmask_spec.rb +11 -0
  98. data/spec/unit/operatingsystem_spec.rb +19 -0
  99. data/spec/unit/operatingsystemmajrelease_spec.rb +1 -1
  100. data/spec/unit/operatingsystemrelease_spec.rb +8 -0
  101. data/spec/unit/osfamily_spec.rb +62 -0
  102. data/spec/unit/partitions_spec.rb +48 -0
  103. data/spec/unit/physicalprocessorcount_spec.rb +9 -0
  104. data/spec/unit/processor_spec.rb +15 -7
  105. data/spec/unit/util/config_spec.rb +13 -0
  106. data/spec/unit/util/dhcp_servers_spec.rb +63 -0
  107. data/spec/unit/util/ec2_spec.rb +4 -0
  108. data/spec/unit/util/formatter_spec.rb +50 -0
  109. data/spec/unit/util/loader_spec.rb +4 -4
  110. data/spec/unit/util/macosx_spec.rb +3 -2
  111. data/spec/unit/util/manufacturer_spec.rb +44 -0
  112. data/spec/unit/util/operatingsystem_spec.rb +92 -0
  113. data/spec/unit/util/partitions/partitions_spec.rb +67 -0
  114. data/spec/unit/util/partitions_spec.rb +19 -0
  115. data/spec/unit/util/posix_spec.rb +11 -0
  116. data/spec/unit/util/values_spec.rb +40 -0
  117. data/spec/unit/util/virtual_spec.rb +72 -2
  118. data/spec/unit/virtual_spec.rb +67 -18
  119. metadata +116 -4
  120. data/spec/fixtures/unit/util/loader/nosuchfact.rb +0 -1
@@ -0,0 +1,2 @@
1
+ device maj,min total free
2
+ /dev/hd6 10, 2 512MB 508MB
@@ -0,0 +1,3 @@
1
+ Device 1K-blocks Used Avail Capacity
2
+ /dev/da0p3 2048540 0 1048540 0%
3
+ /dev/da0p4 3048540 0 1048540 0%
@@ -0,0 +1,2 @@
1
+ Device 1K-blocks Used Avail Capacity
2
+ /dev/da0p3 2048540 0 1048540 0%
@@ -0,0 +1,13 @@
1
+ Mach Virtual Memory Statistics: (page size of 4096 bytes)
2
+ Pages free: 28430.
3
+ Pages active: 1152576.
4
+ Pages inactive: 489054.
5
+ Pages speculative: 7076.
6
+ Pages wired down: 418217.
7
+ "Translation faults": 1340091228.
8
+ Pages copy-on-write: 16851357.
9
+ Pages zero filled: 665168768.
10
+ Pages reactivated: 3082708.
11
+ Pageins: 13862917.
12
+ Pageouts: 1384383.
13
+ Object cache: 14 hits of 2619925 lookups (0% hit rate)
@@ -0,0 +1,3 @@
1
+ procs memory page disks faults cpu
2
+ r b w avm fre flt re pi po fr sr da0 sg1 in sy cs us sy id
3
+ 0 0 0 33152 13940 1902120 2198 53119 11642 6544597 5460994 0 0 6148243 7087927 3484264 0 1 9
@@ -0,0 +1,3 @@
1
+ procs memory page disks faults cpu
2
+ r b w avm fre flt re pi po fr sr da0 cd0 in sy cs us sy id
3
+ 1 0 0 207600 656640 10 0 0 0 13 0 0 0 51 164 257 0 1 99
@@ -0,0 +1,10 @@
1
+ MemTotal: 255908 kB
2
+ MemFree: 69936 kB
3
+ Buffers: 15812 kB
4
+ Cached: 115124 kB
5
+ SwapCached: 0 kB
6
+ Active: 92700 kB
7
+ Inactive: 63792 kB
8
+ SwapTotal: 524280 kB
9
+ SwapFree: 524280 kB
10
+ Dirty: 4 kB
@@ -0,0 +1,3 @@
1
+ procs memory page disks traps cpu
2
+ r b w avm fre flt re pi po fr sr cd0 sd0 int sys cs us sy id
3
+ 0 0 0 11048 181028 39 0 0 0 0 0 0 1 3 90 17 0 0 100
@@ -0,0 +1,2 @@
1
+ swapfile dev swaplo blocks free
2
+ swap - 8 100663296 68968568
@@ -0,0 +1,4 @@
1
+ System Configuration: Sun Microsystems sun4u
2
+ Memory size: 2048 Megabytes
3
+ System Peripherals (Software Nodes):
4
+
@@ -0,0 +1,3 @@
1
+ swapfile dev swaplo blocks free
2
+ /dev/swap 4294967295,4294967295 16 2097136 2097136
3
+ /dev/swap2 4294967295,4294967295 16 2097136 2097136
@@ -0,0 +1,2 @@
1
+ swapfile dev swaplo blocks free
2
+ /dev/swap 4294967295,4294967295 16 2097136 2097136
@@ -0,0 +1,3 @@
1
+ kthr memory page disk faults cpu
2
+ r b w swap free re mf pi po fr de sr s0 s3 -- -- in sy cs us sy id
3
+ 0 0 0 1154552 476224 8 19 0 0 0 0 0 0 0 0 0 460 294 236 1 2 97
@@ -0,0 +1,3 @@
1
+ en0: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
2
+ inet 10.16.45.25 netmask 0xffffff00 broadcast 10.16.45.255
3
+ tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
@@ -0,0 +1,3 @@
1
+ Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
2
+ eth0 00000000 0110100A 0003 0 0 0 00000000 0 0 0
3
+ eth0 0010100A 00000000 0001 0 0 1 00FCFFFF 0 0 0
@@ -0,0 +1 @@
1
+ Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
@@ -0,0 +1,533 @@
1
+ ID SIZE TYPE
2
+ 0 63 SMB_TYPE_BIOS (BIOS information)
3
+
4
+ Vendor: Phoenix Technologies Ltd.
5
+ Version String: V1.23D
6
+ Release Date: 06/11/2007
7
+ Address Segment: 0xe3b4
8
+ ROM Size: 524288 bytes
9
+ Image Size: 115904 bytes
10
+ Characteristics: 0x7fc8de80
11
+ SMB_BIOSFL_PCI (PCI is supported)
12
+ SMB_BIOSFL_PLUGNPLAY (Plug and Play is supported)
13
+ SMB_BIOSFL_APM (APM is supported)
14
+ SMB_BIOSFL_FLASH (BIOS is Flash Upgradeable)
15
+ SMB_BIOSFL_SHADOW (BIOS shadowing is allowed)
16
+ SMB_BIOSFL_ESCD (ESCD support is available)
17
+ SMB_BIOSFL_CDBOOT (Boot from CD is supported)
18
+ SMB_BIOSFL_EDD (EDD Spec is supported)
19
+ SMB_BIOSFL_525_360K (int 0x13 5.25" 360K floppy)
20
+ SMB_BIOSFL_525_12M (int 0x13 5.25" 1.2M floppy)
21
+ SMB_BIOSFL_35_720K (int 0x13 3.5" 720K floppy)
22
+ SMB_BIOSFL_35_288M (int 0x13 3.5" 2.88M floppy)
23
+ SMB_BIOSFL_I5_PRINT (int 0x5 print screen svcs)
24
+ SMB_BIOSFL_I9_KBD (int 0x9 8042 keyboard svcs)
25
+ SMB_BIOSFL_I14_SER (int 0x14 serial svcs)
26
+ SMB_BIOSFL_I17_PRINTER (int 0x17 printer svcs)
27
+ SMB_BIOSFL_I10_CGA (int 0x10 CGA svcs)
28
+ Characteristics Extension Byte 1: 0x13
29
+ SMB_BIOSXB1_ACPI (ACPI is supported)
30
+ SMB_BIOSXB1_USBL (USB legacy is supported)
31
+ SMB_BIOSXB1_LS120 (LS-120 boot is supported)
32
+ Characteristics Extension Byte 2: 0x0
33
+
34
+ ID SIZE TYPE
35
+ 1 52 SMB_TYPE_SYSTEM (system information)
36
+
37
+ Manufacturer: RIOWORKS
38
+ Product: HDAMA
39
+ Version:
40
+ Serial Number: 0123456789
41
+
42
+ UUID: 00000000-0000-0000-0000-000000000000
43
+ Wake-Up Event: 0x6 (power switch)
44
+ SKU Number:
45
+ Family:
46
+
47
+ ID SIZE TYPE
48
+ 2 37 SMB_TYPE_BASEBOARD (base board)
49
+
50
+ Manufacturer: RIOWORKS
51
+ Product: HDAMA-I
52
+ Version:
53
+ Serial Number: 0123456789
54
+
55
+ Chassis: 0
56
+ Flags: 0x0
57
+ Board Type: 0x0
58
+
59
+ ID SIZE TYPE
60
+ 3 37 SMB_TYPE_CHASSIS (system enclosure or chassis)
61
+
62
+ Manufacturer: RIOWORKS
63
+ Version: N/A
64
+ Serial Number: N/A
65
+ Asset Tag: N/A
66
+
67
+ OEM Data: 0x1234
68
+ Lock Present: N
69
+ Chassis Type: 0x7 (tower)
70
+ Boot-Up State: 0x2 (unknown)
71
+ Power Supply State: 0x2 (unknown)
72
+ Thermal State: 0x2 (unknown)
73
+ Chassis Height: 0u
74
+ Power Cords: 0
75
+ Element Records: 0
76
+
77
+ ID SIZE TYPE
78
+ 4 68 SMB_TYPE_PROCESSOR (processor)
79
+
80
+ Manufacturer: AMD
81
+ Version: AMD
82
+ Location Tag: Socket 940
83
+
84
+ Family: 132 (Opteron)
85
+ CPUID: 0x178bfbff00020f12
86
+ Type: 3 (central processor)
87
+ Socket Upgrade: 6 (none)
88
+ Socket Status: Populated
89
+ Processor Status: 1 (enabled)
90
+ Supported Voltages: 1.6V
91
+ External Clock Speed: Unknown
92
+ Maximum Speed: 3000MHz
93
+ Current Speed: 2200MHz
94
+ L1 Cache: 6
95
+ L2 Cache: 7
96
+ L3 Cache: None
97
+
98
+ ID SIZE TYPE
99
+ 5 67 SMB_TYPE_PROCESSOR (processor)
100
+
101
+ Manufacturer: AMD
102
+ Version: AMD
103
+ Location Tag: Socket 940
104
+
105
+ Family: 132 (Opteron)
106
+ CPUID: 0x178bfbff00020f12
107
+ Type: 3 (central processor)
108
+ Socket Upgrade: 6 (none)
109
+ Socket Status: Populated
110
+ Processor Status: 1 (enabled)
111
+ Supported Voltages: 1.6V
112
+ External Clock Speed: Unknown
113
+ Maximum Speed: 3000MHz
114
+ Current Speed: 2200MHz
115
+ L1 Cache: None
116
+ L2 Cache: None
117
+ L3 Cache: None
118
+
119
+ ID SIZE TYPE
120
+ 6 27 SMB_TYPE_CACHE (processor cache)
121
+
122
+ Location Tag: L1 Cache
123
+
124
+ Level: 1
125
+ Maximum Installed Size: 131072 bytes
126
+ Installed Size: 131072 bytes
127
+ Speed: Unknown
128
+ Supported SRAM Types: 0x58
129
+ SMB_CAT_BURST (burst)
130
+ SMB_CAT_PBURST (pipeline burst)
131
+ SMB_CAT_ASYNC (asynchronous)
132
+ Current SRAM Type: 0x40 (asynchronous)
133
+ Error Correction Type: 2 (unknown)
134
+ Logical Cache Type: 2 (unknown)
135
+ Associativity: 2 (unknown)
136
+ Mode: 1 (write-back)
137
+ Location: 0 (internal)
138
+ Flags: 0x1
139
+ SMB_CAF_ENABLED (enabled at boot time)
140
+
141
+ ID SIZE TYPE
142
+ 7 27 SMB_TYPE_CACHE (processor cache)
143
+
144
+ Location Tag: L2 Cache
145
+
146
+ Level: 2
147
+ Maximum Installed Size: 1048576 bytes
148
+ Installed Size: 2097152 bytes
149
+ Speed: Unknown
150
+ Supported SRAM Types: 0x38
151
+ SMB_CAT_BURST (burst)
152
+ SMB_CAT_PBURST (pipeline burst)
153
+ SMB_CAT_SYNC (synchronous)
154
+ Current SRAM Type: 0x20 (synchronous)
155
+ Error Correction Type: 2 (unknown)
156
+ Logical Cache Type: 5 (unified)
157
+ Associativity: 2 (unknown)
158
+ Mode: 0 (write-through)
159
+ Location: 0 (internal)
160
+ Flags: 0x1
161
+ SMB_CAF_ENABLED (enabled at boot time)
162
+
163
+ ID SIZE TYPE
164
+ 8 25 SMB_TYPE_SLOT (upgradeable system slot)
165
+
166
+ Location Tag: PCI-X Slot 1
167
+
168
+ Reference Designator: PCI-X Slot 1
169
+ Slot ID: 0x0
170
+ Type: 0x10 (AGP 2X)
171
+ Width: 0x5 (32 bit)
172
+ Usage: 0x2 (unknown)
173
+ Length: 0x4 (long length)
174
+ Slot Characteristics 1: 0x4
175
+ SMB_SLCH1_33V (provides 3.3V)
176
+ Slot Characteristics 2: 0x1
177
+ SMB_SLCH2_PME (slot supports PME# signal)
178
+ Segment Group: 0
179
+ Bus Number: 0
180
+ Device/Function Number: 0
181
+
182
+ ID SIZE TYPE
183
+ 9 25 SMB_TYPE_SLOT (upgradeable system slot)
184
+
185
+ Location Tag: PCI-X Slot 2
186
+
187
+ Reference Designator: PCI-X Slot 2
188
+ Slot ID: 0x1
189
+ Type: 0x6 (PCI)
190
+ Width: 0x5 (32 bit)
191
+ Usage: 0x4 (in use)
192
+ Length: 0x4 (long length)
193
+ Slot Characteristics 1: 0x4
194
+ SMB_SLCH1_33V (provides 3.3V)
195
+ Slot Characteristics 2: 0x1
196
+ SMB_SLCH2_PME (slot supports PME# signal)
197
+ Segment Group: 0
198
+ Bus Number: 0
199
+ Device/Function Number: 0
200
+
201
+ ID SIZE TYPE
202
+ 10 25 SMB_TYPE_SLOT (upgradeable system slot)
203
+
204
+ Location Tag: PCI-X Slot 3
205
+
206
+ Reference Designator: PCI-X Slot 3
207
+ Slot ID: 0x2
208
+ Type: 0x6 (PCI)
209
+ Width: 0x5 (32 bit)
210
+ Usage: 0x3 (available)
211
+ Length: 0x4 (long length)
212
+ Slot Characteristics 1: 0x4
213
+ SMB_SLCH1_33V (provides 3.3V)
214
+ Slot Characteristics 2: 0x1
215
+ SMB_SLCH2_PME (slot supports PME# signal)
216
+ Segment Group: 0
217
+ Bus Number: 0
218
+ Device/Function Number: 0
219
+
220
+ ID SIZE TYPE
221
+ 11 25 SMB_TYPE_SLOT (upgradeable system slot)
222
+
223
+ Location Tag: PCI-X Slot 4
224
+
225
+ Reference Designator: PCI-X Slot 4
226
+ Slot ID: 0x3
227
+ Type: 0x6 (PCI)
228
+ Width: 0x5 (32 bit)
229
+ Usage: 0x3 (available)
230
+ Length: 0x4 (long length)
231
+ Slot Characteristics 1: 0x4
232
+ SMB_SLCH1_33V (provides 3.3V)
233
+ Slot Characteristics 2: 0x1
234
+ SMB_SLCH2_PME (slot supports PME# signal)
235
+ Segment Group: 0
236
+ Bus Number: 0
237
+ Device/Function Number: 0
238
+
239
+ ID SIZE TYPE
240
+ 12 23 SMB_TYPE_SLOT (upgradeable system slot)
241
+
242
+ Location Tag: PCI Slot 5
243
+
244
+ Reference Designator: PCI Slot 5
245
+ Slot ID: 0x4
246
+ Type: 0x6 (PCI)
247
+ Width: 0x5 (32 bit)
248
+ Usage: 0x3 (available)
249
+ Length: 0x4 (long length)
250
+ Slot Characteristics 1: 0x4
251
+ SMB_SLCH1_33V (provides 3.3V)
252
+ Slot Characteristics 2: 0x1
253
+ SMB_SLCH2_PME (slot supports PME# signal)
254
+ Segment Group: 0
255
+ Bus Number: 0
256
+ Device/Function Number: 0
257
+
258
+ ID SIZE TYPE
259
+ 13 23 SMB_TYPE_SLOT (upgradeable system slot)
260
+
261
+ Location Tag: PCI Slot 6
262
+
263
+ Reference Designator: PCI Slot 6
264
+ Slot ID: 0x5
265
+ Type: 0x6 (PCI)
266
+ Width: 0x5 (32 bit)
267
+ Usage: 0x3 (available)
268
+ Length: 0x4 (long length)
269
+ Slot Characteristics 1: 0x4
270
+ SMB_SLCH1_33V (provides 3.3V)
271
+ Slot Characteristics 2: 0x1
272
+ SMB_SLCH2_PME (slot supports PME# signal)
273
+ Segment Group: 0
274
+ Bus Number: 0
275
+ Device/Function Number: 0
276
+
277
+ ID SIZE TYPE
278
+ 14 29 SMB_TYPE_SLOT (upgradeable system slot)
279
+
280
+ Location Tag: PCI-X Riser Slot
281
+
282
+ Reference Designator: PCI-X Riser Slot
283
+ Slot ID: 0x2
284
+ Type: 0x12 (PCI-X)
285
+ Width: 0x6 (64 bit)
286
+ Usage: 0x3 (available)
287
+ Length: 0x4 (long length)
288
+ Slot Characteristics 1: 0x6
289
+ SMB_SLCH1_5V (provides 5.0V)
290
+ SMB_SLCH1_33V (provides 3.3V)
291
+ Slot Characteristics 2: 0x1
292
+ SMB_SLCH2_PME (slot supports PME# signal)
293
+ Segment Group: 0
294
+ Bus Number: 0
295
+ Device/Function Number: 0
296
+
297
+ ID SIZE TYPE
298
+ 15 34 SMB_TYPE_OEMSTR (OEM string table)
299
+
300
+ 0
301
+ 0
302
+ �������������������������
303
+
304
+ ID SIZE TYPE
305
+ 16 29 SMB_TYPE_EVENTLOG (system event log)
306
+
307
+ Log Area Size: 16 bytes
308
+ Header Offset: 0
309
+ Data Offset: 16
310
+ Data Access Method: 4 (GP Non-Volatile API Access)
311
+ Log Flags: 0x1
312
+ SMB_EVFL_VALID (log area valid)
313
+ Log Header Format: 1 (DMTF log header type 1)
314
+ Update Token: 0x40
315
+ Data Access Address: 0x0
316
+ Type Descriptors:
317
+ 0: Log Type 0x8, Data Type 0x4
318
+ 1: Log Type 0x1, Data Type 0x2
319
+ 2: Log Type 0x2, Data Type 0x2
320
+
321
+ ID SIZE TYPE
322
+ 17 15 SMB_TYPE_MEMARRAY (physical memory array)
323
+
324
+ Location: 3 (system board or motherboard)
325
+ Use: 3 (system memory)
326
+ ECC: 5 (single-bit ECC)
327
+ Number of Slots/Sockets: 3
328
+ Memory Error Data: Not Supported
329
+ Max Capacity: 34359738368 bytes
330
+
331
+ ID SIZE TYPE
332
+ 18 36 SMB_TYPE_MEMDEVICE (memory device)
333
+
334
+ Location Tag: S0
335
+
336
+ Physical Memory Array: 17
337
+ Memory Error Data: None
338
+ Total Width: 128 bits
339
+ Data Width: 64 bits
340
+ Size: 1073741824 bytes
341
+ Form Factor: 9 (DIMM)
342
+ Set: 1
343
+ Memory Type: 3 (DRAM)
344
+ Flags: 0x80
345
+ SMB_MDF_SYNC (synchronous)
346
+ Speed: Unknown
347
+ Device Locator: S0
348
+ Bank Locator: Bank 0
349
+
350
+ ID SIZE TYPE
351
+ 19 36 SMB_TYPE_MEMDEVICE (memory device)
352
+
353
+ Location Tag: S1
354
+
355
+ Physical Memory Array: 17
356
+ Memory Error Data: None
357
+ Total Width: 128 bits
358
+ Data Width: 64 bits
359
+ Size: 1073741824 bytes
360
+ Form Factor: 9 (DIMM)
361
+ Set: 1
362
+ Memory Type: 3 (DRAM)
363
+ Flags: 0x80
364
+ SMB_MDF_SYNC (synchronous)
365
+ Speed: Unknown
366
+ Device Locator: S1
367
+ Bank Locator: Bank 0
368
+
369
+ ID SIZE TYPE
370
+ 20 36 SMB_TYPE_MEMDEVICE (memory device)
371
+
372
+ Location Tag: S2
373
+
374
+ Physical Memory Array: 17
375
+ Memory Error Data: None
376
+ Total Width: 128 bits
377
+ Data Width: 64 bits
378
+ Size: 1073741824 bytes
379
+ Form Factor: 9 (DIMM)
380
+ Set: 2
381
+ Memory Type: 3 (DRAM)
382
+ Flags: 0x80
383
+ SMB_MDF_SYNC (synchronous)
384
+ Speed: Unknown
385
+ Device Locator: S2
386
+ Bank Locator: Bank 1
387
+
388
+ ID SIZE TYPE
389
+ 21 36 SMB_TYPE_MEMDEVICE (memory device)
390
+
391
+ Location Tag: S3
392
+
393
+ Physical Memory Array: 17
394
+ Memory Error Data: None
395
+ Total Width: 128 bits
396
+ Data Width: 64 bits
397
+ Size: 1073741824 bytes
398
+ Form Factor: 9 (DIMM)
399
+ Set: 2
400
+ Memory Type: 3 (DRAM)
401
+ Flags: 0x80
402
+ SMB_MDF_SYNC (synchronous)
403
+ Speed: Unknown
404
+ Device Locator: S3
405
+ Bank Locator: Bank 1
406
+
407
+ ID SIZE TYPE
408
+ 22 36 SMB_TYPE_MEMDEVICE (memory device)
409
+
410
+ Location Tag: S4
411
+
412
+ Physical Memory Array: 17
413
+ Memory Error Data: None
414
+ Total Width: 128 bits
415
+ Data Width: 64 bits
416
+ Size: 1073741824 bytes
417
+ Form Factor: 9 (DIMM)
418
+ Set: 5
419
+ Memory Type: 3 (DRAM)
420
+ Flags: 0x80
421
+ SMB_MDF_SYNC (synchronous)
422
+ Speed: Unknown
423
+ Device Locator: S4
424
+ Bank Locator: Bank 2
425
+
426
+ ID SIZE TYPE
427
+ 23 36 SMB_TYPE_MEMDEVICE (memory device)
428
+
429
+ Location Tag: S5
430
+
431
+ Physical Memory Array: 17
432
+ Memory Error Data: None
433
+ Total Width: 128 bits
434
+ Data Width: 64 bits
435
+ Size: 1073741824 bytes
436
+ Form Factor: 9 (DIMM)
437
+ Set: 5
438
+ Memory Type: 3 (DRAM)
439
+ Flags: 0x80
440
+ SMB_MDF_SYNC (synchronous)
441
+ Speed: Unknown
442
+ Device Locator: S5
443
+ Bank Locator: Bank 2
444
+
445
+ ID SIZE TYPE
446
+ 24 36 SMB_TYPE_MEMDEVICE (memory device)
447
+
448
+ Location Tag: S6
449
+
450
+ Physical Memory Array: 17
451
+ Memory Error Data: None
452
+ Total Width: 128 bits
453
+ Data Width: 64 bits
454
+ Size: 1073741824 bytes
455
+ Form Factor: 9 (DIMM)
456
+ Set: 6
457
+ Memory Type: 3 (DRAM)
458
+ Flags: 0x80
459
+ SMB_MDF_SYNC (synchronous)
460
+ Speed: Unknown
461
+ Device Locator: S6
462
+ Bank Locator: Bank 3
463
+
464
+ ID SIZE TYPE
465
+ 25 36 SMB_TYPE_MEMDEVICE (memory device)
466
+
467
+ Location Tag: S7
468
+
469
+ Physical Memory Array: 17
470
+ Memory Error Data: None
471
+ Total Width: 128 bits
472
+ Data Width: 64 bits
473
+ Size: 1073741824 bytes
474
+ Form Factor: 9 (DIMM)
475
+ Set: 6
476
+ Memory Type: 3 (DRAM)
477
+ Flags: 0x80
478
+ SMB_MDF_SYNC (synchronous)
479
+ Speed: Unknown
480
+ Device Locator: S7
481
+ Bank Locator: Bank 3
482
+
483
+ ID SIZE TYPE
484
+ 26 15 SMB_TYPE_MEMARRAYMAP (memory array mapped address)
485
+
486
+ Physical Memory Array: 17
487
+ Devices per Row: 2
488
+ Physical Address: 0x0
489
+ Size: 8589934592 bytes
490
+
491
+ ID SIZE TYPE
492
+ 27 19 SMB_TYPE_MEMDEVICEMAP (memory device mapped address)
493
+
494
+ Memory Device: 18
495
+ Memory Array Mapped Address: 26
496
+ Physical Address: 0x0
497
+ Size: 1073741824 bytes
498
+ Partition Row Position: 1
499
+ Interleave Position: 0
500
+ Interleave Data Depth: 1
501
+
502
+ ID SIZE TYPE
503
+ 28 19 SMB_TYPE_MEMDEVICEMAP (memory device mapped address)
504
+
505
+ Memory Device: 19
506
+ Memory Array Mapped Address: 26
507
+ Physical Address: 0x40000000
508
+ Size: 1073741824 bytes
509
+ Partition Row Position: 1
510
+ Interleave Position: 0
511
+ Interleave Data Depth: 1
512
+
513
+ ID SIZE TYPE
514
+ 29 19 SMB_TYPE_MEMDEVICEMAP (memory device mapped address)
515
+
516
+ Memory Device: 20
517
+ Memory Array Mapped Address: 26
518
+ Physical Address: 0x80000000
519
+ Size: 1073741824 bytes
520
+ Partition Row Position: 1
521
+ Interleave Position: 0
522
+ Interleave Data Depth: 1
523
+
524
+ ID SIZE TYPE
525
+ 30 20 SMB_TYPE_BOOT (system boot status)
526
+
527
+ Boot Status Code: 0xc
528
+ Boot Data (9 bytes):
529
+
530
+ offset: 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
531
+ 0: 01020304 05060708 09 .........
532
+
533
+