Lines Matching full:dump
3 #Header for BMC DUMP
5 #This script will generate generic IBM dump header format.
7 #Note: The dump header will be imposed on the dump file i.e
8 #<dump name>.tar.xz/gz only on IBM specific systems, user needs to
9 #separate out the header before extracting the dump.
18 #Dump Summary size without header
56 # Function to add Originator details to dump header
95 #Function to fetch the size of the dump
97 #Adding 516 bytes as the total dump size is dump tar size
98 #plus the dump header entry in this case
118 #Function to set dump id to 8 bytes format
201 #Function to get the tar size of the dump
219 #Function will get the total size of the dump without header
220 # i.e. Dump summary size i.e. 1024 bytes + the tar file size
239 #Function to populate content type based on dump type
243 # Hostboot dump = "20"
244 # Hardware dump = "00"
245 # SBE dump = "30"
289 #Dump File Type 7 BMCDUMP/SYSDUMP/NAGDUMP
292 #Dump Identifier 8 Dump Identifier value fetched from dump
325 #Dump Size 8 Dump size in hex + dump header
326 #Optional Section 16 BMCDUMP/NAGDUMP/DUMP SUMMARY
344 printf "DUMP SUMMARY" >> "$FILE"
347 dump_size #Dump size
353 #Function to add dump header, consists of below entries
356 #Dump type 8 BMC/NAG DUMP
357 #Dump Request time 8 Dump request time stamp (in BCD)
358 #Dump Identifier 4 Dump identifier fetched from dump
359 #Dump version 2 0x0210
360 #Dump header 2 0x200
361 #Total dump size 8 Dump size + dump header
368 #Dump SRC Size 2 Dump SRC Size. Currently NULL
369 #DUMP SRC 320 DUMP SRC. Currently NULL
370 #Dump Req Type 4 Dump requester user interface type.
371 #Dump Req ID 32 Dump requester user interface ID
372 #Dump Req user ID 32 Dump requester user ID.
378 #SRC dump
379 #Dump requester type
380 #Dump Req ID
381 #Dump Req user ID
384 printf "FLT DUMP" >> $FILE
386 printf "BMC DUMP" >> $FILE
389 add_null 4 #Dump Identifier
390 printf '\x02' >> $FILE #Dump version 0x0210
392 printf '\x02' >> $FILE #Dump header size 0x0200
394 dump_size #dump size
405 add_null 320 # SRC dump
407 # Dump requester/Originator details
409 add_null 32 # Dump Req user ID
412 #Function to add Dump entry, consists of below entries
415 #Dump Entry Version 1 0x01
416 #BMC Dump Valid 1 0x01
417 #No of Dump Entry 2 Number of Dump Entry
420 printf '\x01' >> $FILE #Dump entry version
421 printf '\x01' >> $FILE #Dump valid
423 printf '\x10' >> $FILE #Dump entry
426 #Function to Hardware Dump Section
455 #Function to Mainstore Dump Section
482 #Function for platform system dump header
485 #eyeCatcher 8 SYS DUMP
494 #Dump Creator BMC 1
538 printf "SYS DUMP" >> "$FILE"
540 get_dump_id "$OP_DUMP" #Dump identifier
543 printf '\x04' >> "$FILE" #Dump header size 0x0400
550 printf '\x01' >> "$FILE" #Dump Creator BMC